Updated wrappers
This commit is contained in:
@@ -12,14 +12,9 @@
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Quat>
|
||||
#include <osg/Vec3>
|
||||
#include <osgAnimation/Bone>
|
||||
#include <osgAnimation/Channel>
|
||||
#include <osgAnimation/Target>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -29,15 +24,11 @@
|
||||
#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_BaseType(osg::MatrixTransform);
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
@@ -82,16 +73,6 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone)
|
||||
__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,
|
||||
@@ -102,44 +83,9 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone)
|
||||
__C5_Bone_P1__getBoneParent,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTranslation, IN, const osg::Vec3 &, trans,
|
||||
I_Method0(const osg::Matrix &, getMatrixInBoneSpace,
|
||||
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(const osg::Vec3 &, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getScale,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
__C5_osg_Matrix_R1__getMatrixInBoneSpace,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrixInSkeletonSpace,
|
||||
@@ -157,42 +103,11 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone)
|
||||
__void__setMatrixInSkeletonSpace__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBindMatrixInBoneSpace, IN, const osg::Matrix &, matrix,
|
||||
I_Method1(void, setInvBindMatrixInSkeletonSpace, IN, const osg::Matrix &, matrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setBindMatrixInBoneSpace__C5_osg_Matrix_R1,
|
||||
__void__setInvBindMatrixInSkeletonSpace__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needToComputeBindMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__needToComputeBindMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeBindMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeBindMatrix,
|
||||
"",
|
||||
"");
|
||||
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(osgAnimation::Bone::BoneMap, BoneMap,
|
||||
__BoneMap__getBoneMap,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::Bone *, BoneParent,
|
||||
__Bone_P1__getBoneParent,
|
||||
0);
|
||||
@@ -201,103 +116,16 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::Bone)
|
||||
__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,
|
||||
__void__setInvBindMatrixInSkeletonSpace__C5_osg_Matrix_R1);
|
||||
I_SimpleProperty(const osg::Matrix &, MatrixInBoneSpace,
|
||||
__C5_osg_Matrix_R1__getMatrixInBoneSpace,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrix &, MatrixInSkeletonSpace,
|
||||
__C5_osg_Matrix_R1__getMatrixInSkeletonSpace,
|
||||
__void__setMatrixInSkeletonSpace__C5_osg_Matrix_R1);
|
||||
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,
|
||||
__C5_osg_Vec3_R1__getScale,
|
||||
__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::UpdateBone)
|
||||
I_DeclaringFile("osgAnimation/Bone");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_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(osgAnimation::QuatTarget *, getQuaternion,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgAnimation_QuatTarget_P1__getQuaternion,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Vec3Target *, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgAnimation_Vec3Target_P1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Vec3Target *, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgAnimation_Vec3Target_P1__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needLink,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__needLink,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, link, IN, osgAnimation::Channel *, channel,
|
||||
Properties::VIRTUAL,
|
||||
__bool__link__osgAnimation_Channel_P1,
|
||||
"Link channel. ",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Vec3Target *, Position,
|
||||
__osgAnimation_Vec3Target_P1__getPosition,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::QuatTarget *, Quaternion,
|
||||
__osgAnimation_QuatTarget_P1__getQuaternion,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::Vec3Target *, Scale,
|
||||
__osgAnimation_Vec3Target_P1__getScale,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
TYPE_NAME_ALIAS(std::map< std::string COMMA osg::ref_ptr< osgAnimation::Bone > >, osgAnimation::BoneMap)
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Bone >)
|
||||
I_DeclaringFile("osg/ref_ptr");
|
||||
@@ -339,5 +167,5 @@ BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Bone >)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA osgAnimation::Bone::PointerType >)
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ref_ptr< osgAnimation::Bone > >)
|
||||
|
||||
|
||||
@@ -49,13 +49,13 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::BoneMapVisitor)
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::Bone::BoneMap &, getBoneMap,
|
||||
I_Method0(const osgAnimation::BoneMap &, getBoneMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Bone_BoneMap_R1__getBoneMap,
|
||||
__C5_BoneMap_R1__getBoneMap,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osgAnimation::Bone::BoneMap &, BoneMap,
|
||||
__C5_Bone_BoneMap_R1__getBoneMap,
|
||||
I_SimpleProperty(const osgAnimation::BoneMap &, BoneMap,
|
||||
__C5_BoneMap_R1__getBoneMap,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -149,6 +149,8 @@ TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::Vec4LinearSampler >
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::QuatSphericalLinearSampler >, osgAnimation::QuatSphericalLinearChannel)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler >, osgAnimation::MatrixLinearChannel)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::FloatCubicBezierSampler >, osgAnimation::FloatCubicBezierChannel)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateChannel< osgAnimation::DoubleCubicBezierSampler >, osgAnimation::DoubleCubicBezierChannel)
|
||||
@@ -199,5 +201,122 @@ BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgAnimation::Channel >)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler >)
|
||||
I_DeclaringFile("osgAnimation/Channel");
|
||||
I_BaseType(osgAnimation::Channel);
|
||||
I_Method0(osgAnimation::Channel *, clone,
|
||||
Properties::VIRTUAL,
|
||||
__Channel_P1__clone,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler > &, channel,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TemplateChannel__C5_TemplateChannel_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, SamplerType *, s, 0, IN, osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler >::TargetType *, target, 0,
|
||||
____TemplateChannel__SamplerType_P1__TargetType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, createKeyframeContainerFromTargetValue,
|
||||
Properties::VIRTUAL,
|
||||
__bool__createKeyframeContainerFromTargetValue,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, update, IN, float, time, IN, float, weight, IN, int, priority,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__float__float__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Target *, getTarget,
|
||||
Properties::VIRTUAL,
|
||||
__Target_P1__getTarget,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setTarget, IN, osgAnimation::Target *, target,
|
||||
Properties::VIRTUAL,
|
||||
__bool__setTarget__Target_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(SamplerType *, getOrCreateSampler,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SamplerType_P1__getOrCreateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Sampler *, getSampler,
|
||||
Properties::VIRTUAL,
|
||||
__Sampler_P1__getSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::Sampler *, getSampler,
|
||||
Properties::VIRTUAL,
|
||||
__C5_Sampler_P1__getSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method0(SamplerType *, getSamplerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SamplerType_P1__getSamplerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const SamplerType *, getSamplerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SamplerType_P1__getSamplerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSampler, IN, SamplerType *, sampler,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSampler__SamplerType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler >::TargetType *, getTargetTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__TargetType_P1__getTargetTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler >::TargetType *, getTargetTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TargetType_P1__getTargetTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTarget, IN, osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler >::TargetType *, target,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTarget__TargetType_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStartTime,
|
||||
Properties::VIRTUAL,
|
||||
__float__getStartTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEndTime,
|
||||
Properties::VIRTUAL,
|
||||
__float__getEndTime,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, EndTime,
|
||||
__float__getEndTime,
|
||||
0);
|
||||
I_SimpleProperty(SamplerType *, Sampler,
|
||||
0,
|
||||
__void__setSampler__SamplerType_P1);
|
||||
I_SimpleProperty(SamplerType *, SamplerTyped,
|
||||
__SamplerType_P1__getSamplerTyped,
|
||||
0);
|
||||
I_SimpleProperty(float, StartTime,
|
||||
__float__getStartTime,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::Target *, Target,
|
||||
__Target_P1__getTarget,
|
||||
__bool__setTarget__Target_P1);
|
||||
I_SimpleProperty(osgAnimation::TemplateChannel< osgAnimation::MatrixLinearSampler >::TargetType *, TargetTyped,
|
||||
__TargetType_P1__getTargetTyped,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgAnimation::Channel > >)
|
||||
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Node>
|
||||
#include <osg/Transform>
|
||||
#include <osgAnimation/ComputeBindMatrixVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::ComputeBindMatrixVisitor)
|
||||
I_DeclaringFile("osgAnimation/ComputeBindMatrixVisitor");
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____ComputeBindMatrixVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -48,6 +48,8 @@ TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Vec4 COMMA osg::
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSphericalLinearInterpolator< osg::Quat COMMA osg::Quat >, osgAnimation::QuatSphericalLinearInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateLinearInterpolator< osg::Matrixf COMMA osg::Matrixf >, osgAnimation::MatrixLinearInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< float COMMA osgAnimation::FloatCubicBezier >, osgAnimation::FloatCubicBezierInterpolator)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< double COMMA osgAnimation::DoubleCubicBezier >, osgAnimation::DoubleCubicBezierInterpolator)
|
||||
@@ -58,3 +60,16 @@ TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec3 COMMA
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateCubicBezierInterpolator< osg::Vec4 COMMA osgAnimation::Vec4CubicBezier >, osgAnimation::Vec4CubicBezierInterpolator)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateLinearInterpolator< osg::Matrixf COMMA osg::Matrixf >)
|
||||
I_DeclaringFile("osgAnimation/Interpolator");
|
||||
I_BaseType(osgAnimation::TemplateInterpolatorBase);
|
||||
I_Constructor0(____TemplateLinearInterpolator,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, getValue, IN, const osgAnimation::TemplateKeyframeContainer< KEY > &, keyframes, IN, float, time, IN, TYPE &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValue__C5_TemplateKeyframeContainerT1_KEY__R1__float__TYPE_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -77,6 +77,10 @@ TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Quat >, osgAnimation::QuatK
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Quat >, osgAnimation::QuatKeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osg::Matrixf >, osgAnimation::MatrixKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osg::Matrixf >, osgAnimation::MatrixKeyframeContainer)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedKeyframe)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec3Packed >, osgAnimation::Vec3PackedKeyframeContainer)
|
||||
@@ -101,3 +105,41 @@ TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframe< osgAnimation::Vec4CubicBezier >,
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateKeyframeContainer< osgAnimation::Vec4CubicBezier >, osgAnimation::Vec4CubicBezierKeyframeContainer)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframe< osg::Matrixf >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::Keyframe);
|
||||
I_Constructor0(____TemplateKeyframe,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, time, IN, const T &, value,
|
||||
____TemplateKeyframe__float__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const T &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const T &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const T &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateKeyframeContainer< osg::Matrixf >)
|
||||
I_DeclaringFile("osgAnimation/Keyframe");
|
||||
I_BaseType(osgAnimation::KeyframeContainer);
|
||||
I_Constructor0(____TemplateKeyframeContainer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
Properties::VIRTUAL,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -34,11 +34,6 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::RigGeometry)
|
||||
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,
|
||||
"",
|
||||
@@ -153,6 +148,26 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::RigGeometry)
|
||||
__C5_osg_Matrix_R1__getInvMatrixFromSkeletonToGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry *, getSourceGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Geometry_P1__getSourceGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry *, getSourceGeometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Geometry_P1__getSourceGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSourceGeometry, IN, osg::Geometry *, geometry,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSourceGeometry__osg_Geometry_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, copyFrom, IN, osg::Geometry &, from,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__copyFrom__osg_Geometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::VertexInfluenceMap *, InfluenceMap,
|
||||
__VertexInfluenceMap_P1__getInfluenceMap,
|
||||
__void__setInfluenceMap__VertexInfluenceMap_P1);
|
||||
@@ -171,6 +186,9 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::RigGeometry)
|
||||
I_SimpleProperty(osgAnimation::Skeleton *, Skeleton,
|
||||
__Skeleton_P1__getSkeleton,
|
||||
__void__setSkeleton__Skeleton_P1);
|
||||
I_SimpleProperty(osg::Geometry *, SourceGeometry,
|
||||
__osg_Geometry_P1__getSourceGeometry,
|
||||
__void__setSourceGeometry__osg_Geometry_P1);
|
||||
I_SimpleProperty(const osgAnimation::VertexInfluenceSet &, VertexInfluenceSet,
|
||||
__C5_VertexInfluenceSet_R1__getVertexInfluenceSet,
|
||||
0);
|
||||
|
||||
@@ -21,26 +21,11 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::RigTransform)
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::RigTransform)
|
||||
I_DeclaringFile("osgAnimation/RigTransform");
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____RigTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needInit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__needInit,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, init, IN, osgAnimation::RigGeometry &, x,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__bool__init__RigGeometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osgAnimation::RigGeometry &, x,
|
||||
Properties::PURE_VIRTUAL,
|
||||
__void__update__RigGeometry_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Shader>
|
||||
#include <osg/Uniform>
|
||||
#include <osgAnimation/Bone>
|
||||
#include <osgAnimation/RigGeometry>
|
||||
#include <osgAnimation/RigTransformHardware>
|
||||
#include <osgAnimation/VertexInfluence>
|
||||
@@ -30,8 +31,6 @@ TYPE_NAME_ALIAS(osg::Matrix, osgAnimation::RigTransformHardware::MatrixType)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::Bone, osgAnimation::RigTransformHardware::BoneType)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::Bone::BoneMap, osgAnimation::RigTransformHardware::BoneMap)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Vec4Array > >, osgAnimation::RigTransformHardware::BoneWeightAttribList)
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgAnimation::RigTransformHardware::BoneType > >, osgAnimation::RigTransformHardware::BonePalette)
|
||||
@@ -76,26 +75,22 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::RigTransformHardware)
|
||||
__int__getNumVertexes,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, createPalette, IN, int, nbVertexes, IN, osgAnimation::RigTransformHardware::BoneMap, boneMap, IN, const osgAnimation::VertexInfluenceSet::VertexIndexToBoneWeightMap &, vertexIndexToBoneWeightMap,
|
||||
I_Method3(bool, createPalette, IN, int, nbVertexes, IN, osgAnimation::BoneMap, boneMap, IN, const osgAnimation::VertexInfluenceSet::VertexIndexToBoneWeightMap &, vertexIndexToBoneWeightMap,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__createPalette__int__BoneMap__C5_VertexInfluenceSet_VertexIndexToBoneWeightMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, init, IN, osgAnimation::RigGeometry &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__init__RigGeometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osgAnimation::RigGeometry &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__RigGeometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setShader, IN, osg::Shader *, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setShader__osg_Shader_P1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod1(bool, init, IN, osgAnimation::RigGeometry &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__bool__init__RigGeometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod0(osgAnimation::RigTransformHardware::BoneWeightAttribList, createVertexAttribList,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Vec3>
|
||||
#include <osgAnimation/Bone>
|
||||
#include <osgAnimation/RigGeometry>
|
||||
#include <osgAnimation/RigTransformSoftware>
|
||||
@@ -34,38 +33,18 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::RigTransformSoftware)
|
||||
I_Constructor0(____RigTransformSoftware,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, init, IN, osgAnimation::RigGeometry &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__init__RigGeometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osgAnimation::RigGeometry &, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__update__RigGeometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::vector< osg::Vec3 > &, getPositionSource,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_vectorT1_osg_Vec3__R1__getPositionSource,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::vector< osg::Vec3 > &, getNormalSource,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_std_vectorT1_osg_Vec3__R1__getNormalSource,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, initVertexSetFromBones, IN, const osgAnimation::Bone::BoneMap &, map, IN, const osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList &, influence,
|
||||
I_ProtectedMethod1(bool, init, IN, osgAnimation::RigGeometry &, x,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__initVertexSetFromBones__C5_Bone_BoneMap_R1__C5_VertexInfluenceSet_UniqVertexSetToBoneSetList_R1,
|
||||
__bool__init__RigGeometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_ProtectedMethod2(void, initVertexSetFromBones, IN, const osgAnimation::BoneMap &, map, IN, const osgAnimation::VertexInfluenceSet::UniqVertexSetToBoneSetList &, influence,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::NON_CONST,
|
||||
__void__initVertexSetFromBones__C5_BoneMap_R1__C5_VertexInfluenceSet_UniqVertexSetToBoneSetList_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::vector< osg::Vec3 > &, NormalSource,
|
||||
__C5_std_vectorT1_osg_Vec3__R1__getNormalSource,
|
||||
0);
|
||||
I_SimpleProperty(const std::vector< osg::Vec3 > &, PositionSource,
|
||||
__C5_std_vectorT1_osg_Vec3__R1__getPositionSource,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgAnimation::RigTransformSoftware::BoneWeight)
|
||||
|
||||
@@ -67,6 +67,8 @@ TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::Vec4LinearInterpola
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::QuatSphericalLinearInterpolator >, osgAnimation::QuatSphericalLinearSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::MatrixLinearInterpolator >, osgAnimation::MatrixLinearSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::FloatCubicBezierInterpolator >, osgAnimation::FloatCubicBezierSampler)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateSampler< osgAnimation::DoubleCubicBezierInterpolator >, osgAnimation::DoubleCubicBezierSampler)
|
||||
@@ -467,6 +469,71 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::FloatStepInt
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateSampler< osgAnimation::MatrixLinearInterpolator >)
|
||||
I_DeclaringFile("osgAnimation/Sampler");
|
||||
I_BaseType(osgAnimation::Sampler);
|
||||
I_Constructor0(____TemplateSampler,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, getValueAt, IN, float, time, IN, osgAnimation::TemplateSampler< osgAnimation::MatrixLinearInterpolator >::UsingType &, result,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getValueAt__float__UsingType_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyframeContainer, IN, osgAnimation::TemplateSampler< osgAnimation::MatrixLinearInterpolator >::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::MatrixLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgAnimation::TemplateSampler< osgAnimation::MatrixLinearInterpolator >::KeyframeContainerType *, getKeyframeContainerTyped,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_KeyframeContainerType_P1__getKeyframeContainerTyped,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::TemplateSampler< osgAnimation::MatrixLinearInterpolator >::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::MatrixLinearInterpolator >::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);
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Skeleton)
|
||||
I_DeclaringFile("osgAnimation/Skeleton");
|
||||
I_BaseType(osgAnimation::Bone);
|
||||
I_BaseType(osg::MatrixTransform);
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
@@ -69,11 +69,6 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::Skeleton)
|
||||
__void__setDefaultUpdateCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeBindMatrix,
|
||||
Properties::VIRTUAL,
|
||||
__void__computeBindMatrix,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::Skeleton::UpdateSkeleton)
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Matrixf>
|
||||
#include <osg/Quat>
|
||||
#include <osg/Vec2>
|
||||
#include <osg/Vec3>
|
||||
@@ -53,6 +54,8 @@ BEGIN_OBJECT_REFLECTOR(osgAnimation::Target)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Matrixf >, osgAnimation::MatrixTarget)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Quat >, osgAnimation::QuatTarget)
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< osg::Vec3 >, osgAnimation::Vec3Target)
|
||||
@@ -65,3 +68,44 @@ TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< float >, osgAnimation::FloatTarget
|
||||
|
||||
TYPE_NAME_ALIAS(osgAnimation::TemplateTarget< double >, osgAnimation::DoubleTarget)
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::TemplateTarget< osg::Matrixf >)
|
||||
I_DeclaringFile("osgAnimation/Target");
|
||||
I_BaseType(osgAnimation::Target);
|
||||
I_Constructor0(____TemplateTarget,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const T &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TemplateTarget__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgAnimation::TemplateTarget< osg::Matrixf > &, v,
|
||||
Properties::NON_EXPLICIT,
|
||||
____TemplateTarget__C5_TemplateTarget_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, lerp, IN, float, t, IN, const T &, a, IN, const T &, b,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__lerp__float__C5_T_R1__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, update, IN, float, weight, IN, const T &, val, IN, int, priority,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__float__C5_T_R1__int,
|
||||
"The priority is used to detect a change of priority It's important to update animation target in priority order. ",
|
||||
"eg: all animation with priority 1 all animation with priority 0 all animation with priority -1 ... ");
|
||||
I_Method0(const T &, getValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_T_R1__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, const T &, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const T &, Value,
|
||||
__C5_T_R1__getValue,
|
||||
__void__setValue__C5_T_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -1,184 +0,0 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Material>
|
||||
#include <osg/MatrixTransform>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/PositionAttitudeTransform>
|
||||
#include <osg/StateAttribute>
|
||||
#include <osgAnimation/Animation>
|
||||
#include <osgAnimation/Channel>
|
||||
#include <osgAnimation/Target>
|
||||
#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::AnimationUpdateCallbackBase)
|
||||
I_DeclaringFile("osgAnimation/UpdateCallback");
|
||||
I_VirtualBaseType(osg::Object);
|
||||
I_Constructor0(____AnimationUpdateCallbackBase,
|
||||
"",
|
||||
"");
|
||||
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::PURE_VIRTUAL,
|
||||
__int__link__osgAnimation_Animation_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateMaterial)
|
||||
I_DeclaringFile("osgAnimation/UpdateCallback");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_ConstructorWithDefaults1(IN, const std::string &, name, "",
|
||||
Properties::NON_EXPLICIT,
|
||||
____UpdateMaterial__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osgAnimation::UpdateMaterial &, apc, IN, const osg::CopyOp &, copyop,
|
||||
____UpdateMaterial__C5_UpdateMaterial_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osg::Material &, material,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update__osg_Material_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, link, IN, osgAnimation::Channel *, channel,
|
||||
Properties::VIRTUAL,
|
||||
__bool__link__osgAnimation_Channel_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Vec4Target *, getDiffuse,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgAnimation_Vec4Target_P1__getDiffuse,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Vec4Target *, Diffuse,
|
||||
__osgAnimation_Vec4Target_P1__getDiffuse,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateTransform)
|
||||
I_DeclaringFile("osgAnimation/UpdateCallback");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the object's library. ",
|
||||
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_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_Method1(bool, link, IN, osgAnimation::Channel *, channel,
|
||||
Properties::VIRTUAL,
|
||||
__bool__link__osgAnimation_Channel_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Vec3Target *, getEuler,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgAnimation_Vec3Target_P1__getEuler,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Vec3Target *, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgAnimation_Vec3Target_P1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgAnimation::Vec3Target *, getScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgAnimation_Vec3Target_P1__getScale,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgAnimation::Vec3Target *, Euler,
|
||||
__osgAnimation_Vec3Target_P1__getEuler,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::Vec3Target *, Position,
|
||||
__osgAnimation_Vec3Target_P1__getPosition,
|
||||
0);
|
||||
I_SimpleProperty(osgAnimation::Vec3Target *, Scale,
|
||||
__osgAnimation_Vec3Target_P1__getScale,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
Reference in New Issue
Block a user