2005-04-08 04:00:17 +08:00
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
# include <osgIntrospection/ReflectionMacros>
# include <osgIntrospection/TypedMethodInfo>
2006-09-01 21:34:05 +08:00
# include <osgIntrospection/StaticMethodInfo>
2005-04-08 04:00:17 +08:00
# include <osgIntrospection/Attributes>
2005-05-13 04:06:39 +08:00
# include <osg/BoundingSphere>
2006-07-19 04:53:16 +08:00
# include <osg/CopyOp>
2005-04-08 04:00:17 +08:00
# include <osg/Matrix>
# include <osg/MatrixTransform>
# include <osg/NodeVisitor>
# include <osg/Object>
2006-07-19 04:53:16 +08:00
# include <osg/PositionAttitudeTransform>
2005-04-08 04:00:17 +08:00
# include <osg/Transform>
2005-05-16 17:41:10 +08:00
// Must undefine IN and OUT macros defined in Windows headers
# ifdef IN
# undef IN
# endif
# ifdef OUT
# undef OUT
# endif
2005-04-08 04:00:17 +08:00
BEGIN_ENUM_REFLECTOR ( osg : : Transform : : ReferenceFrame )
2005-05-16 17:41:10 +08:00
I_EnumLabel ( osg : : Transform : : RELATIVE_RF ) ;
I_EnumLabel ( osg : : Transform : : ABSOLUTE_RF ) ;
2007-02-08 05:56:36 +08:00
I_EnumLabel ( osg : : Transform : : ABSOLUTE_RF_INHERIT_VIEWPOINT ) ;
2005-04-08 04:00:17 +08:00
END_REFLECTOR
2007-02-13 02:02:15 +08:00
BEGIN_ABSTRACT_OBJECT_REFLECTOR ( osg : : Transform )
2005-05-16 17:41:10 +08:00
I_BaseType ( osg : : Group ) ;
2006-10-24 17:45:50 +08:00
I_Constructor0 ( ____Transform ,
" " ,
" " ) ;
I_ConstructorWithDefaults2 ( IN , const osg : : Transform & , x , , IN , const osg : : CopyOp & , copyop , osg : : CopyOp : : SHALLOW_COPY ,
____Transform__C5_Transform_R1__C5_CopyOp_R1 ,
" Copy constructor using CopyOp to manage deep vs shallow copy. " ,
" " ) ;
I_Method0 ( osg : : Object * , cloneType ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__osg_Object_P1__cloneType ,
" clone an object of the same type as the node. " ,
" " ) ;
I_Method1 ( osg : : Object * , clone , IN , const osg : : CopyOp & , copyop ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__osg_Object_P1__clone__C5_osg_CopyOp_R1 ,
" return a clone of a node, with Object* return type. " ,
" " ) ;
I_Method1 ( bool , isSameKindAs , IN , const osg : : Object * , obj ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__bool__isSameKindAs__C5_osg_Object_P1 ,
" return true if this and obj are of the same kind of object. " ,
" " ) ;
I_Method0 ( const char * , className ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__C5_char_P1__className ,
" return the name of the node's class type. " ,
" " ) ;
I_Method0 ( const char * , libraryName ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__C5_char_P1__libraryName ,
" return the name of the node's library. " ,
" " ) ;
I_Method1 ( void , accept , IN , osg : : NodeVisitor & , nv ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__void__accept__osg_NodeVisitor_R1 ,
" Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. " ,
" " ) ;
I_Method0 ( osg : : Transform * , asTransform ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__Transform_P1__asTransform ,
" Convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0. " ,
" Equivalent to dynamic_cast<Transform*>(this). " ) ;
I_Method0 ( const osg : : Transform * , asTransform ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__C5_Transform_P1__asTransform ,
" convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0. " ,
" Equivalent to dynamic_cast<const Transform*>(this). " ) ;
I_Method0 ( osg : : MatrixTransform * , asMatrixTransform ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__MatrixTransform_P1__asMatrixTransform ,
" " ,
" " ) ;
I_Method0 ( const osg : : MatrixTransform * , asMatrixTransform ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__C5_MatrixTransform_P1__asMatrixTransform ,
" " ,
" " ) ;
I_Method0 ( osg : : PositionAttitudeTransform * , asPositionAttitudeTransform ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__PositionAttitudeTransform_P1__asPositionAttitudeTransform ,
" " ,
" " ) ;
I_Method0 ( const osg : : PositionAttitudeTransform * , asPositionAttitudeTransform ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform ,
" " ,
" " ) ;
I_Method1 ( void , setReferenceFrame , IN , osg : : Transform : : ReferenceFrame , rf ,
2007-02-13 02:02:15 +08:00
Properties : : NON_VIRTUAL ,
2006-10-24 17:45:50 +08:00
__void__setReferenceFrame__ReferenceFrame ,
" Set the transform's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. " ,
2007-02-08 05:56:36 +08:00
" RELATIVE_RF is the default. Note: Setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the transform, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is neccessary to prevent inappropriate culling, but may impact cull times if the absolute transform is deep in the scene graph. It is therefore recommended to only use absolute Transforms at the top of the scene, for such things as heads up displays. ABSOLUTE_RF_INHERIT_VIEWPOINT is the same as ABSOLUTE_RF except it adds the ability to use the parents view points position in world coordinates as its local viewpoint in the new coordinates frame. This is useful for Render to texture Cameras that wish to use the main views LOD range computation (which uses the viewpoint rather than the eye point) rather than use the local eye point defined by the this Transforms' abosolute view matrix. " ) ;
2006-10-24 17:45:50 +08:00
I_Method0 ( osg : : Transform : : ReferenceFrame , getReferenceFrame ,
2007-02-13 02:02:15 +08:00
Properties : : NON_VIRTUAL ,
2006-10-24 17:45:50 +08:00
__ReferenceFrame__getReferenceFrame ,
" " ,
" " ) ;
I_Method2 ( bool , computeLocalToWorldMatrix , IN , osg : : Matrix & , matrix , IN , osg : : NodeVisitor * , x ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1 ,
" " ,
" " ) ;
I_Method2 ( bool , computeWorldToLocalMatrix , IN , osg : : Matrix & , matrix , IN , osg : : NodeVisitor * , x ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1 ,
" " ,
" " ) ;
I_Method0 ( osg : : BoundingSphere , computeBound ,
2007-02-13 02:02:15 +08:00
Properties : : VIRTUAL ,
2006-10-24 17:45:50 +08:00
__BoundingSphere__computeBound ,
" Overrides Group's computeBound. " ,
" There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required). " ) ;
I_SimpleProperty ( osg : : Transform : : ReferenceFrame , ReferenceFrame ,
__ReferenceFrame__getReferenceFrame ,
__void__setReferenceFrame__ReferenceFrame ) ;
2005-04-08 04:00:17 +08:00
END_REFLECTOR