Updated wrappers
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
|
||||
#include <list>
|
||||
#include <osg/ref_ptr>
|
||||
#include <osg/observer_ptr>
|
||||
#include <osg/Referenced>
|
||||
|
||||
#include <osgWidget/Export>
|
||||
|
||||
204
src/osgWrappers/osgAnimation/Animation.cpp
Normal file
204
src/osgWrappers/osgAnimation/Animation.cpp
Normal file
@@ -0,0 +1,204 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Channel>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgAnimation::Animation::PlayMode)
|
||||
I_DeclaringFile("osgAnimation/Animation");
|
||||
I_EnumLabel(osgAnimation::Animation::ONCE);
|
||||
I_EnumLabel(osgAnimation::Animation::STAY);
|
||||
I_EnumLabel(osgAnimation::Animation::LOOP);
|
||||
I_EnumLabel(osgAnimation::Animation::PPONG);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Animation)
|
||||
I_DeclaringFile("osgAnimation/Animation");
|
||||
I_VirtualBaseType(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 &, copyop,
|
||||
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(____Animation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::Animation &, anim, IN, const osg::CopyOp &, x,
|
||||
____Animation__C5_osgAnimation_Animation_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addChannel, IN, osgAnimation::Channel *, pChannel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addChannel__Channel_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::ChannelList &, getChannels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ChannelList_R1__getChannels,
|
||||
"Those accessors let you add and remove channels if you modify something that can change the duration you are supposed to call computeDuration or setDuration. ",
|
||||
"");
|
||||
I_Method0(const osgAnimation::ChannelList &, getChannels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ChannelList_R1__getChannels,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDuration, IN, double, duration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDuration__double,
|
||||
"Change the duration of animation then evaluate the animation in the range 0-duration it stretch the animation in time. ",
|
||||
"see computeDuration too ");
|
||||
I_Method0(void, computeDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeDuration,
|
||||
"Compute duration from channel and keyframes if the duration is not specified you should call this method before using it. ",
|
||||
"");
|
||||
I_Method0(float, getDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDuration,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWeight, IN, float, weight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWeight__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getWeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, update, IN, float, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__update__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, resetTargets,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__resetTargets,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlaymode, IN, osgAnimation::Animation::PlayMode, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPlaymode__PlayMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTime, IN, float, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTime__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(double, computeDurationFromChannels,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::CONST,
|
||||
__double__computeDurationFromChannels,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::ChannelList &, Channels,
|
||||
__ChannelList_R1__getChannels,
|
||||
0);
|
||||
I_SimpleProperty(double, Duration,
|
||||
0,
|
||||
__void__setDuration__double);
|
||||
I_SimpleProperty(osgAnimation::Animation::PlayMode, Playmode,
|
||||
0,
|
||||
__void__setPlaymode__PlayMode);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
__void__setStartTime__float);
|
||||
I_SimpleProperty(float, Weight,
|
||||
__float__getWeight,
|
||||
__void__setWeight__float);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgAnimation::Animation > >, osgAnimation::AnimationList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< osgAnimation::Animation > >, osgAnimation::AnimationMap)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Animation >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgAnimation::Animation *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Animation > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Animation *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Animation *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Animation > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Animation *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ref_ptr< osgAnimation::Animation > >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgAnimation::Animation > >)
|
||||
|
||||
103
src/osgWrappers/osgAnimation/AnimationManager.cpp
Normal file
103
src/osgWrappers/osgAnimation/AnimationManager.cpp
Normal file
@@ -0,0 +1,103 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/NodeVisitor>
|
||||
#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 &, copyop,
|
||||
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, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
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
|
||||
|
||||
126
src/osgWrappers/osgAnimation/AnimationManagerBase.cpp
Normal file
126
src/osgWrappers/osgAnimation/AnimationManagerBase.cpp
Normal file
@@ -0,0 +1,126 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osgAnimation/Animation>
|
||||
#include <osgAnimation/AnimationManagerBase>
|
||||
#include <osgAnimation/Target>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgAnimation::Target > >, osgAnimation::AnimationManagerBase::TargetSet)
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::AnimationManagerBase)
|
||||
I_DeclaringFile("osgAnimation/AnimationManagerBase");
|
||||
I_BaseType(osg::NodeCallback);
|
||||
I_Constructor0(____AnimationManagerBase,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgAnimation::AnimationManagerBase &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AnimationManagerBase__C5_AnimationManagerBase_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildTargetReference,
|
||||
Properties::VIRTUAL,
|
||||
__void__buildTargetReference,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, registerAnimation, IN, osgAnimation::Animation *, animation,
|
||||
Properties::VIRTUAL,
|
||||
__void__registerAnimation__Animation_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, link, IN, osg::Node *, subgraph,
|
||||
Properties::VIRTUAL,
|
||||
__void__link__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, double, t,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__update__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needToLink,
|
||||
Properties::VIRTUAL,
|
||||
__bool__needToLink,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::AnimationList &, getAnimationList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_AnimationList_R1__getAnimationList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clearTargets,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearTargets,
|
||||
"Operation that must be done each frame. ",
|
||||
"");
|
||||
I_Method0(void, normalizeTargets,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__normalizeTargets,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::AnimationList &, AnimationList,
|
||||
__C5_AnimationList_R1__getAnimationList,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Target >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgAnimation::Target *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Target > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Target *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Target *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Target > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Target *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgAnimation::Target > >)
|
||||
|
||||
39
src/osgWrappers/osgAnimation/Assert.cpp
Normal file
39
src/osgWrappers/osgAnimation/Assert.cpp
Normal file
@@ -0,0 +1,39 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgAnimation/Assert>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::ThrowAssert)
|
||||
I_DeclaringFile("osgAnimation/Assert");
|
||||
I_Method0(const char *, what,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__what,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const std::string &, msg, IN, const char *, file, IN, int, line,
|
||||
____ThrowAssert__C5_std_string_R1__C5_char_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ThrowAssert,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(std::string, mMsg);
|
||||
END_REFLECTOR
|
||||
|
||||
98
src/osgWrappers/osgAnimation/BasicAnimationManager.cpp
Normal file
98
src/osgWrappers/osgAnimation/BasicAnimationManager.cpp
Normal file
@@ -0,0 +1,98 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/AnimationManagerBase>
|
||||
#include <osgAnimation/BasicAnimationManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::BasicAnimationManager)
|
||||
I_DeclaringFile("osgAnimation/BasicAnimationManager");
|
||||
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 &, copyop,
|
||||
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(____BasicAnimationManager,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgAnimation::AnimationManagerBase &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BasicAnimationManager__C5_AnimationManagerBase_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
|
||||
|
||||
359
src/osgWrappers/osgAnimation/Bone.cpp
Normal file
359
src/osgWrappers/osgAnimation/Bone.cpp
Normal file
@@ -0,0 +1,359 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Matrix>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Quat>
|
||||
#include <osg/Transform>
|
||||
#include <osg/Vec3>
|
||||
#include <osgAnimation/Bone>
|
||||
#include <osgAnimation/Channel>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osg::ref_ptr< osgAnimation::Bone >, osgAnimation::Bone::PointerType)
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osgAnimation::Bone::PointerType >, osgAnimation::Bone::BoneMap)
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Matrix, osgAnimation::Bone::MatrixType)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone)
|
||||
I_DeclaringFile("osgAnimation/Bone");
|
||||
I_BaseType(osg::Transform);
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgAnimation::Bone &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Bone__C5_Bone_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, const std::string &, name, "",
|
||||
Properties::NON_EXPLICIT,
|
||||
____Bone__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setDefaultUpdateCallback, IN, const std::string &, name, "",
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultUpdateCallback__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeLocalToWorldMatrix__osg_Matrix_R1__osg_NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
Properties::VIRTUAL,
|
||||
__bool__computeWorldToLocalMatrix__osg_Matrix_R1__osg_NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Bone *, getBoneParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Bone_P1__getBoneParent,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::Bone *, getBoneParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Bone_P1__getBoneParent,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, trans,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTranslation__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotation, IN, const osg::Quat &, quat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRotation__C5_osg_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getTranslation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getRotation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Quat_R1__getRotation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrix, getMatrixInBoneSpace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Matrix__getMatrixInBoneSpace,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getBindMatrixInBoneSpace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getBindMatrixInBoneSpace,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrixInSkeletonSpace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getMatrixInSkeletonSpace,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getInvBindMatrixInSkeletonSpace,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getInvBindMatrixInSkeletonSpace,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBoneInSkeletonSpace, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBoneInSkeletonSpace__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBindMatrixInBoneSpace, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBindMatrixInBoneSpace__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needToComputeBindMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__needToComputeBindMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeBindMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeBindMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needLink,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__needLink,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNeedToComputeBindMatrix, IN, bool, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNeedToComputeBindMatrix__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__Node_P1,
|
||||
"Add Node to Group. ",
|
||||
"If node is not NULL and is not contained in Group then increment its reference count, add it to the child list and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. Otherwise return false. Scene nodes can't be added as child nodes. ");
|
||||
I_Method0(osgAnimation::Bone::BoneMap, getBoneMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BoneMap__getBoneMap,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrix &, BindMatrixInBoneSpace,
|
||||
__C5_osg_Matrix_R1__getBindMatrixInBoneSpace,
|
||||
__void__setBindMatrixInBoneSpace__C5_osg_Matrix_R1);
|
||||
I_SimpleProperty(const osg::Matrix &, BoneInSkeletonSpace,
|
||||
0,
|
||||
__void__setBoneInSkeletonSpace__C5_osg_Matrix_R1);
|
||||
I_SimpleProperty(osgAnimation::Bone::BoneMap, BoneMap,
|
||||
__BoneMap__getBoneMap,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::Bone *, BoneParent,
|
||||
__Bone_P1__getBoneParent,
|
||||
0);
|
||||
I_SimpleProperty(const std::string &, DefaultUpdateCallback,
|
||||
0,
|
||||
__void__setDefaultUpdateCallback__C5_std_string_R1);
|
||||
I_SimpleProperty(const osg::Matrix &, InvBindMatrixInSkeletonSpace,
|
||||
__C5_osg_Matrix_R1__getInvBindMatrixInSkeletonSpace,
|
||||
0);
|
||||
I_SimpleProperty(osg::Matrix, MatrixInBoneSpace,
|
||||
__osg_Matrix__getMatrixInBoneSpace,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrix &, MatrixInSkeletonSpace,
|
||||
__C5_osg_Matrix_R1__getMatrixInSkeletonSpace,
|
||||
0);
|
||||
I_SimpleProperty(bool, NeedToComputeBindMatrix,
|
||||
0,
|
||||
__void__setNeedToComputeBindMatrix__bool);
|
||||
I_SimpleProperty(const osg::Quat &, Rotation,
|
||||
__C5_osg_Quat_R1__getRotation,
|
||||
__void__setRotation__C5_osg_Quat_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Scale,
|
||||
0,
|
||||
__void__setScale__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Translation,
|
||||
__C5_osg_Vec3_R1__getTranslation,
|
||||
__void__setTranslation__C5_osg_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone::BoneMapVisitor)
|
||||
I_DeclaringFile("osgAnimation/Bone");
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____BoneMapVisitor,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osgAnimation::Bone::BoneMap, _map);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone::FindNearestParentAnimationManager)
|
||||
I_DeclaringFile("osgAnimation/Bone");
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____FindNearestParentAnimationManager,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgAnimation::AnimationManagerBase >, _manager);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone::UpdateBone)
|
||||
I_DeclaringFile("osgAnimation/Bone");
|
||||
I_BaseType(osgAnimation::AnimationUpdateCallback);
|
||||
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 &, copyop,
|
||||
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_Constructor2(IN, const osgAnimation::Bone::UpdateBone &, apc, IN, const osg::CopyOp &, copyop,
|
||||
____UpdateBone__C5_UpdateBone_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults1(IN, const std::string &, name, "",
|
||||
Properties::NON_EXPLICIT,
|
||||
____UpdateBone__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osgAnimation::Bone &, bone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__osgAnimation_Bone_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needLink,
|
||||
Properties::VIRTUAL,
|
||||
__bool__needLink,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, link, IN, osgAnimation::Channel *, channel,
|
||||
Properties::VIRTUAL,
|
||||
__bool__link__osgAnimation_Channel_P1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgAnimation::Vec3Target >, _position);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgAnimation::QuatTarget >, _quaternion);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgAnimation::Vec3Target >, _scale);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Bone >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgAnimation::Bone *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Bone > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Bone *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Bone *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Bone > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Bone *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA osgAnimation::Bone::PointerType >)
|
||||
|
||||
1196
src/osgWrappers/osgAnimation/Channel.cpp
Normal file
1196
src/osgWrappers/osgAnimation/Channel.cpp
Normal file
File diff suppressed because it is too large
Load Diff
330
src/osgWrappers/osgAnimation/CubicBezier.cpp
Normal file
330
src/osgWrappers/osgAnimation/CubicBezier.cpp
Normal file
@@ -0,0 +1,330 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Vec2>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgAnimation/CubicBezier>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< float >, osgAnimation::FloatCubicBezier)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< double >, osgAnimation::DoubleCubicBezier)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< osg::Vec2 >, osgAnimation::Vec2CubicBezier)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< osg::Vec3 >, osgAnimation::Vec3CubicBezier)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezier< osg::Vec4 >, osgAnimation::Vec4CubicBezier)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< double >)
|
||||
I_DeclaringFile("osgAnimation/CubicBezier");
|
||||
I_Method0(const double &, getP0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP0,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const double &, getP1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const double &, getP2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP2,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const double &, v0, IN, const double &, v1, IN, const double &, v2,
|
||||
____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TemplateCubicBezier,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const double &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const double &, getTangentPoint1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const double &, getTangentPoint2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const double &, P0,
|
||||
__C5_T_R1__getP0,
|
||||
0);
|
||||
I_SimpleProperty(const double &, P1,
|
||||
__C5_T_R1__getP1,
|
||||
0);
|
||||
I_SimpleProperty(const double &, P2,
|
||||
__C5_T_R1__getP2,
|
||||
0);
|
||||
I_SimpleProperty(const double &, Position,
|
||||
__C5_T_R1__getPosition,
|
||||
0);
|
||||
I_SimpleProperty(const double &, TangentPoint1,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
0);
|
||||
I_SimpleProperty(const double &, TangentPoint2,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< float >)
|
||||
I_DeclaringFile("osgAnimation/CubicBezier");
|
||||
I_Method0(const float &, getP0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP0,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const float &, getP1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const float &, getP2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP2,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const float &, v0, IN, const float &, v1, IN, const float &, v2,
|
||||
____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TemplateCubicBezier,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const float &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const float &, getTangentPoint1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const float &, getTangentPoint2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const float &, P0,
|
||||
__C5_T_R1__getP0,
|
||||
0);
|
||||
I_SimpleProperty(const float &, P1,
|
||||
__C5_T_R1__getP1,
|
||||
0);
|
||||
I_SimpleProperty(const float &, P2,
|
||||
__C5_T_R1__getP2,
|
||||
0);
|
||||
I_SimpleProperty(const float &, Position,
|
||||
__C5_T_R1__getPosition,
|
||||
0);
|
||||
I_SimpleProperty(const float &, TangentPoint1,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
0);
|
||||
I_SimpleProperty(const float &, TangentPoint2,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< osg::Vec2 >)
|
||||
I_DeclaringFile("osgAnimation/CubicBezier");
|
||||
I_Method0(const osg::Vec2 &, getP0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP0,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getP1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getP2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP2,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Vec2 &, v0, IN, const osg::Vec2 &, v1, IN, const osg::Vec2 &, v2,
|
||||
____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TemplateCubicBezier,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getTangentPoint1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getTangentPoint2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec2 &, P0,
|
||||
__C5_T_R1__getP0,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec2 &, P1,
|
||||
__C5_T_R1__getP1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec2 &, P2,
|
||||
__C5_T_R1__getP2,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec2 &, Position,
|
||||
__C5_T_R1__getPosition,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec2 &, TangentPoint1,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec2 &, TangentPoint2,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< osg::Vec3 >)
|
||||
I_DeclaringFile("osgAnimation/CubicBezier");
|
||||
I_Method0(const osg::Vec3 &, getP0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP0,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getP1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getP2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP2,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Vec3 &, v0, IN, const osg::Vec3 &, v1, IN, const osg::Vec3 &, v2,
|
||||
____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TemplateCubicBezier,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getTangentPoint1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getTangentPoint2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, P0,
|
||||
__C5_T_R1__getP0,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3 &, P1,
|
||||
__C5_T_R1__getP1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3 &, P2,
|
||||
__C5_T_R1__getP2,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_T_R1__getPosition,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3 &, TangentPoint1,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3 &, TangentPoint2,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::TemplateCubicBezier< osg::Vec4 >)
|
||||
I_DeclaringFile("osgAnimation/CubicBezier");
|
||||
I_Method0(const osg::Vec4 &, getP0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP0,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getP1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getP2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getP2,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Vec4 &, v0, IN, const osg::Vec4 &, v1, IN, const osg::Vec4 &, v2,
|
||||
____TemplateCubicBezier__C5_T_R1__C5_T_R1__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TemplateCubicBezier,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getTangentPoint1,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getTangentPoint2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, P0,
|
||||
__C5_T_R1__getP0,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, P1,
|
||||
__C5_T_R1__getP1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, P2,
|
||||
__C5_T_R1__getP2,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, Position,
|
||||
__C5_T_R1__getPosition,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, TangentPoint1,
|
||||
__C5_T_R1__getTangentPoint1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, TangentPoint2,
|
||||
__C5_T_R1__getTangentPoint2,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
526
src/osgWrappers/osgAnimation/EaseMotion.cpp
Normal file
526
src/osgWrappers/osgAnimation/EaseMotion.cpp
Normal file
@@ -0,0 +1,526 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgAnimation/EaseMotion>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgAnimation::Motion > >, osgAnimation::CompositeMotion::MotionList)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::CompositeMotion)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_Method0(osgAnimation::CompositeMotion::MotionList &, getMotionList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__MotionList_R1__getMotionList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::CompositeMotion::MotionList &, getMotionList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MotionList_R1__getMotionList,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____CompositeMotion__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::CompositeMotion::MotionList &, MotionList,
|
||||
__MotionList_R1__getMotionList,
|
||||
0);
|
||||
I_PublicMemberProperty(osgAnimation::CompositeMotion::MotionList, _motions);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::InBounceFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____InBounceFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::InCubicFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____InCubicFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::InOutBounceFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____InOutBounceFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::InOutCubicFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____InOutCubicFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::InOutQuadFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____InOutQuadFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::InOutQuartFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____InOutQuartFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::InQuadFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____InQuadFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::InQuartFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____InQuartFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::LinearFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____LinearFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(float, osgAnimation::Motion::value_type)
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgAnimation::Motion::TimeBehaviour)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_EnumLabel(osgAnimation::Motion::CLAMP);
|
||||
I_EnumLabel(osgAnimation::Motion::LOOP);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Motion)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____Motion__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, evaluateTime, IN, float, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__evaluateTime__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, float, dt,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTime, IN, float, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTime__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getValue, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Motion::value_type, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgAnimation::Motion::value_type, getValueAt, IN, float, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__value_type__getValueAt__float,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDuration,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getDuration,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, Duration,
|
||||
__float__getDuration,
|
||||
0);
|
||||
I_SimpleProperty(float, Time,
|
||||
__float__getTime,
|
||||
__void__setTime__float);
|
||||
I_SimpleProperty(osgAnimation::Motion::value_type, Value,
|
||||
__value_type__getValue,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::OutBounceFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____OutBounceFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::OutCubicFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____OutCubicFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::OutQuadFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____OutQuadFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::OutQuartFunction)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_Constructor0(____OutQuartFunction,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, getValueAt, IN, float, t, IN, float &, result,
|
||||
__void__getValueAt__float__float_R1_S,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::LinearFunction >, osgAnimation::LinearMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutQuadFunction >, osgAnimation::OutQuadMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InQuadFunction >, osgAnimation::InQuadMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutQuadFunction >, osgAnimation::InOutQuadMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutCubicFunction >, osgAnimation::OutCubicMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InCubicFunction >, osgAnimation::InCubicMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutCubicFunction >, osgAnimation::InOutCubicMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutQuartFunction >, osgAnimation::OutQuartMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InQuartFunction >, osgAnimation::InQuartMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutQuartFunction >, osgAnimation::InOutQuartMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::OutBounceFunction >, osgAnimation::OutBounceMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InBounceFunction >, osgAnimation::InBounceMotion)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::MathMotionTemplate< osgAnimation::InOutBounceFunction >, osgAnimation::InOutBounceMotion)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Motion >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osgAnimation::Motion *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgAnimation::Motion > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Motion *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Motion *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgAnimation::Motion > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Motion *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InBounceFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InCubicFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutBounceFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutCubicFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutQuadFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InOutQuartFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InQuadFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::InQuartFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::LinearFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutBounceFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutCubicFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutQuadFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::MathMotionTemplate< osgAnimation::OutQuartFunction >)
|
||||
I_DeclaringFile("osgAnimation/EaseMotion");
|
||||
I_BaseType(osgAnimation::Motion);
|
||||
I_ConstructorWithDefaults4(IN, float, startValue, 0, IN, float, duration, 1, IN, float, changeValue, 1, IN, osgAnimation::Motion::TimeBehaviour, tb, osgAnimation::Motion::CLAMP,
|
||||
____MathMotionTemplate__float__float__float__TimeBehaviour,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueInNormalizedRange, IN, float, t, IN, osgAnimation::Motion::value_type &, result,
|
||||
Properties::VIRTUAL,
|
||||
__void__getValueInNormalizedRange__float__value_type_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgAnimation::Motion > >)
|
||||
|
||||
208
src/osgWrappers/osgAnimation/Interpolator.cpp
Normal file
208
src/osgWrappers/osgAnimation/Interpolator.cpp
Normal file
@@ -0,0 +1,208 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Quat>
|
||||
#include <osg/Vec2>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgAnimation/CubicBezier>
|
||||
#include <osgAnimation/Interpolator>
|
||||
#include <osgAnimation/Vec3Packed>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< double COMMA double >, osgAnimation::DoubleLinearInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< float COMMA float >, osgAnimation::FloatLinearInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Vec2 COMMA osg::Vec2 >, osgAnimation::Vec2LinearInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Vec3 COMMA osg::Vec3 >, osgAnimation::Vec3LinearInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Vec3 COMMA osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedLinearInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Vec4 COMMA osg::Vec4 >, osgAnimation::Vec4LinearInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSphericalLinearInterpolator< osg::Quat COMMA osg::Quat >, osgAnimation::QuatSphericalLinearInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< float COMMA osgAnimation::FloatCubicBezier >, osgAnimation::FloatCubicBezierInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< double COMMA osgAnimation::DoubleCubicBezier >, osgAnimation::DoubleCubicBezierInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec2 COMMA osgAnimation::Vec2CubicBezier >, osgAnimation::Vec2CubicBezierInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec3 COMMA osgAnimation::Vec3CubicBezier >, osgAnimation::Vec3CubicBezierInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec4 COMMA osgAnimation::Vec4CubicBezier >, osgAnimation::Vec4CubicBezierInterpolator)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateCubicBezierInterpolator< double COMMA osgAnimation::DoubleCubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateCubicBezierInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osgAnimation::DoubleCubicBezier > &, keyframes, IN, float, time, IN, double &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateCubicBezierInterpolator< float COMMA osgAnimation::FloatCubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateCubicBezierInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osgAnimation::FloatCubicBezier > &, keyframes, IN, float, time, IN, float &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec2 COMMA osgAnimation::Vec2CubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateCubicBezierInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec2CubicBezier > &, keyframes, IN, float, time, IN, osg::Vec2 &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec3 COMMA osgAnimation::Vec3CubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateCubicBezierInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3CubicBezier > &, keyframes, IN, float, time, IN, osg::Vec3 &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec4 COMMA osgAnimation::Vec4CubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateCubicBezierInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec4CubicBezier > &, keyframes, IN, float, time, IN, osg::Vec4 &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateLinearInterpolator< double COMMA double >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateLinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< double > &, keyframes, IN, float, time, IN, double &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateLinearInterpolator< float COMMA float >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateLinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< float > &, keyframes, IN, float, time, IN, float &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateLinearInterpolator< osg::Vec2 COMMA osg::Vec2 >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateLinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osg::Vec2 > &, keyframes, IN, float, time, IN, osg::Vec2 &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateLinearInterpolator< osg::Vec3 COMMA osg::Vec3 >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateLinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osg::Vec3 > &, keyframes, IN, float, time, IN, osg::Vec3 &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateLinearInterpolator< osg::Vec3 COMMA osgAnimation::Vec3Packed >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateLinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3Packed > &, keyframes, IN, float, time, IN, osg::Vec3 &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateLinearInterpolator< osg::Vec4 COMMA osg::Vec4 >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateLinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osg::Vec4 > &, keyframes, IN, float, time, IN, osg::Vec4 &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSphericalLinearInterpolator< osg::Quat COMMA osg::Quat >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateSphericalLinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< osg::Quat > &, keyframes, IN, float, time, IN, osg::Quat &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
523
src/osgWrappers/osgAnimation/Keyframe.cpp
Normal file
523
src/osgWrappers/osgAnimation/Keyframe.cpp
Normal file
@@ -0,0 +1,523 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Quat>
|
||||
#include <osg/Vec2>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgAnimation/CubicBezier>
|
||||
#include <osgAnimation/Keyframe>
|
||||
#include <osgAnimation/Vec3Packed>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::Keyframe)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_Constructor0(____Keyframe,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTime, IN, float, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTime__float,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, Time,
|
||||
__float__getTime,
|
||||
__void__setTime__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::KeyframeContainer)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____KeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< float >, osgAnimation::FloatKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< float >, osgAnimation::FloatKeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Vec2 >, osgAnimation::Vec2Keyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Vec2 >, osgAnimation::Vec2KeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Vec3 >, osgAnimation::Vec3Keyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Vec3 >, osgAnimation::Vec3KeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Vec4 >, osgAnimation::Vec4Keyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Vec4 >, osgAnimation::Vec4KeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Quat >, osgAnimation::QuatKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Quat >, osgAnimation::QuatKeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedKeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::FloatCubicBezier >, osgAnimation::FloatCubicBezierKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::FloatCubicBezier >, osgAnimation::FloatCubicBezierKeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::DoubleCubicBezier >, osgAnimation::DoubleCubicBezierKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::DoubleCubicBezier >, osgAnimation::DoubleCubicBezierKeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec2CubicBezier >, osgAnimation::Vec2CubicBezierKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec2CubicBezier >, osgAnimation::Vec2CubicBezierKeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec3CubicBezier >, osgAnimation::Vec3CubicBezierKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3CubicBezier >, osgAnimation::Vec3CubicBezierKeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec4CubicBezier >, osgAnimation::Vec4CubicBezierKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec4CubicBezier >, osgAnimation::Vec4CubicBezierKeyframeContainer)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< float >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const float &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const float &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const float &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const float &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osg::Quat >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osg::Quat &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osg::Quat &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Quat &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osg::Vec2 >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osg::Vec2 &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osg::Vec2 &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec2 &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osg::Vec3 >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osg::Vec3 &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osg::Vec3 &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osg::Vec4 >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osg::Vec4 &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osg::Vec4 &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osgAnimation::DoubleCubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osgAnimation::DoubleCubicBezier &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osgAnimation::DoubleCubicBezier &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::DoubleCubicBezier &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::DoubleCubicBezier &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osgAnimation::FloatCubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osgAnimation::FloatCubicBezier &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osgAnimation::FloatCubicBezier &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::FloatCubicBezier &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::FloatCubicBezier &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osgAnimation::Vec2CubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osgAnimation::Vec2CubicBezier &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osgAnimation::Vec2CubicBezier &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::Vec2CubicBezier &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::Vec2CubicBezier &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osgAnimation::Vec3CubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osgAnimation::Vec3CubicBezier &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osgAnimation::Vec3CubicBezier &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::Vec3CubicBezier &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::Vec3CubicBezier &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osgAnimation::Vec3Packed >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osgAnimation::Vec3Packed &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osgAnimation::Vec3Packed &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::Vec3Packed &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::Vec3Packed &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osgAnimation::Vec4CubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const osgAnimation::Vec4CubicBezier &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osgAnimation::Vec4CubicBezier &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::Vec4CubicBezier &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::Vec4CubicBezier &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< float >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osg::Quat >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osg::Vec2 >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osg::Vec3 >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osg::Vec4 >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osgAnimation::DoubleCubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osgAnimation::FloatCubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec2CubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3CubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3Packed >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec4CubicBezier >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
46
src/osgWrappers/osgAnimation/LinkVisitor.cpp
Normal file
46
src/osgWrappers/osgAnimation/LinkVisitor.cpp
Normal file
@@ -0,0 +1,46 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Animation>
|
||||
#include <osgAnimation/LinkVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::LinkVisitor)
|
||||
I_DeclaringFile("osgAnimation/LinkVisitor");
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor1(IN, osgAnimation::Animation *, animation,
|
||||
Properties::NON_EXPLICIT,
|
||||
____LinkVisitor__Animation_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgAnimation::AnimationList &, animations,
|
||||
Properties::NON_EXPLICIT,
|
||||
____LinkVisitor__C5_AnimationList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osgAnimation::AnimationList, _animations);
|
||||
I_PublicMemberProperty(unsigned int, _nbLinkedTarget);
|
||||
END_REFLECTOR
|
||||
|
||||
197
src/osgWrappers/osgAnimation/RigGeometry.cpp
Normal file
197
src/osgWrappers/osgAnimation/RigGeometry.cpp
Normal file
@@ -0,0 +1,197 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Drawable>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Geometry>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Transform>
|
||||
#include <osgAnimation/RigGeometry>
|
||||
#include <osgAnimation/Skeleton>
|
||||
#include <osgAnimation/VertexInfluence>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::RigGeometry)
|
||||
I_DeclaringFile("osgAnimation/RigGeometry");
|
||||
I_BaseType(osg::Geometry);
|
||||
I_Constructor0(____RigGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Geometry &, b,
|
||||
Properties::NON_EXPLICIT,
|
||||
____RigGeometry__C5_osg_Geometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgAnimation::RigGeometry &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RigGeometry__C5_RigGeometry_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 &, copyop,
|
||||
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_Method1(void, setInfluenceMap, IN, osgAnimation::VertexInfluenceMap *, vertexInfluenceMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInfluenceMap__osgAnimation_VertexInfluenceMap_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::VertexInfluenceMap *, getInfluenceMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgAnimation_VertexInfluenceMap_P1__getInfluenceMap,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::VertexInfluenceMap *, getInfluenceMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgAnimation_VertexInfluenceMap_P1__getInfluenceMap,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildVertexSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__buildVertexSet,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, buildTransformer, IN, osgAnimation::Skeleton *, root,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__buildTransformer__Skeleton_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeMatrixFromRootSkeleton,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeMatrixFromRootSkeleton,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNeedToComputeMatrix, IN, bool, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNeedToComputeMatrix__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getNeedToComputeMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getNeedToComputeMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::Skeleton *, getSkeleton,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Skeleton_P1__getSkeleton,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Skeleton *, getSkeleton,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Skeleton_P1__getSkeleton,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, transformSoftwareMethod,
|
||||
Properties::VIRTUAL,
|
||||
__void__transformSoftwareMethod,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::VertexInfluenceSet &, getVertexInfluenceSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgAnimation_VertexInfluenceSet_R1__getVertexInfluenceSet,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::VertexInfluenceMap *, InfluenceMap,
|
||||
__osgAnimation_VertexInfluenceMap_P1__getInfluenceMap,
|
||||
__void__setInfluenceMap__osgAnimation_VertexInfluenceMap_P1);
|
||||
I_SimpleProperty(bool, NeedToComputeMatrix,
|
||||
__bool__getNeedToComputeMatrix,
|
||||
__void__setNeedToComputeMatrix__bool);
|
||||
I_SimpleProperty(osgAnimation::Skeleton *, Skeleton,
|
||||
__Skeleton_P1__getSkeleton,
|
||||
0);
|
||||
I_SimpleProperty(const osgAnimation::VertexInfluenceSet &, VertexInfluenceSet,
|
||||
__C5_osgAnimation_VertexInfluenceSet_R1__getVertexInfluenceSet,
|
||||
0);
|
||||
I_PublicMemberProperty(std::vector< osg::Vec3 >, _positionSource);
|
||||
I_PublicMemberProperty(std::vector< osg::Vec3 >, _normalSource);
|
||||
I_PublicMemberProperty(osgAnimation::VertexInfluenceSet, _vertexInfluenceSet);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgAnimation::VertexInfluenceMap >, _vertexInfluenceMap);
|
||||
I_PublicMemberProperty(osgAnimation::TransformVertexFunctor, _transformVertexes);
|
||||
I_PublicMemberProperty(osg::Matrix, _matrixFromSkeletonToGeometry);
|
||||
I_PublicMemberProperty(osg::Matrix, _invMatrixFromSkeletonToGeometry);
|
||||
I_PublicMemberProperty(osg::observer_ptr< osgAnimation::Skeleton >, _root);
|
||||
I_PublicMemberProperty(bool, _needToComputeMatrix);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::RigGeometry::BuildVertexTransformerVisitor)
|
||||
I_DeclaringFile("osgAnimation/RigGeometry");
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor1(IN, osgAnimation::Skeleton *, root,
|
||||
Properties::NON_EXPLICIT,
|
||||
____BuildVertexTransformerVisitor__Skeleton_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgAnimation::Skeleton >, _root);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::RigGeometry::FindNearestParentSkeleton)
|
||||
I_DeclaringFile("osgAnimation/RigGeometry");
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____FindNearestParentSkeleton,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgAnimation::Skeleton >, _root);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::RigGeometry::UpdateVertex)
|
||||
I_DeclaringFile("osgAnimation/RigGeometry");
|
||||
I_BaseType(osg::Drawable::UpdateCallback);
|
||||
I_Constructor0(____UpdateVertex,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, update, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, drw,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__osg_NodeVisitor_P1__osg_Drawable_P1,
|
||||
"do customized update code. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
782
src/osgWrappers/osgAnimation/Sampler.cpp
Normal file
782
src/osgWrappers/osgAnimation/Sampler.cpp
Normal file
@@ -0,0 +1,782 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgAnimation/Interpolator>
|
||||
#include <osgAnimation/Keyframe>
|
||||
#include <osgAnimation/Sampler>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::Sampler)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____Sampler,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >, osgAnimation::DoubleLinearSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >, osgAnimation::FloatLinearSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >, osgAnimation::Vec2LinearSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >, osgAnimation::Vec3LinearSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >, osgAnimation::Vec4LinearSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >, osgAnimation::QuatSphericalLinearSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >, osgAnimation::FloatCubicBezierSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >, osgAnimation::DoubleCubicBezierSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >, osgAnimation::Vec2CubicBezierSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >, osgAnimation::Vec3CubicBezierSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >, osgAnimation::Vec4CubicBezierSampler)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::DoubleLinearInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::FloatLinearInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::Vec2CubicBezierInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::Vec2LinearInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::Vec3CubicBezierInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::Vec3LinearInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::Vec4CubicBezierInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >::KeyframeContainerType *, kf,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyframeContainer__KeyframeContainerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::KeyframeContainer *, getKeyframeContainer,
|
||||
Properties::VIRTUAL,
|
||||
__C5_KeyframeContainer_P1__getKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >::KeyframeContainerType *, getOrCreateKeyframeContainer,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getOrCreateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::KeyframeContainer *, KeyframeContainer,
|
||||
__KeyframeContainer_P1__getKeyframeContainer,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpolator >::KeyframeContainerType *, KeyframeContainerTyped,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
115
src/osgWrappers/osgAnimation/Skeleton.cpp
Normal file
115
src/osgWrappers/osgAnimation/Skeleton.cpp
Normal file
@@ -0,0 +1,115 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgAnimation/Skeleton>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Skeleton)
|
||||
I_DeclaringFile("osgAnimation/Skeleton");
|
||||
I_BaseType(osgAnimation::Bone);
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__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,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgAnimation::Skeleton &, b, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Skeleton__C5_Skeleton_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Skeleton,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaultUpdateCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDefaultUpdateCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeBindMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeBindMatrix,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Skeleton::UpdateSkeleton)
|
||||
I_DeclaringFile("osgAnimation/Skeleton");
|
||||
I_BaseType(osg::NodeCallback);
|
||||
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 &, copyop,
|
||||
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(____UpdateSkeleton,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgAnimation::Skeleton::UpdateSkeleton &, us, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____UpdateSkeleton__C5_UpdateSkeleton_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
125
src/osgWrappers/osgAnimation/Skinning.cpp
Normal file
125
src/osgWrappers/osgAnimation/Skinning.cpp
Normal file
@@ -0,0 +1,125 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Matrix>
|
||||
#include <osgAnimation/Skinning>
|
||||
#include <osgAnimation/VertexInfluence>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Matrix, osgAnimation::TransformVertexFunctor::MatrixType)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::Bone, osgAnimation::TransformVertexFunctor::BoneType)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::Bone::BoneMap, osgAnimation::TransformVertexFunctor::BoneMap)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgAnimation::TransformVertexFunctor::BoneWeight >, osgAnimation::TransformVertexFunctor::BoneWeightList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< int >, osgAnimation::TransformVertexFunctor::VertexList)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::TransformVertexFunctor)
|
||||
I_DeclaringFile("osgAnimation/Skinning");
|
||||
I_Constructor0(____TransformVertexFunctor,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, init, IN, const osgAnimation::TransformVertexFunctor::BoneMap &, map, IN, const osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList &, influence,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init__C5_BoneMap_R1__C5_osgAnimation_VertexInfluenceSet_UniqVertexSetToBoneSetList_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::TransformVertexFunctor::BoneWeight)
|
||||
I_DeclaringFile("osgAnimation/Skinning");
|
||||
I_Constructor2(IN, osgAnimation::TransformVertexFunctor::BoneType *, bone, IN, float, weight,
|
||||
____BoneWeight__BoneType_P1__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TransformVertexFunctor::BoneType *, getBone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_BoneType_P1__getBone,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getWeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWeight, IN, float, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWeight__float,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::TransformVertexFunctor::BoneType *, Bone,
|
||||
__C5_BoneType_P1__getBone,
|
||||
0);
|
||||
I_SimpleProperty(float, Weight,
|
||||
__float__getWeight,
|
||||
__void__setWeight__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::TransformVertexFunctor::UniqBoneSetVertexSet)
|
||||
I_DeclaringFile("osgAnimation/Skinning");
|
||||
I_Constructor0(____UniqBoneSetVertexSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TransformVertexFunctor::BoneWeightList &, getBones,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BoneWeightList_R1__getBones,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TransformVertexFunctor::VertexList &, getVertexes,
|
||||
Properties::NON_VIRTUAL,
|
||||
__VertexList_R1__getVertexes,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, resetMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__resetMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, accummulateMatrix, IN, const osg::Matrix &, invBindMatrix, IN, const osg::Matrix &, matrix, IN, osg::Matrix::value_type, weight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__accummulateMatrix__C5_osg_Matrix_R1__C5_osg_Matrix_R1__osg_Matrix_value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeMatrixForVertexSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeMatrixForVertexSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TransformVertexFunctor::MatrixType &, getMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MatrixType_R1__getMatrix,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::TransformVertexFunctor::BoneWeightList &, Bones,
|
||||
__BoneWeightList_R1__getBones,
|
||||
0);
|
||||
I_SimpleProperty(const osgAnimation::TransformVertexFunctor::MatrixType &, Matrix,
|
||||
__C5_MatrixType_R1__getMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::TransformVertexFunctor::VertexList &, Vertexes,
|
||||
__VertexList_R1__getVertexes,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< int >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgAnimation::TransformVertexFunctor::BoneWeight >)
|
||||
|
||||
294
src/osgWrappers/osgAnimation/Target.cpp
Normal file
294
src/osgWrappers/osgAnimation/Target.cpp
Normal file
@@ -0,0 +1,294 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#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
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_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(float, getWeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWeight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getCount,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, addWeight, IN, float, w,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__addWeight__float,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(int, Count,
|
||||
__int__getCount,
|
||||
0);
|
||||
I_SimpleProperty(float, Weight,
|
||||
__float__getWeight,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Quat >, osgAnimation::QuatTarget)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Vec3 >, osgAnimation::Vec3Target)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Vec4 >, osgAnimation::Vec4Target)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Vec2 >, osgAnimation::Vec2Target)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< float >, osgAnimation::FloatTarget)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< double >, osgAnimation::DoubleTarget)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateTarget< double >)
|
||||
I_DeclaringFile("osgAnimation/Target");
|
||||
I_BaseType(osgAnimation::Target);
|
||||
I_Constructor0(____TemplateTarget,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const double &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TemplateTarget__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, update, IN, float, weight, IN, const double &, val,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const double &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, normalize,
|
||||
Properties::VIRTUAL,
|
||||
__void__normalize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const double &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const double &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateTarget< float >)
|
||||
I_DeclaringFile("osgAnimation/Target");
|
||||
I_BaseType(osgAnimation::Target);
|
||||
I_Constructor0(____TemplateTarget,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const float &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TemplateTarget__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, update, IN, float, weight, IN, const float &, val,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const float &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, normalize,
|
||||
Properties::VIRTUAL,
|
||||
__void__normalize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const float &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const float &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateTarget< osg::Quat >)
|
||||
I_DeclaringFile("osgAnimation/Target");
|
||||
I_BaseType(osgAnimation::Target);
|
||||
I_Constructor0(____TemplateTarget,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Quat &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TemplateTarget__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, update, IN, float, weight, IN, const osg::Quat &, val,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, normalize,
|
||||
Properties::VIRTUAL,
|
||||
__void__normalize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osg::Quat &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Quat &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateTarget< osg::Vec2 >)
|
||||
I_DeclaringFile("osgAnimation/Target");
|
||||
I_BaseType(osgAnimation::Target);
|
||||
I_Constructor0(____TemplateTarget,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec2 &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TemplateTarget__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, update, IN, float, weight, IN, const osg::Vec2 &, val,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec2 &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, normalize,
|
||||
Properties::VIRTUAL,
|
||||
__void__normalize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osg::Vec2 &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec2 &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateTarget< osg::Vec3 >)
|
||||
I_DeclaringFile("osgAnimation/Target");
|
||||
I_BaseType(osgAnimation::Target);
|
||||
I_Constructor0(____TemplateTarget,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec3 &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TemplateTarget__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, update, IN, float, weight, IN, const osg::Vec3 &, val,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, normalize,
|
||||
Properties::VIRTUAL,
|
||||
__void__normalize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osg::Vec3 &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateTarget< osg::Vec4 >)
|
||||
I_DeclaringFile("osgAnimation/Target");
|
||||
I_BaseType(osgAnimation::Target);
|
||||
I_Constructor0(____TemplateTarget,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4 &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TemplateTarget__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, update, IN, float, weight, IN, const osg::Vec4 &, val,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, normalize,
|
||||
Properties::VIRTUAL,
|
||||
__void__normalize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const osg::Vec4 &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
512
src/osgWrappers/osgAnimation/Timeline.cpp
Normal file
512
src/osgWrappers/osgAnimation/Timeline.cpp
Normal file
@@ -0,0 +1,512 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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 <osg/State>
|
||||
#include <osgAnimation/Animation>
|
||||
#include <osgAnimation/Timeline>
|
||||
|
||||
// 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/Timeline");
|
||||
I_VirtualBaseType(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 &, copyop,
|
||||
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(____Action,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::Action &, nc, 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(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, evaluate, IN, unsigned int, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__evaluate__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, evaluateCallback, IN, unsigned int, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__evaluateCallback__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
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(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/Timeline");
|
||||
I_VirtualBaseType(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 &, copyop,
|
||||
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_Method1(void, addNestedCallback, IN, osgAnimation::Action::Callback *, callback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addNestedCallback__Callback_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::ActionAnimation)
|
||||
I_DeclaringFile("osgAnimation/Timeline");
|
||||
I_BaseType(osgAnimation::Action);
|
||||
I_Constructor1(IN, osgAnimation::Animation *, animation,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ActionAnimation__Animation_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, evaluate, IN, unsigned int, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__evaluate__unsigned_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/Timeline");
|
||||
I_BaseType(osgAnimation::Action);
|
||||
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_Method1(void, evaluate, IN, unsigned int, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__evaluate__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(double, Weight,
|
||||
__double__getWeight,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::BlendOut)
|
||||
I_DeclaringFile("osgAnimation/Timeline");
|
||||
I_BaseType(osgAnimation::Action);
|
||||
I_Constructor2(IN, osgAnimation::Animation *, animation, IN, double, duration,
|
||||
____BlendOut__Animation_P1__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getWeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getWeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, evaluate, IN, unsigned int, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__evaluate__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(double, Weight,
|
||||
__double__getWeight,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::RunAction)
|
||||
I_DeclaringFile("osgAnimation/Timeline");
|
||||
I_BaseType(osgAnimation::Action::Callback);
|
||||
I_Constructor2(IN, osgAnimation::Timeline *, tm, IN, osgAnimation::Action *, a,
|
||||
____RunAction__Timeline_P1__Action_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::StripAnimation)
|
||||
I_DeclaringFile("osgAnimation/Timeline");
|
||||
I_BaseType(osgAnimation::Action);
|
||||
I_ConstructorWithDefaults4(IN, osgAnimation::Animation *, animation, , IN, double, blendInDuration, , IN, double, blendOutDuration, , 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, getLoop,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__getLoop,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLoop, IN, unsigned int, loop,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLoop__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, evaluate, IN, unsigned int, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__evaluate__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
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, Loop,
|
||||
__unsigned_int__getLoop,
|
||||
__void__setLoop__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Timeline)
|
||||
I_DeclaringFile("osgAnimation/Timeline");
|
||||
I_VirtualBaseType(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 &, copyop,
|
||||
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(____Timeline,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgAnimation::Timeline &, nc, , IN, const osg::CopyOp &, op, osg::CopyOp::SHALLOW_COPY,
|
||||
____Timeline__C5_Timeline_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::State, getStatus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__State__getStatus,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const ActionList &, getActionLayer, IN, int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ActionList_R1__getActionLayer__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getCurrentFrame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getCurrentFrame,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getCurrentTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getCurrentTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, play,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__play,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, gotoFrame, IN, unsigned int, frame,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__gotoFrame__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, stop,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__stop,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getEvaluating,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getEvaluating,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isActive, IN, osgAnimation::Action *, activeAction,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isActive__Action_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeAction, IN, osgAnimation::Action *, action,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeAction__Action_P1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addActionAt, IN, unsigned int, frame, , IN, osgAnimation::Action *, action, , IN, int, priority, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__addActionAt__unsigned_int__Action_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addActionAt, IN, double, t, , IN, osgAnimation::Action *, action, , IN, int, priority, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__addActionAt__double__Action_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, evaluate, IN, unsigned int, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__evaluate__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, evaluateCallback, IN, unsigned int, frame,
|
||||
Properties::VIRTUAL,
|
||||
__void__evaluateCallback__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, double, simulationTime,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__double,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, setEvaluating, IN, bool, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__setEvaluating__bool,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(void, processPendingOperation,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__processPendingOperation,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(void, internalRemoveAction, IN, osgAnimation::Action *, action,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__internalRemoveAction__Action_P1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, internalAddAction, IN, int, priority, IN, const FrameAction &, ftl,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__internalAddAction__int__C5_FrameAction_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(unsigned int, CurrentFrame,
|
||||
__unsigned_int__getCurrentFrame,
|
||||
0);
|
||||
I_SimpleProperty(double, CurrentTime,
|
||||
__double__getCurrentTime,
|
||||
0);
|
||||
I_SimpleProperty(bool, Evaluating,
|
||||
__bool__getEvaluating,
|
||||
0);
|
||||
I_SimpleProperty(osg::State, Status,
|
||||
__State__getStatus,
|
||||
0);
|
||||
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 > >)
|
||||
|
||||
86
src/osgWrappers/osgAnimation/TimelineAnimationManager.cpp
Normal file
86
src/osgWrappers/osgAnimation/TimelineAnimationManager.cpp
Normal file
@@ -0,0 +1,86 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/AnimationManagerBase>
|
||||
#include <osgAnimation/Timeline>
|
||||
#include <osgAnimation/TimelineAnimationManager>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TimelineAnimationManager)
|
||||
I_DeclaringFile("osgAnimation/TimelineAnimationManager");
|
||||
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 &, copyop,
|
||||
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(____TimelineAnimationManager,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgAnimation::AnimationManagerBase &, manager,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TimelineAnimationManager__C5_AnimationManagerBase_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::TimelineAnimationManager &, nc, IN, const osg::CopyOp &, x,
|
||||
____TimelineAnimationManager__C5_TimelineAnimationManager_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Timeline *, getTimeline,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Timeline_P1__getTimeline,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::Timeline *, getTimeline,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Timeline_P1__getTimeline,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, double, time,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__double,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Timeline *, Timeline,
|
||||
__Timeline_P1__getTimeline,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
132
src/osgWrappers/osgAnimation/UpdateCallback.cpp
Normal file
132
src/osgWrappers/osgAnimation/UpdateCallback.cpp
Normal file
@@ -0,0 +1,132 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/MatrixTransform>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osgAnimation/Animation>
|
||||
#include <osgAnimation/AnimationManagerBase>
|
||||
#include <osgAnimation/Channel>
|
||||
#include <osgAnimation/UpdateCallback>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::AnimationUpdateCallback)
|
||||
I_DeclaringFile("osgAnimation/UpdateCallback");
|
||||
I_BaseType(osg::NodeCallback);
|
||||
I_ConstructorWithDefaults1(IN, const std::string &, name, "",
|
||||
Properties::NON_EXPLICIT,
|
||||
____AnimationUpdateCallback__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::AnimationUpdateCallback &, apc, IN, const osg::CopyOp &, copyop,
|
||||
____AnimationUpdateCallback__C5_AnimationUpdateCallback_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::AnimationManagerBase *, getAnimationManager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgAnimation_AnimationManagerBase_P1__getAnimationManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needLink,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__bool__needLink,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, link, IN, osgAnimation::Channel *, channel,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__bool__link__osgAnimation_Channel_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, link, IN, osgAnimation::Animation *, animation,
|
||||
Properties::VIRTUAL,
|
||||
__int__link__osgAnimation_Animation_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateLink,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateLink,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::AnimationManagerBase *, AnimationManager,
|
||||
__osgAnimation_AnimationManagerBase_P1__getAnimationManager,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateTransform)
|
||||
I_DeclaringFile("osgAnimation/UpdateCallback");
|
||||
I_BaseType(osgAnimation::AnimationUpdateCallback);
|
||||
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 &, copyop,
|
||||
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_ConstructorWithDefaults1(IN, const std::string &, name, "",
|
||||
Properties::NON_EXPLICIT,
|
||||
____UpdateTransform__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::UpdateTransform &, apc, IN, const osg::CopyOp &, copyop,
|
||||
____UpdateTransform__C5_UpdateTransform_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osg::MatrixTransform &, mat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__osg_MatrixTransform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osg::PositionAttitudeTransform &, pat,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__osg_PositionAttitudeTransform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needLink,
|
||||
Properties::VIRTUAL,
|
||||
__bool__needLink,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, link, IN, osgAnimation::Channel *, channel,
|
||||
Properties::VIRTUAL,
|
||||
__bool__link__osgAnimation_Channel_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
70
src/osgWrappers/osgAnimation/Vec3Packed.cpp
Normal file
70
src/osgWrappers/osgAnimation/Vec3Packed.cpp
Normal file
@@ -0,0 +1,70 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec3f>
|
||||
#include <osgAnimation/Vec3Packed>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::Vec3ArrayPacked)
|
||||
I_DeclaringFile("osgAnimation/Vec3Packed");
|
||||
I_Constructor0(____Vec3ArrayPacked,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, analyze, IN, const std::vector< osg::Vec3 > &, src,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__analyze__C5_std_vectorT1_osg_Vec3__R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compress, IN, const std::vector< osg::Vec3 > &, src,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__compress__C5_std_vectorT1_osg_Vec3__R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(std::vector< osgAnimation::Vec3Packed >, mVecCompressed);
|
||||
I_PublicMemberProperty(osg::Vec3, mMin);
|
||||
I_PublicMemberProperty(osg::Vec3, mScale);
|
||||
I_PublicMemberProperty(osg::Vec3, mScaleInv);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(unsigned int, osgAnimation::Vec3Packed::uint32_t)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::Vec3Packed)
|
||||
I_DeclaringFile("osgAnimation/Vec3Packed");
|
||||
I_Constructor1(IN, osgAnimation::Vec3Packed::uint32_t, val,
|
||||
Properties::NON_EXPLICIT,
|
||||
____Vec3Packed__uint32_t,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Vec3Packed,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, uncompress, IN, const osg::Vec3 &, scale, IN, const osg::Vec3 &, min, IN, osg::Vec3 &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__uncompress__C5_osg_Vec3_R1__C5_osg_Vec3_R1__osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, compress, IN, const osg::Vec3f &, src, IN, const osg::Vec3f &, min, IN, const osg::Vec3f &, scaleInv,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__compress__C5_osg_Vec3f_R1__C5_osg_Vec3f_R1__C5_osg_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osgAnimation::Vec3Packed::uint32_t, m32bits);
|
||||
END_REFLECTOR
|
||||
|
||||
202
src/osgWrappers/osgAnimation/VertexInfluence.cpp
Normal file
202
src/osgWrappers/osgAnimation/VertexInfluence.cpp
Normal file
@@ -0,0 +1,202 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// 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/VertexInfluence>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::VertexInfluence)
|
||||
I_DeclaringFile("osgAnimation/VertexInfluence");
|
||||
I_Constructor0(____VertexInfluence,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setName, IN, const std::string &, name,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, Name,
|
||||
__C5_std_string_R1__getName,
|
||||
__void__setName__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::VertexInfluenceMap)
|
||||
I_DeclaringFile("osgAnimation/VertexInfluence");
|
||||
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 &, copyop,
|
||||
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(____VertexInfluenceMap,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::VertexInfluenceMap &, infl, IN, const osg::CopyOp &, x,
|
||||
____VertexInfluenceMap__C5_osgAnimation_VertexInfluenceMap_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgAnimation::VertexInfluence >, osgAnimation::VertexInfluenceSet::BoneToVertexList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgAnimation::VertexInfluenceSet::BoneWeight >, osgAnimation::VertexInfluenceSet::BoneWeightList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< int COMMA osgAnimation::VertexInfluenceSet::BoneWeightList >, osgAnimation::VertexInfluenceSet::VertexIndexToBoneWeightMap)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSet >, osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::VertexInfluenceSet)
|
||||
I_DeclaringFile("osgAnimation/VertexInfluence");
|
||||
I_Constructor0(____VertexInfluenceSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList &, getUniqVertexSetToBoneSetList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_UniqVertexSetToBoneSetList_R1__getUniqVertexSetToBoneSetList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addVertexInfluence, IN, const osgAnimation::VertexInfluence &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addVertexInfluence__C5_VertexInfluence_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildVertex2BoneList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__buildVertex2BoneList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, buildUniqVertexSetToBoneSetList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__buildUniqVertexSetToBoneSetList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clear,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList &, UniqVertexSetToBoneSetList,
|
||||
__C5_UniqVertexSetToBoneSetList_R1__getUniqVertexSetToBoneSetList,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::VertexInfluenceSet::BoneWeight)
|
||||
I_DeclaringFile("osgAnimation/VertexInfluence");
|
||||
I_Constructor2(IN, const std::string &, name, IN, float, weight,
|
||||
____BoneWeight__C5_std_string_R1__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getBoneName,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_string_R1__getBoneName,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getWeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWeight, IN, float, weight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWeight__float,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, BoneName,
|
||||
__C5_std_string_R1__getBoneName,
|
||||
0);
|
||||
I_SimpleProperty(float, Weight,
|
||||
__float__getWeight,
|
||||
__void__setWeight__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSet)
|
||||
I_DeclaringFile("osgAnimation/VertexInfluence");
|
||||
I_Constructor0(____UniqVertexSetToBoneSet,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBones, IN, osgAnimation::VertexInfluenceSet::BoneWeightList &, bones,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBones__BoneWeightList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::VertexInfluenceSet::BoneWeightList &, getBones,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_BoneWeightList_R1__getBones,
|
||||
"",
|
||||
"");
|
||||
I_Method0(std::vector< int > &, getVertexes,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_vectorT1_int__R1__getVertexes,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::vector< int > &, getVertexes,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_vectorT1_int__R1__getVertexes,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::VertexInfluenceSet::BoneWeightList &, Bones,
|
||||
0,
|
||||
__void__setBones__BoneWeightList_R1);
|
||||
I_SimpleProperty(std::vector< int > &, Vertexes,
|
||||
__std_vectorT1_int__R1__getVertexes,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< int COMMA float >, osgAnimation::VertexIndexWeight)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgAnimation::VertexIndexWeight >, osgAnimation::VertexList)
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< int COMMA osgAnimation::VertexInfluenceSet::BoneWeightList >)
|
||||
|
||||
STD_PAIR_REFLECTOR(std::pair< int COMMA float >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgAnimation::VertexIndexWeight >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgAnimation::VertexInfluence >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgAnimation::VertexInfluenceSet::BoneWeight >)
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSet >)
|
||||
|
||||
6
src/osgWrappers/osgAnimation/modified.gw
Normal file
6
src/osgWrappers/osgAnimation/modified.gw
Normal file
@@ -0,0 +1,6 @@
|
||||
AnimationManager.cpp
|
||||
AnimationManagerBase.cpp
|
||||
Bone.cpp
|
||||
EaseMotion.cpp
|
||||
Skeleton.cpp
|
||||
Timeline.cpp
|
||||
0
src/osgWrappers/osgAnimation/removed.gw
Normal file
0
src/osgWrappers/osgAnimation/removed.gw
Normal file
161
src/osgWrappers/osgWidget/PdfReader.cpp
Normal file
161
src/osgWrappers/osgWidget/PdfReader.cpp
Normal file
@@ -0,0 +1,161 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgWidget/PdfReader>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgWidget::GeometryHints::AspectRatioPolicy)
|
||||
I_DeclaringFile("osgWidget/PdfReader");
|
||||
I_EnumLabel(osgWidget::GeometryHints::RESIZE_HEIGHT_TO_MAINTAINCE_ASPECT_RATIO);
|
||||
I_EnumLabel(osgWidget::GeometryHints::RESIZE_WIDTH_TO_MAINTAINCE_ASPECT_RATIO);
|
||||
I_EnumLabel(osgWidget::GeometryHints::IGNORE_DOCUMENT_ASPECT_RATIO);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgWidget::GeometryHints)
|
||||
I_DeclaringFile("osgWidget/PdfReader");
|
||||
I_Constructor0(____GeometryHints,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults7(IN, const osg::Vec3 &, pos, , IN, const osg::Vec3 &, wVec, , IN, const osg::Vec3 &, hVec, , IN, const osg::Vec4 &, bColor, , IN, osgWidget::GeometryHints::AspectRatioPolicy, asp, osgWidget::GeometryHints::RESIZE_HEIGHT_TO_MAINTAINCE_ASPECT_RATIO, IN, unsigned int, wRes, 1024, IN, unsigned int, hRes, 1024,
|
||||
____GeometryHints__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec4_R1__AspectRatioPolicy__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::Vec3, position);
|
||||
I_PublicMemberProperty(osg::Vec3, widthVec);
|
||||
I_PublicMemberProperty(osg::Vec3, heightVec);
|
||||
I_PublicMemberProperty(osg::Vec4, backgroundColor);
|
||||
I_PublicMemberProperty(osgWidget::GeometryHints::AspectRatioPolicy, aspectRatioPolicy);
|
||||
I_PublicMemberProperty(unsigned int, widthResolution);
|
||||
I_PublicMemberProperty(unsigned int, heightResolution);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::PdfImage)
|
||||
I_DeclaringFile("osgWidget/PdfReader");
|
||||
I_BaseType(osg::Image);
|
||||
I_Constructor0(____PdfImage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBackgroundColor, IN, const osg::Vec4 &, backgroundColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBackgroundColor__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getBackgroundColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getBackgroundColor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getPageNum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getPageNum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getNumOfPages,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__int__getNumOfPages,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, page, IN, int, pageNum,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__bool__page__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, previous,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__previous,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, next,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__next,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNextPageKeyEvent, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNextPageKeyEvent__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getNextPageKeyEvent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNextPageKeyEvent,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPreviousPageKeyEvent, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPreviousPageKeyEvent__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getPreviousPageKeyEvent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getPreviousPageKeyEvent,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, BackgroundColor,
|
||||
__C5_osg_Vec4_R1__getBackgroundColor,
|
||||
__void__setBackgroundColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(int, NextPageKeyEvent,
|
||||
__int__getNextPageKeyEvent,
|
||||
__void__setNextPageKeyEvent__int);
|
||||
I_SimpleProperty(int, PageNum,
|
||||
__int__getPageNum,
|
||||
0);
|
||||
I_SimpleProperty(int, PreviousPageKeyEvent,
|
||||
__int__getPreviousPageKeyEvent,
|
||||
__void__setPreviousPageKeyEvent__int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::PdfReader)
|
||||
I_DeclaringFile("osgWidget/PdfReader");
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0(____PdfReader,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const std::string &, filename, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(),
|
||||
____PdfReader__C5_std_string_R1__C5_GeometryHints_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, assign, IN, osgWidget::PdfImage *, pdfImage, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__assign__PdfImage_P1__C5_GeometryHints_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, open, IN, const std::string &, filename, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__open__C5_std_string_R1__C5_GeometryHints_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, page, IN, int, pageNum,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__page__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, previous,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__previous,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, next,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__next,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
68
src/osgWrappers/osgWidget/VncClient.cpp
Normal file
68
src/osgWrappers/osgWidget/VncClient.cpp
Normal file
@@ -0,0 +1,68 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osgWidget/PdfReader>
|
||||
#include <osgWidget/VncClient>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgWidget::VncClient)
|
||||
I_DeclaringFile("osgWidget/VncClient");
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0(____VncClient,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const std::string &, hostname, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(),
|
||||
____VncClient__C5_std_string_R1__C5_GeometryHints_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, assign, IN, osgWidget::VncImage *, vncImage, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__assign__VncImage_P1__C5_GeometryHints_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, connect, IN, const std::string &, hostname, , IN, const osgWidget::GeometryHints &, hints, osgWidget::GeometryHints(),
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__connect__C5_std_string_R1__C5_GeometryHints_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, close,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__close,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgWidget::VncImage)
|
||||
I_DeclaringFile("osgWidget/VncClient");
|
||||
I_BaseType(osg::Image);
|
||||
I_Constructor0(____VncImage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, connect, IN, const std::string &, hostname,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__bool__connect__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, close,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__close,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
Reference in New Issue
Block a user