Fixed genwrapper so that it handles .svn directories, updated wrappers
This commit is contained in:
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec4>
|
||||
#include <osgSim/BlinkSequence>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -24,7 +24,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::BlinkSequence)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____BlinkSequence,
|
||||
"",
|
||||
@@ -36,13 +35,13 @@ BEGIN_OBJECT_REFLECTOR(osgSim::BlinkSequence)
|
||||
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 &, copyop,
|
||||
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,
|
||||
@@ -51,303 +50,13 @@ BEGIN_OBJECT_REFLECTOR(osgSim::BlinkSequence)
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addPulse, IN, double, length, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addPulse__double__C5_osg_Vec4_R1,
|
||||
"add a pulse of specified color and duration to the BlinkSequence. ",
|
||||
"");
|
||||
I_Method0(int, getNumPulses,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumPulses,
|
||||
"return the number of pulses. ",
|
||||
"");
|
||||
I_Method3(void, getPulse, IN, unsigned int, i, IN, double &, length, IN, osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getPulse__unsigned_int__double_R1__osg_Vec4_R1,
|
||||
"return the pulse data at position i. ",
|
||||
"");
|
||||
I_Method3(void, setPulse, IN, unsigned int, i, IN, double, length, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPulse__unsigned_int__double__C5_osg_Vec4_R1,
|
||||
"set pulse of specified color and duration to the BlinkSequence. ",
|
||||
"");
|
||||
I_Method0(double, getPulsePeriod,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getPulsePeriod,
|
||||
"get the total pulse period of the blink sequence, which is equal to the sum of all the pulse periods. ",
|
||||
"");
|
||||
I_Method1(void, setSequenceGroup, IN, osgSim::SequenceGroup *, sg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSequenceGroup__SequenceGroup_P1,
|
||||
"set the sequence group which can be used to synchronize related blink sequences. ",
|
||||
"");
|
||||
I_Method0(osgSim::SequenceGroup *, getSequenceGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SequenceGroup_P1__getSequenceGroup,
|
||||
"get the non const sequence group. ",
|
||||
"");
|
||||
I_Method0(const osgSim::SequenceGroup *, getSequenceGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SequenceGroup_P1__getSequenceGroup,
|
||||
"get the const sequence group. ",
|
||||
"");
|
||||
I_Method1(void, setPhaseShift, IN, double, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhaseShift__double,
|
||||
"set the phase shift of the blink sequence, this would be used to shift a sequence within a sequence group. ",
|
||||
"");
|
||||
I_Method0(double, getPhaseShift,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getPhaseShift,
|
||||
"get the pahse shift. ",
|
||||
"");
|
||||
I_Method1(double, localTime, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__localTime__double,
|
||||
"compute the local time clamped to this BlinkSequences period, and accounting for the phase shift and sequence group. ",
|
||||
"");
|
||||
I_Method2(osg::Vec4, color, IN, double, time, IN, double, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__color__double__double,
|
||||
"compute the color for the time interval sepecifed. ",
|
||||
"Averages the colors if the length is greater than the current pulse. ");
|
||||
I_Constructor0(____BlinkSequence,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::BlinkSequence &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BlinkSequence__C5_BlinkSequence_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addPulse, IN, double, length, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addPulse__double__C5_osg_Vec4_R1,
|
||||
"add a pulse of specified color and duration to the BlinkSequence. ",
|
||||
"");
|
||||
I_Method0(int, getNumPulses,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumPulses,
|
||||
"return the number of pulses. ",
|
||||
"");
|
||||
I_Method3(void, getPulse, IN, unsigned int, i, IN, double &, length, IN, osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getPulse__unsigned_int__double_R1__osg_Vec4_R1,
|
||||
"return the pulse data at position i. ",
|
||||
"");
|
||||
I_Method3(void, setPulse, IN, unsigned int, i, IN, double, length, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPulse__unsigned_int__double__C5_osg_Vec4_R1,
|
||||
"set pulse of specified color and duration to the BlinkSequence. ",
|
||||
"");
|
||||
I_Method0(double, getPulsePeriod,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getPulsePeriod,
|
||||
"get the total pulse period of the blink sequence, which is equal to the sum of all the pulse periods. ",
|
||||
"");
|
||||
I_Method1(void, setSequenceGroup, IN, osgSim::SequenceGroup *, sg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSequenceGroup__SequenceGroup_P1,
|
||||
"set the sequence group which can be used to synchronize related blink sequences. ",
|
||||
"");
|
||||
I_Method0(osgSim::SequenceGroup *, getSequenceGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SequenceGroup_P1__getSequenceGroup,
|
||||
"get the non const sequence group. ",
|
||||
"");
|
||||
I_Method0(const osgSim::SequenceGroup *, getSequenceGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SequenceGroup_P1__getSequenceGroup,
|
||||
"get the const sequence group. ",
|
||||
"");
|
||||
I_Method1(void, setPhaseShift, IN, double, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhaseShift__double,
|
||||
"set the phase shift of the blink sequence, this would be used to shift a sequence within a sequence group. ",
|
||||
"");
|
||||
I_Method0(double, getPhaseShift,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getPhaseShift,
|
||||
"get the pahse shift. ",
|
||||
"");
|
||||
I_Method1(double, localTime, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__localTime__double,
|
||||
"compute the local time clamped to this BlinkSequences period, and accounting for the phase shift and sequence group. ",
|
||||
"");
|
||||
I_Method2(osg::Vec4, color, IN, double, time, IN, double, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__color__double__double,
|
||||
"compute the color for the time interval sepecifed. ",
|
||||
"Averages the colors if the length is greater than the current pulse. ");
|
||||
I_SimpleProperty(double, PhaseShift,
|
||||
__double__getPhaseShift,
|
||||
__void__setPhaseShift__double);
|
||||
I_SimpleProperty(double, PulsePeriod,
|
||||
__double__getPulsePeriod,
|
||||
0);
|
||||
I_SimpleProperty(osgSim::SequenceGroup *, SequenceGroup,
|
||||
__SequenceGroup_P1__getSequenceGroup,
|
||||
__void__setSequenceGroup__SequenceGroup_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::BlinkSequence)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____BlinkSequence,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::BlinkSequence &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BlinkSequence__C5_BlinkSequence_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addPulse, IN, double, length, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addPulse__double__C5_osg_Vec4_R1,
|
||||
"add a pulse of specified color and duration to the BlinkSequence. ",
|
||||
"");
|
||||
I_Method0(int, getNumPulses,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumPulses,
|
||||
"return the number of pulses. ",
|
||||
"");
|
||||
I_Method3(void, getPulse, IN, unsigned int, i, IN, double &, length, IN, osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getPulse__unsigned_int__double_R1__osg_Vec4_R1,
|
||||
"return the pulse data at position i. ",
|
||||
"");
|
||||
I_Method3(void, setPulse, IN, unsigned int, i, IN, double, length, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPulse__unsigned_int__double__C5_osg_Vec4_R1,
|
||||
"set pulse of specified color and duration to the BlinkSequence. ",
|
||||
"");
|
||||
I_Method0(double, getPulsePeriod,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getPulsePeriod,
|
||||
"get the total pulse period of the blink sequence, which is equal to the sum of all the pulse periods. ",
|
||||
"");
|
||||
I_Method1(void, setSequenceGroup, IN, osgSim::SequenceGroup *, sg,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSequenceGroup__SequenceGroup_P1,
|
||||
"set the sequence group which can be used to synchronize related blink sequences. ",
|
||||
"");
|
||||
I_Method0(osgSim::SequenceGroup *, getSequenceGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__SequenceGroup_P1__getSequenceGroup,
|
||||
"get the non const sequence group. ",
|
||||
"");
|
||||
I_Method0(const osgSim::SequenceGroup *, getSequenceGroup,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SequenceGroup_P1__getSequenceGroup,
|
||||
"get the const sequence group. ",
|
||||
"");
|
||||
I_Method1(void, setPhaseShift, IN, double, ps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPhaseShift__double,
|
||||
"set the phase shift of the blink sequence, this would be used to shift a sequence within a sequence group. ",
|
||||
"");
|
||||
I_Method0(double, getPhaseShift,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getPhaseShift,
|
||||
"get the pahse shift. ",
|
||||
"");
|
||||
I_Method1(double, localTime, IN, double, time,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__localTime__double,
|
||||
"compute the local time clamped to this BlinkSequences period, and accounting for the phase shift and sequence group. ",
|
||||
"");
|
||||
I_Method2(osg::Vec4, color, IN, double, time, IN, double, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__color__double__double,
|
||||
"compute the color for the time interval sepecifed. ",
|
||||
"Averages the colors if the length is greater than the current pulse. ");
|
||||
I_Constructor0(____BlinkSequence,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::BlinkSequence &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BlinkSequence__C5_BlinkSequence_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
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_Method2(void, addPulse, IN, double, length, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addPulse__double__C5_osg_Vec4_R1,
|
||||
@@ -420,7 +129,6 @@ BEGIN_OBJECT_REFLECTOR(osgSim::BlinkSequence)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::SequenceGroup)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____SequenceGroup,
|
||||
"",
|
||||
@@ -437,13 +145,13 @@ BEGIN_OBJECT_REFLECTOR(osgSim::SequenceGroup)
|
||||
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 &, copyop,
|
||||
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,
|
||||
@@ -452,130 +160,13 @@ BEGIN_OBJECT_REFLECTOR(osgSim::SequenceGroup)
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____SequenceGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::SequenceGroup &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SequenceGroup__C5_SequenceGroup_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double, baseTime,
|
||||
Properties::NON_EXPLICIT,
|
||||
____SequenceGroup__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(double, _baseTime);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::SequenceGroup)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____SequenceGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::SequenceGroup &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SequenceGroup__C5_SequenceGroup_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double, baseTime,
|
||||
Properties::NON_EXPLICIT,
|
||||
____SequenceGroup__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____SequenceGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::SequenceGroup &, bs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____SequenceGroup__C5_SequenceGroup_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double, baseTime,
|
||||
Properties::NON_EXPLICIT,
|
||||
____SequenceGroup__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
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_PublicMemberProperty(double, _baseTime);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/Vec4>
|
||||
#include <osgSim/ColorRange>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -22,7 +22,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ColorRange)
|
||||
I_BaseType(osgSim::ScalarsToColors);
|
||||
I_BaseType(osgSim::ScalarsToColors);
|
||||
I_Constructor2(IN, float, min, IN, float, max,
|
||||
____ColorRange__float__float,
|
||||
@@ -38,69 +37,7 @@ BEGIN_OBJECT_REFLECTOR(osgSim::ColorRange)
|
||||
"Set the range of colors. ",
|
||||
"");
|
||||
I_Method1(osg::Vec4, getColor, IN, float, scalar,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getColor__float,
|
||||
"Get the color for a given scalar value. ",
|
||||
"");
|
||||
I_Constructor2(IN, float, min, IN, float, max,
|
||||
____ColorRange__float__float,
|
||||
"Constructor for a ColorRange with a default list of colors set to Red-Yellow-Green-Blue-Cyan. ",
|
||||
" param min minimum scalar value max maximum scalar value ");
|
||||
I_Constructor3(IN, float, min, IN, float, max, IN, const std::vector< osg::Vec4 > &, colors,
|
||||
____ColorRange__float__float__C5_std_vectorT1_osg_Vec4__R1,
|
||||
"Constructor for a ColorRange. ",
|
||||
" param min minimum scalar value max maximum scalar value colors optional range of colors, ");
|
||||
I_Method1(void, setColors, IN, const std::vector< osg::Vec4 > &, colors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColors__C5_std_vectorT1_osg_Vec4__R1,
|
||||
"Set the range of colors. ",
|
||||
"");
|
||||
I_Method1(osg::Vec4, getColor, IN, float, scalar,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getColor__float,
|
||||
"Get the color for a given scalar value. ",
|
||||
"");
|
||||
I_SimpleProperty(const std::vector< osg::Vec4 > &, Colors,
|
||||
0,
|
||||
__void__setColors__C5_std_vectorT1_osg_Vec4__R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ColorRange)
|
||||
I_BaseType(osgSim::ScalarsToColors);
|
||||
I_BaseType(osgSim::ScalarsToColors);
|
||||
I_Constructor2(IN, float, min, IN, float, max,
|
||||
____ColorRange__float__float,
|
||||
"Constructor for a ColorRange with a default list of colors set to Red-Yellow-Green-Blue-Cyan. ",
|
||||
" param min minimum scalar value max maximum scalar value ");
|
||||
I_Constructor3(IN, float, min, IN, float, max, IN, const std::vector< osg::Vec4 > &, colors,
|
||||
____ColorRange__float__float__C5_std_vectorT1_osg_Vec4__R1,
|
||||
"Constructor for a ColorRange. ",
|
||||
" param min minimum scalar value max maximum scalar value colors optional range of colors, ");
|
||||
I_Method1(void, setColors, IN, const std::vector< osg::Vec4 > &, colors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColors__C5_std_vectorT1_osg_Vec4__R1,
|
||||
"Set the range of colors. ",
|
||||
"");
|
||||
I_Method1(osg::Vec4, getColor, IN, float, scalar,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getColor__float,
|
||||
"Get the color for a given scalar value. ",
|
||||
"");
|
||||
I_Constructor2(IN, float, min, IN, float, max,
|
||||
____ColorRange__float__float,
|
||||
"Constructor for a ColorRange with a default list of colors set to Red-Yellow-Green-Blue-Cyan. ",
|
||||
" param min minimum scalar value max maximum scalar value ");
|
||||
I_Constructor3(IN, float, min, IN, float, max, IN, const std::vector< osg::Vec4 > &, colors,
|
||||
____ColorRange__float__float__C5_std_vectorT1_osg_Vec4__R1,
|
||||
"Constructor for a ColorRange. ",
|
||||
" param min minimum scalar value max maximum scalar value colors optional range of colors, ");
|
||||
I_Method1(void, setColors, IN, const std::vector< osg::Vec4 > &, colors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setColors__C5_std_vectorT1_osg_Vec4__R1,
|
||||
"Set the range of colors. ",
|
||||
"");
|
||||
I_Method1(osg::Vec4, getColor, IN, float, scalar,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec4__getColor__float,
|
||||
"Get the color for a given scalar value. ",
|
||||
"");
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgSim/.svn/text-base/DOFTransform.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgSim/DOFTransform>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -36,7 +35,6 @@ BEGIN_ENUM_REFLECTOR(osgSim::DOFTransform::MultOrder)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::DOFTransform)
|
||||
I_BaseType(osg::Transform);
|
||||
I_BaseType(osg::Transform);
|
||||
I_Constructor0(____DOFTransform,
|
||||
"constructor ",
|
||||
@@ -48,828 +46,37 @@ BEGIN_OBJECT_REFLECTOR(osgSim::DOFTransform)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMinHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMinHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMaxHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMaxHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIncrementHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIncrementHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getIncrementHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getIncrementHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCurrentHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCurrentHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateCurrentHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateCurrentHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMinTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMinTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMaxTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMaxTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIncrementTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIncrementTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getIncrementTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getIncrementTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCurrentTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCurrentTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateCurrentTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateCurrentTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMinScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMinScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMaxScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMaxScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIncrementScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIncrementScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getIncrementScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getIncrementScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCurrentScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCurrentScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateCurrentScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateCurrentScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPutMatrix, IN, const osg::Matrix &, put,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPutMatrix__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getPutMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getPutMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInversePutMatrix, IN, const osg::Matrix &, inversePut,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInversePutMatrix__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getInversePutMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getInversePutMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLimitationFlags, IN, unsigned long, flags,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLimitationFlags__unsigned_long,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned long, getLimitationFlags,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_long__getLimitationFlags,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHPRMultOrder, IN, const osgSim::DOFTransform::MultOrder, order,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHPRMultOrder__C5_MultOrder,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgSim::DOFTransform::MultOrder, getHPRMultOrder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MultOrder__getHPRMultOrder,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAnimationOn, IN, bool, do_animate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnimationOn__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAnimationOn,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAnimationOn,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, animate, IN, float, deltaTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__animate__float,
|
||||
"",
|
||||
"");
|
||||
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_Constructor0(____DOFTransform,
|
||||
"constructor ",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::DOFTransform &, dof, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DOFTransform__C5_DOFTransform_R1__C5_osg_CopyOp_R1,
|
||||
"copy constructor ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMinHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMinHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMaxHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMaxHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIncrementHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIncrementHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getIncrementHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getIncrementHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCurrentHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCurrentHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateCurrentHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateCurrentHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMinTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMinTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMaxTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMaxTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIncrementTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIncrementTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getIncrementTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getIncrementTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCurrentTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCurrentTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateCurrentTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateCurrentTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMinScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMinScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMaxScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMaxScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIncrementScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIncrementScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getIncrementScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getIncrementScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCurrentScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCurrentScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateCurrentScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateCurrentScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPutMatrix, IN, const osg::Matrix &, put,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPutMatrix__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getPutMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getPutMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInversePutMatrix, IN, const osg::Matrix &, inversePut,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInversePutMatrix__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getInversePutMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getInversePutMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLimitationFlags, IN, unsigned long, flags,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLimitationFlags__unsigned_long,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned long, getLimitationFlags,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_long__getLimitationFlags,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHPRMultOrder, IN, const osgSim::DOFTransform::MultOrder, order,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHPRMultOrder__C5_MultOrder,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgSim::DOFTransform::MultOrder, getHPRMultOrder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MultOrder__getHPRMultOrder,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAnimationOn, IN, bool, do_animate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnimationOn__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAnimationOn,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAnimationOn,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, animate, IN, float, deltaTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__animate__float,
|
||||
"",
|
||||
"");
|
||||
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_SimpleProperty(bool, AnimationOn,
|
||||
__bool__getAnimationOn,
|
||||
__void__setAnimationOn__bool);
|
||||
I_SimpleProperty(const osg::Vec3 &, CurrentHPR,
|
||||
__C5_osg_Vec3_R1__getCurrentHPR,
|
||||
__void__setCurrentHPR__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, CurrentScale,
|
||||
__C5_osg_Vec3_R1__getCurrentScale,
|
||||
__void__setCurrentScale__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, CurrentTranslate,
|
||||
__C5_osg_Vec3_R1__getCurrentTranslate,
|
||||
__void__setCurrentTranslate__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osgSim::DOFTransform::MultOrder, HPRMultOrder,
|
||||
__C5_MultOrder__getHPRMultOrder,
|
||||
__void__setHPRMultOrder__C5_MultOrder);
|
||||
I_SimpleProperty(const osg::Vec3 &, IncrementHPR,
|
||||
__C5_osg_Vec3_R1__getIncrementHPR,
|
||||
__void__setIncrementHPR__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, IncrementScale,
|
||||
__C5_osg_Vec3_R1__getIncrementScale,
|
||||
__void__setIncrementScale__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, IncrementTranslate,
|
||||
__C5_osg_Vec3_R1__getIncrementTranslate,
|
||||
__void__setIncrementTranslate__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Matrix &, InversePutMatrix,
|
||||
__C5_osg_Matrix_R1__getInversePutMatrix,
|
||||
__void__setInversePutMatrix__C5_osg_Matrix_R1);
|
||||
I_SimpleProperty(unsigned long, LimitationFlags,
|
||||
__unsigned_long__getLimitationFlags,
|
||||
__void__setLimitationFlags__unsigned_long);
|
||||
I_SimpleProperty(const osg::Vec3 &, MaxHPR,
|
||||
__C5_osg_Vec3_R1__getMaxHPR,
|
||||
__void__setMaxHPR__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, MaxScale,
|
||||
__C5_osg_Vec3_R1__getMaxScale,
|
||||
__void__setMaxScale__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, MaxTranslate,
|
||||
__C5_osg_Vec3_R1__getMaxTranslate,
|
||||
__void__setMaxTranslate__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, MinHPR,
|
||||
__C5_osg_Vec3_R1__getMinHPR,
|
||||
__void__setMinHPR__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, MinScale,
|
||||
__C5_osg_Vec3_R1__getMinScale,
|
||||
__void__setMinScale__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, MinTranslate,
|
||||
__C5_osg_Vec3_R1__getMinTranslate,
|
||||
__void__setMinTranslate__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Matrix &, PutMatrix,
|
||||
__C5_osg_Matrix_R1__getPutMatrix,
|
||||
__void__setPutMatrix__C5_osg_Matrix_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgSim::DOFTransform::MultOrder)
|
||||
I_EnumLabel(osgSim::DOFTransform::PRH);
|
||||
I_EnumLabel(osgSim::DOFTransform::PHR);
|
||||
I_EnumLabel(osgSim::DOFTransform::HPR);
|
||||
I_EnumLabel(osgSim::DOFTransform::HRP);
|
||||
I_EnumLabel(osgSim::DOFTransform::RPH);
|
||||
I_EnumLabel(osgSim::DOFTransform::RHP);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::DOFTransform)
|
||||
I_BaseType(osg::Transform);
|
||||
I_BaseType(osg::Transform);
|
||||
I_Constructor0(____DOFTransform,
|
||||
"constructor ",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::DOFTransform &, dof, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DOFTransform__C5_DOFTransform_R1__C5_osg_CopyOp_R1,
|
||||
"copy constructor ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMinHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMinHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMaxHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMaxHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIncrementHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIncrementHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getIncrementHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getIncrementHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCurrentHPR,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCurrentHPR,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateCurrentHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateCurrentHPR__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMinTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMinTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMaxTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMaxTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIncrementTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIncrementTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getIncrementTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getIncrementTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCurrentTranslate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCurrentTranslate,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateCurrentTranslate, IN, const osg::Vec3 &, translate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateCurrentTranslate__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMinScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMinScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getMaxScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getMaxScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIncrementScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIncrementScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getIncrementScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getIncrementScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCurrentScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCurrentScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCurrentScale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCurrentScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, updateCurrentScale, IN, const osg::Vec3 &, scale,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__updateCurrentScale__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPutMatrix, IN, const osg::Matrix &, put,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPutMatrix__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getPutMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getPutMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInversePutMatrix, IN, const osg::Matrix &, inversePut,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setInversePutMatrix__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getInversePutMatrix,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Matrix_R1__getInversePutMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLimitationFlags, IN, unsigned long, flags,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLimitationFlags__unsigned_long,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned long, getLimitationFlags,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_long__getLimitationFlags,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHPRMultOrder, IN, const osgSim::DOFTransform::MultOrder, order,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setHPRMultOrder__C5_MultOrder,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgSim::DOFTransform::MultOrder, getHPRMultOrder,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_MultOrder__getHPRMultOrder,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAnimationOn, IN, bool, do_animate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnimationOn__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAnimationOn,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getAnimationOn,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, animate, IN, float, deltaTime,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__animate__float,
|
||||
"",
|
||||
"");
|
||||
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_Constructor0(____DOFTransform,
|
||||
"constructor ",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::DOFTransform &, dof, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DOFTransform__C5_DOFTransform_R1__C5_osg_CopyOp_R1,
|
||||
"copy constructor ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, setMinHPR, IN, const osg::Vec3 &, hpr,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,9 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/Node>
|
||||
#include <osg/Vec3d>
|
||||
#include <osgSim/.svn/text-base/ElevationSlice.svn-base>
|
||||
#include <osgSim/ElevationSlice>
|
||||
#include <osgSim/LineOfSight>
|
||||
|
||||
@@ -84,63 +83,6 @@ BEGIN_VALUE_REFLECTOR(osgSim::ElevationSlice)
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_Constructor0(____ElevationSlice,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartPoint, IN, const osg::Vec3d &, startPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartPoint__C5_osg_Vec3d_R1,
|
||||
"Set the start point of the slice. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getStartPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getStartPoint,
|
||||
"Get the start point of the slice. ",
|
||||
"");
|
||||
I_Method1(void, setEndPoint, IN, const osg::Vec3d &, endPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndPoint__C5_osg_Vec3d_R1,
|
||||
"Set the end point of the slice. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getEndPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getEndPoint,
|
||||
"Get the end point of the slice. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ElevationSlice::Vec3dList &, getIntersections,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3dList_R1__getIntersections,
|
||||
"Get the intersections in the form of a vector of Vec3d. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ElevationSlice::DistanceHeightList &, getDistanceHeightIntersections,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_DistanceHeightList_R1__getDistanceHeightIntersections,
|
||||
"Get the intersections in the form a vector of pair<double,double> representing distance along the slice and height. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeIntersections__osg_Node_P1__osg_Node_NodeMask,
|
||||
"Compute the intersections with the specified scene graph, the results are stored in vectors of Vec3d. ",
|
||||
"Note, if the topmost node is a CoordinateSystemNode then the input points are assumed to be geocentric, with the up vector defined by the EllipsoidModel attached to the CoordinateSystemNode. If the topmost node is not a CoordinateSystemNode then a local coordinates frame is assumed, with a local up vector. ");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"Clear the database cache. ",
|
||||
"");
|
||||
I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1,
|
||||
"Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"Note, if you have mulitple LineOfSight or ElevationSlice objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. ");
|
||||
I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults4(osgSim::ElevationSlice::Vec3dList, computeElevationSlice, IN, osg::Node *, scene, , IN, const osg::Vec3d &, startPoint, , IN, const osg::Vec3d &, endPoint, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__Vec3dList__computeElevationSlice__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the vertical distance between the specified scene graph and a single HAT point. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults4(osgSim::ElevationSlice::Vec3dList, computeElevationSlice, IN, osg::Node *, scene, , IN, const osg::Vec3d &, startPoint, , IN, const osg::Vec3d &, endPoint, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__Vec3dList__computeElevationSlice__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the vertical distance between the specified scene graph and a single HAT point. ",
|
||||
@@ -162,141 +104,9 @@ BEGIN_VALUE_REFLECTOR(osgSim::ElevationSlice)
|
||||
__void__setStartPoint__C5_osg_Vec3d_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec3d >, osgSim::ElevationSlice::Vec3dList);
|
||||
STD_PAIR_REFLECTOR(std::pair< double COMMA double >);
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< double COMMA double >, osgSim::ElevationSlice::DistanceHeight);
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::Vec3d >);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgSim::ElevationSlice::DistanceHeight >, osgSim::ElevationSlice::DistanceHeightList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgSim::ElevationSlice)
|
||||
I_Constructor0(____ElevationSlice,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartPoint, IN, const osg::Vec3d &, startPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartPoint__C5_osg_Vec3d_R1,
|
||||
"Set the start point of the slice. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getStartPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getStartPoint,
|
||||
"Get the start point of the slice. ",
|
||||
"");
|
||||
I_Method1(void, setEndPoint, IN, const osg::Vec3d &, endPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndPoint__C5_osg_Vec3d_R1,
|
||||
"Set the end point of the slice. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getEndPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getEndPoint,
|
||||
"Get the end point of the slice. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ElevationSlice::Vec3dList &, getIntersections,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3dList_R1__getIntersections,
|
||||
"Get the intersections in the form of a vector of Vec3d. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ElevationSlice::DistanceHeightList &, getDistanceHeightIntersections,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_DistanceHeightList_R1__getDistanceHeightIntersections,
|
||||
"Get the intersections in the form a vector of pair<double,double> representing distance along the slice and height. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeIntersections__osg_Node_P1__osg_Node_NodeMask,
|
||||
"Compute the intersections with the specified scene graph, the results are stored in vectors of Vec3d. ",
|
||||
"Note, if the topmost node is a CoordinateSystemNode then the input points are assumed to be geocentric, with the up vector defined by the EllipsoidModel attached to the CoordinateSystemNode. If the topmost node is not a CoordinateSystemNode then a local coordinates frame is assumed, with a local up vector. ");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"Clear the database cache. ",
|
||||
"");
|
||||
I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1,
|
||||
"Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"Note, if you have mulitple LineOfSight or ElevationSlice objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. ");
|
||||
I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_Constructor0(____ElevationSlice,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartPoint, IN, const osg::Vec3d &, startPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartPoint__C5_osg_Vec3d_R1,
|
||||
"Set the start point of the slice. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getStartPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getStartPoint,
|
||||
"Get the start point of the slice. ",
|
||||
"");
|
||||
I_Method1(void, setEndPoint, IN, const osg::Vec3d &, endPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndPoint__C5_osg_Vec3d_R1,
|
||||
"Set the end point of the slice. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getEndPoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getEndPoint,
|
||||
"Get the end point of the slice. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ElevationSlice::Vec3dList &, getIntersections,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Vec3dList_R1__getIntersections,
|
||||
"Get the intersections in the form of a vector of Vec3d. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ElevationSlice::DistanceHeightList &, getDistanceHeightIntersections,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_DistanceHeightList_R1__getDistanceHeightIntersections,
|
||||
"Get the intersections in the form a vector of pair<double,double> representing distance along the slice and height. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeIntersections__osg_Node_P1__osg_Node_NodeMask,
|
||||
"Compute the intersections with the specified scene graph, the results are stored in vectors of Vec3d. ",
|
||||
"Note, if the topmost node is a CoordinateSystemNode then the input points are assumed to be geocentric, with the up vector defined by the EllipsoidModel attached to the CoordinateSystemNode. If the topmost node is not a CoordinateSystemNode then a local coordinates frame is assumed, with a local up vector. ");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"Clear the database cache. ",
|
||||
"");
|
||||
I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1,
|
||||
"Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"Note, if you have mulitple LineOfSight or ElevationSlice objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. ");
|
||||
I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults4(osgSim::ElevationSlice::Vec3dList, computeElevationSlice, IN, osg::Node *, scene, , IN, const osg::Vec3d &, startPoint, , IN, const osg::Vec3d &, endPoint, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__Vec3dList__computeElevationSlice__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the vertical distance between the specified scene graph and a single HAT point. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults4(osgSim::ElevationSlice::Vec3dList, computeElevationSlice, IN, osg::Node *, scene, , IN, const osg::Vec3d &, startPoint, , IN, const osg::Vec3d &, endPoint, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__Vec3dList__computeElevationSlice__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the vertical distance between the specified scene graph and a single HAT point. ",
|
||||
"");
|
||||
I_SimpleProperty(osgSim::DatabaseCacheReadCallback *, DatabaseCacheReadCallback,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1);
|
||||
I_SimpleProperty(const osgSim::ElevationSlice::DistanceHeightList &, DistanceHeightIntersections,
|
||||
__C5_DistanceHeightList_R1__getDistanceHeightIntersections,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3d &, EndPoint,
|
||||
__C5_osg_Vec3d_R1__getEndPoint,
|
||||
__void__setEndPoint__C5_osg_Vec3d_R1);
|
||||
I_SimpleProperty(const osgSim::ElevationSlice::Vec3dList &, Intersections,
|
||||
__C5_Vec3dList_R1__getIntersections,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec3d &, StartPoint,
|
||||
__C5_osg_Vec3d_R1__getStartPoint,
|
||||
__void__setStartPoint__C5_osg_Vec3d_R1);
|
||||
END_REFLECTOR
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgSim::ElevationSlice::DistanceHeight >);
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ CXXFILES =\
|
||||
ScalarBar.cpp\
|
||||
ScalarsToColors.cpp\
|
||||
Sector.cpp\
|
||||
SphereSegment.cpp\
|
||||
VisibilityGroup.cpp\
|
||||
|
||||
LIBS += -losgSim -losg -losgIntrospection -losgUtil -losgText -losgDB $(GL_LIBS) $(OTHER_LIBS)
|
||||
|
||||
@@ -22,168 +22,6 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::GeographicLocation)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____GeographicLocation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, double, lat, IN, double, lon,
|
||||
____GeographicLocation__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const double *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_double_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, double, lat, IN, double, lon,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double &, latitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double_R1__latitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double &, longitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double_R1__longitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, latitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__latitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, longitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__longitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____GeographicLocation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, double, lat, IN, double, lon,
|
||||
____GeographicLocation__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const double *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_double_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, double, lat, IN, double, lon,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double &, latitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double_R1__latitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double &, longitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double_R1__longitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, latitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__latitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, longitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__longitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::GeographicLocation)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____GeographicLocation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, double, lat, IN, double, lon,
|
||||
____GeographicLocation__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const double *, ptr,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_double_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, double, lat, IN, double, lon,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__set__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double &, latitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double_R1__latitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double &, longitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double_R1__longitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, latitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__latitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, longitude,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__longitude,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____GeographicLocation,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/Node>
|
||||
#include <osg/Vec3d>
|
||||
#include <osgSim/HeightAboveTerrain>
|
||||
#include <osgSim/LineOfSight>
|
||||
@@ -87,223 +87,6 @@ BEGIN_VALUE_REFLECTOR(osgSim::HeightAboveTerrain)
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_Constructor0(____HeightAboveTerrain,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clear,
|
||||
"Clear the internal HAT List so it contains no height above terrain tests. ",
|
||||
"");
|
||||
I_Method1(unsigned int, addPoint, IN, const osg::Vec3d &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addPoint__C5_osg_Vec3d_R1,
|
||||
"Add a height above terrain test point in the CoordinateFrame. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPoints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumPoints,
|
||||
"Get the number of height above terrain tests. ",
|
||||
"");
|
||||
I_Method2(void, setPoint, IN, unsigned int, i, IN, const osg::Vec3d &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
"Set the source point of single height above terrain test. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3d &, getPoint, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getPoint__unsigned_int,
|
||||
"Get the source point of single height above terrain test. ",
|
||||
"");
|
||||
I_Method1(double, getHeightAboveTerrain, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getHeightAboveTerrain__unsigned_int,
|
||||
"Get the intersection height for a single height above terrain test. ",
|
||||
"Note, you must call computeIntersections(..) before you can querry the HeightAboveTerrain. If no intersections are found then height returned will be the height above mean sea level. ");
|
||||
I_Method1(void, setLowestHeight, IN, double, lowestHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLowestHeight__double,
|
||||
"Set the lowest height that the should be tested for. ",
|
||||
"Defaults to -1000, i.e. 1000m below mean sea level. ");
|
||||
I_Method0(double, getLowestHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getLowestHeight,
|
||||
"Get the lowest height that the should be tested for. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeIntersections__osg_Node_P1__osg_Node_NodeMask,
|
||||
"Compute the HAT intersections with the specified scene graph. ",
|
||||
"The results are all stored in the form of a single height above terrain value per HAT test. Note, if the topmost node is a CoordinateSystemNode then the input points are assumed to be geocentric, with the up vector defined by the EllipsoidModel attached to the CoordinateSystemNode. If the topmost node is not a CoordinateSystemNode then a local coordinates frame is assumed, with a local up vector. ");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"Clear the database cache. ",
|
||||
"");
|
||||
I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1,
|
||||
"Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"Note, if you have mulitple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. ");
|
||||
I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults3(double, computeHeightAboveTerrain, IN, osg::Node *, scene, , IN, const osg::Vec3d &, point, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__double__computeHeightAboveTerrain__osg_Node_P1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the vertical distance between the specified scene graph and a single HAT point. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults3(double, computeHeightAboveTerrain, IN, osg::Node *, scene, , IN, const osg::Vec3d &, point, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__double__computeHeightAboveTerrain__osg_Node_P1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the vertical distance between the specified scene graph and a single HAT point. ",
|
||||
"");
|
||||
I_SimpleProperty(osgSim::DatabaseCacheReadCallback *, DatabaseCacheReadCallback,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1);
|
||||
I_SimpleProperty(double, LowestHeight,
|
||||
__double__getLowestHeight,
|
||||
__void__setLowestHeight__double);
|
||||
I_ArrayProperty(const osg::Vec3d &, Point,
|
||||
__C5_osg_Vec3d_R1__getPoint__unsigned_int,
|
||||
__void__setPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
__unsigned_int__getNumPoints,
|
||||
__unsigned_int__addPoint__C5_osg_Vec3d_R1,
|
||||
0,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgSim::HeightAboveTerrain)
|
||||
I_Constructor0(____HeightAboveTerrain,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clear,
|
||||
"Clear the internal HAT List so it contains no height above terrain tests. ",
|
||||
"");
|
||||
I_Method1(unsigned int, addPoint, IN, const osg::Vec3d &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addPoint__C5_osg_Vec3d_R1,
|
||||
"Add a height above terrain test point in the CoordinateFrame. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPoints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumPoints,
|
||||
"Get the number of height above terrain tests. ",
|
||||
"");
|
||||
I_Method2(void, setPoint, IN, unsigned int, i, IN, const osg::Vec3d &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
"Set the source point of single height above terrain test. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3d &, getPoint, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getPoint__unsigned_int,
|
||||
"Get the source point of single height above terrain test. ",
|
||||
"");
|
||||
I_Method1(double, getHeightAboveTerrain, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getHeightAboveTerrain__unsigned_int,
|
||||
"Get the intersection height for a single height above terrain test. ",
|
||||
"Note, you must call computeIntersections(..) before you can querry the HeightAboveTerrain. If no intersections are found then height returned will be the height above mean sea level. ");
|
||||
I_Method1(void, setLowestHeight, IN, double, lowestHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLowestHeight__double,
|
||||
"Set the lowest height that the should be tested for. ",
|
||||
"Defaults to -1000, i.e. 1000m below mean sea level. ");
|
||||
I_Method0(double, getLowestHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getLowestHeight,
|
||||
"Get the lowest height that the should be tested for. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeIntersections__osg_Node_P1__osg_Node_NodeMask,
|
||||
"Compute the HAT intersections with the specified scene graph. ",
|
||||
"The results are all stored in the form of a single height above terrain value per HAT test. Note, if the topmost node is a CoordinateSystemNode then the input points are assumed to be geocentric, with the up vector defined by the EllipsoidModel attached to the CoordinateSystemNode. If the topmost node is not a CoordinateSystemNode then a local coordinates frame is assumed, with a local up vector. ");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"Clear the database cache. ",
|
||||
"");
|
||||
I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1,
|
||||
"Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"Note, if you have mulitple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. ");
|
||||
I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_Constructor0(____HeightAboveTerrain,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clear,
|
||||
"Clear the internal HAT List so it contains no height above terrain tests. ",
|
||||
"");
|
||||
I_Method1(unsigned int, addPoint, IN, const osg::Vec3d &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addPoint__C5_osg_Vec3d_R1,
|
||||
"Add a height above terrain test point in the CoordinateFrame. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPoints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumPoints,
|
||||
"Get the number of height above terrain tests. ",
|
||||
"");
|
||||
I_Method2(void, setPoint, IN, unsigned int, i, IN, const osg::Vec3d &, point,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
"Set the source point of single height above terrain test. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3d &, getPoint, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getPoint__unsigned_int,
|
||||
"Get the source point of single height above terrain test. ",
|
||||
"");
|
||||
I_Method1(double, getHeightAboveTerrain, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getHeightAboveTerrain__unsigned_int,
|
||||
"Get the intersection height for a single height above terrain test. ",
|
||||
"Note, you must call computeIntersections(..) before you can querry the HeightAboveTerrain. If no intersections are found then height returned will be the height above mean sea level. ");
|
||||
I_Method1(void, setLowestHeight, IN, double, lowestHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLowestHeight__double,
|
||||
"Set the lowest height that the should be tested for. ",
|
||||
"Defaults to -1000, i.e. 1000m below mean sea level. ");
|
||||
I_Method0(double, getLowestHeight,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getLowestHeight,
|
||||
"Get the lowest height that the should be tested for. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeIntersections__osg_Node_P1__osg_Node_NodeMask,
|
||||
"Compute the HAT intersections with the specified scene graph. ",
|
||||
"The results are all stored in the form of a single height above terrain value per HAT test. Note, if the topmost node is a CoordinateSystemNode then the input points are assumed to be geocentric, with the up vector defined by the EllipsoidModel attached to the CoordinateSystemNode. If the topmost node is not a CoordinateSystemNode then a local coordinates frame is assumed, with a local up vector. ");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"Clear the database cache. ",
|
||||
"");
|
||||
I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1,
|
||||
"Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"Note, if you have mulitple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. ");
|
||||
I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults3(double, computeHeightAboveTerrain, IN, osg::Node *, scene, , IN, const osg::Vec3d &, point, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__double__computeHeightAboveTerrain__osg_Node_P1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the vertical distance between the specified scene graph and a single HAT point. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults3(double, computeHeightAboveTerrain, IN, osg::Node *, scene, , IN, const osg::Vec3d &, point, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__double__computeHeightAboveTerrain__osg_Node_P1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the vertical distance between the specified scene graph and a single HAT point. ",
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgSim/.svn/text-base/Impostor.svn-base>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgSim/Impostor>
|
||||
#include <osgSim/ImpostorSprite>
|
||||
|
||||
@@ -30,7 +29,6 @@
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgSim::ImpostorSprite > >, osgSim::Impostor::ImpostorSpriteList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::Impostor)
|
||||
I_BaseType(osg::LOD);
|
||||
I_BaseType(osg::LOD);
|
||||
I_Constructor0(____Impostor,
|
||||
"",
|
||||
@@ -42,37 +40,37 @@ BEGIN_OBJECT_REFLECTOR(osgSim::Impostor)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, setImpostorThreshold, IN, float, distance,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -112,90 +110,8 @@ BEGIN_OBJECT_REFLECTOR(osgSim::Impostor)
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Impostor,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::Impostor &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Impostor__C5_Impostor_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImpostorThreshold, IN, float, distance,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImpostorThreshold__float,
|
||||
"Set the Impostor threshold distance. ",
|
||||
"For eye points further than this threshold the Imposter is used if appropriate, otherwise the LOD children as chosen as per a standard LOD node.");
|
||||
I_Method0(float, getImpostorThreshold,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getImpostorThreshold,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setImpostorThresholdToBound, IN, float, ratio, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImpostorThresholdToBound__float,
|
||||
"Set the Impostor threshold distance relative to the node's bounding sphere's radius. ",
|
||||
"");
|
||||
I_Method2(osgSim::ImpostorSprite *, findBestImpostorSprite, IN, unsigned int, contextID, IN, const osg::Vec3 &, currLocalEyePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__findBestImpostorSprite__unsigned_int__C5_osg_Vec3_R1,
|
||||
"Find the ImposterSprite which fits the current eye point best. ",
|
||||
"");
|
||||
I_Method2(void, addImpostorSprite, IN, unsigned int, contextID, IN, osgSim::ImpostorSprite *, is,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addImpostorSprite__unsigned_int__ImpostorSprite_P1,
|
||||
"Add an ImpostorSprite to the Impostor. ",
|
||||
"");
|
||||
I_Method1(osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSpriteList_R1__getImpostorSpriteList__unsigned_int,
|
||||
"Get the list of ImpostorSprites attached to this Impostor. ",
|
||||
"");
|
||||
I_Method1(const osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ImpostorSpriteList_R1__getImpostorSpriteList__unsigned_int,
|
||||
"Get a const list of ImpostorSprites attached to this const Impostor. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
"Compute the bounding sphere around Node's geometry or children. ",
|
||||
"This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). ");
|
||||
I_SimpleProperty(float, ImpostorThreshold,
|
||||
__float__getImpostorThreshold,
|
||||
__void__setImpostorThreshold__float);
|
||||
@@ -204,180 +120,44 @@ BEGIN_OBJECT_REFLECTOR(osgSim::Impostor)
|
||||
__void__setImpostorThresholdToBound__float);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgSim::ImpostorSprite > >, osgSim::Impostor::ImpostorSpriteList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::Impostor)
|
||||
I_BaseType(osg::LOD);
|
||||
I_BaseType(osg::LOD);
|
||||
I_Constructor0(____Impostor,
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgSim::ImpostorSprite >)
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::Impostor &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Impostor__C5_Impostor_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImpostorThreshold, IN, float, distance,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImpostorThreshold__float,
|
||||
"Set the Impostor threshold distance. ",
|
||||
"For eye points further than this threshold the Imposter is used if appropriate, otherwise the LOD children as chosen as per a standard LOD node.");
|
||||
I_Method0(float, getImpostorThreshold,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getImpostorThreshold,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setImpostorThresholdToBound, IN, float, ratio, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImpostorThresholdToBound__float,
|
||||
"Set the Impostor threshold distance relative to the node's bounding sphere's radius. ",
|
||||
"");
|
||||
I_Method2(osgSim::ImpostorSprite *, findBestImpostorSprite, IN, unsigned int, contextID, IN, const osg::Vec3 &, currLocalEyePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__findBestImpostorSprite__unsigned_int__C5_osg_Vec3_R1,
|
||||
"Find the ImposterSprite which fits the current eye point best. ",
|
||||
"");
|
||||
I_Method2(void, addImpostorSprite, IN, unsigned int, contextID, IN, osgSim::ImpostorSprite *, is,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addImpostorSprite__unsigned_int__ImpostorSprite_P1,
|
||||
"Add an ImpostorSprite to the Impostor. ",
|
||||
"");
|
||||
I_Method1(osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSpriteList_R1__getImpostorSpriteList__unsigned_int,
|
||||
"Get the list of ImpostorSprites attached to this Impostor. ",
|
||||
"");
|
||||
I_Method1(const osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ImpostorSpriteList_R1__getImpostorSpriteList__unsigned_int,
|
||||
"Get a const list of ImpostorSprites attached to this const Impostor. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Impostor,
|
||||
I_Constructor1(IN, osgSim::ImpostorSprite *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::Impostor &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Impostor__C5_Impostor_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImpostorThreshold, IN, float, distance,
|
||||
I_Constructor1(IN, const osg::ref_ptr< osgSim::ImpostorSprite > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::ImpostorSprite *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImpostorThreshold__float,
|
||||
"Set the Impostor threshold distance. ",
|
||||
"For eye points further than this threshold the Imposter is used if appropriate, otherwise the LOD children as chosen as per a standard LOD node.");
|
||||
I_Method0(float, getImpostorThreshold,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getImpostorThreshold,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setImpostorThresholdToBound, IN, float, ratio, 1.0f,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImpostorThresholdToBound__float,
|
||||
"Set the Impostor threshold distance relative to the node's bounding sphere's radius. ",
|
||||
"");
|
||||
I_Method2(osgSim::ImpostorSprite *, findBestImpostorSprite, IN, unsigned int, contextID, IN, const osg::Vec3 &, currLocalEyePoint,
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__findBestImpostorSprite__unsigned_int__C5_osg_Vec3_R1,
|
||||
"Find the ImposterSprite which fits the current eye point best. ",
|
||||
"");
|
||||
I_Method2(void, addImpostorSprite, IN, unsigned int, contextID, IN, osgSim::ImpostorSprite *, is,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addImpostorSprite__unsigned_int__ImpostorSprite_P1,
|
||||
"Add an ImpostorSprite to the Impostor. ",
|
||||
"");
|
||||
I_Method1(osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSpriteList_R1__getImpostorSpriteList__unsigned_int,
|
||||
"Get the list of ImpostorSprites attached to this Impostor. ",
|
||||
"");
|
||||
I_Method1(const osgSim::Impostor::ImpostorSpriteList &, getImpostorSpriteList, IN, unsigned int, contexID,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ImpostorSpriteList_R1__getImpostorSpriteList__unsigned_int,
|
||||
"Get a const list of ImpostorSprites attached to this const Impostor. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, ImpostorThreshold,
|
||||
__float__getImpostorThreshold,
|
||||
__void__setImpostorThreshold__float);
|
||||
I_SimpleProperty(float, ImpostorThresholdToBound,
|
||||
0,
|
||||
__void__setImpostorThresholdToBound__float);
|
||||
I_Method0(osgSim::ImpostorSprite *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osgSim::ImpostorSprite > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgSim::ImpostorSprite *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgSim::ImpostorSprite > >);
|
||||
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingBox.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Matrix.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Texture2D.svn-base>
|
||||
#include <osg/.svn/text-base/Vec2.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/BoundingBox>
|
||||
#include <osg/Camera>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Matrix>
|
||||
#include <osg/Object>
|
||||
#include <osg/PrimitiveSet>
|
||||
#include <osg/State>
|
||||
#include <osg/StateSet>
|
||||
#include <osg/Texture2D>
|
||||
#include <osg/Vec2>
|
||||
#include <osg/Vec3>
|
||||
#include <osgSim/Impostor>
|
||||
#include <osgSim/ImpostorSprite>
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSprite)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____ImpostorSprite,
|
||||
"",
|
||||
@@ -57,13 +56,13 @@ BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSprite)
|
||||
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_Method1(void, setParent, IN, osgSim::Impostor *, parent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParent__Impostor_P1,
|
||||
@@ -197,571 +196,7 @@ BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSprite)
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCamera__osg_Camera_P1,
|
||||
"Set the camera node to use for pre rendering the impostor sprite's texture. ",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCamera,
|
||||
"Get the camera node to use for pre rendering the impostor sprite's texture. ",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCamera,
|
||||
"Get the const camera node to use for pre rendering the impostor sprite's texture. ",
|
||||
"");
|
||||
I_Constructor0(____ImpostorSprite,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone an object of the same type as an ImpostorSprite. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite. ",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParent, IN, osgSim::Impostor *, parent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParent__Impostor_P1,
|
||||
"Set the parent, which must be an Impostor. ",
|
||||
"Unlike conventional Drawables, ImpostorSprites can only ever have one parent.");
|
||||
I_Method0(osgSim::Impostor *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Impostor_P1__getParent,
|
||||
"Get the parent, which is an Impostor. ",
|
||||
"");
|
||||
I_Method0(const osgSim::Impostor *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Impostor_P1__getParent,
|
||||
"Get the const parent, which is an Impostor. ",
|
||||
"");
|
||||
I_Method1(void, setStoredLocalEyePoint, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStoredLocalEyePoint__C5_osg_Vec3_R1,
|
||||
"Set the eye point for when the ImpostorSprite was snapped. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getStoredLocalEyePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getStoredLocalEyePoint,
|
||||
"Get the eye point for when the ImpostorSprite was snapped. ",
|
||||
"");
|
||||
I_Method1(void, setLastFrameUsed, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLastFrameUsed__int,
|
||||
"Set the frame number for when the ImpostorSprite was last used in rendering. ",
|
||||
"");
|
||||
I_Method0(int, getLastFrameUsed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLastFrameUsed,
|
||||
"Get the frame number for when the ImpostorSprite was last used in rendering. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3 *, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3_P1__getCoords,
|
||||
"Get the coordinates of the corners of the quad. ",
|
||||
"Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.");
|
||||
I_Method0(const osg::Vec3 *, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_P1__getCoords,
|
||||
"Get the const coordinates of the corners of the quad. ",
|
||||
"");
|
||||
I_Method0(osg::Vec2 *, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec2_P1__getTexCoords,
|
||||
"Get the texture coordinates of the corners of the quad. ",
|
||||
"Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.");
|
||||
I_Method0(const osg::Vec2 *, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_P1__getTexCoords,
|
||||
"Get the const texture coordinates of the corners of the quad. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3 *, getControlCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3_P1__getControlCoords,
|
||||
"Get the control coordinates of the corners of the quad. ",
|
||||
"The control coordinates are the corners of the quad projected out onto the front face of bounding box which enclosed the impostor geometry when it was pre-rendered into the impostor sprite's texture. At the point of creation/or update of the impostor sprite the control coords will lie on top of the corners of the quad in screen space - with a pixel error of zero. Once the camera moves relative to the impostor sprite the control coords will no longer lie on top of the corners of the quad in screen space - a pixel error will have accumulated. This pixel error can then be used to determine whether the impostor needs to be updated. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.");
|
||||
I_Method0(const osg::Vec3 *, getControlCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_P1__getControlCoords,
|
||||
"Get the const control coordinates of the corners of the quad. ",
|
||||
"");
|
||||
I_Method1(float, calcPixelError, IN, const osg::Matrix &, MVPW,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__calcPixelError__C5_osg_Matrix_R1,
|
||||
"Calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space. ",
|
||||
"");
|
||||
I_Method3(void, setTexture, IN, osg::Texture2D *, tex, IN, int, s, IN, int, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture__osg_Texture2D_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2D *, getTexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Texture2D_P1__getTexture,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2D *, getTexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Texture2D_P1__getTexture,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__s,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__t,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"Draw ImpostorSprite directly. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return true, osg::ImpostorSprite does support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__AttributeFunctor_R1,
|
||||
"Accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::ImpostorSprite does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__ConstAttributeFunctor_R1,
|
||||
"Accept a ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_osg_PrimitiveFunctor_R1,
|
||||
"Return true, osg::ImpostorSprite does support accept(PrimitiveFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_PrimitiveFunctor_R1,
|
||||
"Accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCamera__osg_Camera_P1,
|
||||
"Set the camera node to use for pre rendering the impostor sprite's texture. ",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCamera,
|
||||
"Get the camera node to use for pre rendering the impostor sprite's texture. ",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCamera,
|
||||
"Get the const camera node to use for pre rendering the impostor sprite's texture. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Camera *, Camera,
|
||||
__osg_Camera_P1__getCamera,
|
||||
__void__setCamera__osg_Camera_P1);
|
||||
I_SimpleProperty(osg::Vec3 *, ControlCoords,
|
||||
__osg_Vec3_P1__getControlCoords,
|
||||
0);
|
||||
I_SimpleProperty(osg::Vec3 *, Coords,
|
||||
__osg_Vec3_P1__getCoords,
|
||||
0);
|
||||
I_SimpleProperty(int, LastFrameUsed,
|
||||
__int__getLastFrameUsed,
|
||||
__void__setLastFrameUsed__int);
|
||||
I_SimpleProperty(osgSim::Impostor *, Parent,
|
||||
__Impostor_P1__getParent,
|
||||
__void__setParent__Impostor_P1);
|
||||
I_SimpleProperty(const osg::Vec3 &, StoredLocalEyePoint,
|
||||
__C5_osg_Vec3_R1__getStoredLocalEyePoint,
|
||||
__void__setStoredLocalEyePoint__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osg::Vec2 *, TexCoords,
|
||||
__osg_Vec2_P1__getTexCoords,
|
||||
0);
|
||||
I_SimpleProperty(osg::Texture2D *, Texture,
|
||||
__osg_Texture2D_P1__getTexture,
|
||||
0);
|
||||
I_PublicMemberProperty(osg::Vec4, _color);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSprite)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0(____ImpostorSprite,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone an object of the same type as an ImpostorSprite. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite. ",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParent, IN, osgSim::Impostor *, parent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParent__Impostor_P1,
|
||||
"Set the parent, which must be an Impostor. ",
|
||||
"Unlike conventional Drawables, ImpostorSprites can only ever have one parent.");
|
||||
I_Method0(osgSim::Impostor *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Impostor_P1__getParent,
|
||||
"Get the parent, which is an Impostor. ",
|
||||
"");
|
||||
I_Method0(const osgSim::Impostor *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Impostor_P1__getParent,
|
||||
"Get the const parent, which is an Impostor. ",
|
||||
"");
|
||||
I_Method1(void, setStoredLocalEyePoint, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStoredLocalEyePoint__C5_osg_Vec3_R1,
|
||||
"Set the eye point for when the ImpostorSprite was snapped. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getStoredLocalEyePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getStoredLocalEyePoint,
|
||||
"Get the eye point for when the ImpostorSprite was snapped. ",
|
||||
"");
|
||||
I_Method1(void, setLastFrameUsed, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLastFrameUsed__int,
|
||||
"Set the frame number for when the ImpostorSprite was last used in rendering. ",
|
||||
"");
|
||||
I_Method0(int, getLastFrameUsed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLastFrameUsed,
|
||||
"Get the frame number for when the ImpostorSprite was last used in rendering. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3 *, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3_P1__getCoords,
|
||||
"Get the coordinates of the corners of the quad. ",
|
||||
"Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.");
|
||||
I_Method0(const osg::Vec3 *, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_P1__getCoords,
|
||||
"Get the const coordinates of the corners of the quad. ",
|
||||
"");
|
||||
I_Method0(osg::Vec2 *, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec2_P1__getTexCoords,
|
||||
"Get the texture coordinates of the corners of the quad. ",
|
||||
"Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.");
|
||||
I_Method0(const osg::Vec2 *, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_P1__getTexCoords,
|
||||
"Get the const texture coordinates of the corners of the quad. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3 *, getControlCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3_P1__getControlCoords,
|
||||
"Get the control coordinates of the corners of the quad. ",
|
||||
"The control coordinates are the corners of the quad projected out onto the front face of bounding box which enclosed the impostor geometry when it was pre-rendered into the impostor sprite's texture. At the point of creation/or update of the impostor sprite the control coords will lie on top of the corners of the quad in screen space - with a pixel error of zero. Once the camera moves relative to the impostor sprite the control coords will no longer lie on top of the corners of the quad in screen space - a pixel error will have accumulated. This pixel error can then be used to determine whether the impostor needs to be updated. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.");
|
||||
I_Method0(const osg::Vec3 *, getControlCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_P1__getControlCoords,
|
||||
"Get the const control coordinates of the corners of the quad. ",
|
||||
"");
|
||||
I_Method1(float, calcPixelError, IN, const osg::Matrix &, MVPW,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__calcPixelError__C5_osg_Matrix_R1,
|
||||
"Calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space. ",
|
||||
"");
|
||||
I_Method3(void, setTexture, IN, osg::Texture2D *, tex, IN, int, s, IN, int, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture__osg_Texture2D_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2D *, getTexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Texture2D_P1__getTexture,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2D *, getTexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Texture2D_P1__getTexture,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__s,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__t,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"Draw ImpostorSprite directly. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return true, osg::ImpostorSprite does support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__AttributeFunctor_R1,
|
||||
"Accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::ImpostorSprite does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__ConstAttributeFunctor_R1,
|
||||
"Accept a ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_osg_PrimitiveFunctor_R1,
|
||||
"Return true, osg::ImpostorSprite does support accept(PrimitiveFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_PrimitiveFunctor_R1,
|
||||
"Accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingBox__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCamera__osg_Camera_P1,
|
||||
"Set the camera node to use for pre rendering the impostor sprite's texture. ",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCamera,
|
||||
"Get the camera node to use for pre rendering the impostor sprite's texture. ",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCamera,
|
||||
"Get the const camera node to use for pre rendering the impostor sprite's texture. ",
|
||||
"");
|
||||
I_Constructor0(____ImpostorSprite,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone an object of the same type as an ImpostorSprite. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone on ImpostorSprite just returns a clone of type, since it is not appropriate to share data of an ImpostorSprite. ",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setParent, IN, osgSim::Impostor *, parent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setParent__Impostor_P1,
|
||||
"Set the parent, which must be an Impostor. ",
|
||||
"Unlike conventional Drawables, ImpostorSprites can only ever have one parent.");
|
||||
I_Method0(osgSim::Impostor *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__Impostor_P1__getParent,
|
||||
"Get the parent, which is an Impostor. ",
|
||||
"");
|
||||
I_Method0(const osgSim::Impostor *, getParent,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Impostor_P1__getParent,
|
||||
"Get the const parent, which is an Impostor. ",
|
||||
"");
|
||||
I_Method1(void, setStoredLocalEyePoint, IN, const osg::Vec3 &, v,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStoredLocalEyePoint__C5_osg_Vec3_R1,
|
||||
"Set the eye point for when the ImpostorSprite was snapped. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getStoredLocalEyePoint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getStoredLocalEyePoint,
|
||||
"Get the eye point for when the ImpostorSprite was snapped. ",
|
||||
"");
|
||||
I_Method1(void, setLastFrameUsed, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLastFrameUsed__int,
|
||||
"Set the frame number for when the ImpostorSprite was last used in rendering. ",
|
||||
"");
|
||||
I_Method0(int, getLastFrameUsed,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getLastFrameUsed,
|
||||
"Get the frame number for when the ImpostorSprite was last used in rendering. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3 *, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3_P1__getCoords,
|
||||
"Get the coordinates of the corners of the quad. ",
|
||||
"Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.");
|
||||
I_Method0(const osg::Vec3 *, getCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_P1__getCoords,
|
||||
"Get the const coordinates of the corners of the quad. ",
|
||||
"");
|
||||
I_Method0(osg::Vec2 *, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec2_P1__getTexCoords,
|
||||
"Get the texture coordinates of the corners of the quad. ",
|
||||
"Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.");
|
||||
I_Method0(const osg::Vec2 *, getTexCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec2_P1__getTexCoords,
|
||||
"Get the const texture coordinates of the corners of the quad. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3 *, getControlCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec3_P1__getControlCoords,
|
||||
"Get the control coordinates of the corners of the quad. ",
|
||||
"The control coordinates are the corners of the quad projected out onto the front face of bounding box which enclosed the impostor geometry when it was pre-rendered into the impostor sprite's texture. At the point of creation/or update of the impostor sprite the control coords will lie on top of the corners of the quad in screen space - with a pixel error of zero. Once the camera moves relative to the impostor sprite the control coords will no longer lie on top of the corners of the quad in screen space - a pixel error will have accumulated. This pixel error can then be used to determine whether the impostor needs to be updated. Stored in the order, [0] - top_left, [1] - bottom_left, [2] - bottom_right, [3] - top_left.");
|
||||
I_Method0(const osg::Vec3 *, getControlCoords,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_P1__getControlCoords,
|
||||
"Get the const control coordinates of the corners of the quad. ",
|
||||
"");
|
||||
I_Method1(float, calcPixelError, IN, const osg::Matrix &, MVPW,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__calcPixelError__C5_osg_Matrix_R1,
|
||||
"Calculate the pixel error value for passing in the ModelViewProjectionWindow transform, which transform local coords into screen space. ",
|
||||
"");
|
||||
I_Method3(void, setTexture, IN, osg::Texture2D *, tex, IN, int, s, IN, int, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexture__osg_Texture2D_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Texture2D *, getTexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Texture2D_P1__getTexture,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Texture2D *, getTexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Texture2D_P1__getTexture,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, s,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__s,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, t,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__t,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
Properties::VIRTUAL,
|
||||
__void__drawImplementation__osg_State_R1,
|
||||
"Draw ImpostorSprite directly. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return true, osg::ImpostorSprite does support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__AttributeFunctor_R1,
|
||||
"Accept an AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::ImpostorSprite does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__ConstAttributeFunctor_R1,
|
||||
"Accept a ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__supports__C5_osg_PrimitiveFunctor_R1,
|
||||
"Return true, osg::ImpostorSprite does support accept(PrimitiveFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_PrimitiveFunctor_R1,
|
||||
"Accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingBox__computeBound,
|
||||
"",
|
||||
"Compute the bounding box around Drawables's geometry. ",
|
||||
"");
|
||||
I_Method1(void, setCamera, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -807,141 +242,6 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSpriteManager)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ImpostorSpriteManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, empty,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__empty,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::ImpostorSprite *, first,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__first,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::ImpostorSprite *, last,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__last,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, push_back, IN, osgSim::ImpostorSprite *, is,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__push_back__ImpostorSprite_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, remove, IN, osgSim::ImpostorSprite *, is,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__remove__ImpostorSprite_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(osgSim::ImpostorSprite *, createOrReuseImpostorSprite, IN, int, s, IN, int, t, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__createOrReuseImpostorSprite__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, createOrReuseStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__createOrReuseStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ImpostorSpriteManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, empty,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__empty,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::ImpostorSprite *, first,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__first,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::ImpostorSprite *, last,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__last,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, push_back, IN, osgSim::ImpostorSprite *, is,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__push_back__ImpostorSprite_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, remove, IN, osgSim::ImpostorSprite *, is,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__remove__ImpostorSprite_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(osgSim::ImpostorSprite *, createOrReuseImpostorSprite, IN, int, s, IN, int, t, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__createOrReuseImpostorSprite__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, createOrReuseStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__createOrReuseStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ImpostorSpriteManager)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ImpostorSpriteManager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, empty,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__empty,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::ImpostorSprite *, first,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__first,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::ImpostorSprite *, last,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__last,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, push_back, IN, osgSim::ImpostorSprite *, is,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__push_back__ImpostorSprite_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, remove, IN, osgSim::ImpostorSprite *, is,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__remove__ImpostorSprite_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(osgSim::ImpostorSprite *, createOrReuseImpostorSprite, IN, int, s, IN, int, t, IN, int, frameNumber,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ImpostorSprite_P1__createOrReuseImpostorSprite__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, createOrReuseStateSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_StateSet_P1__createOrReuseStateSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ImpostorSpriteManager,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Group.svn-base>
|
||||
#include <osg/.svn/text-base/LOD.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/Group>
|
||||
#include <osg/LOD>
|
||||
#include <osg/Node>
|
||||
#include <osgSim/InsertImpostorsVisitor>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -24,7 +24,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::InsertImpostorsVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____InsertImpostorsVisitor,
|
||||
"Default to traversing all children. ",
|
||||
@@ -50,162 +49,7 @@ BEGIN_OBJECT_REFLECTOR(osgSim::InsertImpostorsVisitor)
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"Empty visitor, make it ready for next traversal. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, insertImpostors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__insertImpostors,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____InsertImpostorsVisitor,
|
||||
"Default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, setImpostorThresholdRatio, IN, float, ratio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImpostorThresholdRatio__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getImpostorThresholdRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getImpostorThresholdRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumberOfNestedImpostors, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumNumberOfNestedImpostors__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumberOfNestedImpostors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaximumNumberOfNestedImpostors,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"Empty visitor, make it ready for next traversal. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, insertImpostors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__insertImpostors,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(float, ImpostorThresholdRatio,
|
||||
__float__getImpostorThresholdRatio,
|
||||
__void__setImpostorThresholdRatio__float);
|
||||
I_SimpleProperty(unsigned int, MaximumNumberOfNestedImpostors,
|
||||
__unsigned_int__getMaximumNumberOfNestedImpostors,
|
||||
__void__setMaximumNumberOfNestedImpostors__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::InsertImpostorsVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____InsertImpostorsVisitor,
|
||||
"Default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, setImpostorThresholdRatio, IN, float, ratio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImpostorThresholdRatio__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getImpostorThresholdRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getImpostorThresholdRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumberOfNestedImpostors, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumNumberOfNestedImpostors__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumberOfNestedImpostors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaximumNumberOfNestedImpostors,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"Empty visitor, make it ready for next traversal. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, insertImpostors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__insertImpostors,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____InsertImpostorsVisitor,
|
||||
"Default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, setImpostorThresholdRatio, IN, float, ratio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setImpostorThresholdRatio__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getImpostorThresholdRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getImpostorThresholdRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumberOfNestedImpostors, IN, unsigned int, num,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumNumberOfNestedImpostors__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumberOfNestedImpostors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaximumNumberOfNestedImpostors,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"Empty visitor, make it ready for next traversal. ",
|
||||
"");
|
||||
|
||||
@@ -10,12 +10,11 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osgSim/.svn/text-base/LightPoint.svn-base>
|
||||
#include <osgSim/.svn/text-base/Sector.svn-base>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgSim/BlinkSequence>
|
||||
#include <osgSim/LightPoint>
|
||||
#include <osgSim/Sector>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -31,22 +30,6 @@ BEGIN_ENUM_REFLECTOR(osgSim::LightPoint::BlendingMode)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgSim::LightPoint)
|
||||
I_Constructor0(____LightPoint,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, position, IN, const osg::Vec4 &, color,
|
||||
____LightPoint__C5_osg_Vec3_R1__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults8(IN, bool, on, , IN, const osg::Vec3 &, position, , IN, const osg::Vec4 &, color, , IN, float, intensity, 1.0f, IN, float, radius, 1.0f, IN, osgSim::Sector *, sector, 0, IN, osgSim::BlinkSequence *, blinkSequence, 0, IN, osgSim::LightPoint::BlendingMode, blendingMode, osgSim::LightPoint::BLENDED,
|
||||
____LightPoint__bool__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__float__Sector_P1__BlinkSequence_P1__BlendingMode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgSim::LightPoint &, lp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____LightPoint__C5_LightPoint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____LightPoint,
|
||||
"",
|
||||
"");
|
||||
@@ -71,57 +54,5 @@ BEGIN_VALUE_REFLECTOR(osgSim::LightPoint)
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgSim::Sector >, _sector);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgSim::BlinkSequence >, _blinkSequence);
|
||||
I_PublicMemberProperty(osgSim::LightPoint::BlendingMode, _blendingMode);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgSim::Sector >, _sector);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgSim::BlinkSequence >, _blinkSequence);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgSim::LightPoint::BlendingMode)
|
||||
I_EnumLabel(osgSim::LightPoint::ADDITIVE);
|
||||
I_EnumLabel(osgSim::LightPoint::BLENDED);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgSim::LightPoint)
|
||||
I_Constructor0(____LightPoint,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, position, IN, const osg::Vec4 &, color,
|
||||
____LightPoint__C5_osg_Vec3_R1__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults8(IN, bool, on, , IN, const osg::Vec3 &, position, , IN, const osg::Vec4 &, color, , IN, float, intensity, 1.0f, IN, float, radius, 1.0f, IN, osgSim::Sector *, sector, 0, IN, osgSim::BlinkSequence *, blinkSequence, 0, IN, osgSim::LightPoint::BlendingMode, blendingMode, osgSim::LightPoint::BLENDED,
|
||||
____LightPoint__bool__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__float__Sector_P1__BlinkSequence_P1__BlendingMode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgSim::LightPoint &, lp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____LightPoint__C5_LightPoint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____LightPoint,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, position, IN, const osg::Vec4 &, color,
|
||||
____LightPoint__C5_osg_Vec3_R1__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults8(IN, bool, on, , IN, const osg::Vec3 &, position, , IN, const osg::Vec4 &, color, , IN, float, intensity, 1.0f, IN, float, radius, 1.0f, IN, osgSim::Sector *, sector, 0, IN, osgSim::BlinkSequence *, blinkSequence, 0, IN, osgSim::LightPoint::BlendingMode, blendingMode, osgSim::LightPoint::BLENDED,
|
||||
____LightPoint__bool__C5_osg_Vec3_R1__C5_osg_Vec4_R1__float__float__Sector_P1__BlinkSequence_P1__BlendingMode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osgSim::LightPoint &, lp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____LightPoint__C5_LightPoint_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(bool, _on);
|
||||
I_PublicMemberProperty(osg::Vec3, _position);
|
||||
I_PublicMemberProperty(osg::Vec4, _color);
|
||||
I_PublicMemberProperty(float, _intensity);
|
||||
I_PublicMemberProperty(float, _radius);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgSim::Sector >, _sector);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgSim::BlinkSequence >, _blinkSequence);
|
||||
I_PublicMemberProperty(osgSim::LightPoint::BlendingMode, _blendingMode);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgSim::Sector >, _sector);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osgSim::BlinkSequence >, _blinkSequence);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,11 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/BoundingSphere.svn-base>
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osgSim/.svn/text-base/LightPointNode.svn-base>
|
||||
#include <osg/BoundingSphere>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgSim/LightPoint>
|
||||
#include <osgSim/LightPointNode>
|
||||
#include <osgSim/LightPointSystem>
|
||||
@@ -30,7 +29,6 @@
|
||||
TYPE_NAME_ALIAS(std::vector< osgSim::LightPoint >, osgSim::LightPointNode::LightPointList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::LightPointNode)
|
||||
I_BaseType(osg::Node);
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0(____LightPointNode,
|
||||
"",
|
||||
@@ -42,37 +40,37 @@ BEGIN_OBJECT_REFLECTOR(osgSim::LightPointNode)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumLightPoints,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -167,145 +165,8 @@ BEGIN_OBJECT_REFLECTOR(osgSim::LightPointNode)
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____LightPointNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::LightPointNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LightPointNode__C5_LightPointNode_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumLightPoints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumLightPoints,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, addLightPoint, IN, const osgSim::LightPoint &, lp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addLightPoint__C5_LightPoint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeLightPoint, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeLightPoint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LightPoint_R1__getLightPoint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LightPoint_R1__getLightPoint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightPointList, IN, const osgSim::LightPointNode::LightPointList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLightPointList__C5_LightPointList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::LightPointNode::LightPointList &, getLightPointList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LightPointList_R1__getLightPointList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgSim::LightPointNode::LightPointList &, getLightPointList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LightPointList_R1__getLightPointList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinPixelSize, IN, float, minPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinPixelSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinPixelSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxPixelSize, IN, float, maxPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxPixelSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxPixelSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxVisibleDistance2, IN, float, maxVisibleDistance2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxVisibleDistance2__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxVisibleDistance2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxVisibleDistance2,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightPointSystem, IN, osgSim::LightPointSystem *, lps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLightPointSystem__osgSim_LightPointSystem_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::LightPointSystem *, getLightPointSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgSim_LightPointSystem_P1__getLightPointSystem,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setPointSprite, IN, bool, enable, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPointSprite__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getPointSprite,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPointSprite,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
"Compute the bounding sphere around Node's geometry or children. ",
|
||||
"This method is automatically called by getBound() when the bounding sphere has been marked dirty via dirtyBound(). ");
|
||||
I_ArrayProperty(const osgSim::LightPoint &, LightPoint,
|
||||
__C5_LightPoint_R1__getLightPoint__unsigned_int,
|
||||
0,
|
||||
@@ -333,309 +194,5 @@ BEGIN_OBJECT_REFLECTOR(osgSim::LightPointNode)
|
||||
__void__setPointSprite__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgSim::LightPoint >, osgSim::LightPointNode::LightPointList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::LightPointNode)
|
||||
I_BaseType(osg::Node);
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0(____LightPointNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::LightPointNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LightPointNode__C5_LightPointNode_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumLightPoints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumLightPoints,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, addLightPoint, IN, const osgSim::LightPoint &, lp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addLightPoint__C5_LightPoint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeLightPoint, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeLightPoint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LightPoint_R1__getLightPoint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LightPoint_R1__getLightPoint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightPointList, IN, const osgSim::LightPointNode::LightPointList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLightPointList__C5_LightPointList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::LightPointNode::LightPointList &, getLightPointList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LightPointList_R1__getLightPointList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgSim::LightPointNode::LightPointList &, getLightPointList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LightPointList_R1__getLightPointList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinPixelSize, IN, float, minPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinPixelSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinPixelSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxPixelSize, IN, float, maxPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxPixelSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxPixelSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxVisibleDistance2, IN, float, maxVisibleDistance2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxVisibleDistance2__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxVisibleDistance2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxVisibleDistance2,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightPointSystem, IN, osgSim::LightPointSystem *, lps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLightPointSystem__osgSim_LightPointSystem_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::LightPointSystem *, getLightPointSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgSim_LightPointSystem_P1__getLightPointSystem,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setPointSprite, IN, bool, enable, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPointSprite__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getPointSprite,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPointSprite,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____LightPointNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::LightPointNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LightPointNode__C5_LightPointNode_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumLightPoints,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumLightPoints,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, addLightPoint, IN, const osgSim::LightPoint &, lp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addLightPoint__C5_LightPoint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeLightPoint, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__removeLightPoint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LightPoint_R1__getLightPoint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgSim::LightPoint &, getLightPoint, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LightPoint_R1__getLightPoint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightPointList, IN, const osgSim::LightPointNode::LightPointList &, lpl,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLightPointList__C5_LightPointList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::LightPointNode::LightPointList &, getLightPointList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LightPointList_R1__getLightPointList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgSim::LightPointNode::LightPointList &, getLightPointList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_LightPointList_R1__getLightPointList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinPixelSize, IN, float, minPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMinPixelSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMinPixelSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxPixelSize, IN, float, maxPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxPixelSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxPixelSize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxPixelSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxVisibleDistance2, IN, float, maxVisibleDistance2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaxVisibleDistance2__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxVisibleDistance2,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMaxVisibleDistance2,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightPointSystem, IN, osgSim::LightPointSystem *, lps,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setLightPointSystem__osgSim_LightPointSystem_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::LightPointSystem *, getLightPointSystem,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgSim_LightPointSystem_P1__getLightPointSystem,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setPointSprite, IN, bool, enable, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPointSprite__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getPointSprite,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getPointSprite,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
Properties::VIRTUAL,
|
||||
__osg_BoundingSphere__computeBound,
|
||||
"",
|
||||
"");
|
||||
I_ArrayProperty(const osgSim::LightPoint &, LightPoint,
|
||||
__C5_LightPoint_R1__getLightPoint__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumLightPoints,
|
||||
__unsigned_int__addLightPoint__C5_LightPoint_R1,
|
||||
0,
|
||||
__void__removeLightPoint__unsigned_int);
|
||||
I_SimpleProperty(const osgSim::LightPointNode::LightPointList &, LightPointList,
|
||||
__C5_LightPointList_R1__getLightPointList,
|
||||
__void__setLightPointList__C5_LightPointList_R1);
|
||||
I_SimpleProperty(osgSim::LightPointSystem *, LightPointSystem,
|
||||
__osgSim_LightPointSystem_P1__getLightPointSystem,
|
||||
__void__setLightPointSystem__osgSim_LightPointSystem_P1);
|
||||
I_SimpleProperty(float, MaxPixelSize,
|
||||
__float__getMaxPixelSize,
|
||||
__void__setMaxPixelSize__float);
|
||||
I_SimpleProperty(float, MaxVisibleDistance2,
|
||||
__float__getMaxVisibleDistance2,
|
||||
__void__setMaxVisibleDistance2__float);
|
||||
I_SimpleProperty(float, MinPixelSize,
|
||||
__float__getMinPixelSize,
|
||||
__void__setMinPixelSize__float);
|
||||
I_SimpleProperty(bool, PointSprite,
|
||||
__bool__getPointSprite,
|
||||
__void__setPointSprite__bool);
|
||||
END_REFLECTOR
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgSim::LightPoint >);
|
||||
|
||||
|
||||
@@ -10,9 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osgSim/.svn/text-base/LightPointSystem.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Object>
|
||||
#include <osgSim/LightPointSystem>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -30,7 +29,6 @@ BEGIN_ENUM_REFLECTOR(osgSim::LightPointSystem::AnimationState)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::LightPointSystem)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____LightPointSystem,
|
||||
"",
|
||||
@@ -42,13 +40,13 @@ BEGIN_OBJECT_REFLECTOR(osgSim::LightPointSystem)
|
||||
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 &, copyop,
|
||||
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,
|
||||
@@ -57,186 +55,13 @@ BEGIN_OBJECT_REFLECTOR(osgSim::LightPointSystem)
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getIntensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAnimationState, IN, osgSim::LightPointSystem::AnimationState, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnimationState__LightPointSystem_AnimationState,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::LightPointSystem::AnimationState, getAnimationState,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LightPointSystem_AnimationState__getAnimationState,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____LightPointSystem,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::LightPointSystem &, lps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LightPointSystem__C5_LightPointSystem_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getIntensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAnimationState, IN, osgSim::LightPointSystem::AnimationState, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnimationState__LightPointSystem_AnimationState,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::LightPointSystem::AnimationState, getAnimationState,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LightPointSystem_AnimationState__getAnimationState,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgSim::LightPointSystem::AnimationState, AnimationState,
|
||||
__LightPointSystem_AnimationState__getAnimationState,
|
||||
__void__setAnimationState__LightPointSystem_AnimationState);
|
||||
I_SimpleProperty(float, Intensity,
|
||||
__float__getIntensity,
|
||||
__void__setIntensity__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgSim::LightPointSystem::AnimationState)
|
||||
I_EnumLabel(osgSim::LightPointSystem::ANIMATION_ON);
|
||||
I_EnumLabel(osgSim::LightPointSystem::ANIMATION_OFF);
|
||||
I_EnumLabel(osgSim::LightPointSystem::ANIMATION_RANDOM);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::LightPointSystem)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0(____LightPointSystem,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::LightPointSystem &, lps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LightPointSystem__C5_LightPointSystem_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getIntensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAnimationState, IN, osgSim::LightPointSystem::AnimationState, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAnimationState__LightPointSystem_AnimationState,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgSim::LightPointSystem::AnimationState, getAnimationState,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LightPointSystem_AnimationState__getAnimationState,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____LightPointSystem,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::LightPointSystem &, lps, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LightPointSystem__C5_LightPointSystem_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
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,
|
||||
"",
|
||||
"");
|
||||
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_Method1(void, setIntensity, IN, float, intensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setIntensity__float,
|
||||
|
||||
@@ -10,9 +10,8 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/Node>
|
||||
#include <osg/Vec3d>
|
||||
#include <osgSim/.svn/text-base/LineOfSight.svn-base>
|
||||
#include <osgSim/LineOfSight>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -25,99 +24,6 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::DatabaseCacheReadCallback)
|
||||
I_BaseType(osgUtil::IntersectionVisitor::ReadCallback);
|
||||
I_BaseType(osgUtil::IntersectionVisitor::ReadCallback);
|
||||
I_Constructor0(____DatabaseCacheReadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumOfFilesToCache, IN, unsigned int, maxNumFilesToCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumNumOfFilesToCache__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumOfFilesToCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaximumNumOfFilesToCache,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pruneUnusedDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pruneUnusedDatabaseCache,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Node *, readNodeFile, IN, const std::string &, filename,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__readNodeFile__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____DatabaseCacheReadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumOfFilesToCache, IN, unsigned int, maxNumFilesToCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumNumOfFilesToCache__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumOfFilesToCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaximumNumOfFilesToCache,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pruneUnusedDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pruneUnusedDatabaseCache,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Node *, readNodeFile, IN, const std::string &, filename,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__readNodeFile__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(unsigned int, MaximumNumOfFilesToCache,
|
||||
__unsigned_int__getMaximumNumOfFilesToCache,
|
||||
__void__setMaximumNumOfFilesToCache__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::DatabaseCacheReadCallback)
|
||||
I_BaseType(osgUtil::IntersectionVisitor::ReadCallback);
|
||||
I_BaseType(osgUtil::IntersectionVisitor::ReadCallback);
|
||||
I_Constructor0(____DatabaseCacheReadCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumOfFilesToCache, IN, unsigned int, maxNumFilesToCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setMaximumNumOfFilesToCache__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumOfFilesToCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getMaximumNumOfFilesToCache,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pruneUnusedDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__pruneUnusedDatabaseCache,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Node *, readNodeFile, IN, const std::string &, filename,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Node_P1__readNodeFile__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____DatabaseCacheReadCallback,
|
||||
"",
|
||||
"");
|
||||
@@ -217,223 +123,6 @@ BEGIN_VALUE_REFLECTOR(osgSim::LineOfSight)
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_Constructor0(____LineOfSight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clear,
|
||||
"Clear the internal LOS List so it contains no line of sight tests. ",
|
||||
"");
|
||||
I_Method2(unsigned int, addLOS, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addLOS__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
|
||||
"Add a line of sight test, consisting of start and end point. ",
|
||||
"Returns the index number of the newly adding LOS test. ");
|
||||
I_Method0(unsigned int, getNumLOS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumLOS,
|
||||
"Get the number of line of sight tests. ",
|
||||
"");
|
||||
I_Method2(void, setStartPoint, IN, unsigned int, i, IN, const osg::Vec3d &, start,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
"Set the start point of signel line of sight test. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3d &, getStartPoint, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getStartPoint__unsigned_int,
|
||||
"Get the start point of single line of sight test. ",
|
||||
"");
|
||||
I_Method2(void, setEndPoint, IN, unsigned int, i, IN, const osg::Vec3d &, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
"Set the end point of single line of sight test. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3d &, getEndPoint, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getEndPoint__unsigned_int,
|
||||
"Get the end point of single line of sight test. ",
|
||||
"");
|
||||
I_Method1(const osgSim::LineOfSight::Intersections &, getIntersections, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Intersections_R1__getIntersections__unsigned_int,
|
||||
"Get the intersection points for a single line of sight test. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeIntersections__osg_Node_P1__osg_Node_NodeMask,
|
||||
"Compute the LOS intersections with the specified scene graph. ",
|
||||
"The results are all stored in the form of Intersections list, one per LOS test. ");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"Clear the database cache. ",
|
||||
"");
|
||||
I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1,
|
||||
"Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"Note, if you have mulitple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. ");
|
||||
I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults4(osgSim::LineOfSight::Intersections, computeIntersections, IN, osg::Node *, scene, , IN, const osg::Vec3d &, start, , IN, const osg::Vec3d &, end, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__Intersections__computeIntersections__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the intersection between the specified scene graph and a single LOS start,end pair. ",
|
||||
"Returns an IntersectionList, of all the points intersected. ");
|
||||
I_StaticMethodWithDefaults4(osgSim::LineOfSight::Intersections, computeIntersections, IN, osg::Node *, scene, , IN, const osg::Vec3d &, start, , IN, const osg::Vec3d &, end, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__Intersections__computeIntersections__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the intersection between the specified scene graph and a single LOS start,end pair. ",
|
||||
"Returns an IntersectionList, of all the points intersected. ");
|
||||
I_SimpleProperty(osgSim::DatabaseCacheReadCallback *, DatabaseCacheReadCallback,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1);
|
||||
I_IndexedProperty(const osg::Vec3d &, EndPoint,
|
||||
__C5_osg_Vec3d_R1__getEndPoint__unsigned_int,
|
||||
__void__setEndPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
0);
|
||||
I_IndexedProperty(const osg::Vec3d &, StartPoint,
|
||||
__C5_osg_Vec3d_R1__getStartPoint__unsigned_int,
|
||||
__void__setStartPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec3d >, osgSim::LineOfSight::Intersections);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgSim::LineOfSight)
|
||||
I_Constructor0(____LineOfSight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clear,
|
||||
"Clear the internal LOS List so it contains no line of sight tests. ",
|
||||
"");
|
||||
I_Method2(unsigned int, addLOS, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addLOS__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
|
||||
"Add a line of sight test, consisting of start and end point. ",
|
||||
"Returns the index number of the newly adding LOS test. ");
|
||||
I_Method0(unsigned int, getNumLOS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumLOS,
|
||||
"Get the number of line of sight tests. ",
|
||||
"");
|
||||
I_Method2(void, setStartPoint, IN, unsigned int, i, IN, const osg::Vec3d &, start,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
"Set the start point of signel line of sight test. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3d &, getStartPoint, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getStartPoint__unsigned_int,
|
||||
"Get the start point of single line of sight test. ",
|
||||
"");
|
||||
I_Method2(void, setEndPoint, IN, unsigned int, i, IN, const osg::Vec3d &, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
"Set the end point of single line of sight test. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3d &, getEndPoint, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getEndPoint__unsigned_int,
|
||||
"Get the end point of single line of sight test. ",
|
||||
"");
|
||||
I_Method1(const osgSim::LineOfSight::Intersections &, getIntersections, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Intersections_R1__getIntersections__unsigned_int,
|
||||
"Get the intersection points for a single line of sight test. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeIntersections__osg_Node_P1__osg_Node_NodeMask,
|
||||
"Compute the LOS intersections with the specified scene graph. ",
|
||||
"The results are all stored in the form of Intersections list, one per LOS test. ");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"Clear the database cache. ",
|
||||
"");
|
||||
I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1,
|
||||
"Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"Note, if you have mulitple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. ");
|
||||
I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_Constructor0(____LineOfSight,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clear,
|
||||
"Clear the internal LOS List so it contains no line of sight tests. ",
|
||||
"");
|
||||
I_Method2(unsigned int, addLOS, IN, const osg::Vec3d &, start, IN, const osg::Vec3d &, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__addLOS__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1,
|
||||
"Add a line of sight test, consisting of start and end point. ",
|
||||
"Returns the index number of the newly adding LOS test. ");
|
||||
I_Method0(unsigned int, getNumLOS,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumLOS,
|
||||
"Get the number of line of sight tests. ",
|
||||
"");
|
||||
I_Method2(void, setStartPoint, IN, unsigned int, i, IN, const osg::Vec3d &, start,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
"Set the start point of signel line of sight test. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3d &, getStartPoint, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getStartPoint__unsigned_int,
|
||||
"Get the start point of single line of sight test. ",
|
||||
"");
|
||||
I_Method2(void, setEndPoint, IN, unsigned int, i, IN, const osg::Vec3d &, end,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndPoint__unsigned_int__C5_osg_Vec3d_R1,
|
||||
"Set the end point of single line of sight test. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3d &, getEndPoint, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3d_R1__getEndPoint__unsigned_int,
|
||||
"Get the end point of single line of sight test. ",
|
||||
"");
|
||||
I_Method1(const osgSim::LineOfSight::Intersections &, getIntersections, IN, unsigned int, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_Intersections_R1__getIntersections__unsigned_int,
|
||||
"Get the intersection points for a single line of sight test. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, computeIntersections, IN, osg::Node *, scene, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__computeIntersections__osg_Node_P1__osg_Node_NodeMask,
|
||||
"Compute the LOS intersections with the specified scene graph. ",
|
||||
"The results are all stored in the form of Intersections list, one per LOS test. ");
|
||||
I_Method0(void, clearDatabaseCache,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__clearDatabaseCache,
|
||||
"Clear the database cache. ",
|
||||
"");
|
||||
I_Method1(void, setDatabaseCacheReadCallback, IN, osgSim::DatabaseCacheReadCallback *, dcrc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabaseCacheReadCallback__DatabaseCacheReadCallback_P1,
|
||||
"Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"Note, if you have mulitple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single DatabaseCacheReadCallback between all of them. ");
|
||||
I_Method0(osgSim::DatabaseCacheReadCallback *, getDatabaseCacheReadCallback,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DatabaseCacheReadCallback_P1__getDatabaseCacheReadCallback,
|
||||
"Get the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs. ",
|
||||
"");
|
||||
I_StaticMethodWithDefaults4(osgSim::LineOfSight::Intersections, computeIntersections, IN, osg::Node *, scene, , IN, const osg::Vec3d &, start, , IN, const osg::Vec3d &, end, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__Intersections__computeIntersections__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the intersection between the specified scene graph and a single LOS start,end pair. ",
|
||||
"Returns an IntersectionList, of all the points intersected. ");
|
||||
I_StaticMethodWithDefaults4(osgSim::LineOfSight::Intersections, computeIntersections, IN, osg::Node *, scene, , IN, const osg::Vec3d &, start, , IN, const osg::Vec3d &, end, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
__Intersections__computeIntersections__osg_Node_P1__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__osg_Node_NodeMask_S,
|
||||
"Compute the intersection between the specified scene graph and a single LOS start,end pair. ",
|
||||
|
||||
@@ -10,11 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osgSim/.svn/text-base/MultiSwitch.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgSim/MultiSwitch>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -30,7 +29,6 @@ TYPE_NAME_ALIAS(std::vector< bool >, osgSim::MultiSwitch::ValueList);
|
||||
TYPE_NAME_ALIAS(std::vector< osgSim::MultiSwitch::ValueList >, osgSim::MultiSwitch::SwitchSetList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::MultiSwitch)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____MultiSwitch,
|
||||
"",
|
||||
@@ -42,37 +40,37 @@ BEGIN_OBJECT_REFLECTOR(osgSim::MultiSwitch)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -87,150 +85,18 @@ BEGIN_OBJECT_REFLECTOR(osgSim::MultiSwitch)
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__osg_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_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
"Insert Node to Group at specific location. ",
|
||||
"The new child node is inserted into the child list before the node at the specified index. No nodes are removed from the group with this operation.");
|
||||
I_Method1(bool, removeChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChild__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setValue, IN, unsigned int, switchSet, IN, unsigned int, pos, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__unsigned_int__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getValue, IN, unsigned int, switchSet, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getValue__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setChildValue__C5_osg_Node_P1__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getChildValue__C5_osg_Node_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setAllChildrenOff, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOff__unsigned_int,
|
||||
"Set all the children off (false), and set the new default child value to off (false). ",
|
||||
"");
|
||||
I_Method1(bool, setAllChildrenOn, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOn__unsigned_int,
|
||||
"Set all the children on (true), and set the new default child value to on (true). ",
|
||||
"");
|
||||
I_Method2(bool, setSingleChildOn, IN, unsigned int, switchSet, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setSingleChildOn__unsigned_int__unsigned_int,
|
||||
"Set a single child to be on, MultiSwitch off all other children. ",
|
||||
"");
|
||||
I_Method1(void, setActiveSwitchSet, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setActiveSwitchSet__unsigned_int,
|
||||
"Set which of the available switch set lists to use. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getActiveSwitchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getActiveSwitchSet,
|
||||
"Get which of the available switch set lists to use. ",
|
||||
"");
|
||||
I_Method1(void, setSwitchSetList, IN, const osgSim::MultiSwitch::SwitchSetList &, switchSetList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSwitchSetList__C5_SwitchSetList_R1,
|
||||
"Set the compile set of different values. ",
|
||||
"");
|
||||
I_Method0(const osgSim::MultiSwitch::SwitchSetList &, getSwitchSetList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SwitchSetList_R1__getSwitchSetList,
|
||||
"Get the compile set of different values. ",
|
||||
"");
|
||||
I_Method2(void, setValueList, IN, unsigned int, switchSet, IN, const osgSim::MultiSwitch::ValueList &, values,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValueList__unsigned_int__C5_ValueList_R1,
|
||||
"Set the a single set of different values for a particular switch set. ",
|
||||
"");
|
||||
I_Method1(const osgSim::MultiSwitch::ValueList &, getValueList, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ValueList_R1__getValueList__unsigned_int,
|
||||
"Get the a single set of different values for a particular switch set. ",
|
||||
"");
|
||||
I_Constructor0(____MultiSwitch,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::MultiSwitch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____MultiSwitch__C5_MultiSwitch_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNewChildDefaultValue__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getNewChildDefaultValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getNewChildDefaultValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChild__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
"Remove Node from Group. ",
|
||||
"If Node is contained in Group then remove it from the child list, decrement its reference count, and dirty the bounding sphere to force it to recompute on next getBound() and return true for success. If Node is not found then return false and do not change the reference count of the Node. Note, do not override, only override removeChildren(,) is required.");
|
||||
I_Method3(void, setValue, IN, unsigned int, switchSet, IN, unsigned int, pos, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__unsigned_int__unsigned_int__bool,
|
||||
@@ -325,303 +191,5 @@ BEGIN_OBJECT_REFLECTOR(osgSim::MultiSwitch)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< bool >, osgSim::MultiSwitch::ValueList);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgSim::MultiSwitch::ValueList >, osgSim::MultiSwitch::SwitchSetList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::MultiSwitch)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____MultiSwitch,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::MultiSwitch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____MultiSwitch__C5_MultiSwitch_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNewChildDefaultValue__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getNewChildDefaultValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getNewChildDefaultValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChild__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setValue, IN, unsigned int, switchSet, IN, unsigned int, pos, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__unsigned_int__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getValue, IN, unsigned int, switchSet, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getValue__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setChildValue__C5_osg_Node_P1__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getChildValue__C5_osg_Node_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setAllChildrenOff, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOff__unsigned_int,
|
||||
"Set all the children off (false), and set the new default child value to off (false). ",
|
||||
"");
|
||||
I_Method1(bool, setAllChildrenOn, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOn__unsigned_int,
|
||||
"Set all the children on (true), and set the new default child value to on (true). ",
|
||||
"");
|
||||
I_Method2(bool, setSingleChildOn, IN, unsigned int, switchSet, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setSingleChildOn__unsigned_int__unsigned_int,
|
||||
"Set a single child to be on, MultiSwitch off all other children. ",
|
||||
"");
|
||||
I_Method1(void, setActiveSwitchSet, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setActiveSwitchSet__unsigned_int,
|
||||
"Set which of the available switch set lists to use. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getActiveSwitchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getActiveSwitchSet,
|
||||
"Get which of the available switch set lists to use. ",
|
||||
"");
|
||||
I_Method1(void, setSwitchSetList, IN, const osgSim::MultiSwitch::SwitchSetList &, switchSetList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSwitchSetList__C5_SwitchSetList_R1,
|
||||
"Set the compile set of different values. ",
|
||||
"");
|
||||
I_Method0(const osgSim::MultiSwitch::SwitchSetList &, getSwitchSetList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SwitchSetList_R1__getSwitchSetList,
|
||||
"Get the compile set of different values. ",
|
||||
"");
|
||||
I_Method2(void, setValueList, IN, unsigned int, switchSet, IN, const osgSim::MultiSwitch::ValueList &, values,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValueList__unsigned_int__C5_ValueList_R1,
|
||||
"Set the a single set of different values for a particular switch set. ",
|
||||
"");
|
||||
I_Method1(const osgSim::MultiSwitch::ValueList &, getValueList, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ValueList_R1__getValueList__unsigned_int,
|
||||
"Get the a single set of different values for a particular switch set. ",
|
||||
"");
|
||||
I_Constructor0(____MultiSwitch,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::MultiSwitch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____MultiSwitch__C5_MultiSwitch_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNewChildDefaultValue__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getNewChildDefaultValue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getNewChildDefaultValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__addChild__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__insertChild__unsigned_int__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeChild, IN, osg::Node *, child,
|
||||
Properties::VIRTUAL,
|
||||
__bool__removeChild__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setValue, IN, unsigned int, switchSet, IN, unsigned int, pos, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValue__unsigned_int__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getValue, IN, unsigned int, switchSet, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getValue__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet, IN, bool, value,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setChildValue__C5_osg_Node_P1__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getChildValue, IN, const osg::Node *, child, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getChildValue__C5_osg_Node_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setAllChildrenOff, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOff__unsigned_int,
|
||||
"Set all the children off (false), and set the new default child value to off (false). ",
|
||||
"");
|
||||
I_Method1(bool, setAllChildrenOn, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setAllChildrenOn__unsigned_int,
|
||||
"Set all the children on (true), and set the new default child value to on (true). ",
|
||||
"");
|
||||
I_Method2(bool, setSingleChildOn, IN, unsigned int, switchSet, IN, unsigned int, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__setSingleChildOn__unsigned_int__unsigned_int,
|
||||
"Set a single child to be on, MultiSwitch off all other children. ",
|
||||
"");
|
||||
I_Method1(void, setActiveSwitchSet, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setActiveSwitchSet__unsigned_int,
|
||||
"Set which of the available switch set lists to use. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getActiveSwitchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getActiveSwitchSet,
|
||||
"Get which of the available switch set lists to use. ",
|
||||
"");
|
||||
I_Method1(void, setSwitchSetList, IN, const osgSim::MultiSwitch::SwitchSetList &, switchSetList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSwitchSetList__C5_SwitchSetList_R1,
|
||||
"Set the compile set of different values. ",
|
||||
"");
|
||||
I_Method0(const osgSim::MultiSwitch::SwitchSetList &, getSwitchSetList,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_SwitchSetList_R1__getSwitchSetList,
|
||||
"Get the compile set of different values. ",
|
||||
"");
|
||||
I_Method2(void, setValueList, IN, unsigned int, switchSet, IN, const osgSim::MultiSwitch::ValueList &, values,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setValueList__unsigned_int__C5_ValueList_R1,
|
||||
"Set the a single set of different values for a particular switch set. ",
|
||||
"");
|
||||
I_Method1(const osgSim::MultiSwitch::ValueList &, getValueList, IN, unsigned int, switchSet,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ValueList_R1__getValueList__unsigned_int,
|
||||
"Get the a single set of different values for a particular switch set. ",
|
||||
"");
|
||||
I_SimpleProperty(unsigned int, ActiveSwitchSet,
|
||||
__unsigned_int__getActiveSwitchSet,
|
||||
__void__setActiveSwitchSet__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, AllChildrenOff,
|
||||
0,
|
||||
__bool__setAllChildrenOff__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, AllChildrenOn,
|
||||
0,
|
||||
__bool__setAllChildrenOn__unsigned_int);
|
||||
I_IndexedProperty(bool, ChildValue,
|
||||
__bool__getChildValue__C5_osg_Node_P1__unsigned_int,
|
||||
__void__setChildValue__C5_osg_Node_P1__unsigned_int__bool,
|
||||
0);
|
||||
I_SimpleProperty(bool, NewChildDefaultValue,
|
||||
__bool__getNewChildDefaultValue,
|
||||
__void__setNewChildDefaultValue__bool);
|
||||
I_SimpleProperty(const osgSim::MultiSwitch::SwitchSetList &, SwitchSetList,
|
||||
__C5_SwitchSetList_R1__getSwitchSetList,
|
||||
__void__setSwitchSetList__C5_SwitchSetList_R1);
|
||||
I_IndexedProperty(bool, Value,
|
||||
__bool__getValue__unsigned_int__unsigned_int,
|
||||
__void__setValue__unsigned_int__unsigned_int__bool,
|
||||
0);
|
||||
I_IndexedProperty(const osgSim::MultiSwitch::ValueList &, ValueList,
|
||||
__C5_ValueList_R1__getValueList__unsigned_int,
|
||||
__void__setValueList__unsigned_int__C5_ValueList_R1,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgSim::MultiSwitch::ValueList >);
|
||||
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Group.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/Geode>
|
||||
#include <osg/Group>
|
||||
#include <osg/Node>
|
||||
#include <osgSim/OpenFlightOptimizer>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -45,90 +45,10 @@ BEGIN_VALUE_REFLECTOR(osgFlightUtil::Optimizer)
|
||||
__void__optimize__osg_Node_P1__unsigned_int,
|
||||
"Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. ",
|
||||
"");
|
||||
I_Constructor0(____Optimizer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, optimize, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__optimize__osg_Node_P1,
|
||||
"Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. ",
|
||||
"");
|
||||
I_Method2(void, optimize, IN, osg::Node *, node, IN, unsigned int, options,
|
||||
Properties::VIRTUAL,
|
||||
__void__optimize__osg_Node_P1__unsigned_int,
|
||||
"Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgFlightUtil::Optimizer::OptimizationOptions)
|
||||
I_EnumLabel(osgFlightUtil::Optimizer::TESSELLATE_POLYGON);
|
||||
I_EnumLabel(osgFlightUtil::Optimizer::MERGE_GEODES);
|
||||
I_EnumLabel(osgFlightUtil::Optimizer::MAKE_LIT);
|
||||
I_EnumLabel(osgFlightUtil::Optimizer::DEFAULT_OPTIMIZATIONS);
|
||||
I_EnumLabel(osgFlightUtil::Optimizer::ALL_OPTIMIZATIONS);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgFlightUtil::Optimizer)
|
||||
I_Constructor0(____Optimizer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, optimize, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__optimize__osg_Node_P1,
|
||||
"Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. ",
|
||||
"");
|
||||
I_Method2(void, optimize, IN, osg::Node *, node, IN, unsigned int, options,
|
||||
Properties::VIRTUAL,
|
||||
__void__optimize__osg_Node_P1__unsigned_int,
|
||||
"Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. ",
|
||||
"");
|
||||
I_Constructor0(____Optimizer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, optimize, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__optimize__osg_Node_P1,
|
||||
"Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. ",
|
||||
"");
|
||||
I_Method2(void, optimize, IN, osg::Node *, node, IN, unsigned int, options,
|
||||
Properties::VIRTUAL,
|
||||
__void__optimize__osg_Node_P1__unsigned_int,
|
||||
"Traverse the node and its subgraph with a series of optimization visitors, specified by the OptimizationOptions. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::MakeLitVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____MakeLitVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____MakeLitVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::MakeLitVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____MakeLitVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____MakeLitVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
@@ -141,20 +61,6 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::MergeGeodesVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____MergeGeodesVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, group,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, mergeGeodes, IN, osg::Group &, group,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mergeGeodes__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____MergeGeodesVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
@@ -170,33 +76,14 @@ BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::MergeGeodesVisitor)
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::MergeGeodesVisitor)
|
||||
BEGIN_OBJECT_REFLECTOR(osgFlightUtil::Optimizer::TessellateVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_Constructor0(____MergeGeodesVisitor,
|
||||
I_Constructor0(____TessellateVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, group,
|
||||
I_Method1(void, apply, IN, osg::Geode &, geode,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, mergeGeodes, IN, osg::Group &, group,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mergeGeodes__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____MergeGeodesVisitor,
|
||||
"default to traversing all children. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, group,
|
||||
Properties::VIRTUAL,
|
||||
__void__apply__osg_Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, mergeGeodes, IN, osg::Group &, group,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__mergeGeodes__osg_Group_R1,
|
||||
__void__apply__osg_Geode_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/State>
|
||||
#include <osg/Vec4>
|
||||
#include <osgSim/OverlayNode>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -28,7 +28,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::OverlayNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____OverlayNode,
|
||||
"",
|
||||
@@ -40,477 +39,37 @@ BEGIN_OBJECT_REFLECTOR(osgSim::OverlayNode)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOverlaySubgraph, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlaySubgraph__osg_Node_P1,
|
||||
"Set the overlay subgraph which will be rendered to texture. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getOverlaySubgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getOverlaySubgraph,
|
||||
"Get the overlay subgraph which will be rendered to texture. ",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getOverlaySubgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getOverlaySubgraph,
|
||||
"Get the const overlay subgraph which will be render to texture. ",
|
||||
"");
|
||||
I_Method0(void, dirtyOverlayTexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyOverlayTexture,
|
||||
"Inform the OverlayNode that the overlay texture needs to be updated. ",
|
||||
"");
|
||||
I_Method1(void, setContinuousUpdate, IN, bool, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setContinuousUpdate__bool,
|
||||
"Set whether the OverlayNode should update the overlay texture on every frame. ",
|
||||
"");
|
||||
I_Method0(bool, getContinuousUpdate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getContinuousUpdate,
|
||||
"Get whether the OverlayNode should update the overlay texture on every frame. ",
|
||||
"");
|
||||
I_Method1(void, setOverlayClearColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlayClearColor__C5_osg_Vec4_R1,
|
||||
"Set the clear color to use when rendering the overlay subgraph. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getOverlayClearColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getOverlayClearColor,
|
||||
"Get the clear color to use when rendering the overlay subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setTexEnvMode, IN, GLenum, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexEnvMode__GLenum,
|
||||
"Set the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTexEnvMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getTexEnvMode,
|
||||
"Get the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setOverlayTextureUnit, IN, unsigned int, unit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlayTextureUnit__unsigned_int,
|
||||
"Set the texture unit that the texture should be assigned to. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getOverlayTextureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getOverlayTextureUnit,
|
||||
"Get the texture unit that the texture should be assigned to. ",
|
||||
"");
|
||||
I_Method1(void, setOverlayTextureSizeHint, IN, unsigned int, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlayTextureSizeHint__unsigned_int,
|
||||
"Set the texture size hint. ",
|
||||
"The size hint is used to request a texture of specified size. ");
|
||||
I_Method0(unsigned int, getOverlayTextureSizeHint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getOverlayTextureSizeHint,
|
||||
"Get the texture size hint. ",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCamera,
|
||||
"Get the camera used to implement the render to texture of the overlay subgraph. ",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCamera,
|
||||
"Get the const camera used to implement the render to texture of the overlay subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_Constructor0(____OverlayNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::OverlayNode &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____OverlayNode__C5_OverlayNode_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOverlaySubgraph, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlaySubgraph__osg_Node_P1,
|
||||
"Set the overlay subgraph which will be rendered to texture. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getOverlaySubgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getOverlaySubgraph,
|
||||
"Get the overlay subgraph which will be rendered to texture. ",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getOverlaySubgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getOverlaySubgraph,
|
||||
"Get the const overlay subgraph which will be render to texture. ",
|
||||
"");
|
||||
I_Method0(void, dirtyOverlayTexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyOverlayTexture,
|
||||
"Inform the OverlayNode that the overlay texture needs to be updated. ",
|
||||
"");
|
||||
I_Method1(void, setContinuousUpdate, IN, bool, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setContinuousUpdate__bool,
|
||||
"Set whether the OverlayNode should update the overlay texture on every frame. ",
|
||||
"");
|
||||
I_Method0(bool, getContinuousUpdate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getContinuousUpdate,
|
||||
"Get whether the OverlayNode should update the overlay texture on every frame. ",
|
||||
"");
|
||||
I_Method1(void, setOverlayClearColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlayClearColor__C5_osg_Vec4_R1,
|
||||
"Set the clear color to use when rendering the overlay subgraph. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getOverlayClearColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getOverlayClearColor,
|
||||
"Get the clear color to use when rendering the overlay subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setTexEnvMode, IN, GLenum, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexEnvMode__GLenum,
|
||||
"Set the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTexEnvMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getTexEnvMode,
|
||||
"Get the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setOverlayTextureUnit, IN, unsigned int, unit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlayTextureUnit__unsigned_int,
|
||||
"Set the texture unit that the texture should be assigned to. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getOverlayTextureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getOverlayTextureUnit,
|
||||
"Get the texture unit that the texture should be assigned to. ",
|
||||
"");
|
||||
I_Method1(void, setOverlayTextureSizeHint, IN, unsigned int, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlayTextureSizeHint__unsigned_int,
|
||||
"Set the texture size hint. ",
|
||||
"The size hint is used to request a texture of specified size. ");
|
||||
I_Method0(unsigned int, getOverlayTextureSizeHint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getOverlayTextureSizeHint,
|
||||
"Get the texture size hint. ",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCamera,
|
||||
"Get the camera used to implement the render to texture of the overlay subgraph. ",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCamera,
|
||||
"Get the const camera used to implement the render to texture of the overlay subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_SimpleProperty(osg::Camera *, Camera,
|
||||
__osg_Camera_P1__getCamera,
|
||||
0);
|
||||
I_SimpleProperty(bool, ContinuousUpdate,
|
||||
__bool__getContinuousUpdate,
|
||||
__void__setContinuousUpdate__bool);
|
||||
I_SimpleProperty(const osg::Vec4 &, OverlayClearColor,
|
||||
__C5_osg_Vec4_R1__getOverlayClearColor,
|
||||
__void__setOverlayClearColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(osg::Node *, OverlaySubgraph,
|
||||
__osg_Node_P1__getOverlaySubgraph,
|
||||
__void__setOverlaySubgraph__osg_Node_P1);
|
||||
I_SimpleProperty(unsigned int, OverlayTextureSizeHint,
|
||||
__unsigned_int__getOverlayTextureSizeHint,
|
||||
__void__setOverlayTextureSizeHint__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, OverlayTextureUnit,
|
||||
__unsigned_int__getOverlayTextureUnit,
|
||||
__void__setOverlayTextureUnit__unsigned_int);
|
||||
I_SimpleProperty(GLenum, TexEnvMode,
|
||||
__GLenum__getTexEnvMode,
|
||||
__void__setTexEnvMode__GLenum);
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
0,
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::OverlayNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____OverlayNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::OverlayNode &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____OverlayNode__C5_OverlayNode_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOverlaySubgraph, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlaySubgraph__osg_Node_P1,
|
||||
"Set the overlay subgraph which will be rendered to texture. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getOverlaySubgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getOverlaySubgraph,
|
||||
"Get the overlay subgraph which will be rendered to texture. ",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getOverlaySubgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getOverlaySubgraph,
|
||||
"Get the const overlay subgraph which will be render to texture. ",
|
||||
"");
|
||||
I_Method0(void, dirtyOverlayTexture,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__dirtyOverlayTexture,
|
||||
"Inform the OverlayNode that the overlay texture needs to be updated. ",
|
||||
"");
|
||||
I_Method1(void, setContinuousUpdate, IN, bool, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setContinuousUpdate__bool,
|
||||
"Set whether the OverlayNode should update the overlay texture on every frame. ",
|
||||
"");
|
||||
I_Method0(bool, getContinuousUpdate,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getContinuousUpdate,
|
||||
"Get whether the OverlayNode should update the overlay texture on every frame. ",
|
||||
"");
|
||||
I_Method1(void, setOverlayClearColor, IN, const osg::Vec4 &, color,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlayClearColor__C5_osg_Vec4_R1,
|
||||
"Set the clear color to use when rendering the overlay subgraph. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getOverlayClearColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec4_R1__getOverlayClearColor,
|
||||
"Get the clear color to use when rendering the overlay subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setTexEnvMode, IN, GLenum, mode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTexEnvMode__GLenum,
|
||||
"Set the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. ",
|
||||
"");
|
||||
I_Method0(GLenum, getTexEnvMode,
|
||||
Properties::NON_VIRTUAL,
|
||||
__GLenum__getTexEnvMode,
|
||||
"Get the TexEnv mode used to combine the overlay texture with the base color/texture of the OverlayNode's decorate subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setOverlayTextureUnit, IN, unsigned int, unit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlayTextureUnit__unsigned_int,
|
||||
"Set the texture unit that the texture should be assigned to. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getOverlayTextureUnit,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getOverlayTextureUnit,
|
||||
"Get the texture unit that the texture should be assigned to. ",
|
||||
"");
|
||||
I_Method1(void, setOverlayTextureSizeHint, IN, unsigned int, size,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOverlayTextureSizeHint__unsigned_int,
|
||||
"Set the texture size hint. ",
|
||||
"The size hint is used to request a texture of specified size. ");
|
||||
I_Method0(unsigned int, getOverlayTextureSizeHint,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getOverlayTextureSizeHint,
|
||||
"Get the texture size hint. ",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCamera,
|
||||
"Get the camera used to implement the render to texture of the overlay subgraph. ",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCamera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCamera,
|
||||
"Get the const camera used to implement the render to texture of the overlay subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
Properties::VIRTUAL,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int,
|
||||
Properties::VIRTUAL,
|
||||
__void__resizeGLObjectBuffers__unsigned,
|
||||
"Resize any per context GLObject buffers to specified size. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"If State is non-zero, this function releases any associated OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_Constructor0(____OverlayNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::OverlayNode &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____OverlayNode__C5_OverlayNode_R1__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, setOverlaySubgraph, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,11 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osgSim/.svn/text-base/ScalarBar.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osgSim/ScalarBar>
|
||||
#include <osgSim/ScalarsToColors>
|
||||
|
||||
@@ -32,7 +31,6 @@ BEGIN_ENUM_REFLECTOR(osgSim::ScalarBar::Orientation)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar)
|
||||
I_BaseType(osg::Geode);
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0(____ScalarBar,
|
||||
"Default constructor. ",
|
||||
@@ -48,510 +46,32 @@ BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumColors, IN, int, numColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumColors__int,
|
||||
"Set the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(int, getNumColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumColors,
|
||||
"Get the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setNumLabels, IN, int, numLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumLabels__int,
|
||||
"Set the number of labels to display along the ScalarBar. ",
|
||||
"There will be one label at each end point, and evenly distributed labels in between. ");
|
||||
I_Method0(int, getNumLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumLabels,
|
||||
"Get the number of labels displayed along the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1,
|
||||
"Set the ScalarsToColors mapping object for the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ScalarsToColors *, getScalarsToColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarsToColors_P1__getScalarsToColors,
|
||||
"Get the ScalarsToColors mapping object from the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setTitle, IN, const std::string &, title,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTitle__C5_std_string_R1,
|
||||
"Set the title for the ScalarBar, set \"\" for no title. ",
|
||||
"");
|
||||
I_Method0(std::string, getTitle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getTitle,
|
||||
"Get the title for the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position of scalar bar's lower left corner. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position of scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, float, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__float,
|
||||
"Set the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method0(float, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWidth,
|
||||
"Get the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setAspectRatio, IN, float, aspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAspectRatio__float,
|
||||
"Set the aspect ration (y/x) for the displayed bar. ",
|
||||
"Bear in mind you may want to change this if you change the orientation. ");
|
||||
I_Method0(float, getAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getAspectRatio,
|
||||
"Get the aspect ration (y/x) for the displayed bar. ",
|
||||
"");
|
||||
I_Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrientation__ScalarBar_Orientation,
|
||||
"Set the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method0(osgSim::ScalarBar::Orientation, getOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
"Get the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1,
|
||||
"Set a ScalarPrinter object for the ScalarBar. ",
|
||||
"For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish.ScalarPrinter ");
|
||||
I_Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarPrinter_P1__getScalarPrinter,
|
||||
"Get the ScalarPrinter object. ",
|
||||
"");
|
||||
I_Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextProperties__C5_TextProperties_R1,
|
||||
"Set the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
"Get the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(void, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update,
|
||||
"force update the drawables used to render the scalar bar. ",
|
||||
"");
|
||||
I_Constructor0(____ScalarBar,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter,
|
||||
____ScalarBar__int__int__ScalarsToColors_P1__C5_std_string_R1__Orientation__float__ScalarPrinter_P1,
|
||||
"Construct a ScalarBar with the supplied parameters. ",
|
||||
" param numColors Specify the number of colors in the scalar bar. Color interpolation occurs where necessary. numLabels Specify the number of labels in the scalar bar. stc The ScalarsToColors defining the range of scalars and the colors they map to. title The title to be used when displaying the ScalarBar. Specify \"\" for no title. orientation The orientation of the ScalarBar. param aspectRatio The aspect ration (y/x) for the displayed bar. Bear in mind you may want to change this if you change the orientation. sp A ScalarPrinter object for the ScalarBar. For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish. see Orientation. see ScalarPrinter");
|
||||
I_Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co,
|
||||
____ScalarBar__C5_ScalarBar_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumColors, IN, int, numColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumColors__int,
|
||||
"Set the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(int, getNumColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumColors,
|
||||
"Get the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setNumLabels, IN, int, numLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumLabels__int,
|
||||
"Set the number of labels to display along the ScalarBar. ",
|
||||
"There will be one label at each end point, and evenly distributed labels in between. ");
|
||||
I_Method0(int, getNumLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumLabels,
|
||||
"Get the number of labels displayed along the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1,
|
||||
"Set the ScalarsToColors mapping object for the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ScalarsToColors *, getScalarsToColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarsToColors_P1__getScalarsToColors,
|
||||
"Get the ScalarsToColors mapping object from the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setTitle, IN, const std::string &, title,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTitle__C5_std_string_R1,
|
||||
"Set the title for the ScalarBar, set \"\" for no title. ",
|
||||
"");
|
||||
I_Method0(std::string, getTitle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getTitle,
|
||||
"Get the title for the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position of scalar bar's lower left corner. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position of scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, float, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__float,
|
||||
"Set the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method0(float, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWidth,
|
||||
"Get the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setAspectRatio, IN, float, aspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAspectRatio__float,
|
||||
"Set the aspect ration (y/x) for the displayed bar. ",
|
||||
"Bear in mind you may want to change this if you change the orientation. ");
|
||||
I_Method0(float, getAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getAspectRatio,
|
||||
"Get the aspect ration (y/x) for the displayed bar. ",
|
||||
"");
|
||||
I_Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrientation__ScalarBar_Orientation,
|
||||
"Set the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method0(osgSim::ScalarBar::Orientation, getOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
"Get the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1,
|
||||
"Set a ScalarPrinter object for the ScalarBar. ",
|
||||
"For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish.ScalarPrinter ");
|
||||
I_Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarPrinter_P1__getScalarPrinter,
|
||||
"Get the ScalarPrinter object. ",
|
||||
"");
|
||||
I_Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextProperties__C5_TextProperties_R1,
|
||||
"Set the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
"Get the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(void, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update,
|
||||
"force update the drawables used to render the scalar bar. ",
|
||||
"");
|
||||
I_SimpleProperty(float, AspectRatio,
|
||||
__float__getAspectRatio,
|
||||
__void__setAspectRatio__float);
|
||||
I_SimpleProperty(int, NumColors,
|
||||
0,
|
||||
__void__setNumColors__int);
|
||||
I_SimpleProperty(int, NumLabels,
|
||||
0,
|
||||
__void__setNumLabels__int);
|
||||
I_SimpleProperty(osgSim::ScalarBar::Orientation, Orientation,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
__void__setOrientation__ScalarBar_Orientation);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(osgSim::ScalarBar::ScalarPrinter *, ScalarPrinter,
|
||||
0,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1);
|
||||
I_SimpleProperty(osgSim::ScalarsToColors *, ScalarsToColors,
|
||||
0,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1);
|
||||
I_SimpleProperty(const osgSim::ScalarBar::TextProperties &, TextProperties,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
__void__setTextProperties__C5_TextProperties_R1);
|
||||
I_SimpleProperty(std::string, Title,
|
||||
__std_string__getTitle,
|
||||
__void__setTitle__C5_std_string_R1);
|
||||
I_SimpleProperty(float, Width,
|
||||
__float__getWidth,
|
||||
__void__setWidth__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgSim::ScalarBar::Orientation)
|
||||
I_EnumLabel(osgSim::ScalarBar::HORIZONTAL);
|
||||
I_EnumLabel(osgSim::ScalarBar::VERTICAL);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar)
|
||||
I_BaseType(osg::Geode);
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0(____ScalarBar,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter,
|
||||
____ScalarBar__int__int__ScalarsToColors_P1__C5_std_string_R1__Orientation__float__ScalarPrinter_P1,
|
||||
"Construct a ScalarBar with the supplied parameters. ",
|
||||
" param numColors Specify the number of colors in the scalar bar. Color interpolation occurs where necessary. numLabels Specify the number of labels in the scalar bar. stc The ScalarsToColors defining the range of scalars and the colors they map to. title The title to be used when displaying the ScalarBar. Specify \"\" for no title. orientation The orientation of the ScalarBar. param aspectRatio The aspect ration (y/x) for the displayed bar. Bear in mind you may want to change this if you change the orientation. sp A ScalarPrinter object for the ScalarBar. For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish. see Orientation. see ScalarPrinter");
|
||||
I_Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co,
|
||||
____ScalarBar__C5_ScalarBar_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumColors, IN, int, numColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumColors__int,
|
||||
"Set the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(int, getNumColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumColors,
|
||||
"Get the number of distinct colours on the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setNumLabels, IN, int, numLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumLabels__int,
|
||||
"Set the number of labels to display along the ScalarBar. ",
|
||||
"There will be one label at each end point, and evenly distributed labels in between. ");
|
||||
I_Method0(int, getNumLabels,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getNumLabels,
|
||||
"Get the number of labels displayed along the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setScalarsToColors, IN, osgSim::ScalarsToColors *, stc,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarsToColors__ScalarsToColors_P1,
|
||||
"Set the ScalarsToColors mapping object for the ScalarBar. ",
|
||||
"");
|
||||
I_Method0(const osgSim::ScalarsToColors *, getScalarsToColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarsToColors_P1__getScalarsToColors,
|
||||
"Get the ScalarsToColors mapping object from the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setTitle, IN, const std::string &, title,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTitle__C5_std_string_R1,
|
||||
"Set the title for the ScalarBar, set \"\" for no title. ",
|
||||
"");
|
||||
I_Method0(std::string, getTitle,
|
||||
Properties::NON_VIRTUAL,
|
||||
__std_string__getTitle,
|
||||
"Get the title for the ScalarBar. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"Set the position of scalar bar's lower left corner. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"Get the position of scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, float, width,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setWidth__float,
|
||||
"Set the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method0(float, getWidth,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getWidth,
|
||||
"Get the width of the scalar bar. ",
|
||||
"");
|
||||
I_Method1(void, setAspectRatio, IN, float, aspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAspectRatio__float,
|
||||
"Set the aspect ration (y/x) for the displayed bar. ",
|
||||
"Bear in mind you may want to change this if you change the orientation. ");
|
||||
I_Method0(float, getAspectRatio,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getAspectRatio,
|
||||
"Get the aspect ration (y/x) for the displayed bar. ",
|
||||
"");
|
||||
I_Method1(void, setOrientation, IN, osgSim::ScalarBar::Orientation, orientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setOrientation__ScalarBar_Orientation,
|
||||
"Set the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method0(osgSim::ScalarBar::Orientation, getOrientation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ScalarBar_Orientation__getOrientation,
|
||||
"Get the orientation of the ScalarBar. ",
|
||||
"Orientation ");
|
||||
I_Method1(void, setScalarPrinter, IN, osgSim::ScalarBar::ScalarPrinter *, sp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setScalarPrinter__ScalarPrinter_P1,
|
||||
"Set a ScalarPrinter object for the ScalarBar. ",
|
||||
"For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish.ScalarPrinter ");
|
||||
I_Method0(const osgSim::ScalarBar::ScalarPrinter *, getScalarPrinter,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_ScalarPrinter_P1__getScalarPrinter,
|
||||
"Get the ScalarPrinter object. ",
|
||||
"");
|
||||
I_Method1(void, setTextProperties, IN, const osgSim::ScalarBar::TextProperties &, tp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setTextProperties__C5_TextProperties_R1,
|
||||
"Set the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(const osgSim::ScalarBar::TextProperties &, getTextProperties,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_TextProperties_R1__getTextProperties,
|
||||
"Get the TextProperties for the labels & title. ",
|
||||
"TextProperties ");
|
||||
I_Method0(void, update,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__update,
|
||||
"force update the drawables used to render the scalar bar. ",
|
||||
"");
|
||||
I_Constructor0(____ScalarBar,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults7(IN, int, numColors, , IN, int, numLabels, , IN, osgSim::ScalarsToColors *, stc, , IN, const std::string &, title, , IN, osgSim::ScalarBar::Orientation, orientation, osgSim::ScalarBar::HORIZONTAL, IN, float, aspectRatio, 0.25, IN, osgSim::ScalarBar::ScalarPrinter *, sp, new osgSim::ScalarBar::ScalarPrinter,
|
||||
____ScalarBar__int__int__ScalarsToColors_P1__C5_std_string_R1__Orientation__float__ScalarPrinter_P1,
|
||||
"Construct a ScalarBar with the supplied parameters. ",
|
||||
" param numColors Specify the number of colors in the scalar bar. Color interpolation occurs where necessary. numLabels Specify the number of labels in the scalar bar. stc The ScalarsToColors defining the range of scalars and the colors they map to. title The title to be used when displaying the ScalarBar. Specify \"\" for no title. orientation The orientation of the ScalarBar. param aspectRatio The aspect ration (y/x) for the displayed bar. Bear in mind you may want to change this if you change the orientation. sp A ScalarPrinter object for the ScalarBar. For every displayed ScalarBar label, the scalar value will be passed to the ScalarPrinter object to turn it into a string. Users may override the default ScalarPrinter object to map scalars to whatever strings they wish. see Orientation. see ScalarPrinter");
|
||||
I_Constructor2(IN, const osgSim::ScalarBar &, rhs, IN, const osg::CopyOp &, co,
|
||||
____ScalarBar__C5_ScalarBar_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setNumColors, IN, int, numColors,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -691,7 +211,6 @@ BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar::ScalarPrinter)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ScalarPrinter,
|
||||
"",
|
||||
@@ -701,35 +220,9 @@ BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar::ScalarPrinter)
|
||||
__std_string__printScalar__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(std::string, printScalar, IN, float, scalar,
|
||||
Properties::VIRTUAL,
|
||||
__std_string__printScalar__float,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarBar::ScalarPrinter)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ScalarPrinter,
|
||||
"",
|
||||
"");
|
||||
I_Method1(std::string, printScalar, IN, float, scalar,
|
||||
Properties::VIRTUAL,
|
||||
__std_string__printScalar__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(std::string, printScalar, IN, float, scalar,
|
||||
Properties::VIRTUAL,
|
||||
__std_string__printScalar__float,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgSim::ScalarBar::TextProperties)
|
||||
I_Constructor0(____TextProperties,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TextProperties,
|
||||
"",
|
||||
"");
|
||||
@@ -737,20 +230,5 @@ BEGIN_VALUE_REFLECTOR(osgSim::ScalarBar::TextProperties)
|
||||
I_PublicMemberProperty(std::pair< int COMMA int >, _fontResolution);
|
||||
I_PublicMemberProperty(float, _characterSize);
|
||||
I_PublicMemberProperty(osg::Vec4, _color);
|
||||
I_PublicMemberProperty(std::pair< int COMMA int >, _fontResolution);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osgSim::ScalarBar::TextProperties)
|
||||
I_Constructor0(____TextProperties,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____TextProperties,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(std::string, _fontFile);
|
||||
I_PublicMemberProperty(std::pair< int COMMA int >, _fontResolution);
|
||||
I_PublicMemberProperty(float, _characterSize);
|
||||
I_PublicMemberProperty(osg::Vec4, _color);
|
||||
I_PublicMemberProperty(std::pair< int COMMA int >, _fontResolution);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osg/Vec4>
|
||||
#include <osgSim/ScalarsToColors>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -23,75 +23,6 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarsToColors)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor2(IN, float, scalarMin, IN, float, scalarMax,
|
||||
____ScalarsToColors__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4, getColor, IN, float, scalar,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec4__getColor__float,
|
||||
"Get the color for a given scalar value. ",
|
||||
"");
|
||||
I_Method0(float, getMin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMin,
|
||||
"Get the minimum scalar value. ",
|
||||
"");
|
||||
I_Method0(float, getMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMax,
|
||||
"Get the maximum scalar value. ",
|
||||
"");
|
||||
I_Constructor2(IN, float, scalarMin, IN, float, scalarMax,
|
||||
____ScalarsToColors__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4, getColor, IN, float, scalar,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec4__getColor__float,
|
||||
"Get the color for a given scalar value. ",
|
||||
"");
|
||||
I_Method0(float, getMin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMin,
|
||||
"Get the minimum scalar value. ",
|
||||
"");
|
||||
I_Method0(float, getMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMax,
|
||||
"Get the maximum scalar value. ",
|
||||
"");
|
||||
I_SimpleProperty(float, Max,
|
||||
__float__getMax,
|
||||
0);
|
||||
I_SimpleProperty(float, Min,
|
||||
__float__getMin,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::ScalarsToColors)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor2(IN, float, scalarMin, IN, float, scalarMax,
|
||||
____ScalarsToColors__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4, getColor, IN, float, scalar,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Vec4__getColor__float,
|
||||
"Get the color for a given scalar value. ",
|
||||
"");
|
||||
I_Method0(float, getMin,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMin,
|
||||
"Get the minimum scalar value. ",
|
||||
"");
|
||||
I_Method0(float, getMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getMax,
|
||||
"Get the maximum scalar value. ",
|
||||
"");
|
||||
I_Constructor2(IN, float, scalarMin, IN, float, scalarMax,
|
||||
____ScalarsToColors__float__float,
|
||||
"",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -10,15 +10,15 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Drawable.svn-base>
|
||||
#include <osg/.svn/text-base/Matrixd.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/.svn/text-base/Vec3.svn-base>
|
||||
#include <osg/.svn/text-base/Vec4.svn-base>
|
||||
#include <osgSim/.svn/text-base/SphereSegment.svn-base>
|
||||
#include <osg/Array>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Drawable>
|
||||
#include <osg/Matrixd>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osg/Vec3>
|
||||
#include <osg/Vec4>
|
||||
#include <osgSim/SphereSegment>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -40,7 +40,6 @@ BEGIN_ENUM_REFLECTOR(osgSim::SphereSegment::DrawMask)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::SphereSegment)
|
||||
I_BaseType(osg::Geode);
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0(____SphereSegment,
|
||||
"Default constructor. ",
|
||||
@@ -165,202 +164,32 @@ BEGIN_OBJECT_REFLECTOR(osgSim::SphereSegment)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Node_P1,
|
||||
"Compute the interesection lines between subgraph and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Drawable_P1,
|
||||
"Compute the interesection lines between specified drawable and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Node_P1,
|
||||
"Compute the interesection lines between subgraph and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Drawable_P1,
|
||||
"Compute the interesection lines between specified drawable and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Constructor0(____SphereSegment,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_Constructor7(IN, const osg::Vec3 &, centre, IN, float, radius, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax, IN, int, density,
|
||||
____SphereSegment__C5_osg_Vec3_R1__float__float__float__float__float__int,
|
||||
"Construct by angle ranges. ",
|
||||
" param centre sphere centre radius radius of sphere azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum density number of units to divide the azimuth and elevation ranges into ");
|
||||
I_Constructor6(IN, const osg::Vec3 &, centre, IN, float, radius, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange, IN, int, density,
|
||||
____SphereSegment__C5_osg_Vec3_R1__float__C5_osg_Vec3_R1__float__float__int,
|
||||
"Construct by vector. ",
|
||||
" param centre sphere centre radius radius of sphere vec vector pointing from sphere centre to centre point of rendered area on sphere surface azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) density number of units to divide the azimuth and elevation ranges into ");
|
||||
I_Constructor2(IN, const osgSim::SphereSegment &, rhs, IN, const osg::CopyOp &, co,
|
||||
____SphereSegment__C5_SphereSegment_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method1(void, setCentre, IN, const osg::Vec3 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCentre__C5_osg_Vec3_R1,
|
||||
"Set the centre point of the SphereSegment. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCentre,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCentre,
|
||||
"Get the centre point of the SphereSegment. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadius__float,
|
||||
"Set the radius of the SphereSegment. ",
|
||||
"");
|
||||
I_Method0(float, getRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getRadius,
|
||||
"Get the radius of the SphereSegment. ",
|
||||
"");
|
||||
I_Method3(void, setArea, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setArea__C5_osg_Vec3_R1__float__float,
|
||||
"Set the area of the sphere segment. ",
|
||||
" param vec vector pointing from sphere centre to centre point of rendered area on sphere surface azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) ");
|
||||
I_Method3(void, getArea, IN, osg::Vec3 &, vec, IN, float &, azRange, IN, float &, elevRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getArea__osg_Vec3_R1__float_R1__float_R1,
|
||||
"Get the area of the sphere segment. ",
|
||||
" param vec vector pointing from sphere centre to centre point of rendered area on sphere surface (normalized) azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) ");
|
||||
I_Method4(void, setArea, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setArea__float__float__float__float,
|
||||
"Set the area of the sphere segment. ",
|
||||
" param azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum ");
|
||||
I_Method4(void, getArea, IN, float &, azMin, IN, float &, azMax, IN, float &, elevMin, IN, float &, elevMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getArea__float_R1__float_R1__float_R1__float_R1,
|
||||
"Get the area of the sphere segment. ",
|
||||
" param azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum ");
|
||||
I_Method1(void, setDensity, IN, int, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDensity__int,
|
||||
"Set the density of the sphere segment. ",
|
||||
"");
|
||||
I_Method0(int, getDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getDensity,
|
||||
"Get the density of the sphere segment. ",
|
||||
"");
|
||||
I_Method1(void, setDrawMask, IN, osgSim::SphereSegment::DrawMask, dm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDrawMask__DrawMask,
|
||||
"Specify the DrawMask. ",
|
||||
" param dm Bitmask specifying which parts of the sphere segment should be drawn. see DrawMask");
|
||||
I_Method0(osgSim::SphereSegment::DrawMask, getDrawMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DrawMask__getDrawMask,
|
||||
"Get the DrawMask. ",
|
||||
"");
|
||||
I_Method1(void, setSurfaceColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSurfaceColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the surface. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getSurfaceColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getSurfaceColor,
|
||||
"Get the color of the surface. ",
|
||||
"");
|
||||
I_Method1(void, setSpokeColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSpokeColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the spokes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getSpokeColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getSpokeColor,
|
||||
"Get the color of the spokes. ",
|
||||
"");
|
||||
I_Method1(void, setEdgeLineColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEdgeLineColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the edge line. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getEdgeLineColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getEdgeLineColor,
|
||||
"Get the color of the edge line. ",
|
||||
"");
|
||||
I_Method1(void, setSideColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSideColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the planes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getSideColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getSideColor,
|
||||
"Get the color of the planes. ",
|
||||
"");
|
||||
I_Method1(void, setAllColors, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAllColors__C5_osg_Vec4_R1,
|
||||
"Set color of all components. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
@@ -411,385 +240,44 @@ BEGIN_OBJECT_REFLECTOR(osgSim::SphereSegment)
|
||||
__void__setSurfaceColor__C5_osg_Vec4_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Vec3Array > >, osgSim::SphereSegment::LineList);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgSim::SphereSegment::DrawMask)
|
||||
I_EnumLabel(osgSim::SphereSegment::SURFACE);
|
||||
I_EnumLabel(osgSim::SphereSegment::SPOKES);
|
||||
I_EnumLabel(osgSim::SphereSegment::EDGELINE);
|
||||
I_EnumLabel(osgSim::SphereSegment::SIDES);
|
||||
I_EnumLabel(osgSim::SphereSegment::ALL);
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Vec3Array >)
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Vec3Array *, ptr,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Vec3Array > &, rp,
|
||||
Properties::NON_EXPLICIT,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3Array *, get,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3Array *, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Vec3Array > &, rp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Vec3Array *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::SphereSegment)
|
||||
I_BaseType(osg::Geode);
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0(____SphereSegment,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_Constructor7(IN, const osg::Vec3 &, centre, IN, float, radius, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax, IN, int, density,
|
||||
____SphereSegment__C5_osg_Vec3_R1__float__float__float__float__float__int,
|
||||
"Construct by angle ranges. ",
|
||||
" param centre sphere centre radius radius of sphere azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum density number of units to divide the azimuth and elevation ranges into ");
|
||||
I_Constructor6(IN, const osg::Vec3 &, centre, IN, float, radius, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange, IN, int, density,
|
||||
____SphereSegment__C5_osg_Vec3_R1__float__C5_osg_Vec3_R1__float__float__int,
|
||||
"Construct by vector. ",
|
||||
" param centre sphere centre radius radius of sphere vec vector pointing from sphere centre to centre point of rendered area on sphere surface azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) density number of units to divide the azimuth and elevation ranges into ");
|
||||
I_Constructor2(IN, const osgSim::SphereSegment &, rhs, IN, const osg::CopyOp &, co,
|
||||
____SphereSegment__C5_SphereSegment_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method1(void, setCentre, IN, const osg::Vec3 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCentre__C5_osg_Vec3_R1,
|
||||
"Set the centre point of the SphereSegment. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCentre,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCentre,
|
||||
"Get the centre point of the SphereSegment. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadius__float,
|
||||
"Set the radius of the SphereSegment. ",
|
||||
"");
|
||||
I_Method0(float, getRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getRadius,
|
||||
"Get the radius of the SphereSegment. ",
|
||||
"");
|
||||
I_Method3(void, setArea, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setArea__C5_osg_Vec3_R1__float__float,
|
||||
"Set the area of the sphere segment. ",
|
||||
" param vec vector pointing from sphere centre to centre point of rendered area on sphere surface azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) ");
|
||||
I_Method3(void, getArea, IN, osg::Vec3 &, vec, IN, float &, azRange, IN, float &, elevRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getArea__osg_Vec3_R1__float_R1__float_R1,
|
||||
"Get the area of the sphere segment. ",
|
||||
" param vec vector pointing from sphere centre to centre point of rendered area on sphere surface (normalized) azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) ");
|
||||
I_Method4(void, setArea, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setArea__float__float__float__float,
|
||||
"Set the area of the sphere segment. ",
|
||||
" param azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum ");
|
||||
I_Method4(void, getArea, IN, float &, azMin, IN, float &, azMax, IN, float &, elevMin, IN, float &, elevMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getArea__float_R1__float_R1__float_R1__float_R1,
|
||||
"Get the area of the sphere segment. ",
|
||||
" param azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum ");
|
||||
I_Method1(void, setDensity, IN, int, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDensity__int,
|
||||
"Set the density of the sphere segment. ",
|
||||
"");
|
||||
I_Method0(int, getDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getDensity,
|
||||
"Get the density of the sphere segment. ",
|
||||
"");
|
||||
I_Method1(void, setDrawMask, IN, osgSim::SphereSegment::DrawMask, dm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDrawMask__DrawMask,
|
||||
"Specify the DrawMask. ",
|
||||
" param dm Bitmask specifying which parts of the sphere segment should be drawn. see DrawMask");
|
||||
I_Method0(osgSim::SphereSegment::DrawMask, getDrawMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DrawMask__getDrawMask,
|
||||
"Get the DrawMask. ",
|
||||
"");
|
||||
I_Method1(void, setSurfaceColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSurfaceColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the surface. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getSurfaceColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getSurfaceColor,
|
||||
"Get the color of the surface. ",
|
||||
"");
|
||||
I_Method1(void, setSpokeColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSpokeColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the spokes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getSpokeColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getSpokeColor,
|
||||
"Get the color of the spokes. ",
|
||||
"");
|
||||
I_Method1(void, setEdgeLineColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEdgeLineColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the edge line. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getEdgeLineColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getEdgeLineColor,
|
||||
"Get the color of the edge line. ",
|
||||
"");
|
||||
I_Method1(void, setSideColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSideColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the planes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getSideColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getSideColor,
|
||||
"Get the color of the planes. ",
|
||||
"");
|
||||
I_Method1(void, setAllColors, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAllColors__C5_osg_Vec4_R1,
|
||||
"Set color of all components. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Node_P1,
|
||||
"Compute the interesection lines between subgraph and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Drawable_P1,
|
||||
"Compute the interesection lines between specified drawable and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Node_P1,
|
||||
"Compute the interesection lines between subgraph and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Drawable_P1,
|
||||
"Compute the interesection lines between specified drawable and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Constructor0(____SphereSegment,
|
||||
"Default constructor. ",
|
||||
"");
|
||||
I_Constructor7(IN, const osg::Vec3 &, centre, IN, float, radius, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax, IN, int, density,
|
||||
____SphereSegment__C5_osg_Vec3_R1__float__float__float__float__float__int,
|
||||
"Construct by angle ranges. ",
|
||||
" param centre sphere centre radius radius of sphere azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum density number of units to divide the azimuth and elevation ranges into ");
|
||||
I_Constructor6(IN, const osg::Vec3 &, centre, IN, float, radius, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange, IN, int, density,
|
||||
____SphereSegment__C5_osg_Vec3_R1__float__C5_osg_Vec3_R1__float__float__int,
|
||||
"Construct by vector. ",
|
||||
" param centre sphere centre radius radius of sphere vec vector pointing from sphere centre to centre point of rendered area on sphere surface azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) density number of units to divide the azimuth and elevation ranges into ");
|
||||
I_Constructor2(IN, const osgSim::SphereSegment &, rhs, IN, const osg::CopyOp &, co,
|
||||
____SphereSegment__C5_SphereSegment_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor. ",
|
||||
"");
|
||||
I_Method1(void, setCentre, IN, const osg::Vec3 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCentre__C5_osg_Vec3_R1,
|
||||
"Set the centre point of the SphereSegment. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getCentre,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Vec3_R1__getCentre,
|
||||
"Get the centre point of the SphereSegment. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, r,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRadius__float,
|
||||
"Set the radius of the SphereSegment. ",
|
||||
"");
|
||||
I_Method0(float, getRadius,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getRadius,
|
||||
"Get the radius of the SphereSegment. ",
|
||||
"");
|
||||
I_Method3(void, setArea, IN, const osg::Vec3 &, vec, IN, float, azRange, IN, float, elevRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setArea__C5_osg_Vec3_R1__float__float,
|
||||
"Set the area of the sphere segment. ",
|
||||
" param vec vector pointing from sphere centre to centre point of rendered area on sphere surface azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) ");
|
||||
I_Method3(void, getArea, IN, osg::Vec3 &, vec, IN, float &, azRange, IN, float &, elevRange,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getArea__osg_Vec3_R1__float_R1__float_R1,
|
||||
"Get the area of the sphere segment. ",
|
||||
" param vec vector pointing from sphere centre to centre point of rendered area on sphere surface (normalized) azRange azimuth range in radians (with centre along vec) elevRange elevation range in radians (with centre along vec) ");
|
||||
I_Method4(void, setArea, IN, float, azMin, IN, float, azMax, IN, float, elevMin, IN, float, elevMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setArea__float__float__float__float,
|
||||
"Set the area of the sphere segment. ",
|
||||
" param azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum ");
|
||||
I_Method4(void, getArea, IN, float &, azMin, IN, float &, azMax, IN, float &, elevMin, IN, float &, elevMax,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getArea__float_R1__float_R1__float_R1__float_R1,
|
||||
"Get the area of the sphere segment. ",
|
||||
" param azMin azimuth minimum azMax azimuth maximum elevMin elevation minimum elevMax elevation maximum ");
|
||||
I_Method1(void, setDensity, IN, int, d,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDensity__int,
|
||||
"Set the density of the sphere segment. ",
|
||||
"");
|
||||
I_Method0(int, getDensity,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getDensity,
|
||||
"Get the density of the sphere segment. ",
|
||||
"");
|
||||
I_Method1(void, setDrawMask, IN, osgSim::SphereSegment::DrawMask, dm,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDrawMask__DrawMask,
|
||||
"Specify the DrawMask. ",
|
||||
" param dm Bitmask specifying which parts of the sphere segment should be drawn. see DrawMask");
|
||||
I_Method0(osgSim::SphereSegment::DrawMask, getDrawMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__DrawMask__getDrawMask,
|
||||
"Get the DrawMask. ",
|
||||
"");
|
||||
I_Method1(void, setSurfaceColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSurfaceColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the surface. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getSurfaceColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getSurfaceColor,
|
||||
"Get the color of the surface. ",
|
||||
"");
|
||||
I_Method1(void, setSpokeColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSpokeColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the spokes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getSpokeColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getSpokeColor,
|
||||
"Get the color of the spokes. ",
|
||||
"");
|
||||
I_Method1(void, setEdgeLineColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEdgeLineColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the edge line. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getEdgeLineColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getEdgeLineColor,
|
||||
"Get the color of the edge line. ",
|
||||
"");
|
||||
I_Method1(void, setSideColor, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSideColor__C5_osg_Vec4_R1,
|
||||
"Set the color of the planes. ",
|
||||
"");
|
||||
I_Method0(osg::Vec4, getSideColor,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Vec4__getSideColor,
|
||||
"Get the color of the planes. ",
|
||||
"");
|
||||
I_Method1(void, setAllColors, IN, const osg::Vec4 &, c,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setAllColors__C5_osg_Vec4_R1,
|
||||
"Set color of all components. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Node_P1,
|
||||
"Compute the interesection lines between subgraph and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Method2(osgSim::SphereSegment::LineList, computeIntersection, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__LineList__computeIntersection__C5_osg_Matrixd_R1__osg_Drawable_P1,
|
||||
"Compute the interesection lines between specified drawable and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Node *, subgraph,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Node_P1,
|
||||
"Compute the interesection lines between subgraph and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_Method2(osg::Node *, computeIntersectionSubgraph, IN, const osg::Matrixd &, matrix, IN, osg::Drawable *, drawable,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__computeIntersectionSubgraph__C5_osg_Matrixd_R1__osg_Drawable_P1,
|
||||
"Compute the interesection lines between specified drawable and this sphere segment. ",
|
||||
"The matrix is the transform that takes the subgraph into the same coordiante frame as the sphere segment. The resulting intersections are in the coordinate frame of the sphere segment. ");
|
||||
I_SimpleProperty(const osg::Vec4 &, AllColors,
|
||||
0,
|
||||
__void__setAllColors__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Centre,
|
||||
__C5_osg_Vec3_R1__getCentre,
|
||||
__void__setCentre__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(int, Density,
|
||||
__int__getDensity,
|
||||
__void__setDensity__int);
|
||||
I_SimpleProperty(osgSim::SphereSegment::DrawMask, DrawMask,
|
||||
__DrawMask__getDrawMask,
|
||||
__void__setDrawMask__DrawMask);
|
||||
I_SimpleProperty(osg::Vec4, EdgeLineColor,
|
||||
__osg_Vec4__getEdgeLineColor,
|
||||
__void__setEdgeLineColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(float, Radius,
|
||||
__float__getRadius,
|
||||
__void__setRadius__float);
|
||||
I_SimpleProperty(osg::Vec4, SideColor,
|
||||
__osg_Vec4__getSideColor,
|
||||
__void__setSideColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(osg::Vec4, SpokeColor,
|
||||
__osg_Vec4__getSpokeColor,
|
||||
__void__setSpokeColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(osg::Vec4, SurfaceColor,
|
||||
__osg_Vec4__getSurfaceColor,
|
||||
__void__setSurfaceColor__C5_osg_Vec4_R1);
|
||||
END_REFLECTOR
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Vec3Array > >);
|
||||
|
||||
|
||||
@@ -10,10 +10,10 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/CopyOp.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/NodeVisitor.svn-base>
|
||||
#include <osg/.svn/text-base/Object.svn-base>
|
||||
#include <osg/CopyOp>
|
||||
#include <osg/Node>
|
||||
#include <osg/NodeVisitor>
|
||||
#include <osg/Object>
|
||||
#include <osgSim/VisibilityGroup>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -25,7 +25,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::VisibilityGroup)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____VisibilityGroup,
|
||||
"",
|
||||
@@ -37,282 +36,37 @@ BEGIN_OBJECT_REFLECTOR(osgSim::VisibilityGroup)
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityVolume, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibilityVolume__osg_Node_P1,
|
||||
"Set the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getVisibilityVolume,
|
||||
"Get the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getVisibilityVolume,
|
||||
"Get the const subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method1(void, setVolumeIntersectionMask, IN, osg::Node::NodeMask, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVolumeIntersectionMask__osg_Node_NodeMask,
|
||||
"Set the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getVolumeIntersectionMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_NodeMask__getVolumeIntersectionMask,
|
||||
"Get the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method1(void, setSegmentLength, IN, float, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSegmentLength__float,
|
||||
"Set the length of the intersection segment. ",
|
||||
"The segments extends this many database units from the camera eye-point along the look vector. If this is left at zero then the diameter of the bounding sphere of the visibility volume is used. ");
|
||||
I_Method0(float, getSegmentLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSegmentLength,
|
||||
"Get the length of the intersection segment. ",
|
||||
"");
|
||||
I_Constructor0(____VisibilityGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::VisibilityGroup &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VisibilityGroup__C5_VisibilityGroup_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityVolume, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibilityVolume__osg_Node_P1,
|
||||
"Set the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getVisibilityVolume,
|
||||
"Get the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getVisibilityVolume,
|
||||
"Get the const subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method1(void, setVolumeIntersectionMask, IN, osg::Node::NodeMask, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVolumeIntersectionMask__osg_Node_NodeMask,
|
||||
"Set the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getVolumeIntersectionMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_NodeMask__getVolumeIntersectionMask,
|
||||
"Get the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method1(void, setSegmentLength, IN, float, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSegmentLength__float,
|
||||
"Set the length of the intersection segment. ",
|
||||
"The segments extends this many database units from the camera eye-point along the look vector. If this is left at zero then the diameter of the bounding sphere of the visibility volume is used. ");
|
||||
I_Method0(float, getSegmentLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSegmentLength,
|
||||
"Get the length of the intersection segment. ",
|
||||
"");
|
||||
I_SimpleProperty(float, SegmentLength,
|
||||
__float__getSegmentLength,
|
||||
__void__setSegmentLength__float);
|
||||
I_SimpleProperty(osg::Node *, VisibilityVolume,
|
||||
__osg_Node_P1__getVisibilityVolume,
|
||||
__void__setVisibilityVolume__osg_Node_P1);
|
||||
I_SimpleProperty(osg::Node::NodeMask, VolumeIntersectionMask,
|
||||
__osg_Node_NodeMask__getVolumeIntersectionMask,
|
||||
__void__setVolumeIntersectionMask__osg_Node_NodeMask);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgSim::VisibilityGroup)
|
||||
I_BaseType(osg::Group);
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0(____VisibilityGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::VisibilityGroup &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VisibilityGroup__C5_VisibilityGroup_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVisibilityVolume, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVisibilityVolume__osg_Node_P1,
|
||||
"Set the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getVisibilityVolume,
|
||||
"Get the subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getVisibilityVolume,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getVisibilityVolume,
|
||||
"Get the const subgraph that is intersected for the visibility determination. ",
|
||||
"");
|
||||
I_Method1(void, setVolumeIntersectionMask, IN, osg::Node::NodeMask, mask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setVolumeIntersectionMask__osg_Node_NodeMask,
|
||||
"Set the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getVolumeIntersectionMask,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_NodeMask__getVolumeIntersectionMask,
|
||||
"Get the traversal mask for the intersection testing. ",
|
||||
"");
|
||||
I_Method1(void, setSegmentLength, IN, float, length,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSegmentLength__float,
|
||||
"Set the length of the intersection segment. ",
|
||||
"The segments extends this many database units from the camera eye-point along the look vector. If this is left at zero then the diameter of the bounding sphere of the visibility volume is used. ");
|
||||
I_Method0(float, getSegmentLength,
|
||||
Properties::NON_VIRTUAL,
|
||||
__float__getSegmentLength,
|
||||
"Get the length of the intersection segment. ",
|
||||
"");
|
||||
I_Constructor0(____VisibilityGroup,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osgSim::VisibilityGroup &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____VisibilityGroup__C5_VisibilityGroup_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
Properties::VIRTUAL,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__className,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
Properties::VIRTUAL,
|
||||
__C5_char_P1__libraryName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
Properties::VIRTUAL,
|
||||
__void__traverse__osg_NodeVisitor_R1,
|
||||
"",
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, setVisibilityVolume, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
Reference in New Issue
Block a user