Updated wrappers

This commit is contained in:
Robert Osfield
2005-05-16 09:41:10 +00:00
parent 668aada787
commit 74bce0e410
244 changed files with 11323 additions and 9410 deletions

View File

@@ -19,101 +19,109 @@
#include <osg/Quat>
#include <osg/Vec3d>
// 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< double COMMA osg::AnimationPath::ControlPoint >, osg::AnimationPath::TimeControlPointMap);
BEGIN_ENUM_REFLECTOR(osg::AnimationPath::LoopMode)
EnumLabel(osg::AnimationPath::SWING);
EnumLabel(osg::AnimationPath::LOOP);
EnumLabel(osg::AnimationPath::NO_LOOPING);
I_EnumLabel(osg::AnimationPath::SWING);
I_EnumLabel(osg::AnimationPath::LOOP);
I_EnumLabel(osg::AnimationPath::NO_LOOPING);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::AnimationPath)
VirtualBaseType(osg::Object);
Constructor0();
ConstructorWithDefaults2(IN, const osg::AnimationPath &, ap, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
Method0(osg::Object *, cloneType);
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixf &, matrix);
Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixd &, matrix);
Method2(bool, getInverse, IN, double, time, IN, osg::Matrixf &, matrix);
Method2(bool, getInverse, IN, double, time, IN, osg::Matrixd &, matrix);
Method2(bool, getInterpolatedControlPoint, IN, double, time, IN, osg::AnimationPath::ControlPoint &, controlPoint);
Method2(void, insert, IN, double, time, IN, const osg::AnimationPath::ControlPoint &, controlPoint);
Method0(double, getFirstTime);
Method0(double, getLastTime);
Method0(double, getPeriod);
Method1(void, setLoopMode, IN, osg::AnimationPath::LoopMode, lm);
Method0(osg::AnimationPath::LoopMode, getLoopMode);
Method1(void, setTimeControlPointMap, IN, osg::AnimationPath::TimeControlPointMap &, tcpm);
Method0(osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap);
Method0(const osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap);
Method0(bool, empty);
Method1(void, read, IN, std::istream &, in);
Method1(void, write, IN, std::ostream &, out);
ReadOnlyProperty(double, FirstTime);
ReadOnlyProperty(double, LastTime);
Property(osg::AnimationPath::LoopMode, LoopMode);
ReadOnlyProperty(double, Period);
Property(osg::AnimationPath::TimeControlPointMap &, TimeControlPointMap);
I_VirtualBaseType(osg::Object);
I_Constructor0();
I_ConstructorWithDefaults2(IN, const osg::AnimationPath &, ap, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
I_Method0(osg::Object *, cloneType);
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
I_Method0(const char *, libraryName);
I_Method0(const char *, className);
I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixf &, matrix);
I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixd &, matrix);
I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixf &, matrix);
I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixd &, matrix);
I_Method2(bool, getInterpolatedControlPoint, IN, double, time, IN, osg::AnimationPath::ControlPoint &, controlPoint);
I_Method2(void, insert, IN, double, time, IN, const osg::AnimationPath::ControlPoint &, controlPoint);
I_Method0(double, getFirstTime);
I_Method0(double, getLastTime);
I_Method0(double, getPeriod);
I_Method1(void, setLoopMode, IN, osg::AnimationPath::LoopMode, lm);
I_Method0(osg::AnimationPath::LoopMode, getLoopMode);
I_Method1(void, setTimeControlPointMap, IN, osg::AnimationPath::TimeControlPointMap &, tcpm);
I_Method0(osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap);
I_Method0(const osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap);
I_Method0(bool, empty);
I_Method1(void, read, IN, std::istream &, in);
I_Method1(void, write, IN, std::ostream &, out);
I_ReadOnlyProperty(double, FirstTime);
I_ReadOnlyProperty(double, LastTime);
I_Property(osg::AnimationPath::LoopMode, LoopMode);
I_ReadOnlyProperty(double, Period);
I_Property(osg::AnimationPath::TimeControlPointMap &, TimeControlPointMap);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::AnimationPath::ControlPoint)
Constructor0();
Constructor1(IN, const osg::Vec3d &, position);
Constructor2(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation);
Constructor3(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation, IN, const osg::Vec3d &, scale);
Method1(void, setPosition, IN, const osg::Vec3d &, position);
Method0(const osg::Vec3d &, getPosition);
Method1(void, setRotation, IN, const osg::Quat &, rotation);
Method0(const osg::Quat &, getRotation);
Method1(void, setScale, IN, const osg::Vec3d &, scale);
Method0(const osg::Vec3d &, getScale);
Method3(void, interpolate, IN, float, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second);
Method1(void, getMatrix, IN, osg::Matrixf &, matrix);
Method1(void, getMatrix, IN, osg::Matrixd &, matrix);
Method1(void, getInverse, IN, osg::Matrixf &, matrix);
Method1(void, getInverse, IN, osg::Matrixd &, matrix);
Property(const osg::Vec3d &, Position);
Property(const osg::Quat &, Rotation);
Property(const osg::Vec3d &, Scale);
I_Constructor0();
I_Constructor1(IN, const osg::Vec3d &, position);
I_Constructor2(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation);
I_Constructor3(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation, IN, const osg::Vec3d &, scale);
I_Method1(void, setPosition, IN, const osg::Vec3d &, position);
I_Method0(const osg::Vec3d &, getPosition);
I_Method1(void, setRotation, IN, const osg::Quat &, rotation);
I_Method0(const osg::Quat &, getRotation);
I_Method1(void, setScale, IN, const osg::Vec3d &, scale);
I_Method0(const osg::Vec3d &, getScale);
I_Method3(void, interpolate, IN, float, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second);
I_Method1(void, getMatrix, IN, osg::Matrixf &, matrix);
I_Method1(void, getMatrix, IN, osg::Matrixd &, matrix);
I_Method1(void, getInverse, IN, osg::Matrixf &, matrix);
I_Method1(void, getInverse, IN, osg::Matrixd &, matrix);
I_Property(const osg::Vec3d &, Position);
I_Property(const osg::Quat &, Rotation);
I_Property(const osg::Vec3d &, Scale);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::AnimationPathCallback)
BaseType(osg::NodeCallback);
Constructor0();
Constructor2(IN, const osg::AnimationPathCallback &, apc, IN, const osg::CopyOp &, copyop);
Method0(osg::Object *, cloneType);
Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
Method0(const char *, libraryName);
Method0(const char *, className);
ConstructorWithDefaults3(IN, osg::AnimationPath *, ap, , IN, double, timeOffset, 0.0, IN, double, timeMultiplier, 1.0);
Method1(void, setAnimationPath, IN, osg::AnimationPath *, path);
Method0(osg::AnimationPath *, getAnimationPath);
Method0(const osg::AnimationPath *, getAnimationPath);
Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot);
Method0(const osg::Vec3d &, getPivotPoint);
Method1(void, setUseInverseMatrix, IN, bool, useInverseMatrix);
Method0(bool, getUseInverseMatrix);
Method1(void, setTimeOffset, IN, double, offset);
Method0(double, getTimeOffset);
Method1(void, setTimeMultiplier, IN, double, multiplier);
Method0(double, getTimeMultiplier);
Method0(void, reset);
Method1(void, setPause, IN, bool, pause);
Method0(bool, getPause);
Method0(double, getAnimationTime);
Method1(void, update, IN, osg::Node &, node);
Property(osg::AnimationPath *, AnimationPath);
ReadOnlyProperty(double, AnimationTime);
Property(bool, Pause);
Property(const osg::Vec3d &, PivotPoint);
Property(double, TimeMultiplier);
Property(double, TimeOffset);
Property(bool, UseInverseMatrix);
I_BaseType(osg::NodeCallback);
I_Constructor0();
I_Constructor2(IN, const osg::AnimationPathCallback &, apc, IN, const osg::CopyOp &, copyop);
I_Method0(osg::Object *, cloneType);
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
I_Method0(const char *, libraryName);
I_Method0(const char *, className);
I_ConstructorWithDefaults3(IN, osg::AnimationPath *, ap, , IN, double, timeOffset, 0.0, IN, double, timeMultiplier, 1.0);
I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, path);
I_Method0(osg::AnimationPath *, getAnimationPath);
I_Method0(const osg::AnimationPath *, getAnimationPath);
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot);
I_Method0(const osg::Vec3d &, getPivotPoint);
I_Method1(void, setUseInverseMatrix, IN, bool, useInverseMatrix);
I_Method0(bool, getUseInverseMatrix);
I_Method1(void, setTimeOffset, IN, double, offset);
I_Method0(double, getTimeOffset);
I_Method1(void, setTimeMultiplier, IN, double, multiplier);
I_Method0(double, getTimeMultiplier);
I_Method0(void, reset);
I_Method1(void, setPause, IN, bool, pause);
I_Method0(bool, getPause);
I_Method0(double, getAnimationTime);
I_Method1(void, update, IN, osg::Node &, node);
I_Property(osg::AnimationPath *, AnimationPath);
I_ReadOnlyProperty(double, AnimationTime);
I_Property(bool, Pause);
I_Property(const osg::Vec3d &, PivotPoint);
I_Property(double, TimeMultiplier);
I_Property(double, TimeOffset);
I_Property(bool, UseInverseMatrix);
END_REFLECTOR
STD_MAP_REFLECTOR(std::map< double COMMA osg::AnimationPath::ControlPoint >);