| 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/Node> |
|---|
| 14 | #include <osgAnimation/Animation> |
|---|
| 15 | #include <osgAnimation/LinkVisitor> |
|---|
| 16 | |
|---|
| 17 | |
|---|
| 18 | #ifdef IN |
|---|
| 19 | #undef IN |
|---|
| 20 | #endif |
|---|
| 21 | #ifdef OUT |
|---|
| 22 | #undef OUT |
|---|
| 23 | #endif |
|---|
| 24 | |
|---|
| 25 | BEGIN_OBJECT_REFLECTOR(osgAnimation::LinkVisitor) |
|---|
| 26 | I_DeclaringFile("osgAnimation/LinkVisitor"); |
|---|
| 27 | I_BaseType(osg::NodeVisitor); |
|---|
| 28 | I_Constructor0(____LinkVisitor, |
|---|
| 29 | "", |
|---|
| 30 | ""); |
|---|
| 31 | I_Method0(const char *, libraryName, |
|---|
| 32 | Properties::VIRTUAL, |
|---|
| 33 | __C5_char_P1__libraryName, |
|---|
| 34 | "return the library name/namespapce of the visitor's. ", |
|---|
| 35 | "Should be defined by derived classes. "); |
|---|
| 36 | I_Method0(const char *, className, |
|---|
| 37 | Properties::VIRTUAL, |
|---|
| 38 | __C5_char_P1__className, |
|---|
| 39 | "return the name of the visitor's class type. ", |
|---|
| 40 | "Should be defined by derived classes. "); |
|---|
| 41 | I_Method1(void, apply, IN, osg::Node &, node, |
|---|
| 42 | Properties::VIRTUAL, |
|---|
| 43 | __void__apply__osg_Node_R1, |
|---|
| 44 | "", |
|---|
| 45 | ""); |
|---|
| 46 | I_Method0(osgAnimation::AnimationList &, getAnimationList, |
|---|
| 47 | Properties::NON_VIRTUAL, |
|---|
| 48 | __AnimationList_R1__getAnimationList, |
|---|
| 49 | "", |
|---|
| 50 | ""); |
|---|
| 51 | I_Method0(void, reset, |
|---|
| 52 | Properties::VIRTUAL, |
|---|
| 53 | __void__reset, |
|---|
| 54 | "Method to call to reset visitor. ", |
|---|
| 55 | "Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. "); |
|---|
| 56 | I_SimpleProperty(osgAnimation::AnimationList &, AnimationList, |
|---|
| 57 | __AnimationList_R1__getAnimationList, |
|---|
| 58 | 0); |
|---|
| 59 | END_REFLECTOR |
|---|