| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | #include <osgIntrospection/ReflectionMacros> |
|---|
| 9 | #include <osgIntrospection/TypedMethodInfo> |
|---|
| 10 | #include <osgIntrospection/StaticMethodInfo> |
|---|
| 11 | #include <osgIntrospection/Attributes> |
|---|
| 12 | |
|---|
| 13 | #include <osg/CopyOp> |
|---|
| 14 | #include <osg/MatrixTransform> |
|---|
| 15 | #include <osg/Node> |
|---|
| 16 | #include <osg/NodeVisitor> |
|---|
| 17 | #include <osg/Object> |
|---|
| 18 | #include <osg/PositionAttitudeTransform> |
|---|
| 19 | #include <osgAnimation/Animation> |
|---|
| 20 | #include <osgAnimation/AnimationManagerBase> |
|---|
| 21 | #include <osgAnimation/Channel> |
|---|
| 22 | #include <osgAnimation/UpdateCallback> |
|---|
| 23 | |
|---|
| 24 | |
|---|
| 25 | #ifdef IN |
|---|
| 26 | #undef IN |
|---|
| 27 | #endif |
|---|
| 28 | #ifdef OUT |
|---|
| 29 | #undef OUT |
|---|
| 30 | #endif |
|---|
| 31 | |
|---|
| 32 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::AnimationUpdateCallback) |
|---|
| 33 | I_DeclaringFile("osgAnimation/UpdateCallback"); |
|---|
| 34 | I_BaseType(osg::NodeCallback); |
|---|
| 35 | I_ConstructorWithDefaults1(IN, const std::string &, name, "", |
|---|
| 36 | Properties::NON_EXPLICIT, |
|---|
| 37 | ____AnimationUpdateCallback__C5_std_string_R1, |
|---|
| 38 | "", |
|---|
| 39 | ""); |
|---|
| 40 | I_Constructor2(IN, const osgAnimation::AnimationUpdateCallback &, apc, IN, const osg::CopyOp &, copyop, |
|---|
| 41 | ____AnimationUpdateCallback__C5_AnimationUpdateCallback_R1__C5_osg_CopyOp_R1, |
|---|
| 42 | "", |
|---|
| 43 | ""); |
|---|
| 44 | I_Method0(osgAnimation::AnimationManagerBase *, getAnimationManager, |
|---|
| 45 | Properties::NON_VIRTUAL, |
|---|
| 46 | __osgAnimation_AnimationManagerBase_P1__getAnimationManager, |
|---|
| 47 | "", |
|---|
| 48 | ""); |
|---|
| 49 | I_Method0(bool, needLink, |
|---|
| 50 | Properties::PURE_VIRTUAL, |
|---|
| 51 | __bool__needLink, |
|---|
| 52 | "", |
|---|
| 53 | ""); |
|---|
| 54 | I_Method1(bool, link, IN, osgAnimation::Channel *, channel, |
|---|
| 55 | Properties::PURE_VIRTUAL, |
|---|
| 56 | __bool__link__osgAnimation_Channel_P1, |
|---|
| 57 | "", |
|---|
| 58 | ""); |
|---|
| 59 | I_Method1(int, link, IN, osgAnimation::Animation *, animation, |
|---|
| 60 | Properties::VIRTUAL, |
|---|
| 61 | __int__link__osgAnimation_Animation_P1, |
|---|
| 62 | "", |
|---|
| 63 | ""); |
|---|
| 64 | I_Method0(void, updateLink, |
|---|
| 65 | Properties::VIRTUAL, |
|---|
| 66 | __void__updateLink, |
|---|
| 67 | "", |
|---|
| 68 | ""); |
|---|
| 69 | I_SimpleProperty(osgAnimation::AnimationManagerBase *, AnimationManager, |
|---|
| 70 | __osgAnimation_AnimationManagerBase_P1__getAnimationManager, |
|---|
| 71 | 0); |
|---|
| 72 | END_REFLECTOR |
|---|
| 73 | |
|---|
| 74 | BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateTransform) |
|---|
| 75 | I_DeclaringFile("osgAnimation/UpdateCallback"); |
|---|
| 76 | I_BaseType(osgAnimation::AnimationUpdateCallback); |
|---|
| 77 | I_Method0(osg::Object *, cloneType, |
|---|
| 78 | Properties::VIRTUAL, |
|---|
| 79 | __osg_Object_P1__cloneType, |
|---|
| 80 | "Clone the type of an object, with Object* return type. ", |
|---|
| 81 | "Must be defined by derived classes. "); |
|---|
| 82 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, |
|---|
| 83 | Properties::VIRTUAL, |
|---|
| 84 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 85 | "Clone an object, with Object* return type. ", |
|---|
| 86 | "Must be defined by derived classes. "); |
|---|
| 87 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 88 | Properties::VIRTUAL, |
|---|
| 89 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 90 | "", |
|---|
| 91 | ""); |
|---|
| 92 | I_Method0(const char *, libraryName, |
|---|
| 93 | Properties::VIRTUAL, |
|---|
| 94 | __C5_char_P1__libraryName, |
|---|
| 95 | "return the name of the object's library. ", |
|---|
| 96 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 97 | I_Method0(const char *, className, |
|---|
| 98 | Properties::VIRTUAL, |
|---|
| 99 | __C5_char_P1__className, |
|---|
| 100 | "return the name of the object's class type. ", |
|---|
| 101 | "Must be defined by derived classes. "); |
|---|
| 102 | I_ConstructorWithDefaults1(IN, const std::string &, name, "", |
|---|
| 103 | Properties::NON_EXPLICIT, |
|---|
| 104 | ____UpdateTransform__C5_std_string_R1, |
|---|
| 105 | "", |
|---|
| 106 | ""); |
|---|
| 107 | I_Constructor2(IN, const osgAnimation::UpdateTransform &, apc, IN, const osg::CopyOp &, copyop, |
|---|
| 108 | ____UpdateTransform__C5_UpdateTransform_R1__C5_osg_CopyOp_R1, |
|---|
| 109 | "", |
|---|
| 110 | ""); |
|---|
| 111 | I_Method1(void, update, IN, osg::MatrixTransform &, mat, |
|---|
| 112 | Properties::NON_VIRTUAL, |
|---|
| 113 | __void__update__osg_MatrixTransform_R1, |
|---|
| 114 | "", |
|---|
| 115 | ""); |
|---|
| 116 | I_Method1(void, update, IN, osg::PositionAttitudeTransform &, pat, |
|---|
| 117 | Properties::NON_VIRTUAL, |
|---|
| 118 | __void__update__osg_PositionAttitudeTransform_R1, |
|---|
| 119 | "", |
|---|
| 120 | ""); |
|---|
| 121 | I_Method0(bool, needLink, |
|---|
| 122 | Properties::VIRTUAL, |
|---|
| 123 | __bool__needLink, |
|---|
| 124 | "", |
|---|
| 125 | ""); |
|---|
| 126 | I_Method1(bool, link, IN, osgAnimation::Channel *, channel, |
|---|
| 127 | Properties::VIRTUAL, |
|---|
| 128 | __bool__link__osgAnimation_Channel_P1, |
|---|
| 129 | "", |
|---|
| 130 | ""); |
|---|
| 131 | END_REFLECTOR |
|---|