From 23624aad041fcd941a2bfc2d75557d0c4d5fbe48 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 27 Jan 2010 13:12:49 +0000 Subject: [PATCH] Updated wrappers --- .../osgAnimation/AnimationUpdateCallback.cpp | 42 ++++++ .../osgAnimation/StackedMatrixElement.cpp | 126 ++++++++++++++++ .../osgAnimation/StackedQuaternionElement.cpp | 127 ++++++++++++++++ .../osgAnimation/StackedRotateAxisElement.cpp | 139 ++++++++++++++++++ .../osgAnimation/StackedScaleElement.cpp | 127 ++++++++++++++++ .../osgAnimation/StackedTransform.cpp | 49 ++++++ .../osgAnimation/StackedTransformElement.cpp | 78 ++++++++++ .../osgAnimation/StackedTranslateElement.cpp | 127 ++++++++++++++++ .../introspection/osgAnimation/UpdateBone.cpp | 65 ++++++++ .../osgAnimation/UpdateMaterial.cpp | 85 +++++++++++ .../osgAnimation/UpdateMatrixTransform.cpp | 84 +++++++++++ 11 files changed, 1049 insertions(+) create mode 100644 src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp create mode 100644 src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp diff --git a/src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp b/src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp new file mode 100644 index 000000000..e4ef320c6 --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/AnimationUpdateCallback.cpp @@ -0,0 +1,42 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include + +// 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/AnimationUpdateCallback"); + I_VirtualBaseType(osg::Object); + I_Constructor0(____AnimationUpdateCallbackBase, + "", + ""); + I_Method1(bool, link, IN, osgAnimation::Channel *, channel, + Properties::PURE_VIRTUAL, + __bool__link__Channel_P1, + "", + ""); + I_Method1(int, link, IN, osgAnimation::Animation *, animation, + Properties::PURE_VIRTUAL, + __int__link__Animation_P1, + "", + ""); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp new file mode 100644 index 000000000..8470e1f6a --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/StackedMatrixElement.cpp @@ -0,0 +1,126 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedMatrixElement) + I_DeclaringFile("osgAnimation/StackedMatrixElement"); + I_BaseType(osgAnimation::StackedTransformElement); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Clone the type of an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "Clone an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, + Properties::VIRTUAL, + __bool__isSameKindAs__C5_osg_Object_P1, + "", + ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the name of the object's library. ", + "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the object's class type. ", + "Must be defined by derived classes. "); + I_Constructor0(____StackedMatrixElement, + "", + ""); + I_Constructor2(IN, const osgAnimation::StackedMatrixElement &, x, IN, const osg::CopyOp &, x, + ____StackedMatrixElement__C5_StackedMatrixElement_R1__C5_osg_CopyOp_R1, + "", + ""); + I_Constructor2(IN, const std::string &, name, IN, const osg::Matrix &, matrix, + ____StackedMatrixElement__C5_std_string_R1__C5_osg_Matrix_R1, + "", + ""); + I_Constructor1(IN, const osg::Matrix &, matrix, + Properties::NON_EXPLICIT, + ____StackedMatrixElement__C5_osg_Matrix_R1, + "", + ""); + I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, + Properties::VIRTUAL, + __void__applyToMatrix__osg_Matrix_R1, + "", + ""); + I_Method0(osg::Matrix, getAsMatrix, + Properties::VIRTUAL, + __osg_Matrix__getAsMatrix, + "", + ""); + I_Method0(const osg::Matrix &, getMatrix, + Properties::NON_VIRTUAL, + __C5_osg_Matrix_R1__getMatrix, + "", + ""); + I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix, + Properties::NON_VIRTUAL, + __void__setMatrix__C5_osg_Matrix_R1, + "", + ""); + I_Method0(bool, isIdentity, + Properties::VIRTUAL, + __bool__isIdentity, + "", + ""); + I_Method0(void, update, + Properties::VIRTUAL, + __void__update, + "", + ""); + I_Method0(osgAnimation::Target *, getOrCreateTarget, + Properties::VIRTUAL, + __Target_P1__getOrCreateTarget, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method0(const osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __C5_Target_P1__getTarget, + "", + ""); + I_SimpleProperty(osg::Matrix, AsMatrix, + __osg_Matrix__getAsMatrix, + 0); + I_SimpleProperty(const osg::Matrix &, Matrix, + __C5_osg_Matrix_R1__getMatrix, + __void__setMatrix__C5_osg_Matrix_R1); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + 0); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp new file mode 100644 index 000000000..a9d776373 --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/StackedQuaternionElement.cpp @@ -0,0 +1,127 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedQuaternionElement) + I_DeclaringFile("osgAnimation/StackedQuaternionElement"); + I_BaseType(osgAnimation::StackedTransformElement); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Clone the type of an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "Clone an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, + Properties::VIRTUAL, + __bool__isSameKindAs__C5_osg_Object_P1, + "", + ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the name of the object's library. ", + "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the object's class type. ", + "Must be defined by derived classes. "); + I_Constructor0(____StackedQuaternionElement, + "", + ""); + I_Constructor2(IN, const osgAnimation::StackedQuaternionElement &, x, IN, const osg::CopyOp &, x, + ____StackedQuaternionElement__C5_StackedQuaternionElement_R1__C5_osg_CopyOp_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, const std::string &, x, , IN, const osg::Quat &, q, osg::Quat(0, 0, 0, 1), + ____StackedQuaternionElement__C5_std_string_R1__C5_osg_Quat_R1, + "", + ""); + I_Constructor1(IN, const osg::Quat &, x, + Properties::NON_EXPLICIT, + ____StackedQuaternionElement__C5_osg_Quat_R1, + "", + ""); + I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, + Properties::VIRTUAL, + __void__applyToMatrix__osg_Matrix_R1, + "", + ""); + I_Method0(osg::Matrix, getAsMatrix, + Properties::VIRTUAL, + __osg_Matrix__getAsMatrix, + "", + ""); + I_Method0(bool, isIdentity, + Properties::VIRTUAL, + __bool__isIdentity, + "", + ""); + I_Method0(void, update, + Properties::VIRTUAL, + __void__update, + "", + ""); + I_Method0(const osg::Quat &, getQuaternion, + Properties::NON_VIRTUAL, + __C5_osg_Quat_R1__getQuaternion, + "", + ""); + I_Method1(void, setQuaternion, IN, const osg::Quat &, x, + Properties::NON_VIRTUAL, + __void__setQuaternion__C5_osg_Quat_R1, + "", + ""); + I_Method0(osgAnimation::Target *, getOrCreateTarget, + Properties::VIRTUAL, + __Target_P1__getOrCreateTarget, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method0(const osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __C5_Target_P1__getTarget, + "", + ""); + I_SimpleProperty(osg::Matrix, AsMatrix, + __osg_Matrix__getAsMatrix, + 0); + I_SimpleProperty(const osg::Quat &, Quaternion, + __C5_osg_Quat_R1__getQuaternion, + __void__setQuaternion__C5_osg_Quat_R1); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + 0); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp new file mode 100644 index 000000000..60e1bee27 --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/StackedRotateAxisElement.cpp @@ -0,0 +1,139 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedRotateAxisElement) + I_DeclaringFile("osgAnimation/StackedRotateAxisElement"); + I_BaseType(osgAnimation::StackedTransformElement); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Clone the type of an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "Clone an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, + Properties::VIRTUAL, + __bool__isSameKindAs__C5_osg_Object_P1, + "", + ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the name of the object's library. ", + "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the object's class type. ", + "Must be defined by derived classes. "); + I_Constructor0(____StackedRotateAxisElement, + "", + ""); + I_Constructor2(IN, const osgAnimation::StackedRotateAxisElement &, x, IN, const osg::CopyOp &, x, + ____StackedRotateAxisElement__C5_StackedRotateAxisElement_R1__C5_osg_CopyOp_R1, + "", + ""); + I_Constructor3(IN, const std::string &, name, IN, const osg::Vec3 &, axis, IN, double, angle, + ____StackedRotateAxisElement__C5_std_string_R1__C5_osg_Vec3_R1__double, + "", + ""); + I_Constructor2(IN, const osg::Vec3 &, axis, IN, double, angle, + ____StackedRotateAxisElement__C5_osg_Vec3_R1__double, + "", + ""); + I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, + Properties::VIRTUAL, + __void__applyToMatrix__osg_Matrix_R1, + "", + ""); + I_Method0(osg::Matrix, getAsMatrix, + Properties::VIRTUAL, + __osg_Matrix__getAsMatrix, + "", + ""); + I_Method0(bool, isIdentity, + Properties::VIRTUAL, + __bool__isIdentity, + "", + ""); + I_Method0(void, update, + Properties::VIRTUAL, + __void__update, + "", + ""); + I_Method0(const osg::Vec3 &, getAxis, + Properties::NON_VIRTUAL, + __C5_osg_Vec3_R1__getAxis, + "", + ""); + I_Method0(const double, getAngle, + Properties::NON_VIRTUAL, + __C5_double__getAngle, + "", + ""); + I_Method1(void, setAxis, IN, const osg::Vec3 &, x, + Properties::NON_VIRTUAL, + __void__setAxis__C5_osg_Vec3_R1, + "", + ""); + I_Method1(void, setAngle, IN, const double &, x, + Properties::NON_VIRTUAL, + __void__setAngle__C5_double_R1, + "", + ""); + I_Method0(osgAnimation::Target *, getOrCreateTarget, + Properties::VIRTUAL, + __Target_P1__getOrCreateTarget, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method0(const osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __C5_Target_P1__getTarget, + "", + ""); + I_SimpleProperty(const double &, Angle, + 0, + __void__setAngle__C5_double_R1); + I_SimpleProperty(osg::Matrix, AsMatrix, + __osg_Matrix__getAsMatrix, + 0); + I_SimpleProperty(const osg::Vec3 &, Axis, + __C5_osg_Vec3_R1__getAxis, + __void__setAxis__C5_osg_Vec3_R1); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + 0); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp new file mode 100644 index 000000000..5979c0819 --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/StackedScaleElement.cpp @@ -0,0 +1,127 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedScaleElement) + I_DeclaringFile("osgAnimation/StackedScaleElement"); + I_BaseType(osgAnimation::StackedTransformElement); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Clone the type of an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "Clone an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, + Properties::VIRTUAL, + __bool__isSameKindAs__C5_osg_Object_P1, + "", + ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the name of the object's library. ", + "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the object's class type. ", + "Must be defined by derived classes. "); + I_Constructor0(____StackedScaleElement, + "", + ""); + I_Constructor2(IN, const osgAnimation::StackedScaleElement &, x, IN, const osg::CopyOp &, x, + ____StackedScaleElement__C5_StackedScaleElement_R1__C5_osg_CopyOp_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, const std::string &, name, , IN, const osg::Vec3 &, scale, osg::Vec3(1, 1, 1), + ____StackedScaleElement__C5_std_string_R1__C5_osg_Vec3_R1, + "", + ""); + I_Constructor1(IN, const osg::Vec3 &, scale, + Properties::NON_EXPLICIT, + ____StackedScaleElement__C5_osg_Vec3_R1, + "", + ""); + I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, + Properties::VIRTUAL, + __void__applyToMatrix__osg_Matrix_R1, + "", + ""); + I_Method0(osg::Matrix, getAsMatrix, + Properties::VIRTUAL, + __osg_Matrix__getAsMatrix, + "", + ""); + I_Method0(bool, isIdentity, + Properties::VIRTUAL, + __bool__isIdentity, + "", + ""); + I_Method0(void, update, + Properties::VIRTUAL, + __void__update, + "", + ""); + I_Method0(const osg::Vec3 &, getScale, + Properties::NON_VIRTUAL, + __C5_osg_Vec3_R1__getScale, + "", + ""); + I_Method1(void, setScale, IN, const osg::Vec3 &, scale, + Properties::NON_VIRTUAL, + __void__setScale__C5_osg_Vec3_R1, + "", + ""); + I_Method0(osgAnimation::Target *, getOrCreateTarget, + Properties::VIRTUAL, + __Target_P1__getOrCreateTarget, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method0(const osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __C5_Target_P1__getTarget, + "", + ""); + I_SimpleProperty(osg::Matrix, AsMatrix, + __osg_Matrix__getAsMatrix, + 0); + I_SimpleProperty(const osg::Vec3 &, Scale, + __C5_osg_Vec3_R1__getScale, + __void__setScale__C5_osg_Vec3_R1); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + 0); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp b/src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp new file mode 100644 index 000000000..8fa99be1e --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/StackedTransform.cpp @@ -0,0 +1,49 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedTransform) + I_DeclaringFile("osgAnimation/StackedTransform"); + I_BaseType(osg::MixinVector); + I_Constructor0(____StackedTransform, + "", + ""); + I_ConstructorWithDefaults2(IN, const osgAnimation::StackedTransform &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____StackedTransform__C5_StackedTransform_R1__C5_osg_CopyOp_R1, + "", + ""); + I_Method0(void, update, + Properties::NON_VIRTUAL, + __void__update, + "", + ""); + I_Method0(const osg::Matrix &, getMatrix, + Properties::NON_VIRTUAL, + __C5_osg_Matrix_R1__getMatrix, + "", + ""); + I_SimpleProperty(const osg::Matrix &, Matrix, + __C5_osg_Matrix_R1__getMatrix, + 0); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp new file mode 100644 index 000000000..7e5485559 --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/StackedTransformElement.cpp @@ -0,0 +1,78 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include + +// 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::StackedTransformElement) + I_DeclaringFile("osgAnimation/StackedTransformElement"); + I_BaseType(osg::Object); + I_Constructor0(____StackedTransformElement, + "", + ""); + I_Constructor2(IN, const osgAnimation::StackedTransformElement &, rhs, IN, const osg::CopyOp &, c, + ____StackedTransformElement__C5_StackedTransformElement_R1__C5_osg_CopyOp_R1, + "", + ""); + I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, + Properties::PURE_VIRTUAL, + __void__applyToMatrix__osg_Matrix_R1, + "", + ""); + I_Method0(osg::Matrix, getAsMatrix, + Properties::PURE_VIRTUAL, + __osg_Matrix__getAsMatrix, + "", + ""); + I_Method0(bool, isIdentity, + Properties::PURE_VIRTUAL, + __bool__isIdentity, + "", + ""); + I_Method0(void, update, + Properties::PURE_VIRTUAL, + __void__update, + "", + ""); + I_Method0(osgAnimation::Target *, getOrCreateTarget, + Properties::VIRTUAL, + __Target_P1__getOrCreateTarget, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method0(const osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __C5_Target_P1__getTarget, + "", + ""); + I_SimpleProperty(osg::Matrix, AsMatrix, + __osg_Matrix__getAsMatrix, + 0); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + 0); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp b/src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp new file mode 100644 index 000000000..a03192bfd --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/StackedTranslateElement.cpp @@ -0,0 +1,127 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgAnimation::StackedTranslateElement) + I_DeclaringFile("osgAnimation/StackedTranslateElement"); + I_BaseType(osgAnimation::StackedTransformElement); + I_Method0(osg::Object *, cloneType, + Properties::VIRTUAL, + __osg_Object_P1__cloneType, + "Clone the type of an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, + Properties::VIRTUAL, + __osg_Object_P1__clone__C5_osg_CopyOp_R1, + "Clone an object, with Object* return type. ", + "Must be defined by derived classes. "); + I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, + Properties::VIRTUAL, + __bool__isSameKindAs__C5_osg_Object_P1, + "", + ""); + I_Method0(const char *, libraryName, + Properties::VIRTUAL, + __C5_char_P1__libraryName, + "return the name of the object's library. ", + "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); + I_Method0(const char *, className, + Properties::VIRTUAL, + __C5_char_P1__className, + "return the name of the object's class type. ", + "Must be defined by derived classes. "); + I_Constructor0(____StackedTranslateElement, + "", + ""); + I_Constructor2(IN, const osgAnimation::StackedTranslateElement &, x, IN, const osg::CopyOp &, x, + ____StackedTranslateElement__C5_StackedTranslateElement_R1__C5_osg_CopyOp_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, const std::string &, x, , IN, const osg::Vec3 &, translate, osg::Vec3(0, 0, 0), + ____StackedTranslateElement__C5_std_string_R1__C5_osg_Vec3_R1, + "", + ""); + I_Constructor1(IN, const osg::Vec3 &, translate, + Properties::NON_EXPLICIT, + ____StackedTranslateElement__C5_osg_Vec3_R1, + "", + ""); + I_Method1(void, applyToMatrix, IN, osg::Matrix &, matrix, + Properties::VIRTUAL, + __void__applyToMatrix__osg_Matrix_R1, + "", + ""); + I_Method0(osg::Matrix, getAsMatrix, + Properties::VIRTUAL, + __osg_Matrix__getAsMatrix, + "", + ""); + I_Method0(bool, isIdentity, + Properties::VIRTUAL, + __bool__isIdentity, + "", + ""); + I_Method0(void, update, + Properties::VIRTUAL, + __void__update, + "", + ""); + I_Method0(const osg::Vec3 &, getTranslate, + Properties::NON_VIRTUAL, + __C5_osg_Vec3_R1__getTranslate, + "", + ""); + I_Method1(void, setTranslate, IN, const osg::Vec3 &, x, + Properties::NON_VIRTUAL, + __void__setTranslate__C5_osg_Vec3_R1, + "", + ""); + I_Method0(osgAnimation::Target *, getOrCreateTarget, + Properties::VIRTUAL, + __Target_P1__getOrCreateTarget, + "", + ""); + I_Method0(osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __Target_P1__getTarget, + "", + ""); + I_Method0(const osgAnimation::Target *, getTarget, + Properties::VIRTUAL, + __C5_Target_P1__getTarget, + "", + ""); + I_SimpleProperty(osg::Matrix, AsMatrix, + __osg_Matrix__getAsMatrix, + 0); + I_SimpleProperty(osgAnimation::Target *, Target, + __Target_P1__getTarget, + 0); + I_SimpleProperty(const osg::Vec3 &, Translate, + __C5_osg_Vec3_R1__getTranslate, + __void__setTranslate__C5_osg_Vec3_R1); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp b/src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp new file mode 100644 index 000000000..13077c4a6 --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/UpdateBone.cpp @@ -0,0 +1,65 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateBone) + I_DeclaringFile("osgAnimation/UpdateBone"); + I_BaseType(osgAnimation::UpdateMatrixTransform); + 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, + ____UpdateBone__C5_std_string_R1, + "", + ""); + I_Constructor2(IN, const osgAnimation::UpdateBone &, x, IN, const osg::CopyOp &, x, + ____UpdateBone__C5_UpdateBone_R1__C5_osg_CopyOp_R1, + "", + ""); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp b/src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp new file mode 100644 index 000000000..988b5f5da --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/UpdateMaterial.cpp @@ -0,0 +1,85 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateMaterial) + I_DeclaringFile("osgAnimation/UpdateMaterial"); + 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__Channel_P1, + "", + ""); + I_Method0(osgAnimation::Vec4Target *, getDiffuse, + Properties::NON_VIRTUAL, + __Vec4Target_P1__getDiffuse, + "", + ""); + I_SimpleProperty(osgAnimation::Vec4Target *, Diffuse, + __Vec4Target_P1__getDiffuse, + 0); +END_REFLECTOR + diff --git a/src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp b/src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp new file mode 100644 index 000000000..e6eed74d3 --- /dev/null +++ b/src/osgWrappers/introspection/osgAnimation/UpdateMatrixTransform.cpp @@ -0,0 +1,84 @@ +// *************************************************************************** +// +// Generated automatically by genwrapper. +// Please DO NOT EDIT this file! +// +// *************************************************************************** + +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +// Must undefine IN and OUT macros defined in Windows headers +#ifdef IN +#undef IN +#endif +#ifdef OUT +#undef OUT +#endif + +BEGIN_OBJECT_REFLECTOR(osgAnimation::UpdateMatrixTransform) + I_DeclaringFile("osgAnimation/UpdateMatrixTransform"); + 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, + ____UpdateMatrixTransform__C5_std_string_R1, + "", + ""); + I_ConstructorWithDefaults2(IN, const osgAnimation::UpdateMatrixTransform &, apc, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, + ____UpdateMatrixTransform__C5_UpdateMatrixTransform_R1__C5_osg_CopyOp_R1, + "", + ""); + I_Method1(bool, link, IN, osgAnimation::Channel *, channel, + Properties::VIRTUAL, + __bool__link__osgAnimation_Channel_P1, + "", + ""); + I_Method0(osgAnimation::StackedTransform &, getStackedTransforms, + Properties::NON_VIRTUAL, + __StackedTransform_R1__getStackedTransforms, + "", + ""); + I_Method0(const osgAnimation::StackedTransform &, getStackedTransforms, + Properties::NON_VIRTUAL, + __C5_StackedTransform_R1__getStackedTransforms, + "", + ""); + I_SimpleProperty(osgAnimation::StackedTransform &, StackedTransforms, + __StackedTransform_R1__getStackedTransforms, + 0); +END_REFLECTOR +