From Marco Jez, improvements to osgIntrospection, and new automatically generated

osgWrappers/osg set.
This commit is contained in:
Robert Osfield
2005-04-07 20:00:17 +00:00
parent 5b4482c70d
commit 7a27a0bef7
132 changed files with 8608 additions and 301 deletions

View File

@@ -0,0 +1,54 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/CopyOp>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osg/Sequence>
BEGIN_ENUM_REFLECTOR(osg::Sequence::LoopMode)
EnumLabel(osg::Sequence::LOOP);
EnumLabel(osg::Sequence::SWING);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::Sequence::SequenceMode)
EnumLabel(osg::Sequence::START);
EnumLabel(osg::Sequence::STOP);
EnumLabel(osg::Sequence::PAUSE);
EnumLabel(osg::Sequence::RESUME);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Sequence)
BaseType(osg::Group);
Constructor0();
ConstructorWithDefaults2(IN, const osg::Sequence &, x, , 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 *, className);
Method0(const char *, libraryName);
Method1(void, accept, IN, osg::NodeVisitor &, nv);
Method1(void, traverse, IN, osg::NodeVisitor &, nv);
Method1(void, setValue, IN, int, value);
Method0(int, getValue);
Method2(void, setTime, IN, int, frame, IN, float, t);
Method1(float, getTime, IN, int, frame);
Method3(void, setInterval, IN, osg::Sequence::LoopMode, mode, IN, int, begin, IN, int, end);
Method3(void, getInterval, IN, osg::Sequence::LoopMode &, mode, IN, int &, begin, IN, int &, end);
MethodWithDefaults2(void, setDuration, IN, float, speed, , IN, int, nreps, -1);
Method2(void, getDuration, IN, float &, speed, IN, int &, nreps);
Method1(void, setMode, IN, osg::Sequence::SequenceMode, mode);
Method0(osg::Sequence::SequenceMode, getMode);
Property(osg::Sequence::SequenceMode, Mode);
IndexedProperty1(float, Time, int, frame);
Property(int, Value);
END_REFLECTOR