Updated wrappers

This commit is contained in:
Robert Osfield
2009-08-05 12:51:10 +00:00
parent df9385ac19
commit 5b81e1e76f
7 changed files with 116 additions and 23 deletions

View File

@@ -11,11 +11,13 @@
#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/AnimationManagerBase>
#include <osgAnimation/Channel>
@@ -29,21 +31,14 @@
#undef OUT
#endif
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::AnimationUpdateCallback)
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::AnimationUpdateCallbackBase)
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_Constructor0(____AnimationUpdateCallbackBase,
"",
"");
I_Method0(osgAnimation::AnimationManagerBase *, getAnimationManager,
Properties::NON_VIRTUAL,
__osgAnimation_AnimationManagerBase_P1__getAnimationManager,
Properties::PURE_VIRTUAL,
__AnimationManagerBase_P1__getAnimationManager,
"",
"");
I_Method0(bool, needLink,
@@ -57,23 +52,83 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgAnimation::AnimationUpdateCallback)
"",
"");
I_Method1(int, link, IN, osgAnimation::Animation *, animation,
Properties::VIRTUAL,
Properties::PURE_VIRTUAL,
__int__link__osgAnimation_Animation_P1,
"",
"");
I_Method0(void, updateLink,
Properties::VIRTUAL,
Properties::PURE_VIRTUAL,
__void__updateLink,
"",
"");
I_Method0(const std::string &, getName,
Properties::PURE_VIRTUAL,
__C5_std_string_R1__getName,
"",
"");
I_SimpleProperty(osgAnimation::AnimationManagerBase *, AnimationManager,
__osgAnimation_AnimationManagerBase_P1__getAnimationManager,
__AnimationManagerBase_P1__getAnimationManager,
0);
I_SimpleProperty(const std::string &, Name,
__C5_std_string_R1__getName,
0);
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_Method0(bool, needLink,
Properties::VIRTUAL,
__bool__needLink,
"",
"");
I_Method1(bool, link, IN, osgAnimation::Channel *, channel,
Properties::VIRTUAL,
__bool__link__osgAnimation_Channel_P1,
"",
"");
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,