Updated wrappers

This commit is contained in:
Robert Osfield
2009-09-14 16:07:27 +00:00
parent e53876bae9
commit b59556e2e6
14 changed files with 1331 additions and 108 deletions

View File

@@ -0,0 +1,553 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgAnimation/Action>
#include <osgAnimation/ActionVisitor>
#include <osgAnimation/Animation>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(std::map< unsigned int COMMA osg::ref_ptr< osgAnimation::Action::Callback > >, osgAnimation::Action::FrameCallback)
BEGIN_OBJECT_REFLECTOR(osgAnimation::Action)
I_DeclaringFile("osgAnimation/Action");
I_BaseType(osg::Object);
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osgAnimation_ActionVisitor_R1,
"",
"");
I_Constructor0(____Action,
"",
"");
I_Constructor2(IN, const osgAnimation::Action &, x, IN, const osg::CopyOp &, x,
____Action__C5_Action_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method2(void, setCallback, IN, double, when, IN, osgAnimation::Action::Callback *, callback,
Properties::NON_VIRTUAL,
__void__setCallback__double__Callback_P1,
"",
"");
I_Method2(void, setCallback, IN, unsigned int, frame, IN, osgAnimation::Action::Callback *, callback,
Properties::NON_VIRTUAL,
__void__setCallback__unsigned_int__Callback_P1,
"",
"");
I_Method1(osgAnimation::Action::Callback *, getCallback, IN, unsigned int, frame,
Properties::NON_VIRTUAL,
__Callback_P1__getCallback__unsigned_int,
"",
"");
I_Method1(osgAnimation::Action::Callback *, getFrameCallback, IN, unsigned int, frame,
Properties::NON_VIRTUAL,
__Callback_P1__getFrameCallback__unsigned_int,
"",
"");
I_Method1(osgAnimation::Action::Callback *, getFrameCallback, IN, double, time,
Properties::NON_VIRTUAL,
__Callback_P1__getFrameCallback__double,
"",
"");
I_Method0(unsigned int, getFramesPerSecond,
Properties::NON_VIRTUAL,
__unsigned_int__getFramesPerSecond,
"",
"");
I_Method1(void, setNumFrames, IN, unsigned int, numFrames,
Properties::NON_VIRTUAL,
__void__setNumFrames__unsigned_int,
"",
"");
I_Method1(void, setDuration, IN, double, duration,
Properties::NON_VIRTUAL,
__void__setDuration__double,
"",
"");
I_Method0(unsigned int, getNumFrames,
Properties::NON_VIRTUAL,
__unsigned_int__getNumFrames,
"",
"");
I_Method0(double, getDuration,
Properties::NON_VIRTUAL,
__double__getDuration,
"",
"");
I_Method1(void, setLoop, IN, int, nb,
Properties::VIRTUAL,
__void__setLoop__int,
"",
"");
I_Method0(unsigned int, getLoop,
Properties::VIRTUAL,
__unsigned_int__getLoop,
"",
"");
I_Method3(bool, evaluateFrame, IN, unsigned int, frame, IN, unsigned int &, resultframe, IN, unsigned int &, nbloop,
Properties::NON_VIRTUAL,
__bool__evaluateFrame__unsigned_int__unsigned_int_R1__unsigned_int_R1,
"",
"");
I_Method1(void, traverse, IN, osgAnimation::ActionVisitor &, visitor,
Properties::VIRTUAL,
__void__traverse__ActionVisitor_R1,
"",
"");
I_IndexedProperty(osgAnimation::Action::Callback *, Callback,
__Callback_P1__getCallback__unsigned_int,
__void__setCallback__unsigned_int__Callback_P1,
0);
I_SimpleProperty(double, Duration,
__double__getDuration,
__void__setDuration__double);
I_SimpleProperty(unsigned int, FramesPerSecond,
__unsigned_int__getFramesPerSecond,
0);
I_SimpleProperty(int, Loop,
0,
__void__setLoop__int);
I_SimpleProperty(unsigned int, NumFrames,
0,
__void__setNumFrames__unsigned_int);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgAnimation::Action::Callback)
I_DeclaringFile("osgAnimation/Action");
I_BaseType(osg::Object);
I_Constructor0(____Callback,
"",
"");
I_Constructor2(IN, const osgAnimation::Action::Callback &, nc, IN, const osg::CopyOp &, x,
____Callback__C5_Callback_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(osgAnimation::Action::Callback *, getNestedCallback,
Properties::NON_VIRTUAL,
__Callback_P1__getNestedCallback,
"",
"");
I_Method1(void, addNestedCallback, IN, osgAnimation::Action::Callback *, callback,
Properties::NON_VIRTUAL,
__void__addNestedCallback__Callback_P1,
"",
"");
I_SimpleProperty(osgAnimation::Action::Callback *, NestedCallback,
__Callback_P1__getNestedCallback,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgAnimation::ActionAnimation)
I_DeclaringFile("osgAnimation/Action");
I_BaseType(osgAnimation::Action);
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osgAnimation_ActionVisitor_R1,
"",
"");
I_Constructor0(____ActionAnimation,
"",
"");
I_Constructor2(IN, const osgAnimation::ActionAnimation &, a, IN, const osg::CopyOp &, c,
____ActionAnimation__C5_ActionAnimation_R1__C5_osg_CopyOp_R1,
"",
"");
I_Constructor1(IN, osgAnimation::Animation *, animation,
Properties::NON_EXPLICIT,
____ActionAnimation__Animation_P1,
"",
"");
I_Method2(void, updateAnimation, IN, unsigned int, frame, IN, int, priority,
Properties::NON_VIRTUAL,
__void__updateAnimation__unsigned_int__int,
"",
"");
I_Method0(osgAnimation::Animation *, getAnimation,
Properties::NON_VIRTUAL,
__Animation_P1__getAnimation,
"",
"");
I_SimpleProperty(osgAnimation::Animation *, Animation,
__Animation_P1__getAnimation,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgAnimation::BlendIn)
I_DeclaringFile("osgAnimation/Action");
I_BaseType(osgAnimation::Action);
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osgAnimation_ActionVisitor_R1,
"",
"");
I_Constructor0(____BlendIn,
"",
"");
I_Constructor2(IN, const osgAnimation::BlendIn &, a, IN, const osg::CopyOp &, c,
____BlendIn__C5_BlendIn_R1__C5_osg_CopyOp_R1,
"",
"");
I_Constructor3(IN, osgAnimation::Animation *, animation, IN, double, duration, IN, double, weight,
____BlendIn__Animation_P1__double__double,
"",
"");
I_Method0(double, getWeight,
Properties::NON_VIRTUAL,
__double__getWeight,
"",
"");
I_Method0(osgAnimation::Animation *, getAnimation,
Properties::NON_VIRTUAL,
__Animation_P1__getAnimation,
"",
"");
I_Method1(void, computeWeight, IN, unsigned int, frame,
Properties::NON_VIRTUAL,
__void__computeWeight__unsigned_int,
"",
"");
I_SimpleProperty(osgAnimation::Animation *, Animation,
__Animation_P1__getAnimation,
0);
I_SimpleProperty(double, Weight,
__double__getWeight,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgAnimation::BlendOut)
I_DeclaringFile("osgAnimation/Action");
I_BaseType(osgAnimation::Action);
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osgAnimation_ActionVisitor_R1,
"",
"");
I_Constructor0(____BlendOut,
"",
"");
I_Constructor2(IN, const osgAnimation::BlendOut &, a, IN, const osg::CopyOp &, c,
____BlendOut__C5_BlendOut_R1__C5_osg_CopyOp_R1,
"",
"");
I_Constructor2(IN, osgAnimation::Animation *, animation, IN, double, duration,
____BlendOut__Animation_P1__double,
"",
"");
I_Method0(osgAnimation::Animation *, getAnimation,
Properties::NON_VIRTUAL,
__Animation_P1__getAnimation,
"",
"");
I_Method0(double, getWeight,
Properties::NON_VIRTUAL,
__double__getWeight,
"",
"");
I_Method1(void, computeWeight, IN, unsigned int, frame,
Properties::NON_VIRTUAL,
__void__computeWeight__unsigned_int,
"",
"");
I_SimpleProperty(osgAnimation::Animation *, Animation,
__Animation_P1__getAnimation,
0);
I_SimpleProperty(double, Weight,
__double__getWeight,
0);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgAnimation::StripAnimation)
I_DeclaringFile("osgAnimation/Action");
I_BaseType(osgAnimation::Action);
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method1(void, accept, IN, osgAnimation::ActionVisitor &, nv,
Properties::VIRTUAL,
__void__accept__osgAnimation_ActionVisitor_R1,
"",
"");
I_Constructor0(____StripAnimation,
"",
"");
I_Constructor2(IN, const osgAnimation::StripAnimation &, a, IN, const osg::CopyOp &, c,
____StripAnimation__C5_StripAnimation_R1__C5_osg_CopyOp_R1,
"",
"");
I_ConstructorWithDefaults4(IN, osgAnimation::Animation *, animation, , IN, double, blendInDuration, 0.0, IN, double, blendOutDuration, 0.0, IN, double, blendInWeightTarget, 1.0,
____StripAnimation__Animation_P1__double__double__double,
"",
"");
I_Method0(osgAnimation::ActionAnimation *, getActionAnimation,
Properties::NON_VIRTUAL,
__ActionAnimation_P1__getActionAnimation,
"",
"");
I_Method0(osgAnimation::BlendIn *, getBlendIn,
Properties::NON_VIRTUAL,
__BlendIn_P1__getBlendIn,
"",
"");
I_Method0(osgAnimation::BlendOut *, getBlendOut,
Properties::NON_VIRTUAL,
__BlendOut_P1__getBlendOut,
"",
"");
I_Method0(const osgAnimation::ActionAnimation *, getActionAnimation,
Properties::NON_VIRTUAL,
__C5_ActionAnimation_P1__getActionAnimation,
"",
"");
I_Method0(const osgAnimation::BlendIn *, getBlendIn,
Properties::NON_VIRTUAL,
__C5_BlendIn_P1__getBlendIn,
"",
"");
I_Method0(const osgAnimation::BlendOut *, getBlendOut,
Properties::NON_VIRTUAL,
__C5_BlendOut_P1__getBlendOut,
"",
"");
I_Method0(unsigned int, getBlendOutStartFrame,
Properties::NON_VIRTUAL,
__unsigned_int__getBlendOutStartFrame,
"",
"");
I_Method0(unsigned int, getLoop,
Properties::VIRTUAL,
__unsigned_int__getLoop,
"",
"");
I_Method1(void, setLoop, IN, unsigned int, loop,
Properties::NON_VIRTUAL,
__void__setLoop__unsigned_int,
"",
"");
I_Method1(void, traverse, IN, osgAnimation::ActionVisitor &, visitor,
Properties::VIRTUAL,
__void__traverse__ActionVisitor_R1,
"",
"");
I_SimpleProperty(osgAnimation::ActionAnimation *, ActionAnimation,
__ActionAnimation_P1__getActionAnimation,
0);
I_SimpleProperty(osgAnimation::BlendIn *, BlendIn,
__BlendIn_P1__getBlendIn,
0);
I_SimpleProperty(osgAnimation::BlendOut *, BlendOut,
__BlendOut_P1__getBlendOut,
0);
I_SimpleProperty(unsigned int, BlendOutStartFrame,
__unsigned_int__getBlendOutStartFrame,
0);
I_SimpleProperty(unsigned int, Loop,
__unsigned_int__getLoop,
__void__setLoop__unsigned_int);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Action::Callback >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osgAnimation::Action::Callback *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Action::Callback > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgAnimation::Action::Callback *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osgAnimation::Action::Callback *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Action::Callback > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osgAnimation::Action::Callback *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< unsigned int COMMA osg::ref_ptr< osgAnimation::Action::Callback > >)

View File

@@ -0,0 +1,49 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgAnimation/Action>
#include <osgAnimation/ActionCallback>
#include <osgAnimation/ActionVisitor>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgAnimation::RunAction)
I_DeclaringFile("osgAnimation/ActionCallback");
I_BaseType(osgAnimation::Action::Callback);
I_ConstructorWithDefaults2(IN, osgAnimation::Action *, a, , IN, int, priority, 0,
____RunAction__Action_P1__int,
"",
"");
I_Method0(osgAnimation::Action *, getAction,
Properties::NON_VIRTUAL,
__Action_P1__getAction,
"",
"");
I_Method0(int, getPriority,
Properties::NON_VIRTUAL,
__int__getPriority,
"",
"");
I_SimpleProperty(osgAnimation::Action *, Action,
__Action_P1__getAction,
0);
I_SimpleProperty(int, Priority,
__int__getPriority,
0);
END_REFLECTOR

View File

@@ -0,0 +1,242 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgAnimation/Action>
#include <osgAnimation/ActionVisitor>
#include <osgAnimation/FrameAction>
#include <osgAnimation/Timeline>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgAnimation::ActionVisitor)
I_DeclaringFile("osgAnimation/ActionVisitor");
I_BaseType(osg::Referenced);
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Constructor0(____ActionVisitor,
"",
"");
I_Method1(void, traverse, IN, osgAnimation::Action &, visitor,
Properties::NON_VIRTUAL,
__void__traverse__Action_R1,
"",
"");
I_Method1(void, pushFrameActionOnStack, IN, const osgAnimation::FrameAction &, fa,
Properties::NON_VIRTUAL,
__void__pushFrameActionOnStack__C5_FrameAction_R1,
"",
"");
I_Method0(void, popFrameAction,
Properties::NON_VIRTUAL,
__void__popFrameAction,
"",
"");
I_Method1(void, pushTimelineOnStack, IN, osgAnimation::Timeline *, tm,
Properties::NON_VIRTUAL,
__void__pushTimelineOnStack__Timeline_P1,
"",
"");
I_Method0(void, popTimeline,
Properties::NON_VIRTUAL,
__void__popTimeline,
"",
"");
I_Method0(osgAnimation::Timeline *, getCurrentTimeline,
Properties::NON_VIRTUAL,
__Timeline_P1__getCurrentTimeline,
"",
"");
I_Method1(void, setCurrentLayer, IN, int, layer,
Properties::NON_VIRTUAL,
__void__setCurrentLayer__int,
"",
"");
I_Method0(int, getCurrentLayer,
Properties::NON_VIRTUAL,
__int__getCurrentLayer,
"",
"");
I_Method0(const std::vector< osgAnimation::FrameAction > &, getStackedFrameAction,
Properties::NON_VIRTUAL,
__C5_std_vectorT1_FrameAction__R1__getStackedFrameAction,
"",
"");
I_Method1(void, apply, IN, osgAnimation::Action &, action,
Properties::VIRTUAL,
__void__apply__Action_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::Timeline &, tm,
Properties::VIRTUAL,
__void__apply__Timeline_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::BlendIn &, action,
Properties::VIRTUAL,
__void__apply__BlendIn_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::BlendOut &, action,
Properties::VIRTUAL,
__void__apply__BlendOut_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::ActionAnimation &, action,
Properties::VIRTUAL,
__void__apply__ActionAnimation_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::StripAnimation &, action,
Properties::VIRTUAL,
__void__apply__StripAnimation_R1,
"",
"");
I_SimpleProperty(int, CurrentLayer,
__int__getCurrentLayer,
__void__setCurrentLayer__int);
I_SimpleProperty(osgAnimation::Timeline *, CurrentTimeline,
__Timeline_P1__getCurrentTimeline,
0);
I_SimpleProperty(const std::vector< osgAnimation::FrameAction > &, StackedFrameAction,
__C5_std_vectorT1_FrameAction__R1__getStackedFrameAction,
0);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgAnimation::ClearActionVisitor::ClearType)
I_DeclaringFile("osgAnimation/ActionVisitor");
I_EnumLabel(osgAnimation::ClearActionVisitor::BEFORE_FRAME);
I_EnumLabel(osgAnimation::ClearActionVisitor::AFTER_FRAME);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgAnimation::ClearActionVisitor)
I_DeclaringFile("osgAnimation/ActionVisitor");
I_BaseType(osgAnimation::ActionVisitor);
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_ConstructorWithDefaults1(IN, osgAnimation::ClearActionVisitor::ClearType, type, osgAnimation::ClearActionVisitor::BEFORE_FRAME,
Properties::NON_EXPLICIT,
____ClearActionVisitor__ClearType,
"",
"");
I_Method1(void, setFrame, IN, unsigned int, frame,
Properties::NON_VIRTUAL,
__void__setFrame__unsigned_int,
"",
"");
I_Method1(void, apply, IN, osgAnimation::Timeline &, action,
Properties::VIRTUAL,
__void__apply__Timeline_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::Action &, action,
Properties::VIRTUAL,
__void__apply__Action_R1,
"",
"");
I_SimpleProperty(unsigned int, Frame,
0,
__void__setFrame__unsigned_int);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateActionVisitor)
I_DeclaringFile("osgAnimation/ActionVisitor");
I_BaseType(osgAnimation::ActionVisitor);
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Constructor0(____UpdateActionVisitor,
"",
"");
I_Method1(void, setFrame, IN, unsigned int, frame,
Properties::NON_VIRTUAL,
__void__setFrame__unsigned_int,
"",
"");
I_Method1(bool, isActive, IN, osgAnimation::Action &, action,
Properties::NON_VIRTUAL,
__bool__isActive__Action_R1,
"",
"");
I_Method0(unsigned int, getLocalFrame,
Properties::NON_VIRTUAL,
__unsigned_int__getLocalFrame,
"",
"");
I_Method1(void, apply, IN, osgAnimation::Timeline &, action,
Properties::VIRTUAL,
__void__apply__Timeline_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::Action &, action,
Properties::VIRTUAL,
__void__apply__Action_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::BlendIn &, action,
Properties::VIRTUAL,
__void__apply__BlendIn_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::BlendOut &, action,
Properties::VIRTUAL,
__void__apply__BlendOut_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::ActionAnimation &, action,
Properties::VIRTUAL,
__void__apply__ActionAnimation_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::StripAnimation &, action,
Properties::VIRTUAL,
__void__apply__StripAnimation_R1,
"",
"");
I_SimpleProperty(unsigned int, Frame,
0,
__void__setFrame__unsigned_int);
I_SimpleProperty(unsigned int, LocalFrame,
__unsigned_int__getLocalFrame,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osgAnimation::FrameAction >)

View File

@@ -1,97 +0,0 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/Object>
#include <osgAnimation/Animation>
#include <osgAnimation/AnimationManager>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgAnimation::AnimationManager)
I_DeclaringFile("osgAnimation/AnimationManager");
I_BaseType(osgAnimation::AnimationManagerBase);
I_Method0(osg::Object *, cloneType,
Properties::VIRTUAL,
__osg_Object_P1__cloneType,
"Clone the type of an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
Properties::VIRTUAL,
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
"Clone an object, with Object* return type. ",
"Must be defined by derived classes. ");
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
Properties::VIRTUAL,
__bool__isSameKindAs__C5_osg_Object_P1,
"",
"");
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the name of the object's library. ",
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the object's class type. ",
"Must be defined by derived classes. ");
I_Constructor0(____AnimationManager,
"",
"");
I_ConstructorWithDefaults2(IN, const osgAnimation::AnimationManager &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____AnimationManager__C5_AnimationManager_R1__C5_osg_CopyOp_R1,
"",
"");
I_Method1(void, update, IN, double, time,
Properties::VIRTUAL,
__void__update__double,
"",
"");
I_MethodWithDefaults3(void, playAnimation, IN, osgAnimation::Animation *, pAnimation, , IN, int, priority, 0, IN, float, weight, 1.0,
Properties::NON_VIRTUAL,
__void__playAnimation__Animation_P1__int__float,
"",
"");
I_Method1(bool, stopAnimation, IN, osgAnimation::Animation *, pAnimation,
Properties::NON_VIRTUAL,
__bool__stopAnimation__Animation_P1,
"",
"");
I_Method1(bool, findAnimation, IN, osgAnimation::Animation *, pAnimation,
Properties::NON_VIRTUAL,
__bool__findAnimation__Animation_P1,
"",
"");
I_Method1(bool, isPlaying, IN, osgAnimation::Animation *, pAnimation,
Properties::NON_VIRTUAL,
__bool__isPlaying__Animation_P1,
"",
"");
I_Method1(bool, isPlaying, IN, const std::string &, animationName,
Properties::NON_VIRTUAL,
__bool__isPlaying__C5_std_string_R1,
"",
"");
I_Method0(void, stopAll,
Properties::NON_VIRTUAL,
__void__stopAll,
"",
"");
END_REFLECTOR

View File

@@ -78,11 +78,6 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::AnimationManagerBase)
__void__clearTargets,
"Operation that must be done each frame. ",
"");
I_Method0(void, normalizeTargets,
Properties::NON_VIRTUAL,
__void__normalizeTargets,
"",
"");
I_Method0(osgAnimation::LinkVisitor *, getOrCreateLinkVisitor,
Properties::NON_VIRTUAL,
__LinkVisitor_P1__getOrCreateLinkVisitor,

View File

@@ -0,0 +1,61 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Node>
#include <osg/Transform>
#include <osgAnimation/Bone>
#include <osgAnimation/BoneMapVisitor>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgAnimation::BoneMapVisitor)
I_DeclaringFile("osgAnimation/BoneMapVisitor");
I_BaseType(osg::NodeVisitor);
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"return the library name/namespapce of the visitor's. ",
"Should be defined by derived classes. ");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"return the name of the visitor's class type. ",
"Should be defined by derived classes. ");
I_Constructor0(____BoneMapVisitor,
"",
"");
I_Method1(void, apply, IN, osg::Node &, x,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
I_Method0(const osgAnimation::Bone::BoneMap &, getBoneMap,
Properties::NON_VIRTUAL,
__C5_Bone_BoneMap_R1__getBoneMap,
"",
"");
I_SimpleProperty(const osgAnimation::Bone::BoneMap &, BoneMap,
__C5_Bone_BoneMap_R1__getBoneMap,
0);
END_REFLECTOR

View File

@@ -98,6 +98,11 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Channel)
__C5_Sampler_P1__getSampler,
"",
"");
I_Method0(bool, createKeyframeContainerFromTargetValue,
Properties::PURE_VIRTUAL,
__bool__createKeyframeContainerFromTargetValue,
"",
"");
I_SimpleProperty(float, EndTime,
__float__getEndTime,
0);

View File

@@ -0,0 +1,42 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Node>
#include <osg/Transform>
#include <osgAnimation/ComputeBindMatrixVisitor>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgAnimation::ComputeBindMatrixVisitor)
I_DeclaringFile("osgAnimation/ComputeBindMatrixVisitor");
I_BaseType(osg::NodeVisitor);
I_Constructor0(____ComputeBindMatrixVisitor,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method1(void, apply, IN, osg::Transform &, node,
Properties::VIRTUAL,
__void__apply__osg_Transform_R1,
"",
"");
END_REFLECTOR

View File

@@ -0,0 +1,45 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Node>
#include <osgAnimation/AnimationManagerBase>
#include <osgAnimation/FindParentAnimationManagerVisitor>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgAnimation::FindParentAnimationManagerVisitor)
I_DeclaringFile("osgAnimation/FindParentAnimationManagerVisitor");
I_BaseType(osg::NodeVisitor);
I_Constructor0(____FindParentAnimationManagerVisitor,
"",
"");
I_Method1(void, apply, IN, osg::Node &, node,
Properties::VIRTUAL,
__void__apply__osg_Node_R1,
"",
"");
I_Method0(osgAnimation::AnimationManagerBase *, getAnimationManager,
Properties::NON_VIRTUAL,
__osgAnimation_AnimationManagerBase_P1__getAnimationManager,
"",
"");
I_SimpleProperty(osgAnimation::AnimationManagerBase *, AnimationManager,
__osgAnimation_AnimationManagerBase_P1__getAnimationManager,
0);
END_REFLECTOR

View File

@@ -0,0 +1,67 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osgAnimation/Action>
#include <osgAnimation/FrameAction>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(std::pair< unsigned int COMMA osg::ref_ptr< osgAnimation::Action > >, osgAnimation::FrameAction)
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Action >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osgAnimation::Action *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Action > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osgAnimation::Action *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osgAnimation::Action *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Action > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osgAnimation::Action *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_PAIR_REFLECTOR(std::pair< unsigned int COMMA osg::ref_ptr< osgAnimation::Action > >)

View File

@@ -0,0 +1,151 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ApplicationUsage>
#include <osg/Camera>
#include <osgAnimation/StatsHandler>
#include <osgAnimation/StatsVisitor>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osgAnimation::StatsHandler::StatsType)
I_DeclaringFile("osgAnimation/StatsHandler");
I_EnumLabel(osgAnimation::StatsHandler::NO_STATS);
I_EnumLabel(osgAnimation::StatsHandler::FRAME_RATE);
I_EnumLabel(osgAnimation::StatsHandler::LAST);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgAnimation::StatsHandler)
I_DeclaringFile("osgAnimation/StatsHandler");
I_BaseType(osgGA::GUIEventHandler);
I_Constructor0(____StatsHandler,
"",
"");
I_Method1(void, setKeyEventTogglesOnScreenStats, IN, int, key,
Properties::NON_VIRTUAL,
__void__setKeyEventTogglesOnScreenStats__int,
"",
"");
I_Method0(int, getKeyEventTogglesOnScreenStats,
Properties::NON_VIRTUAL,
__int__getKeyEventTogglesOnScreenStats,
"",
"");
I_Method1(void, setKeyEventPrintsOutStats, IN, int, key,
Properties::NON_VIRTUAL,
__void__setKeyEventPrintsOutStats__int,
"",
"");
I_Method0(int, getKeyEventPrintsOutStats,
Properties::NON_VIRTUAL,
__int__getKeyEventPrintsOutStats,
"",
"");
I_Method0(double, getBlockMultiplier,
Properties::NON_VIRTUAL,
__double__getBlockMultiplier,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method0(osg::Camera *, getCamera,
Properties::NON_VIRTUAL,
__osg_Camera_P1__getCamera,
"",
"");
I_Method0(const osg::Camera *, getCamera,
Properties::NON_VIRTUAL,
__C5_osg_Camera_P1__getCamera,
"",
"");
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x,
Properties::VIRTUAL,
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
"Deprecated, Handle events, return true if handled, false otherwise. ",
"");
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
Properties::VIRTUAL,
__void__getUsage__osg_ApplicationUsage_R1,
"Get the keyboard and mouse usage of this manipulator. ",
"");
I_Method1(void, updateGraph, IN, osgAnimation::StatsActionVisitor *, visitor,
Properties::NON_VIRTUAL,
__void__updateGraph__osgAnimation_StatsActionVisitor_P1,
"",
"");
I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::ViewerBase *, viewer,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__setUpHUDCamera__osgViewer_ViewerBase_P1,
"",
"");
I_ProtectedMethod4(osg::Geometry *, createBackgroundRectangle, IN, const osg::Vec3 &, pos, IN, const float, width, IN, const float, height, IN, osg::Vec4 &, color,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__osg_Geometry_P1__createBackgroundRectangle__C5_osg_Vec3_R1__C5_float__C5_float__osg_Vec4_R1,
"",
"");
I_ProtectedMethod4(osg::Geometry *, createGeometry, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__osg_Geometry_P1__createGeometry__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int,
"",
"");
I_ProtectedMethod4(osg::Geometry *, createFrameMarkers, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__osg_Geometry_P1__createFrameMarkers__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int,
"",
"");
I_ProtectedMethod4(osg::Geometry *, createTick, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numTicks,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__osg_Geometry_P1__createTick__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int,
"",
"");
I_ProtectedMethod7(osg::Node *, createCameraTimeStats, IN, const std::string &, font, IN, osg::Vec3 &, pos, IN, float, startBlocks, IN, bool, acquireGPUStats, IN, float, characterSize, IN, osg::Stats *, viewerStats, IN, osg::Camera *, camera,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__osg_Node_P1__createCameraTimeStats__C5_std_string_R1__osg_Vec3_R1__float__bool__float__osg_Stats_P1__osg_Camera_P1,
"",
"");
I_ProtectedMethod1(void, setUpScene, IN, osgViewer::Viewer *, viewer,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__setUpScene__osgViewer_Viewer_P1,
"",
"");
I_SimpleProperty(double, BlockMultiplier,
__double__getBlockMultiplier,
0);
I_SimpleProperty(osg::Camera *, Camera,
__osg_Camera_P1__getCamera,
0);
I_SimpleProperty(int, KeyEventPrintsOutStats,
__int__getKeyEventPrintsOutStats,
__void__setKeyEventPrintsOutStats__int);
I_SimpleProperty(int, KeyEventTogglesOnScreenStats,
__int__getKeyEventTogglesOnScreenStats,
__void__setKeyEventTogglesOnScreenStats__int);
END_REFLECTOR

View File

@@ -0,0 +1,111 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Stats>
#include <osgAnimation/Action>
#include <osgAnimation/StatsVisitor>
#include <osgAnimation/Timeline>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgAnimation::StatsActionVisitor)
I_DeclaringFile("osgAnimation/StatsVisitor");
I_BaseType(osgAnimation::UpdateActionVisitor);
I_Method0(const char *, libraryName,
Properties::VIRTUAL,
__C5_char_P1__libraryName,
"",
"");
I_Method0(const char *, className,
Properties::VIRTUAL,
__C5_char_P1__className,
"",
"");
I_Constructor0(____StatsActionVisitor,
"",
"");
I_Constructor2(IN, osg::Stats *, stats, IN, unsigned int, frame,
____StatsActionVisitor__osg_Stats_P1__unsigned_int,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,
"",
"");
I_Method0(const std::vector< std::string > &, getChannels,
Properties::NON_VIRTUAL,
__C5_std_vectorT1_std_string__R1__getChannels,
"",
"");
I_Method0(osg::Stats *, getStats,
Properties::NON_VIRTUAL,
__osg_Stats_P1__getStats,
"",
"");
I_Method1(void, setStats, IN, osg::Stats *, stats,
Properties::NON_VIRTUAL,
__void__setStats__osg_Stats_P1,
"",
"");
I_Method1(void, setFrame, IN, unsigned int, frame,
Properties::NON_VIRTUAL,
__void__setFrame__unsigned_int,
"",
"");
I_Method1(void, apply, IN, osgAnimation::Timeline &, action,
Properties::VIRTUAL,
__void__apply__Timeline_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::Action &, action,
Properties::VIRTUAL,
__void__apply__Action_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::BlendIn &, action,
Properties::VIRTUAL,
__void__apply__BlendIn_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::BlendOut &, action,
Properties::VIRTUAL,
__void__apply__BlendOut_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::ActionAnimation &, action,
Properties::VIRTUAL,
__void__apply__ActionAnimation_R1,
"",
"");
I_Method1(void, apply, IN, osgAnimation::StripAnimation &, action,
Properties::VIRTUAL,
__void__apply__StripAnimation_R1,
"",
"");
I_SimpleProperty(const std::vector< std::string > &, Channels,
__C5_std_vectorT1_std_string__R1__getChannels,
0);
I_SimpleProperty(unsigned int, Frame,
0,
__void__setFrame__unsigned_int);
I_SimpleProperty(osg::Stats *, Stats,
__osg_Stats_P1__getStats,
__void__setStats__osg_Stats_P1);
END_REFLECTOR

View File

@@ -10,6 +10,10 @@
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Quat>
#include <osg/Vec2>
#include <osg/Vec3>
#include <osg/Vec4>
#include <osgAnimation/Target>
// Must undefine IN and OUT macros defined in Windows headers
@@ -20,17 +24,12 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Target)
BEGIN_OBJECT_REFLECTOR(osgAnimation::Target)
I_DeclaringFile("osgAnimation/Target");
I_BaseType(osg::Referenced);
I_Constructor0(____Target,
"",
"");
I_Method0(void, normalize,
Properties::PURE_VIRTUAL,
__void__normalize,
"",
"");
I_Method0(void, reset,
Properties::NON_VIRTUAL,
__void__reset,