Updated wrappers
This commit is contained in:
@@ -127,10 +127,6 @@ SOURCE=..\..\..\src\osgWrappers\osgGA\GUIEventAdapter.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgGA\GUIEventHandler.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgGA\GraphicsWindow.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgGA\KeySwitchMatrixManipulator.cpp
|
||||
# End Source File
|
||||
|
||||
@@ -37,25 +37,81 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::AlphaFunc)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref);
|
||||
I_ConstructorWithDefaults2(IN, const osg::AlphaFunc &, af, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method2(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref);
|
||||
I_Method1(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func);
|
||||
I_Method0(osg::AlphaFunc::ComparisonFunction, getFunction);
|
||||
I_Method1(void, setReferenceValue, IN, float, value);
|
||||
I_Method0(float, getReferenceValue);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(osg::AlphaFunc::ComparisonFunction, Function);
|
||||
I_Property(float, ReferenceValue);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____AlphaFunc,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
|
||||
____AlphaFunc__ComparisonFunction__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::AlphaFunc &, af, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AlphaFunc__C5_AlphaFunc_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func, IN, float, ref,
|
||||
__void__setFunction__ComparisonFunction__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFunction, IN, osg::AlphaFunc::ComparisonFunction, func,
|
||||
__void__setFunction__ComparisonFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AlphaFunc::ComparisonFunction, getFunction,
|
||||
__ComparisonFunction__getFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceValue, IN, float, value,
|
||||
__void__setReferenceValue__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getReferenceValue,
|
||||
__float__getReferenceValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::AlphaFunc::ComparisonFunction, Function,
|
||||
__ComparisonFunction__getFunction,
|
||||
__void__setFunction__ComparisonFunction);
|
||||
I_SimpleProperty(float, ReferenceValue,
|
||||
__float__getReferenceValue,
|
||||
__void__setReferenceValue__float);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -38,93 +38,315 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::AnimationPath)
|
||||
I_VirtualBaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::AnimationPath &, ap, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixf &, matrix);
|
||||
I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixd &, matrix);
|
||||
I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixf &, matrix);
|
||||
I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixd &, matrix);
|
||||
I_Method2(bool, getInterpolatedControlPoint, IN, double, time, IN, osg::AnimationPath::ControlPoint &, controlPoint);
|
||||
I_Method2(void, insert, IN, double, time, IN, const osg::AnimationPath::ControlPoint &, controlPoint);
|
||||
I_Method0(double, getFirstTime);
|
||||
I_Method0(double, getLastTime);
|
||||
I_Method0(double, getPeriod);
|
||||
I_Method1(void, setLoopMode, IN, osg::AnimationPath::LoopMode, lm);
|
||||
I_Method0(osg::AnimationPath::LoopMode, getLoopMode);
|
||||
I_Method1(void, setTimeControlPointMap, IN, osg::AnimationPath::TimeControlPointMap &, tcpm);
|
||||
I_Method0(osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap);
|
||||
I_Method0(const osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap);
|
||||
I_Method0(bool, empty);
|
||||
I_Method1(void, read, IN, std::istream &, in);
|
||||
I_Method1(void, write, IN, std::ostream &, out);
|
||||
I_ReadOnlyProperty(double, FirstTime);
|
||||
I_ReadOnlyProperty(double, LastTime);
|
||||
I_Property(osg::AnimationPath::LoopMode, LoopMode);
|
||||
I_ReadOnlyProperty(double, Period);
|
||||
I_Property(osg::AnimationPath::TimeControlPointMap &, TimeControlPointMap);
|
||||
I_Constructor0(____AnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::AnimationPath &, ap, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AnimationPath__C5_AnimationPath_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixf &, matrix,
|
||||
__bool__getMatrix__double__Matrixf_R1,
|
||||
"Given a specific time, return the transformation matrix for a point. ",
|
||||
"");
|
||||
I_Method2(bool, getMatrix, IN, double, time, IN, osg::Matrixd &, matrix,
|
||||
__bool__getMatrix__double__Matrixd_R1,
|
||||
"Given a specific time, return the transformation matrix for a point. ",
|
||||
"");
|
||||
I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixf &, matrix,
|
||||
__bool__getInverse__double__Matrixf_R1,
|
||||
"Given a specific time, return the inverse transformation matrix for a point. ",
|
||||
"");
|
||||
I_Method2(bool, getInverse, IN, double, time, IN, osg::Matrixd &, matrix,
|
||||
__bool__getInverse__double__Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getInterpolatedControlPoint, IN, double, time, IN, osg::AnimationPath::ControlPoint &, controlPoint,
|
||||
__bool__getInterpolatedControlPoint__double__ControlPoint_R1,
|
||||
"Given a specific time, return the local ControlPoint frame for a point. ",
|
||||
"");
|
||||
I_Method2(void, insert, IN, double, time, IN, const osg::AnimationPath::ControlPoint &, controlPoint,
|
||||
__void__insert__double__C5_ControlPoint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getFirstTime,
|
||||
__double__getFirstTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getLastTime,
|
||||
__double__getLastTime,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getPeriod,
|
||||
__double__getPeriod,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLoopMode, IN, osg::AnimationPath::LoopMode, lm,
|
||||
__void__setLoopMode__LoopMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AnimationPath::LoopMode, getLoopMode,
|
||||
__LoopMode__getLoopMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTimeControlPointMap, IN, osg::AnimationPath::TimeControlPointMap &, tcpm,
|
||||
__void__setTimeControlPointMap__TimeControlPointMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap,
|
||||
__TimeControlPointMap_R1__getTimeControlPointMap,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::AnimationPath::TimeControlPointMap &, getTimeControlPointMap,
|
||||
__C5_TimeControlPointMap_R1__getTimeControlPointMap,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, empty,
|
||||
__bool__empty,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, read, IN, std::istream &, in,
|
||||
__void__read__std_istream_R1,
|
||||
"Read the animation path from a flat ASCII file stream. ",
|
||||
"");
|
||||
I_Method1(void, write, IN, std::ostream &, out,
|
||||
__void__write__std_ostream_R1,
|
||||
"Write the animation path to a flat ASCII file stream. ",
|
||||
"");
|
||||
I_SimpleProperty(double, FirstTime,
|
||||
__double__getFirstTime,
|
||||
0);
|
||||
I_SimpleProperty(double, LastTime,
|
||||
__double__getLastTime,
|
||||
0);
|
||||
I_SimpleProperty(osg::AnimationPath::LoopMode, LoopMode,
|
||||
__LoopMode__getLoopMode,
|
||||
__void__setLoopMode__LoopMode);
|
||||
I_SimpleProperty(double, Period,
|
||||
__double__getPeriod,
|
||||
0);
|
||||
I_SimpleProperty(osg::AnimationPath::TimeControlPointMap &, TimeControlPointMap,
|
||||
__TimeControlPointMap_R1__getTimeControlPointMap,
|
||||
__void__setTimeControlPointMap__TimeControlPointMap_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::AnimationPath::ControlPoint)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::Vec3d &, position);
|
||||
I_Constructor2(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation);
|
||||
I_Constructor3(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation, IN, const osg::Vec3d &, scale);
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3d &, position);
|
||||
I_Method0(const osg::Vec3d &, getPosition);
|
||||
I_Method1(void, setRotation, IN, const osg::Quat &, rotation);
|
||||
I_Method0(const osg::Quat &, getRotation);
|
||||
I_Method1(void, setScale, IN, const osg::Vec3d &, scale);
|
||||
I_Method0(const osg::Vec3d &, getScale);
|
||||
I_Method3(void, interpolate, IN, float, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second);
|
||||
I_Method3(void, interpolate, IN, double, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second);
|
||||
I_Method1(void, getMatrix, IN, osg::Matrixf &, matrix);
|
||||
I_Method1(void, getMatrix, IN, osg::Matrixd &, matrix);
|
||||
I_Method1(void, getInverse, IN, osg::Matrixf &, matrix);
|
||||
I_Method1(void, getInverse, IN, osg::Matrixd &, matrix);
|
||||
I_Property(const osg::Vec3d &, Position);
|
||||
I_Property(const osg::Quat &, Rotation);
|
||||
I_Property(const osg::Vec3d &, Scale);
|
||||
I_Constructor0(____ControlPoint,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec3d &, position,
|
||||
____ControlPoint__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation,
|
||||
____ControlPoint__C5_osg_Vec3d_R1__C5_osg_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Vec3d &, position, IN, const osg::Quat &, rotation, IN, const osg::Vec3d &, scale,
|
||||
____ControlPoint__C5_osg_Vec3d_R1__C5_osg_Quat_R1__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3d &, position,
|
||||
__void__setPosition__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPosition,
|
||||
__C5_osg_Vec3d_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotation, IN, const osg::Quat &, rotation,
|
||||
__void__setRotation__C5_osg_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getRotation,
|
||||
__C5_osg_Quat_R1__getRotation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec3d &, scale,
|
||||
__void__setScale__C5_osg_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getScale,
|
||||
__C5_osg_Vec3d_R1__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, interpolate, IN, float, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second,
|
||||
__void__interpolate__float__C5_ControlPoint_R1__C5_ControlPoint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, interpolate, IN, double, ratio, IN, const osg::AnimationPath::ControlPoint &, first, IN, const osg::AnimationPath::ControlPoint &, second,
|
||||
__void__interpolate__double__C5_ControlPoint_R1__C5_ControlPoint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getMatrix, IN, osg::Matrixf &, matrix,
|
||||
__void__getMatrix__Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getMatrix, IN, osg::Matrixd &, matrix,
|
||||
__void__getMatrix__Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getInverse, IN, osg::Matrixf &, matrix,
|
||||
__void__getInverse__Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getInverse, IN, osg::Matrixd &, matrix,
|
||||
__void__getInverse__Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3d &, Position,
|
||||
__C5_osg_Vec3d_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3d_R1);
|
||||
I_SimpleProperty(const osg::Quat &, Rotation,
|
||||
__C5_osg_Quat_R1__getRotation,
|
||||
__void__setRotation__C5_osg_Quat_R1);
|
||||
I_SimpleProperty(const osg::Vec3d &, Scale,
|
||||
__C5_osg_Vec3d_R1__getScale,
|
||||
__void__setScale__C5_osg_Vec3d_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::AnimationPathCallback)
|
||||
I_BaseType(osg::NodeCallback);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, const osg::AnimationPathCallback &, apc, IN, const osg::CopyOp &, copyop);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_ConstructorWithDefaults3(IN, osg::AnimationPath *, ap, , IN, double, timeOffset, 0.0, IN, double, timeMultiplier, 1.0);
|
||||
I_Constructor3(IN, const osg::Vec3d &, pivot, IN, const osg::Vec3d &, axis, IN, float, angularVelocity);
|
||||
I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, path);
|
||||
I_Method0(osg::AnimationPath *, getAnimationPath);
|
||||
I_Method0(const osg::AnimationPath *, getAnimationPath);
|
||||
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot);
|
||||
I_Method0(const osg::Vec3d &, getPivotPoint);
|
||||
I_Method1(void, setUseInverseMatrix, IN, bool, useInverseMatrix);
|
||||
I_Method0(bool, getUseInverseMatrix);
|
||||
I_Method1(void, setTimeOffset, IN, double, offset);
|
||||
I_Method0(double, getTimeOffset);
|
||||
I_Method1(void, setTimeMultiplier, IN, double, multiplier);
|
||||
I_Method0(double, getTimeMultiplier);
|
||||
I_Method0(void, reset);
|
||||
I_Method1(void, setPause, IN, bool, pause);
|
||||
I_Method0(bool, getPause);
|
||||
I_Method0(double, getAnimationTime);
|
||||
I_Method1(void, update, IN, osg::Node &, node);
|
||||
I_Property(osg::AnimationPath *, AnimationPath);
|
||||
I_ReadOnlyProperty(double, AnimationTime);
|
||||
I_Property(bool, Pause);
|
||||
I_Property(const osg::Vec3d &, PivotPoint);
|
||||
I_Property(double, TimeMultiplier);
|
||||
I_Property(double, TimeOffset);
|
||||
I_Property(bool, UseInverseMatrix);
|
||||
I_Constructor0(____AnimationPathCallback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::AnimationPathCallback &, apc, IN, const osg::CopyOp &, copyop,
|
||||
____AnimationPathCallback__C5_AnimationPathCallback_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_ConstructorWithDefaults3(IN, osg::AnimationPath *, ap, , IN, double, timeOffset, 0.0, IN, double, timeMultiplier, 1.0,
|
||||
____AnimationPathCallback__AnimationPath_P1__double__double,
|
||||
"Construct an AnimationPathCallback with a specified animation path. ",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Vec3d &, pivot, IN, const osg::Vec3d &, axis, IN, float, angularVelocity,
|
||||
____AnimationPathCallback__C5_osg_Vec3d_R1__C5_osg_Vec3d_R1__float,
|
||||
"Construct an AnimationPathCallback and automatical create an animation path to produce a rotation about a point. ",
|
||||
"");
|
||||
I_Method1(void, setAnimationPath, IN, osg::AnimationPath *, path,
|
||||
__void__setAnimationPath__AnimationPath_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AnimationPath *, getAnimationPath,
|
||||
__AnimationPath_P1__getAnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::AnimationPath *, getAnimationPath,
|
||||
__C5_AnimationPath_P1__getAnimationPath,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot,
|
||||
__void__setPivotPoint__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPivotPoint,
|
||||
__C5_Vec3d_R1__getPivotPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseInverseMatrix, IN, bool, useInverseMatrix,
|
||||
__void__setUseInverseMatrix__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseInverseMatrix,
|
||||
__bool__getUseInverseMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTimeOffset, IN, double, offset,
|
||||
__void__setTimeOffset__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getTimeOffset,
|
||||
__double__getTimeOffset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTimeMultiplier, IN, double, multiplier,
|
||||
__void__setTimeMultiplier__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getTimeMultiplier,
|
||||
__double__getTimeMultiplier,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPause, IN, bool, pause,
|
||||
__void__setPause__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getPause,
|
||||
__bool__getPause,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getAnimationTime,
|
||||
__double__getAnimationTime,
|
||||
"Get the animation time that is used to specify the position along the AnimationPath. ",
|
||||
"Animation time is computed from the formula: ((_latestTime-_firstTime)-_timeOffset)*_timeMultiplier. ");
|
||||
I_Method1(void, update, IN, osg::Node &, node,
|
||||
__void__update__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::AnimationPath *, AnimationPath,
|
||||
__AnimationPath_P1__getAnimationPath,
|
||||
__void__setAnimationPath__AnimationPath_P1);
|
||||
I_SimpleProperty(double, AnimationTime,
|
||||
__double__getAnimationTime,
|
||||
0);
|
||||
I_SimpleProperty(bool, Pause,
|
||||
__bool__getPause,
|
||||
__void__setPause__bool);
|
||||
I_SimpleProperty(const osg::Vec3d &, PivotPoint,
|
||||
__C5_Vec3d_R1__getPivotPoint,
|
||||
__void__setPivotPoint__C5_Vec3d_R1);
|
||||
I_SimpleProperty(double, TimeMultiplier,
|
||||
__double__getTimeMultiplier,
|
||||
__void__setTimeMultiplier__double);
|
||||
I_SimpleProperty(double, TimeOffset,
|
||||
__double__getTimeOffset,
|
||||
__void__setTimeOffset__double);
|
||||
I_SimpleProperty(bool, UseInverseMatrix,
|
||||
__bool__getUseInverseMatrix,
|
||||
__void__setUseInverseMatrix__bool);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::AnimationPath >, _animationPath);
|
||||
I_PublicMemberProperty(osg::Vec3d, _pivotPoint);
|
||||
I_PublicMemberProperty(bool, _useInverseMatrix);
|
||||
|
||||
@@ -29,45 +29,144 @@ BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ApplicationUsage)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const std::string &, commandLineUsage);
|
||||
I_Method1(void, setApplicationName, IN, const std::string &, name);
|
||||
I_Method0(const std::string &, getApplicationName);
|
||||
I_Method1(void, setDescription, IN, const std::string &, desc);
|
||||
I_Method0(const std::string &, getDescription);
|
||||
I_Method3(void, addUsageExplanation, IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation);
|
||||
I_Method1(void, setCommandLineUsage, IN, const std::string &, explanation);
|
||||
I_Method0(const std::string &, getCommandLineUsage);
|
||||
I_MethodWithDefaults3(void, addCommandLineOption, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "");
|
||||
I_Method1(void, setCommandLineOptions, IN, const osg::ApplicationUsage::UsageMap &, usageMap);
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptions);
|
||||
I_Method1(void, setCommandLineOptionsDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap);
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptionsDefaults);
|
||||
I_MethodWithDefaults3(void, addEnvironmentalVariable, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "");
|
||||
I_Method1(void, setEnvironmentalVariables, IN, const osg::ApplicationUsage::UsageMap &, usageMap);
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariables);
|
||||
I_Method1(void, setEnvironmentalVariablesDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap);
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariablesDefaults);
|
||||
I_Method2(void, addKeyboardMouseBinding, IN, const std::string &, option, IN, const std::string &, explanation);
|
||||
I_Method1(void, setKeyboardMouseBindings, IN, const osg::ApplicationUsage::UsageMap &, usageMap);
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getKeyboardMouseBindings);
|
||||
I_MethodWithDefaults5(void, getFormattedString, IN, std::string &, str, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap());
|
||||
I_MethodWithDefaults5(void, write, IN, std::ostream &, output, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap());
|
||||
I_MethodWithDefaults4(void, write, IN, std::ostream &, output, , IN, unsigned int, type, osg::ApplicationUsage::COMMAND_LINE_OPTION, IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false);
|
||||
I_Method1(void, writeEnvironmentSettings, IN, std::ostream &, output);
|
||||
I_StaticMethod0(osg::ApplicationUsage *, instance);
|
||||
I_Property(const std::string &, ApplicationName);
|
||||
I_Property(const osg::ApplicationUsage::UsageMap &, CommandLineOptions);
|
||||
I_Property(const osg::ApplicationUsage::UsageMap &, CommandLineOptionsDefaults);
|
||||
I_Property(const std::string &, CommandLineUsage);
|
||||
I_Property(const std::string &, Description);
|
||||
I_Property(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariables);
|
||||
I_Property(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariablesDefaults);
|
||||
I_Property(const osg::ApplicationUsage::UsageMap &, KeyboardMouseBindings);
|
||||
I_Constructor0(____ApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const std::string &, commandLineUsage,
|
||||
____ApplicationUsage__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationName, IN, const std::string &, name,
|
||||
__void__setApplicationName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getApplicationName,
|
||||
__C5_std_string_R1__getApplicationName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDescription, IN, const std::string &, desc,
|
||||
__void__setDescription__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getDescription,
|
||||
__C5_std_string_R1__getDescription,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, addUsageExplanation, IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
__void__addUsageExplanation__Type__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineUsage, IN, const std::string &, explanation,
|
||||
__void__setCommandLineUsage__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getCommandLineUsage,
|
||||
__C5_std_string_R1__getCommandLineUsage,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addCommandLineOption, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
|
||||
__void__addCommandLineOption__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineOptions, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
__void__setCommandLineOptions__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptions,
|
||||
__C5_UsageMap_R1__getCommandLineOptions,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCommandLineOptionsDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
__void__setCommandLineOptionsDefaults__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getCommandLineOptionsDefaults,
|
||||
__C5_UsageMap_R1__getCommandLineOptionsDefaults,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, addEnvironmentalVariable, IN, const std::string &, option, , IN, const std::string &, explanation, , IN, const std::string &, defaultValue, "",
|
||||
__void__addEnvironmentalVariable__C5_std_string_R1__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnvironmentalVariables, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
__void__setEnvironmentalVariables__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariables,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariables,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnvironmentalVariablesDefaults, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
__void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getEnvironmentalVariablesDefaults,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariablesDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addKeyboardMouseBinding, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
__void__addKeyboardMouseBinding__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyboardMouseBindings, IN, const osg::ApplicationUsage::UsageMap &, usageMap,
|
||||
__void__setKeyboardMouseBindings__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage::UsageMap &, getKeyboardMouseBindings,
|
||||
__C5_UsageMap_R1__getKeyboardMouseBindings,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, getFormattedString, IN, std::string &, str, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
|
||||
__void__getFormattedString__std_string_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, write, IN, std::ostream &, output, , IN, const osg::ApplicationUsage::UsageMap &, um, , IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false, IN, const osg::ApplicationUsage::UsageMap &, ud, osg::ApplicationUsage::UsageMap(),
|
||||
__void__write__std_ostream_R1__C5_UsageMap_R1__unsigned_int__bool__C5_UsageMap_R1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, write, IN, std::ostream &, output, , IN, unsigned int, type, osg::ApplicationUsage::COMMAND_LINE_OPTION, IN, unsigned int, widthOfOutput, 80, IN, bool, showDefaults, false,
|
||||
__void__write__std_ostream_R1__unsigned_int__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, writeEnvironmentSettings, IN, std::ostream &, output,
|
||||
__void__writeEnvironmentSettings__std_ostream_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::ApplicationUsage *, instance,
|
||||
__ApplicationUsage_P1__instance_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, ApplicationName,
|
||||
__C5_std_string_R1__getApplicationName,
|
||||
__void__setApplicationName__C5_std_string_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, CommandLineOptions,
|
||||
__C5_UsageMap_R1__getCommandLineOptions,
|
||||
__void__setCommandLineOptions__C5_UsageMap_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, CommandLineOptionsDefaults,
|
||||
__C5_UsageMap_R1__getCommandLineOptionsDefaults,
|
||||
__void__setCommandLineOptionsDefaults__C5_UsageMap_R1);
|
||||
I_SimpleProperty(const std::string &, CommandLineUsage,
|
||||
__C5_std_string_R1__getCommandLineUsage,
|
||||
__void__setCommandLineUsage__C5_std_string_R1);
|
||||
I_SimpleProperty(const std::string &, Description,
|
||||
__C5_std_string_R1__getDescription,
|
||||
__void__setDescription__C5_std_string_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariables,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariables,
|
||||
__void__setEnvironmentalVariables__C5_UsageMap_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, EnvironmentalVariablesDefaults,
|
||||
__C5_UsageMap_R1__getEnvironmentalVariablesDefaults,
|
||||
__void__setEnvironmentalVariablesDefaults__C5_UsageMap_R1);
|
||||
I_SimpleProperty(const osg::ApplicationUsage::UsageMap &, KeyboardMouseBindings,
|
||||
__C5_UsageMap_R1__getKeyboardMouseBindings,
|
||||
__void__setKeyboardMouseBindings__C5_UsageMap_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ApplicationUsageProxy)
|
||||
I_Constructor3(IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation);
|
||||
I_Constructor3(IN, osg::ApplicationUsage::Type, type, IN, const std::string &, option, IN, const std::string &, explanation,
|
||||
____ApplicationUsageProxy__ApplicationUsage_Type__C5_std_string_R1__C5_std_string_R1,
|
||||
"register an explanation of commandline/evironmentalvaraible/keyboard mouse usage. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA std::string >);
|
||||
|
||||
@@ -29,50 +29,179 @@ BEGIN_ENUM_REFLECTOR(osg::ArgumentParser::ErrorSeverity)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ArgumentParser)
|
||||
I_Constructor2(IN, int *, argc, IN, char **, argv);
|
||||
I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, usage);
|
||||
I_Method0(osg::ApplicationUsage *, getApplicationUsage);
|
||||
I_Method0(const osg::ApplicationUsage *, getApplicationUsage);
|
||||
I_Method0(int &, argc);
|
||||
I_Method0(char **, argv);
|
||||
I_Method0(std::string, getApplicationName);
|
||||
I_Method1(int, find, IN, const std::string &, str);
|
||||
I_Method1(bool, isOption, IN, int, pos);
|
||||
I_Method1(bool, isString, IN, int, pos);
|
||||
I_Method1(bool, isNumber, IN, int, pos);
|
||||
I_Method0(bool, containsOptions);
|
||||
I_MethodWithDefaults2(void, remove, IN, int, pos, , IN, int, num, 1);
|
||||
I_Method2(bool, match, IN, int, pos, IN, const std::string &, str);
|
||||
I_Method1(bool, read, IN, const std::string &, str);
|
||||
I_Method2(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1);
|
||||
I_Method3(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2);
|
||||
I_Method4(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3);
|
||||
I_Method5(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4);
|
||||
I_Method6(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5);
|
||||
I_Method7(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6);
|
||||
I_Method8(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7);
|
||||
I_Method9(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8);
|
||||
I_Method2(bool, read, IN, int, pos, IN, const std::string &, str);
|
||||
I_Method3(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1);
|
||||
I_Method4(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2);
|
||||
I_Method5(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3);
|
||||
I_Method6(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4);
|
||||
I_Method7(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5);
|
||||
I_Method8(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6);
|
||||
I_Method9(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7);
|
||||
I_Method10(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8);
|
||||
I_MethodWithDefaults1(bool, errors, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN);
|
||||
I_MethodWithDefaults2(void, reportError, IN, const std::string &, message, , IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::CRITICAL);
|
||||
I_MethodWithDefaults1(void, reportRemainingOptionsAsUnrecognized, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN);
|
||||
I_Method0(osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap);
|
||||
I_Method0(const osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap);
|
||||
I_MethodWithDefaults2(void, writeErrorMessages, IN, std::ostream &, output, , IN, osg::ArgumentParser::ErrorSeverity, sevrity, osg::ArgumentParser::BENIGN);
|
||||
I_StaticMethod1(bool, isOption, IN, const char *, str);
|
||||
I_StaticMethod1(bool, isString, IN, const char *, str);
|
||||
I_StaticMethod1(bool, isNumber, IN, const char *, str);
|
||||
I_ReadOnlyProperty(std::string, ApplicationName);
|
||||
I_Property(osg::ApplicationUsage *, ApplicationUsage);
|
||||
I_ReadOnlyProperty(osg::ArgumentParser::ErrorMessageMap &, ErrorMessageMap);
|
||||
I_Constructor2(IN, int *, argc, IN, char **, argv,
|
||||
____ArgumentParser__int_P1__char_P1P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, usage,
|
||||
__void__setApplicationUsage__ApplicationUsage_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ApplicationUsage *, getApplicationUsage,
|
||||
__ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage *, getApplicationUsage,
|
||||
__C5_ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, argc,
|
||||
__int_R1__argc,
|
||||
"Return the argument count. ",
|
||||
"");
|
||||
I_Method0(char **, argv,
|
||||
__char_P1P1__argv,
|
||||
"Return the argument array. ",
|
||||
"");
|
||||
I_Method0(std::string, getApplicationName,
|
||||
__std_string__getApplicationName,
|
||||
"Return the application name, as specified by argv[0]. ",
|
||||
"");
|
||||
I_Method1(int, find, IN, const std::string &, str,
|
||||
__int__find__C5_std_string_R1,
|
||||
"Return the position of an occurance of a string in the argument list. ",
|
||||
"Return -1 if no string is found. ");
|
||||
I_Method1(bool, isOption, IN, int, pos,
|
||||
__bool__isOption__int,
|
||||
"Return true if the specified parameter is an option in the form of -option or --option. ",
|
||||
"");
|
||||
I_Method1(bool, isString, IN, int, pos,
|
||||
__bool__isString__int,
|
||||
"Return true if the specified parameter is a string not in the form of an option. ",
|
||||
"");
|
||||
I_Method1(bool, isNumber, IN, int, pos,
|
||||
__bool__isNumber__int,
|
||||
"Return true if the specified parameter is a number. ",
|
||||
"");
|
||||
I_Method0(bool, containsOptions,
|
||||
__bool__containsOptions,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, remove, IN, int, pos, , IN, int, num, 1,
|
||||
__void__remove__int__int,
|
||||
"Remove one or more arguments from the argv argument list, and decrement the argc respectively. ",
|
||||
"");
|
||||
I_Method2(bool, match, IN, int, pos, IN, const std::string &, str,
|
||||
__bool__match__int__C5_std_string_R1,
|
||||
"Return true if the specified argument matches the given string. ",
|
||||
"");
|
||||
I_Method1(bool, read, IN, const std::string &, str,
|
||||
__bool__read__C5_std_string_R1,
|
||||
"Search for an occurance of a string in the argument list. ",
|
||||
"If found, remove that occurance and return true. Otherwise, return false. ");
|
||||
I_Method2(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
|
||||
__bool__read__C5_std_string_R1__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method5(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method6(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method7(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method8(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method9(bool, read, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
|
||||
__bool__read__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, read, IN, int, pos, IN, const std::string &, str,
|
||||
__bool__read__int__C5_std_string_R1,
|
||||
"If the argument value at the specified position matches the given string, and subsequent parameters are also matched, then set the parameter values, remove the arguments from the list, and return true. ",
|
||||
"Otherwise, return false. ");
|
||||
I_Method3(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1,
|
||||
__bool__read__int__C5_std_string_R1__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method4(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method5(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method6(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method7(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method8(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method9(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_Method10(bool, read, IN, int, pos, IN, const std::string &, str, IN, osg::ArgumentParser::Parameter, value1, IN, osg::ArgumentParser::Parameter, value2, IN, osg::ArgumentParser::Parameter, value3, IN, osg::ArgumentParser::Parameter, value4, IN, osg::ArgumentParser::Parameter, value5, IN, osg::ArgumentParser::Parameter, value6, IN, osg::ArgumentParser::Parameter, value7, IN, osg::ArgumentParser::Parameter, value8,
|
||||
__bool__read__int__C5_std_string_R1__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter__Parameter,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(bool, errors, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
|
||||
__bool__errors__ErrorSeverity,
|
||||
"Return the error flag, true if an error has occured when reading arguments. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, reportError, IN, const std::string &, message, , IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::CRITICAL,
|
||||
__void__reportError__C5_std_string_R1__ErrorSeverity,
|
||||
"Report an error message by adding to the ErrorMessageMap. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, reportRemainingOptionsAsUnrecognized, IN, osg::ArgumentParser::ErrorSeverity, severity, osg::ArgumentParser::BENIGN,
|
||||
__void__reportRemainingOptionsAsUnrecognized__ErrorSeverity,
|
||||
"For each remaining option, report it as unrecognized. ",
|
||||
"");
|
||||
I_Method0(osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
|
||||
__ErrorMessageMap_R1__getErrorMessageMap,
|
||||
"Return the error message, if any has occured. ",
|
||||
"");
|
||||
I_Method0(const osg::ArgumentParser::ErrorMessageMap &, getErrorMessageMap,
|
||||
__C5_ErrorMessageMap_R1__getErrorMessageMap,
|
||||
"Return the error message, if any has occured. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, writeErrorMessages, IN, std::ostream &, output, , IN, osg::ArgumentParser::ErrorSeverity, sevrity, osg::ArgumentParser::BENIGN,
|
||||
__void__writeErrorMessages__std_ostream_R1__ErrorSeverity,
|
||||
"Write error messages to the given ostream, if at or above the given severiity. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isOption, IN, const char *, str,
|
||||
__bool__isOption__C5_char_P1_S,
|
||||
"Return true if the specified string is an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isString, IN, const char *, str,
|
||||
__bool__isString__C5_char_P1_S,
|
||||
"Return true if string is non-NULL and not an option in the form -option or --option. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isNumber, IN, const char *, str,
|
||||
__bool__isNumber__C5_char_P1_S,
|
||||
"Return true if specified parameter is a number. ",
|
||||
"");
|
||||
I_SimpleProperty(std::string, ApplicationName,
|
||||
__std_string__getApplicationName,
|
||||
0);
|
||||
I_SimpleProperty(osg::ApplicationUsage *, ApplicationUsage,
|
||||
__ApplicationUsage_P1__getApplicationUsage,
|
||||
__void__setApplicationUsage__ApplicationUsage_P1);
|
||||
I_SimpleProperty(osg::ArgumentParser::ErrorMessageMap &, ErrorMessageMap,
|
||||
__ErrorMessageMap_R1__getErrorMessageMap,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::ArgumentParser::Parameter::ParameterType)
|
||||
@@ -84,14 +213,38 @@ BEGIN_ENUM_REFLECTOR(osg::ArgumentParser::Parameter::ParameterType)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ArgumentParser::Parameter)
|
||||
I_Constructor1(IN, float &, value);
|
||||
I_Constructor1(IN, double &, value);
|
||||
I_Constructor1(IN, int &, value);
|
||||
I_Constructor1(IN, unsigned int &, value);
|
||||
I_Constructor1(IN, std::string &, value);
|
||||
I_Constructor1(IN, const osg::ArgumentParser::Parameter &, param);
|
||||
I_Method1(bool, valid, IN, const char *, str);
|
||||
I_Method1(bool, assign, IN, const char *, str);
|
||||
I_Constructor1(IN, float &, value,
|
||||
____Parameter__float_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double &, value,
|
||||
____Parameter__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, int &, value,
|
||||
____Parameter__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int &, value,
|
||||
____Parameter__unsigned_int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, std::string &, value,
|
||||
____Parameter__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ArgumentParser::Parameter &, param,
|
||||
____Parameter__C5_Parameter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, valid, IN, const char *, str,
|
||||
__bool__valid__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, assign, IN, const char *, str,
|
||||
__bool__assign__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA osg::ArgumentParser::ErrorSeverity >);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -35,40 +35,137 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::AutoTransform)
|
||||
I_BaseType(osg::Transform);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::AutoTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method0(osg::AutoTransform *, asAutoTransform);
|
||||
I_Method0(const osg::AutoTransform *, asAutoTransform);
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos);
|
||||
I_Method0(const osg::Vec3 &, getPosition);
|
||||
I_Method1(void, setRotation, IN, const osg::Quat &, quat);
|
||||
I_Method0(const osg::Quat &, getRotation);
|
||||
I_Method1(void, setScale, IN, float, scale);
|
||||
I_Method1(void, setScale, IN, const osg::Vec3 &, scale);
|
||||
I_Method0(const osg::Vec3 &, getScale);
|
||||
I_Method1(void, setPivotPoint, IN, const osg::Vec3 &, pivot);
|
||||
I_Method0(const osg::Vec3 &, getPivotPoint);
|
||||
I_Method1(void, setAutoUpdateEyeMovementTolerance, IN, float, tolerance);
|
||||
I_Method0(float, getAutoUpdateEyeMovementTolerance);
|
||||
I_Method1(void, setAutoRotateMode, IN, osg::AutoTransform::AutoRotateMode, mode);
|
||||
I_Method0(osg::AutoTransform::AutoRotateMode, getAutoRotateMode);
|
||||
I_Method1(void, setAutoScaleToScreen, IN, bool, autoScaleToScreen);
|
||||
I_Method0(bool, getAutoScaleToScreen);
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv);
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_Property(osg::AutoTransform::AutoRotateMode, AutoRotateMode);
|
||||
I_Property(bool, AutoScaleToScreen);
|
||||
I_Property(float, AutoUpdateEyeMovementTolerance);
|
||||
I_Property(const osg::Vec3 &, PivotPoint);
|
||||
I_Property(const osg::Vec3 &, Position);
|
||||
I_Property(const osg::Quat &, Rotation);
|
||||
I_Property(const osg::Vec3 &, Scale);
|
||||
I_Constructor0(____AutoTransform,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::AutoTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____AutoTransform__C5_AutoTransform_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osg::AutoTransform *, asAutoTransform,
|
||||
__AutoTransform_P1__asAutoTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::AutoTransform *, asAutoTransform,
|
||||
__C5_AutoTransform_P1__asAutoTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, pos,
|
||||
__void__setPosition__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
__C5_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotation, IN, const osg::Quat &, quat,
|
||||
__void__setRotation__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getRotation,
|
||||
__C5_Quat_R1__getRotation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, float, scale,
|
||||
__void__setScale__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec3 &, scale,
|
||||
__void__setScale__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getScale,
|
||||
__C5_Vec3_R1__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPivotPoint, IN, const osg::Vec3 &, pivot,
|
||||
__void__setPivotPoint__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPivotPoint,
|
||||
__C5_Vec3_R1__getPivotPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutoUpdateEyeMovementTolerance, IN, float, tolerance,
|
||||
__void__setAutoUpdateEyeMovementTolerance__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getAutoUpdateEyeMovementTolerance,
|
||||
__float__getAutoUpdateEyeMovementTolerance,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutoRotateMode, IN, osg::AutoTransform::AutoRotateMode, mode,
|
||||
__void__setAutoRotateMode__AutoRotateMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::AutoTransform::AutoRotateMode, getAutoRotateMode,
|
||||
__AutoRotateMode__getAutoRotateMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAutoScaleToScreen, IN, bool, autoScaleToScreen,
|
||||
__void__setAutoScaleToScreen__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAutoScaleToScreen,
|
||||
__bool__getAutoScaleToScreen,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__BoundingSphere__computeBound,
|
||||
"Overrides Group's computeBound. ",
|
||||
"There is no need to override in subclasses from osg::Transform since this computeBound() uses the underlying matrix (calling computeMatrix if required).");
|
||||
I_SimpleProperty(osg::AutoTransform::AutoRotateMode, AutoRotateMode,
|
||||
__AutoRotateMode__getAutoRotateMode,
|
||||
__void__setAutoRotateMode__AutoRotateMode);
|
||||
I_SimpleProperty(bool, AutoScaleToScreen,
|
||||
__bool__getAutoScaleToScreen,
|
||||
__void__setAutoScaleToScreen__bool);
|
||||
I_SimpleProperty(float, AutoUpdateEyeMovementTolerance,
|
||||
__float__getAutoUpdateEyeMovementTolerance,
|
||||
__void__setAutoUpdateEyeMovementTolerance__float);
|
||||
I_SimpleProperty(const osg::Vec3 &, PivotPoint,
|
||||
__C5_Vec3_R1__getPivotPoint,
|
||||
__void__setPivotPoint__C5_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_Vec3_R1);
|
||||
I_SimpleProperty(const osg::Quat &, Rotation,
|
||||
__C5_Quat_R1__getRotation,
|
||||
__void__setRotation__C5_Quat_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Scale,
|
||||
__C5_Vec3_R1__getScale,
|
||||
__void__setScale__C5_Vec3_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -37,35 +37,117 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Billboard)
|
||||
I_BaseType(osg::Geode);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Billboard &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setMode, IN, osg::Billboard::Mode, mode);
|
||||
I_Method0(osg::Billboard::Mode, getMode);
|
||||
I_Method1(void, setAxis, IN, const osg::Vec3 &, axis);
|
||||
I_Method0(const osg::Vec3 &, getAxis);
|
||||
I_Method1(void, setNormal, IN, const osg::Vec3 &, normal);
|
||||
I_Method0(const osg::Vec3 &, getNormal);
|
||||
I_Method2(void, setPosition, IN, unsigned int, i, IN, const osg::Vec3 &, pos);
|
||||
I_Method1(const osg::Vec3 &, getPosition, IN, unsigned int, i);
|
||||
I_Method1(void, setPositionList, IN, osg::Billboard::PositionList &, pl);
|
||||
I_Method0(osg::Billboard::PositionList &, getPositionList);
|
||||
I_Method0(const osg::Billboard::PositionList &, getPositionList);
|
||||
I_Method1(bool, addDrawable, IN, osg::Drawable *, gset);
|
||||
I_Method2(bool, addDrawable, IN, osg::Drawable *, gset, IN, const osg::Vec3 &, pos);
|
||||
I_Method1(bool, removeDrawable, IN, osg::Drawable *, gset);
|
||||
I_Method3(bool, computeMatrix, IN, osg::Matrix &, modelview, IN, const osg::Vec3 &, eye_local, IN, const osg::Vec3 &, pos_local);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_Property(const osg::Vec3 &, Axis);
|
||||
I_Property(osg::Billboard::Mode, Mode);
|
||||
I_Property(const osg::Vec3 &, Normal);
|
||||
I_IndexedProperty1(const osg::Vec3 &, Position, unsigned int, i);
|
||||
I_Property(osg::Billboard::PositionList &, PositionList);
|
||||
I_Constructor0(____Billboard,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Billboard &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Billboard__C5_Billboard_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::Billboard::Mode, mode,
|
||||
__void__setMode__Mode,
|
||||
"Set the billboard rotation mode. ",
|
||||
"");
|
||||
I_Method0(osg::Billboard::Mode, getMode,
|
||||
__Mode__getMode,
|
||||
"Get the billboard rotation mode. ",
|
||||
"");
|
||||
I_Method1(void, setAxis, IN, const osg::Vec3 &, axis,
|
||||
__void__setAxis__C5_Vec3_R1,
|
||||
"Set the rotation axis for the billboard's child Drawables. ",
|
||||
"Only utlized when mode==AXIAL_ROT. ");
|
||||
I_Method0(const osg::Vec3 &, getAxis,
|
||||
__C5_Vec3_R1__getAxis,
|
||||
"Get the rotation axis. ",
|
||||
"");
|
||||
I_Method1(void, setNormal, IN, const osg::Vec3 &, normal,
|
||||
__void__setNormal__C5_Vec3_R1,
|
||||
"This normal defines child Drawables' front face direction when unrotated. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getNormal,
|
||||
__C5_Vec3_R1__getNormal,
|
||||
"Get the front face direction normal. ",
|
||||
"");
|
||||
I_Method2(void, setPosition, IN, unsigned int, i, IN, const osg::Vec3 &, pos,
|
||||
__void__setPosition__unsigned_int__C5_Vec3_R1,
|
||||
"Set the specified child Drawable's position. ",
|
||||
"");
|
||||
I_Method1(const osg::Vec3 &, getPosition, IN, unsigned int, i,
|
||||
__C5_Vec3_R1__getPosition__unsigned_int,
|
||||
"Get the specified child Drawable's position. ",
|
||||
"");
|
||||
I_Method1(void, setPositionList, IN, osg::Billboard::PositionList &, pl,
|
||||
__void__setPositionList__PositionList_R1,
|
||||
"Set the list of pivot point positions. ",
|
||||
"");
|
||||
I_Method0(osg::Billboard::PositionList &, getPositionList,
|
||||
__PositionList_R1__getPositionList,
|
||||
"Get the list of pivot point positions. ",
|
||||
"");
|
||||
I_Method0(const osg::Billboard::PositionList &, getPositionList,
|
||||
__C5_PositionList_R1__getPositionList,
|
||||
"Get a const list of pivot point positions. ",
|
||||
"");
|
||||
I_Method1(bool, addDrawable, IN, osg::Drawable *, gset,
|
||||
__bool__addDrawable__Drawable_P1,
|
||||
"Add a Drawable with a default position of Vec3(0,0,0). ",
|
||||
"Call the base-class Geode::addDrawble() to add the given Drawable gset as a child. If Geode::addDrawable() returns true, add the default position to the pivot point position list and return true. Otherwise, return false. ");
|
||||
I_Method2(bool, addDrawable, IN, osg::Drawable *, gset, IN, const osg::Vec3 &, pos,
|
||||
__bool__addDrawable__Drawable_P1__C5_Vec3_R1,
|
||||
"Add a Drawable with a specified position. ",
|
||||
"Call the base-class Geode::addDrawble() to add the given Drawable gset as a child. If Geode::addDrawable() returns true, add the given position pos to the pivot point position list and return true. Otherwise, return false. ");
|
||||
I_Method1(bool, removeDrawable, IN, osg::Drawable *, gset,
|
||||
__bool__removeDrawable__Drawable_P1,
|
||||
"Remove a Drawable and its associated position. ",
|
||||
"If gset is a child, remove it, decrement its reference count, remove its pivot point position. and return true. Otherwise, return false. ");
|
||||
I_Method3(bool, computeMatrix, IN, osg::Matrix &, modelview, IN, const osg::Vec3 &, eye_local, IN, const osg::Vec3 &, pos_local,
|
||||
__bool__computeMatrix__Matrix_R1__C5_Vec3_R1__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__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(const osg::Vec3 &, Axis,
|
||||
__C5_Vec3_R1__getAxis,
|
||||
__void__setAxis__C5_Vec3_R1);
|
||||
I_SimpleProperty(osg::Billboard::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(const osg::Vec3 &, Normal,
|
||||
__C5_Vec3_R1__getNormal,
|
||||
__void__setNormal__C5_Vec3_R1);
|
||||
I_IndexedProperty(const osg::Vec3 &, Position,
|
||||
__C5_Vec3_R1__getPosition__unsigned_int,
|
||||
__void__setPosition__unsigned_int__C5_Vec3_R1,
|
||||
0);
|
||||
I_SimpleProperty(osg::Billboard::PositionList &, PositionList,
|
||||
__PositionList_R1__getPositionList,
|
||||
__void__setPositionList__PositionList_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::Vec3 >);
|
||||
|
||||
@@ -27,39 +27,120 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BlendColor)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::Vec4 &, constantColor);
|
||||
I_ConstructorWithDefaults2(IN, const osg::BlendColor &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setConstantColor, IN, const osg::Vec4 &, color);
|
||||
I_Method0(osg::Vec4 &, getConstantColor);
|
||||
I_Method0(const osg::Vec4 &, getConstantColor);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_StaticMethod2(osg::BlendColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized);
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendColor::Extensions *, extensions);
|
||||
I_Property(const osg::Vec4 &, ConstantColor);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____BlendColor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4 &, constantColor,
|
||||
____BlendColor__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::BlendColor &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BlendColor__C5_BlendColor_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setConstantColor, IN, const osg::Vec4 &, color,
|
||||
__void__setConstantColor__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, getConstantColor,
|
||||
__osg_Vec4_R1__getConstantColor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getConstantColor,
|
||||
__C5_osg_Vec4_R1__getConstantColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(osg::BlendColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendColor::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(const osg::Vec4 &, ConstantColor,
|
||||
__C5_osg_Vec4_R1__getConstantColor,
|
||||
__void__setConstantColor__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BlendColor::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID);
|
||||
I_Constructor1(IN, const osg::BlendColor::Extensions &, rhs);
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BlendColor::Extensions &, rhs);
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID);
|
||||
I_Method1(void, setBlendColorSupported, IN, bool, flag);
|
||||
I_Method0(bool, isBlendColorSupported);
|
||||
I_Method1(void, setBlendColorProc, IN, void *, ptr);
|
||||
I_Method4(void, glBlendColor, IN, GLclampf, red, IN, GLclampf, green, IN, GLclampf, blue, IN, GLclampf, alpha);
|
||||
I_WriteOnlyProperty(void *, BlendColorProc);
|
||||
I_WriteOnlyProperty(bool, BlendColorSupported);
|
||||
I_WriteOnlyProperty(unsigned int, upGLExtenions);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BlendColor::Extensions &, rhs,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BlendColor::Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBlendColorSupported, IN, bool, flag,
|
||||
__void__setBlendColorSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isBlendColorSupported,
|
||||
__bool__isBlendColorSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBlendColorProc, IN, void *, ptr,
|
||||
__void__setBlendColorProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBlendColor, IN, GLclampf, red, IN, GLclampf, green, IN, GLclampf, blue, IN, GLclampf, alpha,
|
||||
__void__glBlendColor__GLclampf__GLclampf__GLclampf__GLclampf,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(void *, BlendColorProc,
|
||||
0,
|
||||
__void__setBlendColorProc__void_P1);
|
||||
I_SimpleProperty(bool, BlendColorSupported,
|
||||
0,
|
||||
__void__setBlendColorSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -37,40 +37,124 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BlendEquation)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::BlendEquation::Equation, equation);
|
||||
I_ConstructorWithDefaults2(IN, const osg::BlendEquation &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setEquation, IN, osg::BlendEquation::Equation, equation);
|
||||
I_Method0(osg::BlendEquation::Equation, getEquation);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_StaticMethod2(osg::BlendEquation::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized);
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendEquation::Extensions *, extensions);
|
||||
I_Property(osg::BlendEquation::Equation, Equation);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____BlendEquation,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::BlendEquation::Equation, equation,
|
||||
____BlendEquation__Equation,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::BlendEquation &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BlendEquation__C5_BlendEquation_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEquation, IN, osg::BlendEquation::Equation, equation,
|
||||
__void__setEquation__Equation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BlendEquation::Equation, getEquation,
|
||||
__Equation__getEquation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(osg::BlendEquation::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendEquation::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(osg::BlendEquation::Equation, Equation,
|
||||
__Equation__getEquation,
|
||||
__void__setEquation__Equation);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BlendEquation::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID);
|
||||
I_Constructor1(IN, const osg::BlendEquation::Extensions &, rhs);
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BlendEquation::Extensions &, rhs);
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID);
|
||||
I_Method1(void, setBlendEquationSupported, IN, bool, flag);
|
||||
I_Method0(bool, isBlendEquationSupported);
|
||||
I_Method0(bool, isSGIXMinMaxSupported);
|
||||
I_Method0(bool, isLogicOpSupported);
|
||||
I_Method1(void, setBlendEquationProc, IN, void *, ptr);
|
||||
I_Method1(void, glBlendEquation, IN, GLenum, mode);
|
||||
I_WriteOnlyProperty(void *, BlendEquationProc);
|
||||
I_WriteOnlyProperty(bool, BlendEquationSupported);
|
||||
I_WriteOnlyProperty(unsigned int, upGLExtenions);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BlendEquation::Extensions &, rhs,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BlendEquation::Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBlendEquationSupported, IN, bool, flag,
|
||||
__void__setBlendEquationSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isBlendEquationSupported,
|
||||
__bool__isBlendEquationSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isSGIXMinMaxSupported,
|
||||
__bool__isSGIXMinMaxSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isLogicOpSupported,
|
||||
__bool__isLogicOpSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBlendEquationProc, IN, void *, ptr,
|
||||
__void__setBlendEquationProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glBlendEquation, IN, GLenum, mode,
|
||||
__void__glBlendEquation__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(void *, BlendEquationProc,
|
||||
0,
|
||||
__void__setBlendEquationProc__void_P1);
|
||||
I_SimpleProperty(bool, BlendEquationSupported,
|
||||
0,
|
||||
__void__setBlendEquationSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -44,56 +44,183 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BlendFunc)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, GLenum, source, IN, GLenum, destination);
|
||||
I_Constructor4(IN, GLenum, source, IN, GLenum, destination, IN, GLenum, source_alpha, IN, GLenum, destination_alpha);
|
||||
I_ConstructorWithDefaults2(IN, const osg::BlendFunc &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method2(void, setFunction, IN, GLenum, source, IN, GLenum, destination);
|
||||
I_Method4(void, setFunction, IN, GLenum, source_rgb, IN, GLenum, destination_rgb, IN, GLenum, source_alpha, IN, GLenum, destination_alpha);
|
||||
I_Method1(void, setSource, IN, GLenum, source);
|
||||
I_Method0(GLenum, getSource);
|
||||
I_Method1(void, setSourceRGB, IN, GLenum, source);
|
||||
I_Method0(GLenum, getSourceRGB);
|
||||
I_Method1(void, setSourceAlpha, IN, GLenum, source);
|
||||
I_Method0(GLenum, getSourceAlpha);
|
||||
I_Method1(void, setDestination, IN, GLenum, destination);
|
||||
I_Method0(GLenum, getDestination);
|
||||
I_Method1(void, setDestinationRGB, IN, GLenum, destination);
|
||||
I_Method0(GLenum, getDestinationRGB);
|
||||
I_Method1(void, setDestinationAlpha, IN, GLenum, destination);
|
||||
I_Method0(GLenum, getDestinationAlpha);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_StaticMethod2(osg::BlendFunc::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized);
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendFunc::Extensions *, extensions);
|
||||
I_Property(GLenum, Destination);
|
||||
I_Property(GLenum, DestinationAlpha);
|
||||
I_Property(GLenum, DestinationRGB);
|
||||
I_Property(GLenum, Source);
|
||||
I_Property(GLenum, SourceAlpha);
|
||||
I_Property(GLenum, SourceRGB);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____BlendFunc,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLenum, source, IN, GLenum, destination,
|
||||
____BlendFunc__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, GLenum, source, IN, GLenum, destination, IN, GLenum, source_alpha, IN, GLenum, destination_alpha,
|
||||
____BlendFunc__GLenum__GLenum__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::BlendFunc &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BlendFunc__C5_BlendFunc_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setFunction, IN, GLenum, source, IN, GLenum, destination,
|
||||
__void__setFunction__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setFunction, IN, GLenum, source_rgb, IN, GLenum, destination_rgb, IN, GLenum, source_alpha, IN, GLenum, destination_alpha,
|
||||
__void__setFunction__GLenum__GLenum__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource, IN, GLenum, source,
|
||||
__void__setSource__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getSource,
|
||||
__GLenum__getSource,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSourceRGB, IN, GLenum, source,
|
||||
__void__setSourceRGB__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getSourceRGB,
|
||||
__GLenum__getSourceRGB,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSourceAlpha, IN, GLenum, source,
|
||||
__void__setSourceAlpha__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getSourceAlpha,
|
||||
__GLenum__getSourceAlpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDestination, IN, GLenum, destination,
|
||||
__void__setDestination__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getDestination,
|
||||
__GLenum__getDestination,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDestinationRGB, IN, GLenum, destination,
|
||||
__void__setDestinationRGB__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getDestinationRGB,
|
||||
__GLenum__getDestinationRGB,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDestinationAlpha, IN, GLenum, destination,
|
||||
__void__setDestinationAlpha__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getDestinationAlpha,
|
||||
__GLenum__getDestinationAlpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(osg::BlendFunc::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BlendFunc::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(GLenum, Destination,
|
||||
__GLenum__getDestination,
|
||||
__void__setDestination__GLenum);
|
||||
I_SimpleProperty(GLenum, DestinationAlpha,
|
||||
__GLenum__getDestinationAlpha,
|
||||
__void__setDestinationAlpha__GLenum);
|
||||
I_SimpleProperty(GLenum, DestinationRGB,
|
||||
__GLenum__getDestinationRGB,
|
||||
__void__setDestinationRGB__GLenum);
|
||||
I_SimpleProperty(GLenum, Source,
|
||||
__GLenum__getSource,
|
||||
__void__setSource__GLenum);
|
||||
I_SimpleProperty(GLenum, SourceAlpha,
|
||||
__GLenum__getSourceAlpha,
|
||||
__void__setSourceAlpha__GLenum);
|
||||
I_SimpleProperty(GLenum, SourceRGB,
|
||||
__GLenum__getSourceRGB,
|
||||
__void__setSourceRGB__GLenum);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BlendFunc::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID);
|
||||
I_Constructor1(IN, const osg::BlendFunc::Extensions &, rhs);
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BlendFunc::Extensions &, rhs);
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID);
|
||||
I_Method1(void, setBlendFuncSeparateSupported, IN, bool, flag);
|
||||
I_Method0(bool, isBlendFuncSeparateSupported);
|
||||
I_Method1(void, setBlendFuncSeparateProc, IN, void *, ptr);
|
||||
I_Method4(void, glBlendFuncSeparate, IN, GLenum, sfactorRGB, IN, GLenum, dfactorRGB, IN, GLenum, sfactorAlpha, IN, GLenum, dfactorAlpha);
|
||||
I_WriteOnlyProperty(void *, BlendFuncSeparateProc);
|
||||
I_WriteOnlyProperty(bool, BlendFuncSeparateSupported);
|
||||
I_WriteOnlyProperty(unsigned int, upGLExtensions);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BlendFunc::Extensions &, rhs,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BlendFunc::Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtensions, IN, unsigned int, contextID,
|
||||
__void__setupGLExtensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBlendFuncSeparateSupported, IN, bool, flag,
|
||||
__void__setBlendFuncSeparateSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isBlendFuncSeparateSupported,
|
||||
__bool__isBlendFuncSeparateSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBlendFuncSeparateProc, IN, void *, ptr,
|
||||
__void__setBlendFuncSeparateProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBlendFuncSeparate, IN, GLenum, sfactorRGB, IN, GLenum, dfactorRGB, IN, GLenum, sfactorAlpha, IN, GLenum, dfactorAlpha,
|
||||
__void__glBlendFuncSeparate__GLenum__GLenum__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(void *, BlendFuncSeparateProc,
|
||||
0,
|
||||
__void__setBlendFuncSeparateProc__void_P1);
|
||||
I_SimpleProperty(bool, BlendFuncSeparateSupported,
|
||||
0,
|
||||
__void__setBlendFuncSeparateSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -23,36 +23,125 @@
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::BoundingBox)
|
||||
I_Constructor0();
|
||||
I_Constructor6(IN, float, xmin, IN, float, ymin, IN, float, zmin, IN, float, xmax, IN, float, ymax, IN, float, zmax);
|
||||
I_Constructor2(IN, const osg::Vec3 &, min, IN, const osg::Vec3 &, max);
|
||||
I_Method0(void, init);
|
||||
I_Method0(bool, valid);
|
||||
I_Method6(void, set, IN, float, xmin, IN, float, ymin, IN, float, zmin, IN, float, xmax, IN, float, ymax, IN, float, zmax);
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, min, IN, const osg::Vec3 &, max);
|
||||
I_Method0(float &, xMin);
|
||||
I_Method0(float, xMin);
|
||||
I_Method0(float &, yMin);
|
||||
I_Method0(float, yMin);
|
||||
I_Method0(float &, zMin);
|
||||
I_Method0(float, zMin);
|
||||
I_Method0(float &, xMax);
|
||||
I_Method0(float, xMax);
|
||||
I_Method0(float &, yMax);
|
||||
I_Method0(float, yMax);
|
||||
I_Method0(float &, zMax);
|
||||
I_Method0(float, zMax);
|
||||
I_Method0(const osg::Vec3, center);
|
||||
I_Method0(float, radius);
|
||||
I_Method0(float, radius2);
|
||||
I_Method1(const osg::Vec3, corner, IN, unsigned int, pos);
|
||||
I_Method1(void, expandBy, IN, const osg::Vec3 &, v);
|
||||
I_Method3(void, expandBy, IN, float, x, IN, float, y, IN, float, z);
|
||||
I_Method1(void, expandBy, IN, const osg::BoundingBox &, bb);
|
||||
I_Method1(void, expandBy, IN, const osg::BoundingSphere &, sh);
|
||||
I_Method1(osg::BoundingBox, intersect, IN, const osg::BoundingBox &, bb);
|
||||
I_Method1(bool, intersects, IN, const osg::BoundingBox &, bb);
|
||||
I_Method1(bool, contains, IN, const osg::Vec3 &, v);
|
||||
I_Constructor0(____BoundingBox,
|
||||
"Creates an uninitialized bounding box. ",
|
||||
"");
|
||||
I_Constructor6(IN, float, xmin, IN, float, ymin, IN, float, zmin, IN, float, xmax, IN, float, ymax, IN, float, zmax,
|
||||
____BoundingBox__float__float__float__float__float__float,
|
||||
"Creates a bounding box initialized to the given extents. ",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, min, IN, const osg::Vec3 &, max,
|
||||
____BoundingBox__C5_Vec3_R1__C5_Vec3_R1,
|
||||
"Creates a bounding box initialized to the given extents. ",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
__void__init,
|
||||
"Clear the bounding box. ",
|
||||
"Erases existing minimum and maximum extents. ");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"Returns true if the bounding box extents are valid, false otherwise. ",
|
||||
"");
|
||||
I_Method6(void, set, IN, float, xmin, IN, float, ymin, IN, float, zmin, IN, float, xmax, IN, float, ymax, IN, float, zmax,
|
||||
__void__set__float__float__float__float__float__float,
|
||||
"Sets the bounding box extents. ",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, min, IN, const osg::Vec3 &, max,
|
||||
__void__set__C5_Vec3_R1__C5_Vec3_R1,
|
||||
"Sets the bounding box extents. ",
|
||||
"");
|
||||
I_Method0(float &, xMin,
|
||||
__float_R1__xMin,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, xMin,
|
||||
__float__xMin,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float &, yMin,
|
||||
__float_R1__yMin,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, yMin,
|
||||
__float__yMin,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float &, zMin,
|
||||
__float_R1__zMin,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, zMin,
|
||||
__float__zMin,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float &, xMax,
|
||||
__float_R1__xMax,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, xMax,
|
||||
__float__xMax,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float &, yMax,
|
||||
__float_R1__yMax,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, yMax,
|
||||
__float__yMax,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float &, zMax,
|
||||
__float_R1__zMax,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, zMax,
|
||||
__float__zMax,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3, center,
|
||||
__C5_Vec3__center,
|
||||
"Calculates and returns the bounding box center. ",
|
||||
"");
|
||||
I_Method0(float, radius,
|
||||
__float__radius,
|
||||
"Calculates and returns the bounding box radius. ",
|
||||
"");
|
||||
I_Method0(float, radius2,
|
||||
__float__radius2,
|
||||
"Calculates and returns the squared length of the bounding box radius. ",
|
||||
"Note, radius2() is faster to calculate than radius(). ");
|
||||
I_Method1(const osg::Vec3, corner, IN, unsigned int, pos,
|
||||
__C5_Vec3__corner__unsigned_int,
|
||||
"Returns a specific corner of the bounding box. ",
|
||||
"pos specifies the corner as a number between 0 and 7. Each bit selects an axis, X, Y, or Z from least- to most-significant. Unset bits select the minimum value for that axis, and set bits select the maximum. ");
|
||||
I_Method1(void, expandBy, IN, const osg::Vec3 &, v,
|
||||
__void__expandBy__C5_Vec3_R1,
|
||||
"Expands the bounding box to include the given coordinate. ",
|
||||
"If the box is uninitialized, set its min and max extents to v. ");
|
||||
I_Method3(void, expandBy, IN, float, x, IN, float, y, IN, float, z,
|
||||
__void__expandBy__float__float__float,
|
||||
"Expands the bounding box to include the given coordinate. ",
|
||||
"If the box is uninitialized, set its min and max extents to Vec3(x,y,z). ");
|
||||
I_Method1(void, expandBy, IN, const osg::BoundingBox &, bb,
|
||||
__void__expandBy__C5_BoundingBox_R1,
|
||||
"Expands this bounding box to include the given bounding box. ",
|
||||
"If this box is uninitialized, set it equal to bb. ");
|
||||
I_Method1(void, expandBy, IN, const osg::BoundingSphere &, sh,
|
||||
__void__expandBy__C5_BoundingSphere_R1,
|
||||
"Expands this bounding box to include the given sphere. ",
|
||||
"If this box is uninitialized, set it to include sh. ");
|
||||
I_Method1(osg::BoundingBox, intersect, IN, const osg::BoundingBox &, bb,
|
||||
__BoundingBox__intersect__C5_BoundingBox_R1,
|
||||
"Returns the intesection of this bounding box and the specified bounding box. ",
|
||||
"");
|
||||
I_Method1(bool, intersects, IN, const osg::BoundingBox &, bb,
|
||||
__bool__intersects__C5_BoundingBox_R1,
|
||||
"Return true if this bounding box intersects the specified bounding box. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::Vec3 &, v,
|
||||
__bool__contains__C5_Vec3_R1,
|
||||
"Returns true if this bounding box contains the specified coordinate. ",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::Vec3, _min);
|
||||
I_PublicMemberProperty(osg::Vec3, _max);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -23,26 +23,85 @@
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::BoundingSphere)
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, const osg::Vec3 &, center, IN, float, radius);
|
||||
I_Constructor1(IN, const osg::BoundingSphere &, bs);
|
||||
I_Constructor1(IN, const osg::BoundingBox &, bb);
|
||||
I_Method0(void, init);
|
||||
I_Method0(bool, valid);
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, center, IN, float, radius);
|
||||
I_Method0(osg::Vec3 &, center);
|
||||
I_Method0(const osg::Vec3 &, center);
|
||||
I_Method0(float &, radius);
|
||||
I_Method0(float, radius);
|
||||
I_Method0(float, radius2);
|
||||
I_Method1(void, expandBy, IN, const osg::Vec3 &, v);
|
||||
I_Method1(void, expandRadiusBy, IN, const osg::Vec3 &, v);
|
||||
I_Method1(void, expandBy, IN, const osg::BoundingSphere &, sh);
|
||||
I_Method1(void, expandRadiusBy, IN, const osg::BoundingSphere &, sh);
|
||||
I_Method1(void, expandBy, IN, const osg::BoundingBox &, bb);
|
||||
I_Method1(void, expandRadiusBy, IN, const osg::BoundingBox &, bb);
|
||||
I_Method1(bool, contains, IN, const osg::Vec3 &, v);
|
||||
I_Method1(bool, intersects, IN, const osg::BoundingSphere &, bs);
|
||||
I_Constructor0(____BoundingSphere,
|
||||
"Construct a default bounding sphere with radius to -1.0f, representing an invalid/unset bounding sphere. ",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, center, IN, float, radius,
|
||||
____BoundingSphere__C5_Vec3_R1__float,
|
||||
"Creates a bounding sphere initialized to the given extents. ",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BoundingSphere &, bs,
|
||||
____BoundingSphere__C5_BoundingSphere_R1,
|
||||
"Creates a bounding sphere initialized to the given extents. ",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BoundingBox &, bb,
|
||||
____BoundingSphere__C5_BoundingBox_R1,
|
||||
"Creates a bounding sphere initialized to the given extents. ",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
__void__init,
|
||||
"Clear the bounding sphere. ",
|
||||
"Reset to default values. ");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"Returns true of the bounding sphere extents are valid, false otherwise. ",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, center, IN, float, radius,
|
||||
__void__set__C5_Vec3_R1__float,
|
||||
"Set the bounding sphere to the given center/radius. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3 &, center,
|
||||
__Vec3_R1__center,
|
||||
"Returns the center of the bounding sphere. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, center,
|
||||
__C5_Vec3_R1__center,
|
||||
"Returns the const center of the bounding sphere. ",
|
||||
"");
|
||||
I_Method0(float &, radius,
|
||||
__float_R1__radius,
|
||||
"Returns the radius of the bounding sphere. ",
|
||||
"");
|
||||
I_Method0(float, radius,
|
||||
__float__radius,
|
||||
"Returns the const radius of the bounding sphere. ",
|
||||
"");
|
||||
I_Method0(float, radius2,
|
||||
__float__radius2,
|
||||
"Returns the squared length of the radius. ",
|
||||
"Note, For performance reasons, the calling method is responsible for checking to make sure the sphere is valid. ");
|
||||
I_Method1(void, expandBy, IN, const osg::Vec3 &, v,
|
||||
__void__expandBy__C5_Vec3_R1,
|
||||
"Expands the sphere to encompass the given point. ",
|
||||
"Repositions the sphere center to minimize the radius increase. If the sphere is uninitialized, set its center to v and radius to zero. ");
|
||||
I_Method1(void, expandRadiusBy, IN, const osg::Vec3 &, v,
|
||||
__void__expandRadiusBy__C5_Vec3_R1,
|
||||
"Expands the sphere to encompass the given point. ",
|
||||
"Does not reposition the sphere center. If the sphere is uninitialized, set its center to v and radius to zero. ");
|
||||
I_Method1(void, expandBy, IN, const osg::BoundingSphere &, sh,
|
||||
__void__expandBy__C5_BoundingSphere_R1,
|
||||
"Expands the sphere to encompass the given sphere. ",
|
||||
"Repositions the sphere center to minimize the radius increase. If the sphere is uninitialized, set its center and radius to match sh. ");
|
||||
I_Method1(void, expandRadiusBy, IN, const osg::BoundingSphere &, sh,
|
||||
__void__expandRadiusBy__C5_BoundingSphere_R1,
|
||||
"Expands the sphere to encompass the given sphere. ",
|
||||
"Does not repositions the sphere center. If the sphere is uninitialized, set its center and radius to match sh. ");
|
||||
I_Method1(void, expandBy, IN, const osg::BoundingBox &, bb,
|
||||
__void__expandBy__C5_BoundingBox_R1,
|
||||
"Expands the sphere to encompass the given box. ",
|
||||
"Repositions the sphere center to minimize the radius increase. ");
|
||||
I_Method1(void, expandRadiusBy, IN, const osg::BoundingBox &, bb,
|
||||
__void__expandRadiusBy__C5_BoundingBox_R1,
|
||||
"Expands the sphere to encompass the given box. ",
|
||||
"Does not repositions the sphere center. ");
|
||||
I_Method1(bool, contains, IN, const osg::Vec3 &, v,
|
||||
__bool__contains__C5_Vec3_R1,
|
||||
"Returns true if v is within the sphere. ",
|
||||
"");
|
||||
I_Method1(bool, intersects, IN, const osg::BoundingSphere &, bs,
|
||||
__bool__intersects__C5_BoundingSphere_R1,
|
||||
"Returns true if there is a non-empty intersection with the given bounding sphere. ",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::Vec3, _center);
|
||||
I_PublicMemberProperty(float, _radius);
|
||||
END_REFLECTOR
|
||||
|
||||
@@ -26,28 +26,83 @@
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::BufferObject)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::BufferObject &, bo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(bool, isBufferObjectSupported, IN, unsigned int, contextID);
|
||||
I_Method1(bool, isPBOSupported, IN, unsigned int, contextID);
|
||||
I_Method1(GLuint &, buffer, IN, unsigned int, contextID);
|
||||
I_Method1(void, bindBuffer, IN, unsigned int, contextID);
|
||||
I_Method1(void, unbindBuffer, IN, unsigned int, contextID);
|
||||
I_Method1(bool, needsCompile, IN, unsigned int, contextID);
|
||||
I_Method1(void, compileBuffer, IN, osg::State &, state);
|
||||
I_Method1(void, releaseBuffer, IN, osg::State *, state);
|
||||
I_Method3(void, flushDeletedBufferObjects, IN, unsigned int, contextID, IN, double, x, IN, double &, availableTime);
|
||||
I_StaticMethod2(void, deleteBufferObject, IN, unsigned int, contextID, IN, GLuint, globj);
|
||||
I_StaticMethod2(osg::BufferObject::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized);
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BufferObject::Extensions *, extensions);
|
||||
I_Constructor0(____BufferObject,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::BufferObject &, bo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____BufferObject__C5_BufferObject_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isBufferObjectSupported, IN, unsigned int, contextID,
|
||||
__bool__isBufferObjectSupported__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isPBOSupported, IN, unsigned int, contextID,
|
||||
__bool__isPBOSupported__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, buffer, IN, unsigned int, contextID,
|
||||
__GLuint_R1__buffer__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, bindBuffer, IN, unsigned int, contextID,
|
||||
__void__bindBuffer__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, unbindBuffer, IN, unsigned int, contextID,
|
||||
__void__unbindBuffer__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, needsCompile, IN, unsigned int, contextID,
|
||||
__bool__needsCompile__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileBuffer, IN, osg::State &, state,
|
||||
__void__compileBuffer__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, releaseBuffer, IN, osg::State *, state,
|
||||
__void__releaseBuffer__State_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, flushDeletedBufferObjects, IN, unsigned int, contextID, IN, double, x, IN, double &, availableTime,
|
||||
__void__flushDeletedBufferObjects__unsigned_int__double__double_R1,
|
||||
"flush all the cached display list which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteBufferObject, IN, unsigned int, contextID, IN, GLuint, globj,
|
||||
__void__deleteBufferObject__unsigned_int__GLuint_S,
|
||||
"Use deleteVertexBufferObject instead of glDeleteBuffers to allow OpenGL buffer objects to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::BufferObject::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object is only created with the graphics context associated with ContextID.. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::BufferObject::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions allows users to override the extensions across graphics contexts. ",
|
||||
"typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::BufferObject::BufferEntry)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::BufferObject::BufferEntry &, be);
|
||||
I_Constructor0(____BufferEntry,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BufferObject::BufferEntry &, be,
|
||||
____BufferEntry__C5_BufferEntry_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::buffered_value< unsigned int >, modifiedCount);
|
||||
I_PublicMemberProperty(unsigned int, dataSize);
|
||||
I_PublicMemberProperty(unsigned int, offset);
|
||||
@@ -55,44 +110,135 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BufferObject::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID);
|
||||
I_Constructor1(IN, const osg::BufferObject::Extensions &, rhs);
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs);
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID);
|
||||
I_Method0(bool, isBufferObjectSupported);
|
||||
I_Method0(bool, isPBOSupported);
|
||||
I_Method2(void, glGenBuffers, IN, GLsizei, n, IN, GLuint *, buffers);
|
||||
I_Method2(void, glBindBuffer, IN, GLenum, target, IN, GLuint, buffer);
|
||||
I_Method4(void, glBufferData, IN, GLenum, target, IN, GLsizeiptrARB, size, IN, const GLvoid *, data, IN, GLenum, usage);
|
||||
I_Method4(void, glBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, const GLvoid *, data);
|
||||
I_Method2(void, glDeleteBuffers, IN, GLsizei, n, IN, const GLuint *, buffers);
|
||||
I_Method1(GLboolean, glIsBuffer, IN, GLuint, buffer);
|
||||
I_Method4(void, glGetBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, GLvoid *, data);
|
||||
I_Method2(GLvoid *, glMapBuffer, IN, GLenum, target, IN, GLenum, access);
|
||||
I_Method1(GLboolean, glUnmapBuffer, IN, GLenum, target);
|
||||
I_Method3(void, glGetBufferParameteriv, IN, GLenum, target, IN, GLenum, pname, IN, GLint *, params);
|
||||
I_Method3(void, glGetBufferPointerv, IN, GLenum, target, IN, GLenum, pname, IN, GLvoid **, params);
|
||||
I_WriteOnlyProperty(unsigned int, upGLExtenions);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::BufferObject::Extensions &, rhs,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::BufferObject::Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isBufferObjectSupported,
|
||||
__bool__isBufferObjectSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPBOSupported,
|
||||
__bool__isPBOSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenBuffers, IN, GLsizei, n, IN, GLuint *, buffers,
|
||||
__void__glGenBuffers__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindBuffer, IN, GLenum, target, IN, GLuint, buffer,
|
||||
__void__glBindBuffer__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBufferData, IN, GLenum, target, IN, GLsizeiptrARB, size, IN, const GLvoid *, data, IN, GLenum, usage,
|
||||
__void__glBufferData__GLenum__GLsizeiptrARB__C5_GLvoid_P1__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, const GLvoid *, data,
|
||||
__void__glBufferSubData__GLenum__GLintptrARB__GLsizeiptrARB__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeleteBuffers, IN, GLsizei, n, IN, const GLuint *, buffers,
|
||||
__void__glDeleteBuffers__GLsizei__C5_GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glIsBuffer, IN, GLuint, buffer,
|
||||
__GLboolean__glIsBuffer__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glGetBufferSubData, IN, GLenum, target, IN, GLintptrARB, offset, IN, GLsizeiptrARB, size, IN, GLvoid *, data,
|
||||
__void__glGetBufferSubData__GLenum__GLintptrARB__GLsizeiptrARB__GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLvoid *, glMapBuffer, IN, GLenum, target, IN, GLenum, access,
|
||||
__GLvoid_P1__glMapBuffer__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glUnmapBuffer, IN, GLenum, target,
|
||||
__GLboolean__glUnmapBuffer__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetBufferParameteriv, IN, GLenum, target, IN, GLenum, pname, IN, GLint *, params,
|
||||
__void__glGetBufferParameteriv__GLenum__GLenum__GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetBufferPointerv, IN, GLenum, target, IN, GLenum, pname, IN, GLvoid **, params,
|
||||
__void__glGetBufferPointerv__GLenum__GLenum__GLvoid_P1P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::pair< osg::BufferObject::BufferEntry COMMA osg::Image * >, osg::PixelBufferObject::BufferEntryImagePair);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PixelBufferObject)
|
||||
I_BaseType(osg::BufferObject);
|
||||
I_ConstructorWithDefaults1(IN, osg::Image *, image, 0);
|
||||
I_ConstructorWithDefaults2(IN, const osg::PixelBufferObject &, pbo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(void, setImage, IN, osg::Image *, image);
|
||||
I_Method0(osg::Image *, getImage);
|
||||
I_Method0(const osg::Image *, getImage);
|
||||
I_Method0(unsigned int, offset);
|
||||
I_Method1(bool, needsCompile, IN, unsigned int, contextID);
|
||||
I_Method1(void, compileBuffer, IN, osg::State &, state);
|
||||
I_Property(osg::Image *, Image);
|
||||
I_ConstructorWithDefaults1(IN, osg::Image *, image, 0,
|
||||
____PixelBufferObject__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PixelBufferObject &, pbo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PixelBufferObject__C5_PixelBufferObject_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
__void__setImage__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
__Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
__C5_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, offset,
|
||||
__unsigned_int__offset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, needsCompile, IN, unsigned int, contextID,
|
||||
__bool__needsCompile__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, compileBuffer, IN, osg::State &, state,
|
||||
__void__compileBuffer__State_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__Image_P1__getImage,
|
||||
__void__setImage__osg_Image_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_PAIR_REFLECTOR(std::pair< osg::BufferObject::BufferEntry COMMA osg::Image * >);
|
||||
|
||||
@@ -73,107 +73,380 @@ END_REFLECTOR
|
||||
BEGIN_OBJECT_REFLECTOR(osg::CameraNode)
|
||||
I_BaseType(osg::Transform);
|
||||
I_BaseType(osg::CullSettings);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::CameraNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setView, IN, osg::View *, view);
|
||||
I_Method0(osg::View *, getView);
|
||||
I_Method0(const osg::View *, getView);
|
||||
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color);
|
||||
I_Method0(const osg::Vec4 &, getClearColor);
|
||||
I_Method1(void, setClearMask, IN, GLbitfield, mask);
|
||||
I_Method0(GLbitfield, getClearMask);
|
||||
I_Method1(void, setColorMask, IN, osg::ColorMask *, colorMask);
|
||||
I_Method4(void, setColorMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha);
|
||||
I_Method0(const osg::ColorMask *, getColorMask);
|
||||
I_Method0(osg::ColorMask *, getColorMask);
|
||||
I_Method1(void, setViewport, IN, osg::Viewport *, viewport);
|
||||
I_Method4(void, setViewport, IN, int, x, IN, int, y, IN, int, width, IN, int, height);
|
||||
I_Method0(const osg::Viewport *, getViewport);
|
||||
I_Method0(osg::Viewport *, getViewport);
|
||||
I_Method1(void, setTransformOrder, IN, osg::CameraNode::TransformOrder, order);
|
||||
I_Method0(osg::CameraNode::TransformOrder, getTransformOrder);
|
||||
I_Method1(void, setProjectionMatrix, IN, const osg::Matrixf &, matrix);
|
||||
I_Method1(void, setProjectionMatrix, IN, const osg::Matrixd &, matrix);
|
||||
I_Method6(void, setProjectionMatrixAsOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_Method4(void, setProjectionMatrixAsOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top);
|
||||
I_Method6(void, setProjectionMatrixAsFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_Method4(void, setProjectionMatrixAsPerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar);
|
||||
I_Method0(osg::Matrixd &, getProjectionMatrix);
|
||||
I_Method0(const osg::Matrixd &, getProjectionMatrix);
|
||||
I_Method6(bool, getProjectionMatrixAsOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar);
|
||||
I_Method6(bool, getProjectionMatrixAsFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar);
|
||||
I_Method4(bool, getProjectionMatrixAsPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar);
|
||||
I_Method1(void, setViewMatrix, IN, const osg::Matrixf &, matrix);
|
||||
I_Method1(void, setViewMatrix, IN, const osg::Matrixd &, matrix);
|
||||
I_Method3(void, setViewMatrixAsLookAt, IN, const osg::Vec3 &, eye, IN, const osg::Vec3 &, center, IN, const osg::Vec3 &, up);
|
||||
I_Method0(osg::Matrixd &, getViewMatrix);
|
||||
I_Method0(const osg::Matrixd &, getViewMatrix);
|
||||
I_MethodWithDefaults4(void, getViewMatrixAsLookAt, IN, osg::Vec3 &, eye, , IN, osg::Vec3 &, center, , IN, osg::Vec3 &, up, , IN, float, lookDistance, 1.0f);
|
||||
I_Method0(osg::Matrixd, getInverseViewMatrix);
|
||||
I_MethodWithDefaults2(void, setRenderOrder, IN, osg::CameraNode::RenderOrder, order, , IN, int, orderNum, 0);
|
||||
I_Method0(osg::CameraNode::RenderOrder, getRenderOrder);
|
||||
I_Method0(int, getRenderOrderNum);
|
||||
I_Method0(bool, isRenderToTextureCamera);
|
||||
I_Method1(void, setRenderTargetImplementation, IN, osg::CameraNode::RenderTargetImplementation, impl);
|
||||
I_Method2(void, setRenderTargetImplementation, IN, osg::CameraNode::RenderTargetImplementation, impl, IN, osg::CameraNode::RenderTargetImplementation, fallback);
|
||||
I_Method0(osg::CameraNode::RenderTargetImplementation, getRenderTargetImplementation);
|
||||
I_Method0(osg::CameraNode::RenderTargetImplementation, getRenderTargetFallback);
|
||||
I_Method1(void, setDrawBuffer, IN, GLenum, buffer);
|
||||
I_Method0(GLenum, getDrawBuffer);
|
||||
I_Method1(void, setReadBuffer, IN, GLenum, buffer);
|
||||
I_Method0(GLenum, getReadBuffer);
|
||||
I_Method2(void, attach, IN, osg::CameraNode::BufferComponent, buffer, IN, GLenum, internalFormat);
|
||||
I_MethodWithDefaults5(void, attach, IN, osg::CameraNode::BufferComponent, buffer, , IN, osg::Texture *, texture, , IN, unsigned int, level, 0, IN, unsigned int, face, 0, IN, bool, mipMapGeneration, false);
|
||||
I_Method2(void, attach, IN, osg::CameraNode::BufferComponent, buffer, IN, osg::Image *, image);
|
||||
I_Method1(void, detach, IN, osg::CameraNode::BufferComponent, buffer);
|
||||
I_Method0(osg::CameraNode::BufferAttachmentMap &, getBufferAttachmentMap);
|
||||
I_Method0(const osg::CameraNode::BufferAttachmentMap &, getBufferAttachmentMap);
|
||||
I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context);
|
||||
I_Method0(osg::GraphicsContext *, getGraphicsContext);
|
||||
I_Method0(const osg::GraphicsContext *, getGraphicsContext);
|
||||
I_Method2(void, setRenderingCache, IN, unsigned int, contextID, IN, osg::Object *, rc);
|
||||
I_Method1(osg::Object *, getRenderingCache, IN, unsigned int, contextID);
|
||||
I_Method1(const osg::Object *, getRenderingCache, IN, unsigned int, contextID);
|
||||
I_Method1(void, setPostDrawCallback, IN, osg::CameraNode::DrawCallback *, cb);
|
||||
I_Method0(osg::CameraNode::DrawCallback *, getPostDrawCallback);
|
||||
I_Method0(const osg::CameraNode::DrawCallback *, getPostDrawCallback);
|
||||
I_Method0(OpenThreads::Mutex *, getDataChangeMutex);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0);
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x);
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x);
|
||||
I_ReadOnlyProperty(osg::CameraNode::BufferAttachmentMap &, BufferAttachmentMap);
|
||||
I_Property(const osg::Vec4 &, ClearColor);
|
||||
I_Property(GLbitfield, ClearMask);
|
||||
I_Property(osg::ColorMask *, ColorMask);
|
||||
I_ReadOnlyProperty(OpenThreads::Mutex *, DataChangeMutex);
|
||||
I_Property(GLenum, DrawBuffer);
|
||||
I_Property(osg::GraphicsContext *, GraphicsContext);
|
||||
I_ReadOnlyProperty(osg::Matrixd, InverseViewMatrix);
|
||||
I_Property(osg::CameraNode::DrawCallback *, PostDrawCallback);
|
||||
I_Property(const osg::Matrixd &, ProjectionMatrix);
|
||||
I_Property(GLenum, ReadBuffer);
|
||||
I_ReadOnlyProperty(osg::CameraNode::RenderOrder, RenderOrder);
|
||||
I_ReadOnlyProperty(int, RenderOrderNum);
|
||||
I_ReadOnlyProperty(osg::CameraNode::RenderTargetImplementation, RenderTargetFallback);
|
||||
I_Property(osg::CameraNode::RenderTargetImplementation, RenderTargetImplementation);
|
||||
I_IndexedProperty1(osg::Object *, RenderingCache, unsigned int, contextID);
|
||||
I_Property(osg::CameraNode::TransformOrder, TransformOrder);
|
||||
I_Property(osg::View *, View);
|
||||
I_Property(const osg::Matrixd &, ViewMatrix);
|
||||
I_Property(osg::Viewport *, Viewport);
|
||||
I_Constructor0(____CameraNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::CameraNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____CameraNode__C5_CameraNode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setView, IN, osg::View *, view,
|
||||
__void__setView__View_P1,
|
||||
"Set the View that this Camera is part of. ",
|
||||
"");
|
||||
I_Method0(osg::View *, getView,
|
||||
__View_P1__getView,
|
||||
"Get the View that this Camera is part of. ",
|
||||
"");
|
||||
I_Method0(const osg::View *, getView,
|
||||
__C5_View_P1__getView,
|
||||
"Get the const View that this Camera is part of. ",
|
||||
"");
|
||||
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color,
|
||||
__void__setClearColor__C5_Vec4_R1,
|
||||
"Sets the clear color. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getClearColor,
|
||||
__C5_Vec4_R1__getClearColor,
|
||||
"Returns the clear color. ",
|
||||
"");
|
||||
I_Method1(void, setClearMask, IN, GLbitfield, mask,
|
||||
__void__setClearMask__GLbitfield,
|
||||
"Set the clear mask used in glClear(. ",
|
||||
".). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. ");
|
||||
I_Method0(GLbitfield, getClearMask,
|
||||
__GLbitfield__getClearMask,
|
||||
"Get the clear mask. ",
|
||||
"");
|
||||
I_Method1(void, setColorMask, IN, osg::ColorMask *, colorMask,
|
||||
__void__setColorMask__osg_ColorMask_P1,
|
||||
"Set the color mask of the camera to use specified osg::ColorMask. ",
|
||||
"");
|
||||
I_Method4(void, setColorMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha,
|
||||
__void__setColorMask__bool__bool__bool__bool,
|
||||
"Set the color mask of the camera to specified values. ",
|
||||
"");
|
||||
I_Method0(const osg::ColorMask *, getColorMask,
|
||||
__C5_ColorMask_P1__getColorMask,
|
||||
"Get the const ColorMask. ",
|
||||
"");
|
||||
I_Method0(osg::ColorMask *, getColorMask,
|
||||
__ColorMask_P1__getColorMask,
|
||||
"Get the ColorMask. ",
|
||||
"");
|
||||
I_Method1(void, setViewport, IN, osg::Viewport *, viewport,
|
||||
__void__setViewport__osg_Viewport_P1,
|
||||
"Set the viewport of the camera to use specified osg::Viewport. ",
|
||||
"");
|
||||
I_Method4(void, setViewport, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
__void__setViewport__int__int__int__int,
|
||||
"Set the viewport of the camera to specified dimensions. ",
|
||||
"");
|
||||
I_Method0(const osg::Viewport *, getViewport,
|
||||
__C5_Viewport_P1__getViewport,
|
||||
"Get the const viewport. ",
|
||||
"");
|
||||
I_Method0(osg::Viewport *, getViewport,
|
||||
__Viewport_P1__getViewport,
|
||||
"Get the viewport. ",
|
||||
"");
|
||||
I_Method1(void, setTransformOrder, IN, osg::CameraNode::TransformOrder, order,
|
||||
__void__setTransformOrder__TransformOrder,
|
||||
"Set the transformation order for world-to-local and local-to-world transformation. ",
|
||||
"");
|
||||
I_Method0(osg::CameraNode::TransformOrder, getTransformOrder,
|
||||
__TransformOrder__getTransformOrder,
|
||||
"Get the transformation order. ",
|
||||
"");
|
||||
I_Method1(void, setProjectionMatrix, IN, const osg::Matrixf &, matrix,
|
||||
__void__setProjectionMatrix__C5_osg_Matrixf_R1,
|
||||
"Set the projection matrix. ",
|
||||
"Can be thought of as setting the lens of a camera. ");
|
||||
I_Method1(void, setProjectionMatrix, IN, const osg::Matrixd &, matrix,
|
||||
__void__setProjectionMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the projection matrix. ",
|
||||
"Can be thought of as setting the lens of a camera. ");
|
||||
I_Method6(void, setProjectionMatrixAsOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__void__setProjectionMatrixAsOrtho__double__double__double__double__double__double,
|
||||
"Set to an orthographic projection. ",
|
||||
"See OpenGL glOrtho for documentation further details. ");
|
||||
I_Method4(void, setProjectionMatrixAsOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
|
||||
__void__setProjectionMatrixAsOrtho2D__double__double__double__double,
|
||||
"Set to a 2D orthographic projection. ",
|
||||
"See OpenGL glOrtho2D documentation for further details. ");
|
||||
I_Method6(void, setProjectionMatrixAsFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__void__setProjectionMatrixAsFrustum__double__double__double__double__double__double,
|
||||
"Set to a perspective projection. ",
|
||||
"See OpenGL glFrustum documentation for further details. ");
|
||||
I_Method4(void, setProjectionMatrixAsPerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
|
||||
__void__setProjectionMatrixAsPerspective__double__double__double__double,
|
||||
"Create a symmetrical perspective projection, See OpenGL gluPerspective documentation for further details. ",
|
||||
"Aspect ratio is defined as width/height. ");
|
||||
I_Method0(osg::Matrixd &, getProjectionMatrix,
|
||||
__osg_Matrixd_R1__getProjectionMatrix,
|
||||
"Get the projection matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrixd &, getProjectionMatrix,
|
||||
__C5_osg_Matrixd_R1__getProjectionMatrix,
|
||||
"Get the const projection matrix. ",
|
||||
"");
|
||||
I_Method6(bool, getProjectionMatrixAsOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
|
||||
__bool__getProjectionMatrixAsOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
|
||||
"Get the othographic settings of the orthographic projection matrix. ",
|
||||
"Returns false if matrix is not an orthographic matrix, where parameter values are undefined. ");
|
||||
I_Method6(bool, getProjectionMatrixAsFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
|
||||
__bool__getProjectionMatrixAsFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
|
||||
"Get the frustum setting of a perspective projection matrix. ",
|
||||
"Returns false if matrix is not a perspective matrix, where parameter values are undefined. ");
|
||||
I_Method4(bool, getProjectionMatrixAsPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar,
|
||||
__bool__getProjectionMatrixAsPerspective__double_R1__double_R1__double_R1__double_R1,
|
||||
"Get the frustum setting of a symmetric perspective projection matrix. ",
|
||||
"Returns false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configurations one should use the 'getProjectionMatrixAsFrustum' method instead. ");
|
||||
I_Method1(void, setViewMatrix, IN, const osg::Matrixf &, matrix,
|
||||
__void__setViewMatrix__C5_osg_Matrixf_R1,
|
||||
"Set the view matrix. ",
|
||||
"Can be thought of as setting the position of the world relative to the camera in camera coordinates. ");
|
||||
I_Method1(void, setViewMatrix, IN, const osg::Matrixd &, matrix,
|
||||
__void__setViewMatrix__C5_osg_Matrixd_R1,
|
||||
"Set the view matrix. ",
|
||||
"Can be thought of as setting the position of the world relative to the camera in camera coordinates. ");
|
||||
I_Method3(void, setViewMatrixAsLookAt, IN, const osg::Vec3 &, eye, IN, const osg::Vec3 &, center, IN, const osg::Vec3 &, up,
|
||||
__void__setViewMatrixAsLookAt__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1,
|
||||
"Set to the position and orientation of view matrix, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd &, getViewMatrix,
|
||||
__osg_Matrixd_R1__getViewMatrix,
|
||||
"Get the view matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrixd &, getViewMatrix,
|
||||
__C5_osg_Matrixd_R1__getViewMatrix,
|
||||
"Get the const view matrix. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, getViewMatrixAsLookAt, IN, osg::Vec3 &, eye, , IN, osg::Vec3 &, center, , IN, osg::Vec3 &, up, , IN, float, lookDistance, 1.0f,
|
||||
__void__getViewMatrixAsLookAt__osg_Vec3_R1__osg_Vec3_R1__osg_Vec3_R1__float,
|
||||
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_Method0(osg::Matrixd, getInverseViewMatrix,
|
||||
__Matrixd__getInverseViewMatrix,
|
||||
"Get the inverse view matrix. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setRenderOrder, IN, osg::CameraNode::RenderOrder, order, , IN, int, orderNum, 0,
|
||||
__void__setRenderOrder__RenderOrder__int,
|
||||
"Set the rendering order of this camera's subgraph relative to any camera that this subgraph is nested within. ",
|
||||
"For rendering to a texture, one typically uses PRE_RENDER. For Head Up Displays, one would typically use POST_RENDER. ");
|
||||
I_Method0(osg::CameraNode::RenderOrder, getRenderOrder,
|
||||
__RenderOrder__getRenderOrder,
|
||||
"Get the rendering order of this camera's subgraph relative to any camera that this subgraph is nested within. ",
|
||||
"");
|
||||
I_Method0(int, getRenderOrderNum,
|
||||
__int__getRenderOrderNum,
|
||||
"Get the rendering order number of this camera relative to any sibling cameras in this subgraph. ",
|
||||
"");
|
||||
I_Method0(bool, isRenderToTextureCamera,
|
||||
__bool__isRenderToTextureCamera,
|
||||
"Return true if this Camera is set up as a render to texture camera, i.e. ",
|
||||
"it has textures assigned to it. ");
|
||||
I_Method1(void, setRenderTargetImplementation, IN, osg::CameraNode::RenderTargetImplementation, impl,
|
||||
__void__setRenderTargetImplementation__RenderTargetImplementation,
|
||||
"Set the render target. ",
|
||||
"");
|
||||
I_Method2(void, setRenderTargetImplementation, IN, osg::CameraNode::RenderTargetImplementation, impl, IN, osg::CameraNode::RenderTargetImplementation, fallback,
|
||||
__void__setRenderTargetImplementation__RenderTargetImplementation__RenderTargetImplementation,
|
||||
"Set the render target and fall-back that's used if the former isn't available. ",
|
||||
"");
|
||||
I_Method0(osg::CameraNode::RenderTargetImplementation, getRenderTargetImplementation,
|
||||
__RenderTargetImplementation__getRenderTargetImplementation,
|
||||
"Get the render target. ",
|
||||
"");
|
||||
I_Method0(osg::CameraNode::RenderTargetImplementation, getRenderTargetFallback,
|
||||
__RenderTargetImplementation__getRenderTargetFallback,
|
||||
"Get the render target fallback. ",
|
||||
"");
|
||||
I_Method1(void, setDrawBuffer, IN, GLenum, buffer,
|
||||
__void__setDrawBuffer__GLenum,
|
||||
"Set the draw buffer used at the start of each frame draw. ",
|
||||
"Note, a buffer value of GL_NONE is used to sepecify that the rendering back-end should choose the most appropriate buffer. ");
|
||||
I_Method0(GLenum, getDrawBuffer,
|
||||
__GLenum__getDrawBuffer,
|
||||
"Get the draw buffer used at the start of each frame draw. ",
|
||||
"");
|
||||
I_Method1(void, setReadBuffer, IN, GLenum, buffer,
|
||||
__void__setReadBuffer__GLenum,
|
||||
"Set the read buffer for any required copy operations to use. ",
|
||||
"Note, a buffer value of GL_NONE is used to sepecify that the rendering back-end should choose the most appropriate buffer. ");
|
||||
I_Method0(GLenum, getReadBuffer,
|
||||
__GLenum__getReadBuffer,
|
||||
"Get the read buffer for any required copy operations to use. ",
|
||||
"");
|
||||
I_Method2(void, attach, IN, osg::CameraNode::BufferComponent, buffer, IN, GLenum, internalFormat,
|
||||
__void__attach__BufferComponent__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults5(void, attach, IN, osg::CameraNode::BufferComponent, buffer, , IN, osg::Texture *, texture, , IN, unsigned int, level, 0, IN, unsigned int, face, 0, IN, bool, mipMapGeneration, false,
|
||||
__void__attach__BufferComponent__osg_Texture_P1__unsigned_int__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, attach, IN, osg::CameraNode::BufferComponent, buffer, IN, osg::Image *, image,
|
||||
__void__attach__BufferComponent__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, detach, IN, osg::CameraNode::BufferComponent, buffer,
|
||||
__void__detach__BufferComponent,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::CameraNode::BufferAttachmentMap &, getBufferAttachmentMap,
|
||||
__BufferAttachmentMap_R1__getBufferAttachmentMap,
|
||||
"Get the BufferAttachmentMap, used to configure frame buffer objects, pbuffers and texture reads. ",
|
||||
"");
|
||||
I_Method0(const osg::CameraNode::BufferAttachmentMap &, getBufferAttachmentMap,
|
||||
__C5_BufferAttachmentMap_R1__getBufferAttachmentMap,
|
||||
"Get the const BufferAttachmentMap, used to configure frame buffer objects, pbuffers and texture reads. ",
|
||||
"");
|
||||
I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context,
|
||||
__void__setGraphicsContext__GraphicsContext_P1,
|
||||
"Set the GraphicsContext that provides the mechansim for managing the OpenGL graphics context associated with this camera. ",
|
||||
"");
|
||||
I_Method0(osg::GraphicsContext *, getGraphicsContext,
|
||||
__GraphicsContext_P1__getGraphicsContext,
|
||||
"Get the GraphicsContext. ",
|
||||
"");
|
||||
I_Method0(const osg::GraphicsContext *, getGraphicsContext,
|
||||
__C5_GraphicsContext_P1__getGraphicsContext,
|
||||
"Get the const GraphicsContext. ",
|
||||
"");
|
||||
I_Method2(void, setRenderingCache, IN, unsigned int, contextID, IN, osg::Object *, rc,
|
||||
__void__setRenderingCache__unsigned_int__osg_Object_P1,
|
||||
"Set the Rendering object that is used to implement rendering of the subgraph. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, getRenderingCache, IN, unsigned int, contextID,
|
||||
__osg_Object_P1__getRenderingCache__unsigned_int,
|
||||
"Get the Rendering object that is used to implement rendering of the subgraph. ",
|
||||
"");
|
||||
I_Method1(const osg::Object *, getRenderingCache, IN, unsigned int, contextID,
|
||||
__C5_osg_Object_P1__getRenderingCache__unsigned_int,
|
||||
"Get the const Rendering object that is used to implement rendering of the subgraph. ",
|
||||
"");
|
||||
I_Method1(void, setPostDrawCallback, IN, osg::CameraNode::DrawCallback *, cb,
|
||||
__void__setPostDrawCallback__DrawCallback_P1,
|
||||
"Set the post draw callback for custom operations to do done after the drawing of the camera's subgraph has been completed. ",
|
||||
"");
|
||||
I_Method0(osg::CameraNode::DrawCallback *, getPostDrawCallback,
|
||||
__DrawCallback_P1__getPostDrawCallback,
|
||||
"Get the post draw callback. ",
|
||||
"");
|
||||
I_Method0(const osg::CameraNode::DrawCallback *, getPostDrawCallback,
|
||||
__C5_DrawCallback_P1__getPostDrawCallback,
|
||||
"Get the const post draw callback. ",
|
||||
"");
|
||||
I_Method0(OpenThreads::Mutex *, getDataChangeMutex,
|
||||
__OpenThreads_Mutex_P1__getDataChangeMutex,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
__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_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"Transform method that must be defined to provide generic interface for scene graph traversals. ",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"Transform method that must be defined to provide generic interface for scene graph traversals. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::CameraNode::BufferAttachmentMap &, BufferAttachmentMap,
|
||||
__BufferAttachmentMap_R1__getBufferAttachmentMap,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, ClearColor,
|
||||
__C5_Vec4_R1__getClearColor,
|
||||
__void__setClearColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(GLbitfield, ClearMask,
|
||||
__GLbitfield__getClearMask,
|
||||
__void__setClearMask__GLbitfield);
|
||||
I_SimpleProperty(osg::ColorMask *, ColorMask,
|
||||
__ColorMask_P1__getColorMask,
|
||||
__void__setColorMask__osg_ColorMask_P1);
|
||||
I_SimpleProperty(OpenThreads::Mutex *, DataChangeMutex,
|
||||
__OpenThreads_Mutex_P1__getDataChangeMutex,
|
||||
0);
|
||||
I_SimpleProperty(GLenum, DrawBuffer,
|
||||
__GLenum__getDrawBuffer,
|
||||
__void__setDrawBuffer__GLenum);
|
||||
I_SimpleProperty(osg::GraphicsContext *, GraphicsContext,
|
||||
__GraphicsContext_P1__getGraphicsContext,
|
||||
__void__setGraphicsContext__GraphicsContext_P1);
|
||||
I_SimpleProperty(osg::Matrixd, InverseViewMatrix,
|
||||
__Matrixd__getInverseViewMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::CameraNode::DrawCallback *, PostDrawCallback,
|
||||
__DrawCallback_P1__getPostDrawCallback,
|
||||
__void__setPostDrawCallback__DrawCallback_P1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ProjectionMatrix,
|
||||
__C5_osg_Matrixd_R1__getProjectionMatrix,
|
||||
__void__setProjectionMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(GLenum, ReadBuffer,
|
||||
__GLenum__getReadBuffer,
|
||||
__void__setReadBuffer__GLenum);
|
||||
I_SimpleProperty(osg::CameraNode::RenderOrder, RenderOrder,
|
||||
__RenderOrder__getRenderOrder,
|
||||
0);
|
||||
I_SimpleProperty(int, RenderOrderNum,
|
||||
__int__getRenderOrderNum,
|
||||
0);
|
||||
I_SimpleProperty(osg::CameraNode::RenderTargetImplementation, RenderTargetFallback,
|
||||
__RenderTargetImplementation__getRenderTargetFallback,
|
||||
0);
|
||||
I_SimpleProperty(osg::CameraNode::RenderTargetImplementation, RenderTargetImplementation,
|
||||
__RenderTargetImplementation__getRenderTargetImplementation,
|
||||
__void__setRenderTargetImplementation__RenderTargetImplementation);
|
||||
I_IndexedProperty(osg::Object *, RenderingCache,
|
||||
__osg_Object_P1__getRenderingCache__unsigned_int,
|
||||
__void__setRenderingCache__unsigned_int__osg_Object_P1,
|
||||
0);
|
||||
I_SimpleProperty(osg::CameraNode::TransformOrder, TransformOrder,
|
||||
__TransformOrder__getTransformOrder,
|
||||
__void__setTransformOrder__TransformOrder);
|
||||
I_SimpleProperty(osg::View *, View,
|
||||
__View_P1__getView,
|
||||
__void__setView__View_P1);
|
||||
I_SimpleProperty(const osg::Matrixd &, ViewMatrix,
|
||||
__C5_osg_Matrixd_R1__getViewMatrix,
|
||||
__void__setViewMatrix__C5_osg_Matrixd_R1);
|
||||
I_SimpleProperty(osg::Viewport *, Viewport,
|
||||
__Viewport_P1__getViewport,
|
||||
__void__setViewport__osg_Viewport_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::CameraNode::Attachment)
|
||||
I_Constructor0();
|
||||
I_Method0(int, width);
|
||||
I_Method0(int, height);
|
||||
I_Method0(int, depth);
|
||||
I_Constructor0(____Attachment,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, width,
|
||||
__int__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, height,
|
||||
__int__height,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, depth,
|
||||
__int__depth,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(GLenum, _internalFormat);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Image >, _image);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Texture >, _texture);
|
||||
@@ -184,13 +457,33 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::CameraNode::DrawCallback)
|
||||
I_VirtualBaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, const osg::CameraNode::DrawCallback &, x, IN, const osg::CopyOp &, x);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Constructor0(____DrawCallback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::CameraNode::DrawCallback &, x, IN, const osg::CopyOp &, x,
|
||||
____DrawCallback__C5_DrawCallback_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< osg::CameraNode::BufferComponent COMMA osg::CameraNode::Attachment >);
|
||||
|
||||
@@ -34,30 +34,99 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::CameraView)
|
||||
I_BaseType(osg::Transform);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::CameraView &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3d &, pos);
|
||||
I_Method0(const osg::Vec3d &, getPosition);
|
||||
I_Method1(void, setAttitude, IN, const osg::Quat &, quat);
|
||||
I_Method0(const osg::Quat &, getAttitude);
|
||||
I_Method1(void, setFieldOfView, IN, double, fieldOfView);
|
||||
I_Method0(double, getFieldOfView);
|
||||
I_Method1(void, setFieldOfViewMode, IN, osg::CameraView::FieldOfViewMode, mode);
|
||||
I_Method0(osg::CameraView::FieldOfViewMode, getFieldOfViewMode);
|
||||
I_Method1(void, setFocalLength, IN, double, focalLength);
|
||||
I_Method0(double, getFocalLength);
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv);
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv);
|
||||
I_Property(const osg::Quat &, Attitude);
|
||||
I_Property(double, FieldOfView);
|
||||
I_Property(osg::CameraView::FieldOfViewMode, FieldOfViewMode);
|
||||
I_Property(double, FocalLength);
|
||||
I_Property(const osg::Vec3d &, Position);
|
||||
I_Constructor0(____CameraView,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::CameraView &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____CameraView__C5_CameraView_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3d &, pos,
|
||||
__void__setPosition__C5_Vec3d_R1,
|
||||
"Set the position of the camera view. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPosition,
|
||||
__C5_Vec3d_R1__getPosition,
|
||||
"Get the position of the camera view. ",
|
||||
"");
|
||||
I_Method1(void, setAttitude, IN, const osg::Quat &, quat,
|
||||
__void__setAttitude__C5_Quat_R1,
|
||||
"Set the attitide of the camera view. ",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getAttitude,
|
||||
__C5_Quat_R1__getAttitude,
|
||||
"Get the attitide of the camera view. ",
|
||||
"");
|
||||
I_Method1(void, setFieldOfView, IN, double, fieldOfView,
|
||||
__void__setFieldOfView__double,
|
||||
"Set the field of view. ",
|
||||
"The cameras field of view can be contrained to either the horizontal or vertex axis of the camera, or unconstrained in which case the camera/application are left to choose an appropriate field of view. The default value if 60 degrres. ");
|
||||
I_Method0(double, getFieldOfView,
|
||||
__double__getFieldOfView,
|
||||
"Get the field of view. ",
|
||||
"");
|
||||
I_Method1(void, setFieldOfViewMode, IN, osg::CameraView::FieldOfViewMode, mode,
|
||||
__void__setFieldOfViewMode__FieldOfViewMode,
|
||||
"Set the field of view mode - controlling how the field of view of the camera is contrained by the CameaView settings. ",
|
||||
"");
|
||||
I_Method0(osg::CameraView::FieldOfViewMode, getFieldOfViewMode,
|
||||
__FieldOfViewMode__getFieldOfViewMode,
|
||||
"Get the field of view mode. ",
|
||||
"");
|
||||
I_Method1(void, setFocalLength, IN, double, focalLength,
|
||||
__void__setFocalLength__double,
|
||||
"Set the focal length of the camera. ",
|
||||
"A focal length of 0.0 indicates that the camera/application should determine the focal length. The default value is 0.0. ");
|
||||
I_Method0(double, getFocalLength,
|
||||
__double__getFocalLength,
|
||||
"Get the focal length of the camera. ",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Quat &, Attitude,
|
||||
__C5_Quat_R1__getAttitude,
|
||||
__void__setAttitude__C5_Quat_R1);
|
||||
I_SimpleProperty(double, FieldOfView,
|
||||
__double__getFieldOfView,
|
||||
__void__setFieldOfView__double);
|
||||
I_SimpleProperty(osg::CameraView::FieldOfViewMode, FieldOfViewMode,
|
||||
__FieldOfViewMode__getFieldOfViewMode,
|
||||
__void__setFieldOfViewMode__FieldOfViewMode);
|
||||
I_SimpleProperty(double, FocalLength,
|
||||
__double__getFocalLength,
|
||||
__void__setFocalLength__double);
|
||||
I_SimpleProperty(const osg::Vec3d &, Position,
|
||||
__C5_Vec3d_R1__getPosition,
|
||||
__void__setPosition__C5_Vec3d_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,43 +26,134 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ClampColor)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor3(IN, GLenum, vertexMode, IN, GLenum, fragmentMode, IN, GLenum, readMode);
|
||||
I_ConstructorWithDefaults2(IN, const osg::ClampColor &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, setClampVertexColor, IN, GLenum, mode);
|
||||
I_Method0(GLenum, getClampVertexColor);
|
||||
I_Method1(void, setClampFragmentColor, IN, GLenum, mode);
|
||||
I_Method0(GLenum, getClampFragmentColor);
|
||||
I_Method1(void, setClampReadColor, IN, GLenum, mode);
|
||||
I_Method0(GLenum, getClampReadColor);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_StaticMethod2(osg::ClampColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized);
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::ClampColor::Extensions *, extensions);
|
||||
I_Property(GLenum, ClampFragmentColor);
|
||||
I_Property(GLenum, ClampReadColor);
|
||||
I_Property(GLenum, ClampVertexColor);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____ClampColor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLenum, vertexMode, IN, GLenum, fragmentMode, IN, GLenum, readMode,
|
||||
____ClampColor__GLenum__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ClampColor &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ClampColor__C5_ClampColor_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setClampVertexColor, IN, GLenum, mode,
|
||||
__void__setClampVertexColor__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getClampVertexColor,
|
||||
__GLenum__getClampVertexColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setClampFragmentColor, IN, GLenum, mode,
|
||||
__void__setClampFragmentColor__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getClampFragmentColor,
|
||||
__GLenum__getClampFragmentColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setClampReadColor, IN, GLenum, mode,
|
||||
__void__setClampReadColor__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getClampReadColor,
|
||||
__GLenum__getClampReadColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(osg::ClampColor::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::ClampColor::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(GLenum, ClampFragmentColor,
|
||||
__GLenum__getClampFragmentColor,
|
||||
__void__setClampFragmentColor__GLenum);
|
||||
I_SimpleProperty(GLenum, ClampReadColor,
|
||||
__GLenum__getClampReadColor,
|
||||
__void__setClampReadColor__GLenum);
|
||||
I_SimpleProperty(GLenum, ClampVertexColor,
|
||||
__GLenum__getClampVertexColor,
|
||||
__void__setClampVertexColor__GLenum);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ClampColor::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID);
|
||||
I_Constructor1(IN, const osg::ClampColor::Extensions &, rhs);
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::ClampColor::Extensions &, rhs);
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID);
|
||||
I_Method1(void, setClampColorSupported, IN, bool, flag);
|
||||
I_Method0(bool, isClampColorSupported);
|
||||
I_Method1(void, setClampColorProc, IN, void *, ptr);
|
||||
I_Method2(void, glClampColor, IN, GLenum, target, IN, GLenum, mode);
|
||||
I_WriteOnlyProperty(void *, ClampColorProc);
|
||||
I_WriteOnlyProperty(bool, ClampColorSupported);
|
||||
I_WriteOnlyProperty(unsigned int, upGLExtenions);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ClampColor::Extensions &, rhs,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::ClampColor::Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setClampColorSupported, IN, bool, flag,
|
||||
__void__setClampColorSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isClampColorSupported,
|
||||
__bool__isClampColorSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setClampColorProc, IN, void *, ptr,
|
||||
__void__setClampColorProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glClampColor, IN, GLenum, target, IN, GLenum, mode,
|
||||
__void__glClampColor__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(void *, ClampColorProc,
|
||||
0,
|
||||
__void__setClampColorProc__void_P1);
|
||||
I_SimpleProperty(bool, ClampColorSupported,
|
||||
0,
|
||||
__void__setClampColorSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,22 +26,69 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ClearNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::ClearNode &, cs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setRequiresClear, IN, bool, requiresClear);
|
||||
I_Method0(bool, getRequiresClear);
|
||||
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color);
|
||||
I_Method0(const osg::Vec4 &, getClearColor);
|
||||
I_Method1(void, setClearMask, IN, GLbitfield, mask);
|
||||
I_Method0(GLbitfield, getClearMask);
|
||||
I_Property(const osg::Vec4 &, ClearColor);
|
||||
I_Property(GLbitfield, ClearMask);
|
||||
I_Property(bool, RequiresClear);
|
||||
I_Constructor0(____ClearNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ClearNode &, cs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ClearNode__C5_ClearNode_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setRequiresClear, IN, bool, requiresClear,
|
||||
__void__setRequiresClear__bool,
|
||||
"Enable/disable clearing via glClear. ",
|
||||
"");
|
||||
I_Method0(bool, getRequiresClear,
|
||||
__bool__getRequiresClear,
|
||||
"Gets whether clearing is enabled or disabled. ",
|
||||
"");
|
||||
I_Method1(void, setClearColor, IN, const osg::Vec4 &, color,
|
||||
__void__setClearColor__C5_Vec4_R1,
|
||||
"Sets the clear color. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getClearColor,
|
||||
__C5_Vec4_R1__getClearColor,
|
||||
"Returns the clear color. ",
|
||||
"");
|
||||
I_Method1(void, setClearMask, IN, GLbitfield, mask,
|
||||
__void__setClearMask__GLbitfield,
|
||||
"Set the clear mask used in glClear(. ",
|
||||
".). Defaults to GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT. ");
|
||||
I_Method0(GLbitfield, getClearMask,
|
||||
__GLbitfield__getClearMask,
|
||||
"Get the clear mask. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, ClearColor,
|
||||
__C5_Vec4_R1__getClearColor,
|
||||
__void__setClearColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(GLbitfield, ClearMask,
|
||||
__GLbitfield__getClearMask,
|
||||
__void__setClearMask__GLbitfield);
|
||||
I_SimpleProperty(bool, RequiresClear,
|
||||
__bool__getRequiresClear,
|
||||
__void__setRequiresClear__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -32,41 +32,135 @@ TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::ClipPlane > >, osg::ClipNode::Cl
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ClipNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::ClipNode &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_MethodWithDefaults2(void, createClipBox, IN, const osg::BoundingBox &, bb, , IN, unsigned int, clipPlaneNumberBase, 0);
|
||||
I_Method1(bool, addClipPlane, IN, osg::ClipPlane *, clipplane);
|
||||
I_Method1(bool, removeClipPlane, IN, osg::ClipPlane *, clipplane);
|
||||
I_Method1(bool, removeClipPlane, IN, unsigned int, pos);
|
||||
I_Method0(unsigned int, getNumClipPlanes);
|
||||
I_Method1(osg::ClipPlane *, getClipPlane, IN, unsigned int, pos);
|
||||
I_Method1(const osg::ClipPlane *, getClipPlane, IN, unsigned int, pos);
|
||||
I_Method1(void, getClipPlaneList, IN, const osg::ClipNode::ClipPlaneList &, cpl);
|
||||
I_Method0(osg::ClipNode::ClipPlaneList &, getClipPlaneList);
|
||||
I_Method0(const osg::ClipNode::ClipPlaneList &, getClipPlaneList);
|
||||
I_Method2(void, setStateSetModes, IN, osg::StateSet &, x, IN, osg::StateAttribute::GLModeValue, x);
|
||||
I_MethodWithDefaults1(void, setLocalStateSetModes, IN, osg::StateAttribute::GLModeValue, x, osg::StateAttribute::ON);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_ArrayProperty_GA(osg::ClipPlane *, ClipPlane, ClipPlanes, unsigned int, bool);
|
||||
I_ReadOnlyProperty(osg::ClipNode::ClipPlaneList &, ClipPlaneList);
|
||||
I_WriteOnlyProperty(osg::StateAttribute::GLModeValue, LocalStateSetModes);
|
||||
I_Constructor0(____ClipNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ClipNode &, es, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ClipNode__C5_ClipNode_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, createClipBox, IN, const osg::BoundingBox &, bb, , IN, unsigned int, clipPlaneNumberBase, 0,
|
||||
__void__createClipBox__C5_BoundingBox_R1__unsigned_int,
|
||||
"Creates six clip planes corresponding to the given BoundingBox. ",
|
||||
"");
|
||||
I_Method1(bool, addClipPlane, IN, osg::ClipPlane *, clipplane,
|
||||
__bool__addClipPlane__ClipPlane_P1,
|
||||
"Adds the clipplane. ",
|
||||
"Returns true on success, and false if the plane has already been added, or if clipplane is NULL. ");
|
||||
I_Method1(bool, removeClipPlane, IN, osg::ClipPlane *, clipplane,
|
||||
__bool__removeClipPlane__ClipPlane_P1,
|
||||
"Removes the clipplane. ",
|
||||
"Returns true on success, false if clipplane isn't in this ClipNode. ");
|
||||
I_Method1(bool, removeClipPlane, IN, unsigned int, pos,
|
||||
__bool__removeClipPlane__unsigned_int,
|
||||
"Remove the ClipPlane with the given index. ",
|
||||
"Returns true on success, false if pos is not a valid plane index. ");
|
||||
I_Method0(unsigned int, getNumClipPlanes,
|
||||
__unsigned_int__getNumClipPlanes,
|
||||
"Returns the number of ClipPlanes. ",
|
||||
"");
|
||||
I_Method1(osg::ClipPlane *, getClipPlane, IN, unsigned int, pos,
|
||||
__ClipPlane_P1__getClipPlane__unsigned_int,
|
||||
"Get ClipPlane at the given index position. ",
|
||||
"");
|
||||
I_Method1(const osg::ClipPlane *, getClipPlane, IN, unsigned int, pos,
|
||||
__C5_ClipPlane_P1__getClipPlane__unsigned_int,
|
||||
"Get const ClipPlane at the given index position. ",
|
||||
"");
|
||||
I_Method1(void, getClipPlaneList, IN, const osg::ClipNode::ClipPlaneList &, cpl,
|
||||
__void__getClipPlaneList__C5_ClipPlaneList_R1,
|
||||
"Set the ClipPlaneList. ",
|
||||
"");
|
||||
I_Method0(osg::ClipNode::ClipPlaneList &, getClipPlaneList,
|
||||
__ClipPlaneList_R1__getClipPlaneList,
|
||||
"Get the ClipPlaneList. ",
|
||||
"");
|
||||
I_Method0(const osg::ClipNode::ClipPlaneList &, getClipPlaneList,
|
||||
__C5_ClipPlaneList_R1__getClipPlaneList,
|
||||
"Get the const ClipPlaneList. ",
|
||||
"");
|
||||
I_Method2(void, setStateSetModes, IN, osg::StateSet &, x, IN, osg::StateAttribute::GLModeValue, x,
|
||||
__void__setStateSetModes__StateSet_R1__StateAttribute_GLModeValue,
|
||||
"Set the GLModes for all ClipPlanes, on the StateSet. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setLocalStateSetModes, IN, osg::StateAttribute::GLModeValue, x, osg::StateAttribute::ON,
|
||||
__void__setLocalStateSetModes__StateAttribute_GLModeValue,
|
||||
"Set up the local StateSet. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__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(osg::ClipPlane *, ClipPlane,
|
||||
__ClipPlane_P1__getClipPlane__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumClipPlanes,
|
||||
__bool__addClipPlane__ClipPlane_P1,
|
||||
0,
|
||||
__bool__removeClipPlane__unsigned_int);
|
||||
I_SimpleProperty(osg::ClipNode::ClipPlaneList &, ClipPlaneList,
|
||||
__ClipPlaneList_R1__getClipPlaneList,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::GLModeValue, LocalStateSetModes,
|
||||
0,
|
||||
__void__setLocalStateSetModes__StateAttribute_GLModeValue);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::ClipPlane >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::ClipPlane *, ptr);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::ClipPlane > &, rp);
|
||||
I_Method0(osg::ClipPlane *, get);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::ClipPlane *, release);
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::ClipPlane > &, rp);
|
||||
I_ReadOnlyProperty(osg::ClipPlane *, );
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::ClipPlane *, ptr,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::ClipPlane > &, rp,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ClipPlane *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ClipPlane *, release,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::ClipPlane > &, rp,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::ClipPlane *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::ClipPlane > >);
|
||||
|
||||
@@ -28,30 +28,100 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ClipPlane)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, unsigned int, no, IN, const osg::Vec4d &, plane);
|
||||
I_Constructor2(IN, unsigned int, no, IN, const osg::Plane &, plane);
|
||||
I_Constructor5(IN, unsigned int, no, IN, double, a, IN, double, b, IN, double, c, IN, double, d);
|
||||
I_ConstructorWithDefaults2(IN, const osg::ClipPlane &, cp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method0(unsigned int, getMember);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setClipPlane, IN, const osg::Plane &, plane);
|
||||
I_Method4(void, setClipPlane, IN, double, a, IN, double, b, IN, double, c, IN, double, d);
|
||||
I_Method1(void, setClipPlane, IN, const osg::Vec4d &, plane);
|
||||
I_Method0(const osg::Vec4d &, getClipPlane);
|
||||
I_Method1(void, setClipPlaneNum, IN, unsigned int, num);
|
||||
I_Method0(unsigned int, getClipPlaneNum);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(const osg::Vec4d &, ClipPlane);
|
||||
I_Property(unsigned int, ClipPlaneNum);
|
||||
I_ReadOnlyProperty(unsigned int, Member);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____ClipPlane,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, unsigned int, no, IN, const osg::Vec4d &, plane,
|
||||
____ClipPlane__unsigned_int__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, unsigned int, no, IN, const osg::Plane &, plane,
|
||||
____ClipPlane__unsigned_int__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor5(IN, unsigned int, no, IN, double, a, IN, double, b, IN, double, c, IN, double, d,
|
||||
____ClipPlane__unsigned_int__double__double__double__double,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ClipPlane &, cp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ClipPlane__C5_ClipPlane_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getMember,
|
||||
__unsigned_int__getMember,
|
||||
"Return the member identifier within the attribute's class type. ",
|
||||
"Used for light number/clip plane number etc. ");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setClipPlane, IN, const osg::Plane &, plane,
|
||||
__void__setClipPlane__C5_Plane_R1,
|
||||
"Set the clip plane with the given Plane. ",
|
||||
"");
|
||||
I_Method4(void, setClipPlane, IN, double, a, IN, double, b, IN, double, c, IN, double, d,
|
||||
__void__setClipPlane__double__double__double__double,
|
||||
"Defines the plane as [ a b c d ]. ",
|
||||
"");
|
||||
I_Method1(void, setClipPlane, IN, const osg::Vec4d &, plane,
|
||||
__void__setClipPlane__C5_Vec4d_R1,
|
||||
"Set the clip plane with the given Vec4. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4d &, getClipPlane,
|
||||
__C5_Vec4d_R1__getClipPlane,
|
||||
"Gets the clip plane as a Vec4d. ",
|
||||
"");
|
||||
I_Method1(void, setClipPlaneNum, IN, unsigned int, num,
|
||||
__void__setClipPlaneNum__unsigned_int,
|
||||
"Sets the clip plane number. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getClipPlaneNum,
|
||||
__unsigned_int__getClipPlaneNum,
|
||||
"Gets the clip plane number. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"Applies the clip plane's state to the OpenGL state machine. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4d &, ClipPlane,
|
||||
__C5_Vec4d_R1__getClipPlane,
|
||||
__void__setClipPlane__C5_Vec4d_R1);
|
||||
I_SimpleProperty(unsigned int, ClipPlaneNum,
|
||||
__unsigned_int__getClipPlaneNum,
|
||||
__void__setClipPlaneNum__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, Member,
|
||||
__unsigned_int__getMember,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,30 +31,100 @@
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ClusterCullingCallback)
|
||||
I_BaseType(osg::Drawable::CullCallback);
|
||||
I_BaseType(osg::NodeCallback);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, const osg::ClusterCullingCallback &, ccc, IN, const osg::CopyOp &, copyop);
|
||||
I_Constructor3(IN, const osg::Vec3 &, controlPoint, IN, const osg::Vec3 &, normal, IN, float, deviation);
|
||||
I_Constructor1(IN, const osg::Drawable *, drawable);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(void, computeFrom, IN, const osg::Drawable *, drawable);
|
||||
I_Method1(void, transform, IN, const osg::Matrixd &, matrix);
|
||||
I_Method4(void, set, IN, const osg::Vec3 &, controlPoint, IN, const osg::Vec3 &, normal, IN, float, deviation, IN, float, radius);
|
||||
I_Method1(void, setControlPoint, IN, const osg::Vec3 &, controlPoint);
|
||||
I_Method0(const osg::Vec3 &, getControlPoint);
|
||||
I_Method1(void, setNormal, IN, const osg::Vec3 &, normal);
|
||||
I_Method0(const osg::Vec3 &, getNormal);
|
||||
I_Method1(void, setRadius, IN, float, radius);
|
||||
I_Method0(float, getRadius);
|
||||
I_Method1(void, setDeviation, IN, float, deviation);
|
||||
I_Method0(float, getDeviation);
|
||||
I_Method3(bool, cull, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x, IN, osg::State *, x);
|
||||
I_Property(const osg::Vec3 &, ControlPoint);
|
||||
I_Property(float, Deviation);
|
||||
I_Property(const osg::Vec3 &, Normal);
|
||||
I_Property(float, Radius);
|
||||
I_Constructor0(____ClusterCullingCallback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::ClusterCullingCallback &, ccc, IN, const osg::CopyOp &, copyop,
|
||||
____ClusterCullingCallback__C5_ClusterCullingCallback_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Vec3 &, controlPoint, IN, const osg::Vec3 &, normal, IN, float, deviation,
|
||||
____ClusterCullingCallback__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Drawable *, drawable,
|
||||
____ClusterCullingCallback__C5_osg_Drawable_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, computeFrom, IN, const osg::Drawable *, drawable,
|
||||
__void__computeFrom__C5_osg_Drawable_P1,
|
||||
"Computes the control point, normal, and deviation from the given drawable contents. ",
|
||||
"");
|
||||
I_Method1(void, transform, IN, const osg::Matrixd &, matrix,
|
||||
__void__transform__C5_osg_Matrixd_R1,
|
||||
"Transform the ClusterCullingCallback's positional members to a new coordinate frame. ",
|
||||
"");
|
||||
I_Method4(void, set, IN, const osg::Vec3 &, controlPoint, IN, const osg::Vec3 &, normal, IN, float, deviation, IN, float, radius,
|
||||
__void__set__C5_osg_Vec3_R1__C5_osg_Vec3_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setControlPoint, IN, const osg::Vec3 &, controlPoint,
|
||||
__void__setControlPoint__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getControlPoint,
|
||||
__C5_osg_Vec3_R1__getControlPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNormal, IN, const osg::Vec3 &, normal,
|
||||
__void__setNormal__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getNormal,
|
||||
__C5_osg_Vec3_R1__getNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, radius,
|
||||
__void__setRadius__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getRadius,
|
||||
__float__getRadius,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDeviation, IN, float, deviation,
|
||||
__void__setDeviation__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDeviation,
|
||||
__float__getDeviation,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, cull, IN, osg::NodeVisitor *, x, IN, osg::Drawable *, x, IN, osg::State *, x,
|
||||
__bool__cull__osg_NodeVisitor_P1__osg_Drawable_P1__osg_State_P1,
|
||||
"deprecated. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec3 &, ControlPoint,
|
||||
__C5_osg_Vec3_R1__getControlPoint,
|
||||
__void__setControlPoint__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(float, Deviation,
|
||||
__float__getDeviation,
|
||||
__void__setDeviation__float);
|
||||
I_SimpleProperty(const osg::Vec3 &, Normal,
|
||||
__C5_osg_Vec3_R1__getNormal,
|
||||
__void__setNormal__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(float, Radius,
|
||||
__float__getRadius,
|
||||
__void__setRadius__float);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -32,32 +32,104 @@ TYPE_NAME_ALIAS(std::set< osg::ShadowVolumeOccluder >, osg::CollectOccludersVisi
|
||||
BEGIN_OBJECT_REFLECTOR(osg::CollectOccludersVisitor)
|
||||
I_BaseType(osg::NodeVisitor);
|
||||
I_BaseType(osg::CullStack);
|
||||
I_Constructor0();
|
||||
I_Method0(osg::CollectOccludersVisitor *, cloneType);
|
||||
I_Method0(void, reset);
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale);
|
||||
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale);
|
||||
I_Method1(void, apply, IN, osg::Node &, x);
|
||||
I_Method1(void, apply, IN, osg::Transform &, node);
|
||||
I_Method1(void, apply, IN, osg::Projection &, node);
|
||||
I_Method1(void, apply, IN, osg::Switch &, node);
|
||||
I_Method1(void, apply, IN, osg::LOD &, node);
|
||||
I_Method1(void, apply, IN, osg::OccluderNode &, node);
|
||||
I_Method1(void, setMinimumShadowOccluderVolume, IN, float, vol);
|
||||
I_Method0(float, getMinimumShadowOccluderVolume);
|
||||
I_Method1(void, setMaximumNumberOfActiveOccluders, IN, unsigned int, num);
|
||||
I_Method0(unsigned int, getMaximumNumberOfActiveOccluders);
|
||||
I_Method1(void, setCreateDrawablesOnOccludeNodes, IN, bool, flag);
|
||||
I_Method0(bool, getCreateDrawablesOnOccludeNodes);
|
||||
I_Method1(void, setCollectedOcculderSet, IN, const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, svol);
|
||||
I_Method0(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet);
|
||||
I_Method0(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet);
|
||||
I_Method0(void, removeOccludedOccluders);
|
||||
I_ReadOnlyProperty(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOccluderSet);
|
||||
I_WriteOnlyProperty(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOcculderSet);
|
||||
I_Property(bool, CreateDrawablesOnOccludeNodes);
|
||||
I_Property(unsigned int, MaximumNumberOfActiveOccluders);
|
||||
I_Property(float, MinimumShadowOccluderVolume);
|
||||
I_Constructor0(____CollectOccludersVisitor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::CollectOccludersVisitor *, cloneType,
|
||||
__CollectOccludersVisitor_P1__cloneType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
__float__getDistanceToEyePoint__C5_Vec3_R1__bool,
|
||||
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
|
||||
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned. ");
|
||||
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, pos, IN, bool, withLODScale,
|
||||
__float__getDistanceFromEyePoint__C5_Vec3_R1__bool,
|
||||
"Get the distance of a point from the eye point, distance value in the eye coordinate system. ",
|
||||
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. ");
|
||||
I_Method1(void, apply, IN, osg::Node &, x,
|
||||
__void__apply__osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
__void__apply__osg_Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Projection &, node,
|
||||
__void__apply__osg_Projection_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Switch &, node,
|
||||
__void__apply__osg_Switch_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
__void__apply__osg_LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::OccluderNode &, node,
|
||||
__void__apply__osg_OccluderNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumShadowOccluderVolume, IN, float, vol,
|
||||
__void__setMinimumShadowOccluderVolume__float,
|
||||
"Sets the minimum shadow occluder volume that an active occluder must have. ",
|
||||
"vol is units relative the clip space volume where 1.0 is the whole clip space. ");
|
||||
I_Method0(float, getMinimumShadowOccluderVolume,
|
||||
__float__getMinimumShadowOccluderVolume,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaximumNumberOfActiveOccluders, IN, unsigned int, num,
|
||||
__void__setMaximumNumberOfActiveOccluders__unsigned_int,
|
||||
"Sets the maximum number of occluders to have active for culling purposes. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaximumNumberOfActiveOccluders,
|
||||
__unsigned_int__getMaximumNumberOfActiveOccluders,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateDrawablesOnOccludeNodes, IN, bool, flag,
|
||||
__void__setCreateDrawablesOnOccludeNodes__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateDrawablesOnOccludeNodes,
|
||||
__bool__getCreateDrawablesOnOccludeNodes,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCollectedOcculderSet, IN, const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, svol,
|
||||
__void__setCollectedOcculderSet__C5_ShadowVolumeOccluderSet_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet,
|
||||
__ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, getCollectedOccluderSet,
|
||||
__C5_ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, removeOccludedOccluders,
|
||||
__void__removeOccludedOccluders,
|
||||
"Removes occluded occluders for the collected occluders list, then discards all but MaximumNumberOfActiveOccluders of occluders, discarding the occluders with the lowests shadow occluder volume. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOccluderSet,
|
||||
__ShadowVolumeOccluderSet_R1__getCollectedOccluderSet,
|
||||
0);
|
||||
I_SimpleProperty(const osg::CollectOccludersVisitor::ShadowVolumeOccluderSet &, CollectedOcculderSet,
|
||||
0,
|
||||
__void__setCollectedOcculderSet__C5_ShadowVolumeOccluderSet_R1);
|
||||
I_SimpleProperty(bool, CreateDrawablesOnOccludeNodes,
|
||||
__bool__getCreateDrawablesOnOccludeNodes,
|
||||
__void__setCreateDrawablesOnOccludeNodes__bool);
|
||||
I_SimpleProperty(unsigned int, MaximumNumberOfActiveOccluders,
|
||||
__unsigned_int__getMaximumNumberOfActiveOccluders,
|
||||
__void__setMaximumNumberOfActiveOccluders__unsigned_int);
|
||||
I_SimpleProperty(float, MinimumShadowOccluderVolume,
|
||||
__float__getMinimumShadowOccluderVolume,
|
||||
__void__setMinimumShadowOccluderVolume__float);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_SET_REFLECTOR(std::set< osg::ShadowVolumeOccluder >);
|
||||
|
||||
@@ -26,30 +26,99 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ColorMask)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor4(IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha);
|
||||
I_ConstructorWithDefaults2(IN, const osg::ColorMask &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method4(void, setMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha);
|
||||
I_Method1(void, setRedMask, IN, bool, mask);
|
||||
I_Method0(bool, getRedMask);
|
||||
I_Method1(void, setGreenMask, IN, bool, mask);
|
||||
I_Method0(bool, getGreenMask);
|
||||
I_Method1(void, setBlueMask, IN, bool, mask);
|
||||
I_Method0(bool, getBlueMask);
|
||||
I_Method1(void, setAlphaMask, IN, bool, mask);
|
||||
I_Method0(bool, getAlphaMask);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(bool, AlphaMask);
|
||||
I_Property(bool, BlueMask);
|
||||
I_Property(bool, GreenMask);
|
||||
I_Property(bool, RedMask);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____ColorMask,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha,
|
||||
____ColorMask__bool__bool__bool__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ColorMask &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ColorMask__C5_ColorMask_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method4(void, setMask, IN, bool, red, IN, bool, green, IN, bool, blue, IN, bool, alpha,
|
||||
__void__setMask__bool__bool__bool__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRedMask, IN, bool, mask,
|
||||
__void__setRedMask__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getRedMask,
|
||||
__bool__getRedMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setGreenMask, IN, bool, mask,
|
||||
__void__setGreenMask__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getGreenMask,
|
||||
__bool__getGreenMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setBlueMask, IN, bool, mask,
|
||||
__void__setBlueMask__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getBlueMask,
|
||||
__bool__getBlueMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAlphaMask, IN, bool, mask,
|
||||
__void__setAlphaMask__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAlphaMask,
|
||||
__bool__getAlphaMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(bool, AlphaMask,
|
||||
__bool__getAlphaMask,
|
||||
__void__setAlphaMask__bool);
|
||||
I_SimpleProperty(bool, BlueMask,
|
||||
__bool__getBlueMask,
|
||||
__void__setBlueMask__bool);
|
||||
I_SimpleProperty(bool, GreenMask,
|
||||
__bool__getGreenMask,
|
||||
__void__setGreenMask__bool);
|
||||
I_SimpleProperty(bool, RedMask,
|
||||
__bool__getRedMask,
|
||||
__void__setRedMask__bool);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -27,20 +27,62 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ColorMatrix)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::ColorMatrix &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix);
|
||||
I_Method0(osg::Matrix &, getMatrix);
|
||||
I_Method0(const osg::Matrix &, getMatrix);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(const osg::Matrix &, Matrix);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____ColorMatrix,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ColorMatrix &, cm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ColorMatrix__C5_ColorMatrix_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, matrix,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Sets the color matrix. ",
|
||||
"");
|
||||
I_Method0(osg::Matrix &, getMatrix,
|
||||
__Matrix_R1__getMatrix,
|
||||
"Gets the color matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Gets the const color matrix. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"Applies as OpenGL texture matrix. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrix &, Matrix,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
__void__setMatrix__C5_Matrix_R1);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -27,22 +27,67 @@ TYPE_NAME_ALIAS(std::vector< osg::ConvexPlanarPolygon >, osg::ConvexPlanarOcclud
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ConvexPlanarOccluder)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::ConvexPlanarOccluder &, cpo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(void, setOccluder, IN, const osg::ConvexPlanarPolygon &, cpp);
|
||||
I_Method0(osg::ConvexPlanarPolygon &, getOccluder);
|
||||
I_Method0(const osg::ConvexPlanarPolygon &, getOccluder);
|
||||
I_Method1(void, addHole, IN, const osg::ConvexPlanarPolygon &, cpp);
|
||||
I_Method1(void, setHoleList, IN, const osg::ConvexPlanarOccluder::HoleList &, holeList);
|
||||
I_Method0(osg::ConvexPlanarOccluder::HoleList &, getHoleList);
|
||||
I_Method0(const osg::ConvexPlanarOccluder::HoleList &, getHoleList);
|
||||
I_Property(const osg::ConvexPlanarOccluder::HoleList &, HoleList);
|
||||
I_Property(const osg::ConvexPlanarPolygon &, Occluder);
|
||||
I_Constructor0(____ConvexPlanarOccluder,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ConvexPlanarOccluder &, cpo, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ConvexPlanarOccluder__C5_ConvexPlanarOccluder_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setOccluder, IN, const osg::ConvexPlanarPolygon &, cpp,
|
||||
__void__setOccluder__C5_ConvexPlanarPolygon_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ConvexPlanarPolygon &, getOccluder,
|
||||
__ConvexPlanarPolygon_R1__getOccluder,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ConvexPlanarPolygon &, getOccluder,
|
||||
__C5_ConvexPlanarPolygon_R1__getOccluder,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addHole, IN, const osg::ConvexPlanarPolygon &, cpp,
|
||||
__void__addHole__C5_ConvexPlanarPolygon_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHoleList, IN, const osg::ConvexPlanarOccluder::HoleList &, holeList,
|
||||
__void__setHoleList__C5_HoleList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ConvexPlanarOccluder::HoleList &, getHoleList,
|
||||
__HoleList_R1__getHoleList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ConvexPlanarOccluder::HoleList &, getHoleList,
|
||||
__C5_HoleList_R1__getHoleList,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::ConvexPlanarOccluder::HoleList &, HoleList,
|
||||
__C5_HoleList_R1__getHoleList,
|
||||
__void__setHoleList__C5_HoleList_R1);
|
||||
I_SimpleProperty(const osg::ConvexPlanarPolygon &, Occluder,
|
||||
__C5_ConvexPlanarPolygon_R1__getOccluder,
|
||||
__void__setOccluder__C5_ConvexPlanarPolygon_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ConvexPlanarPolygon >);
|
||||
|
||||
@@ -24,11 +24,27 @@
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osg::ConvexPlanarPolygon::VertexList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ConvexPlanarPolygon)
|
||||
I_Constructor0();
|
||||
I_Method1(void, add, IN, const osg::Vec3 &, v);
|
||||
I_Method1(void, setVertexList, IN, const osg::ConvexPlanarPolygon::VertexList &, vertexList);
|
||||
I_Method0(osg::ConvexPlanarPolygon::VertexList &, getVertexList);
|
||||
I_Method0(const osg::ConvexPlanarPolygon::VertexList &, getVertexList);
|
||||
I_Property(const osg::ConvexPlanarPolygon::VertexList &, VertexList);
|
||||
I_Constructor0(____ConvexPlanarPolygon,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, add, IN, const osg::Vec3 &, v,
|
||||
__void__add__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexList, IN, const osg::ConvexPlanarPolygon::VertexList &, vertexList,
|
||||
__void__setVertexList__C5_VertexList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ConvexPlanarPolygon::VertexList &, getVertexList,
|
||||
__VertexList_R1__getVertexList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ConvexPlanarPolygon::VertexList &, getVertexList,
|
||||
__C5_VertexList_R1__getVertexList,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::ConvexPlanarPolygon::VertexList &, VertexList,
|
||||
__C5_VertexList_R1__getVertexList,
|
||||
__void__setVertexList__C5_VertexList_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -27,51 +27,164 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::CoordinateSystemNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, const std::string &, format, IN, const std::string &, cs);
|
||||
I_ConstructorWithDefaults2(IN, const osg::CoordinateSystemNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, set, IN, const osg::CoordinateSystemNode &, csn);
|
||||
I_Method1(void, setFormat, IN, const std::string &, format);
|
||||
I_Method0(const std::string &, getFormat);
|
||||
I_Method1(void, setCoordinateSystem, IN, const std::string &, cs);
|
||||
I_Method0(const std::string &, getCoordinateSystem);
|
||||
I_Method1(void, setEllipsoidModel, IN, osg::EllipsoidModel *, ellipsode);
|
||||
I_Method0(osg::EllipsoidModel *, getEllipsoidModel);
|
||||
I_Method0(const osg::EllipsoidModel *, getEllipsoidModel);
|
||||
I_Method1(osg::CoordinateFrame, computeLocalCoordinateFrame, IN, const osg::Vec3d &, position);
|
||||
I_Method1(osg::Vec3d, computeLocalUpVector, IN, const osg::Vec3d &, position);
|
||||
I_WriteOnlyProperty(const osg::CoordinateSystemNode &, );
|
||||
I_Property(const std::string &, CoordinateSystem);
|
||||
I_Property(osg::EllipsoidModel *, EllipsoidModel);
|
||||
I_Property(const std::string &, Format);
|
||||
I_Constructor0(____CoordinateSystemNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const std::string &, format, IN, const std::string &, cs,
|
||||
____CoordinateSystemNode__C5_std_string_R1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::CoordinateSystemNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____CoordinateSystemNode__C5_CoordinateSystemNode_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::CoordinateSystemNode &, csn,
|
||||
__void__set__C5_CoordinateSystemNode_R1,
|
||||
"Set the coordinate system node up by copy the format, coordinate system string, and ellipsoid model of another coordinate system node. ",
|
||||
"");
|
||||
I_Method1(void, setFormat, IN, const std::string &, format,
|
||||
__void__setFormat__C5_std_string_R1,
|
||||
"Set the coordinate system format string. ",
|
||||
"Typical values would be WKT, PROJ4, USGS etc. ");
|
||||
I_Method0(const std::string &, getFormat,
|
||||
__C5_std_string_R1__getFormat,
|
||||
"Get the coordinate system format string. ",
|
||||
"");
|
||||
I_Method1(void, setCoordinateSystem, IN, const std::string &, cs,
|
||||
__void__setCoordinateSystem__C5_std_string_R1,
|
||||
"Set the CoordinateSystem reference string, should be stored in a form consistent with the Format. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getCoordinateSystem,
|
||||
__C5_std_string_R1__getCoordinateSystem,
|
||||
"Get the CoordinateSystem reference string. ",
|
||||
"");
|
||||
I_Method1(void, setEllipsoidModel, IN, osg::EllipsoidModel *, ellipsode,
|
||||
__void__setEllipsoidModel__EllipsoidModel_P1,
|
||||
"Set EllipsoidModel to describe the model used to map lat, long and height into geocentric XYZ and back. ",
|
||||
"");
|
||||
I_Method0(osg::EllipsoidModel *, getEllipsoidModel,
|
||||
__EllipsoidModel_P1__getEllipsoidModel,
|
||||
"Get the EllipsoidModel. ",
|
||||
"");
|
||||
I_Method0(const osg::EllipsoidModel *, getEllipsoidModel,
|
||||
__C5_EllipsoidModel_P1__getEllipsoidModel,
|
||||
"Get the const EllipsoidModel. ",
|
||||
"");
|
||||
I_Method1(osg::CoordinateFrame, computeLocalCoordinateFrame, IN, const osg::Vec3d &, position,
|
||||
__CoordinateFrame__computeLocalCoordinateFrame__C5_Vec3d_R1,
|
||||
"Compute the local coordinate frame for specified point. ",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, computeLocalUpVector, IN, const osg::Vec3d &, position,
|
||||
__osg_Vec3d__computeLocalUpVector__C5_Vec3d_R1,
|
||||
"Compute the local coordinate frame for specified point. ",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, CoordinateSystem,
|
||||
__C5_std_string_R1__getCoordinateSystem,
|
||||
__void__setCoordinateSystem__C5_std_string_R1);
|
||||
I_SimpleProperty(osg::EllipsoidModel *, EllipsoidModel,
|
||||
__EllipsoidModel_P1__getEllipsoidModel,
|
||||
__void__setEllipsoidModel__EllipsoidModel_P1);
|
||||
I_SimpleProperty(const std::string &, Format,
|
||||
__C5_std_string_R1__getFormat,
|
||||
__void__setFormat__C5_std_string_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::EllipsoidModel)
|
||||
I_BaseType(osg::Object);
|
||||
I_ConstructorWithDefaults2(IN, double, radiusEquator, osg::WGS_84_RADIUS_EQUATOR, IN, double, radiusPolar, osg::WGS_84_RADIUS_POLAR);
|
||||
I_ConstructorWithDefaults2(IN, const osg::EllipsoidModel &, et, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(void, setRadiusEquator, IN, double, radius);
|
||||
I_Method0(double, getRadiusEquator);
|
||||
I_Method1(void, setRadiusPolar, IN, double, radius);
|
||||
I_Method0(double, getRadiusPolar);
|
||||
I_Method6(void, convertLatLongHeightToXYZ, IN, double, latitude, IN, double, longitude, IN, double, height, IN, double &, X, IN, double &, Y, IN, double &, Z);
|
||||
I_Method6(void, convertXYZToLatLongHeight, IN, double, X, IN, double, Y, IN, double, Z, IN, double &, latitude, IN, double &, longitude, IN, double &, height);
|
||||
I_Method4(void, computeLocalToWorldTransformFromLatLongHeight, IN, double, latitude, IN, double, longitude, IN, double, height, IN, osg::Matrixd &, localToWorld);
|
||||
I_Method4(void, computeLocalToWorldTransformFromXYZ, IN, double, X, IN, double, Y, IN, double, Z, IN, osg::Matrixd &, localToWorld);
|
||||
I_Method3(osg::Vec3d, computeLocalUpVector, IN, double, X, IN, double, Y, IN, double, Z);
|
||||
I_Property(double, RadiusEquator);
|
||||
I_Property(double, RadiusPolar);
|
||||
I_ConstructorWithDefaults2(IN, double, radiusEquator, osg::WGS_84_RADIUS_EQUATOR, IN, double, radiusPolar, osg::WGS_84_RADIUS_POLAR,
|
||||
____EllipsoidModel__double__double,
|
||||
"WGS_84 is a common representation of the earth's spheroid. ",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::EllipsoidModel &, et, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____EllipsoidModel__C5_EllipsoidModel_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setRadiusEquator, IN, double, radius,
|
||||
__void__setRadiusEquator__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getRadiusEquator,
|
||||
__double__getRadiusEquator,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRadiusPolar, IN, double, radius,
|
||||
__void__setRadiusPolar__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getRadiusPolar,
|
||||
__double__getRadiusPolar,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, convertLatLongHeightToXYZ, IN, double, latitude, IN, double, longitude, IN, double, height, IN, double &, X, IN, double &, Y, IN, double &, Z,
|
||||
__void__convertLatLongHeightToXYZ__double__double__double__double_R1__double_R1__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, convertXYZToLatLongHeight, IN, double, X, IN, double, Y, IN, double, Z, IN, double &, latitude, IN, double &, longitude, IN, double &, height,
|
||||
__void__convertXYZToLatLongHeight__double__double__double__double_R1__double_R1__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, computeLocalToWorldTransformFromLatLongHeight, IN, double, latitude, IN, double, longitude, IN, double, height, IN, osg::Matrixd &, localToWorld,
|
||||
__void__computeLocalToWorldTransformFromLatLongHeight__double__double__double__osg_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, computeLocalToWorldTransformFromXYZ, IN, double, X, IN, double, Y, IN, double, Z, IN, osg::Matrixd &, localToWorld,
|
||||
__void__computeLocalToWorldTransformFromXYZ__double__double__double__osg_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(osg::Vec3d, computeLocalUpVector, IN, double, X, IN, double, Y, IN, double, Z,
|
||||
__osg_Vec3d__computeLocalUpVector__double__double__double,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(double, RadiusEquator,
|
||||
__double__getRadiusEquator,
|
||||
__void__setRadiusEquator__double);
|
||||
I_SimpleProperty(double, RadiusPolar,
|
||||
__double__getRadiusPolar,
|
||||
__void__setRadiusPolar__double);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osg::Matrixd, osg::CoordinateFrame);
|
||||
|
||||
@@ -51,6 +51,9 @@ BEGIN_ENUM_REFLECTOR(osg::CopyOp::Options)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::CopyOp)
|
||||
I_ConstructorWithDefaults1(IN, osg::CopyOp::CopyFlags, flags, osg::CopyOp::SHALLOW_COPY);
|
||||
I_ConstructorWithDefaults1(IN, osg::CopyOp::CopyFlags, flags, osg::CopyOp::SHALLOW_COPY,
|
||||
____CopyOp__CopyFlags,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -32,20 +32,63 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::CullFace)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, osg::CullFace::Mode, mode, osg::CullFace::BACK);
|
||||
I_ConstructorWithDefaults2(IN, const osg::CullFace &, cf, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setMode, IN, osg::CullFace::Mode, mode);
|
||||
I_Method0(osg::CullFace::Mode, getMode);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(osg::CullFace::Mode, Mode);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_ConstructorWithDefaults1(IN, osg::CullFace::Mode, mode, osg::CullFace::BACK,
|
||||
____CullFace__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::CullFace &, cf, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____CullFace__C5_CullFace_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::CullFace::Mode, mode,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::CullFace::Mode, getMode,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::CullFace::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -65,65 +65,216 @@ BEGIN_ENUM_REFLECTOR(osg::CullSettings::CullingModeValues)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::CullSettings)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::ArgumentParser &, arguments);
|
||||
I_Constructor1(IN, const osg::CullSettings &, cs);
|
||||
I_Method0(void, setDefaults);
|
||||
I_Method1(void, setInheritanceMask, IN, unsigned int, mask);
|
||||
I_Method0(unsigned int, getInheritanceMask);
|
||||
I_Method1(void, setCullSettings, IN, const osg::CullSettings &, settings);
|
||||
I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings);
|
||||
I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask);
|
||||
I_Method0(void, readEnvironmentalVariables);
|
||||
I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments);
|
||||
I_Method1(void, setImpostorsActive, IN, bool, active);
|
||||
I_Method0(bool, getImpostorsActive);
|
||||
I_Method1(void, setImpostorPixelErrorThreshold, IN, float, numPixels);
|
||||
I_Method0(float, getImpostorPixelErrorThreshold);
|
||||
I_Method1(void, setDepthSortImpostorSprites, IN, bool, doDepthSort);
|
||||
I_Method0(bool, getDepthSortImpostorSprites);
|
||||
I_Method1(void, setNumberOfFrameToKeepImpostorSprites, IN, int, numFrames);
|
||||
I_Method0(int, getNumberOfFrameToKeepImpostorSprites);
|
||||
I_Method1(void, setComputeNearFarMode, IN, osg::CullSettings::ComputeNearFarMode, cnfm);
|
||||
I_Method0(osg::CullSettings::ComputeNearFarMode, getComputeNearFarMode);
|
||||
I_Method1(void, setNearFarRatio, IN, double, ratio);
|
||||
I_Method0(double, getNearFarRatio);
|
||||
I_Method1(void, setCullingMode, IN, osg::CullSettings::CullingMode, mode);
|
||||
I_Method0(osg::CullSettings::CullingMode, getCullingMode);
|
||||
I_Method1(void, setCullMask, IN, osg::Node::NodeMask, nm);
|
||||
I_Method0(osg::Node::NodeMask, getCullMask);
|
||||
I_Method1(void, setCullMaskLeft, IN, osg::Node::NodeMask, nm);
|
||||
I_Method0(osg::Node::NodeMask, getCullMaskLeft);
|
||||
I_Method1(void, setCullMaskRight, IN, osg::Node::NodeMask, nm);
|
||||
I_Method0(osg::Node::NodeMask, getCullMaskRight);
|
||||
I_Method1(void, setLODScale, IN, float, bias);
|
||||
I_Method0(float, getLODScale);
|
||||
I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value);
|
||||
I_Method0(float, getSmallFeatureCullingPixelSize);
|
||||
I_Method1(void, setClampProjectionMatrixCallback, IN, osg::CullSettings::ClampProjectionMatrixCallback *, cpmc);
|
||||
I_Method0(osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback);
|
||||
I_Method0(const osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback);
|
||||
I_Property(osg::CullSettings::ClampProjectionMatrixCallback *, ClampProjectionMatrixCallback);
|
||||
I_Property(osg::CullSettings::ComputeNearFarMode, ComputeNearFarMode);
|
||||
I_Property(osg::Node::NodeMask, CullMask);
|
||||
I_Property(osg::Node::NodeMask, CullMaskLeft);
|
||||
I_Property(osg::Node::NodeMask, CullMaskRight);
|
||||
I_WriteOnlyProperty(const osg::CullSettings &, CullSettings);
|
||||
I_Property(osg::CullSettings::CullingMode, CullingMode);
|
||||
I_Property(bool, DepthSortImpostorSprites);
|
||||
I_Property(float, ImpostorPixelErrorThreshold);
|
||||
I_Property(bool, ImpostorsActive);
|
||||
I_Property(unsigned int, InheritanceMask);
|
||||
I_Property(float, LODScale);
|
||||
I_Property(double, NearFarRatio);
|
||||
I_Property(int, NumberOfFrameToKeepImpostorSprites);
|
||||
I_Property(float, SmallFeatureCullingPixelSize);
|
||||
I_Constructor0(____CullSettings,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::ArgumentParser &, arguments,
|
||||
____CullSettings__ArgumentParser_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::CullSettings &, cs,
|
||||
____CullSettings__C5_CullSettings_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInheritanceMask, IN, unsigned int, mask,
|
||||
__void__setInheritanceMask__unsigned_int,
|
||||
"Set the inheritance mask used in inheritCullSettings to control which variables get overritten by the passed in CullSettings object. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getInheritanceMask,
|
||||
__unsigned_int__getInheritanceMask,
|
||||
"Get the inheritance mask used in inheritCullSettings to control which variables get overritten by the passed in CullSettings object. ",
|
||||
"");
|
||||
I_Method1(void, setCullSettings, IN, const osg::CullSettings &, settings,
|
||||
__void__setCullSettings__C5_CullSettings_R1,
|
||||
"Set the local cull settings values from specified CullSettings object. ",
|
||||
"");
|
||||
I_Method1(void, inheritCullSettings, IN, const osg::CullSettings &, settings,
|
||||
__void__inheritCullSettings__C5_CullSettings_R1,
|
||||
"Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
|
||||
"");
|
||||
I_Method2(void, inheritCullSettings, IN, const osg::CullSettings &, settings, IN, unsigned int, inheritanceMask,
|
||||
__void__inheritCullSettings__C5_CullSettings_R1__unsigned_int,
|
||||
"Inherit the local cull settings variable from specified CullSettings object, according to the inheritance mask. ",
|
||||
"");
|
||||
I_Method0(void, readEnvironmentalVariables,
|
||||
__void__readEnvironmentalVariables,
|
||||
"read the environmental variables. ",
|
||||
"");
|
||||
I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments,
|
||||
__void__readCommandLine__ArgumentParser_R1,
|
||||
"read the commandline arguments. ",
|
||||
"");
|
||||
I_Method1(void, setImpostorsActive, IN, bool, active,
|
||||
__void__setImpostorsActive__bool,
|
||||
"Switch the creation of Impostors on or off. ",
|
||||
"Setting active to false forces the CullVisitor to use the Impostor LOD children for rendering. Setting active to true forces the CullVisitor to create the appropriate pre-rendering stages which render to the ImpostorSprite's texture. ");
|
||||
I_Method0(bool, getImpostorsActive,
|
||||
__bool__getImpostorsActive,
|
||||
"Get whether impostors are active or not. ",
|
||||
"");
|
||||
I_Method1(void, setImpostorPixelErrorThreshold, IN, float, numPixels,
|
||||
__void__setImpostorPixelErrorThreshold__float,
|
||||
"Set the impostor error threshold. ",
|
||||
"Used in calculation of whether impostors remain valid. ");
|
||||
I_Method0(float, getImpostorPixelErrorThreshold,
|
||||
__float__getImpostorPixelErrorThreshold,
|
||||
"Get the impostor error threshold. ",
|
||||
"");
|
||||
I_Method1(void, setDepthSortImpostorSprites, IN, bool, doDepthSort,
|
||||
__void__setDepthSortImpostorSprites__bool,
|
||||
"Set whether ImpostorSprite's should be placed in a depth sorted bin for rendering. ",
|
||||
"");
|
||||
I_Method0(bool, getDepthSortImpostorSprites,
|
||||
__bool__getDepthSortImpostorSprites,
|
||||
"Get whether ImpostorSprite's are depth sorted bin for rendering. ",
|
||||
"");
|
||||
I_Method1(void, setNumberOfFrameToKeepImpostorSprites, IN, int, numFrames,
|
||||
__void__setNumberOfFrameToKeepImpostorSprites__int,
|
||||
"Set the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. ",
|
||||
"");
|
||||
I_Method0(int, getNumberOfFrameToKeepImpostorSprites,
|
||||
__int__getNumberOfFrameToKeepImpostorSprites,
|
||||
"Get the number of frames that an ImpostorSprite is kept whilst not being beyond, before being recycled. ",
|
||||
"");
|
||||
I_Method1(void, setComputeNearFarMode, IN, osg::CullSettings::ComputeNearFarMode, cnfm,
|
||||
__void__setComputeNearFarMode__ComputeNearFarMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::CullSettings::ComputeNearFarMode, getComputeNearFarMode,
|
||||
__ComputeNearFarMode__getComputeNearFarMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNearFarRatio, IN, double, ratio,
|
||||
__void__setNearFarRatio__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getNearFarRatio,
|
||||
__double__getNearFarRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCullingMode, IN, osg::CullSettings::CullingMode, mode,
|
||||
__void__setCullingMode__CullingMode,
|
||||
"Set the culling mode for the CullVisitor to use. ",
|
||||
"");
|
||||
I_Method0(osg::CullSettings::CullingMode, getCullingMode,
|
||||
__CullingMode__getCullingMode,
|
||||
"Returns the current CullingMode. ",
|
||||
"");
|
||||
I_Method1(void, setCullMask, IN, osg::Node::NodeMask, nm,
|
||||
__void__setCullMask__osg_Node_NodeMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getCullMask,
|
||||
__osg_Node_NodeMask__getCullMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCullMaskLeft, IN, osg::Node::NodeMask, nm,
|
||||
__void__setCullMaskLeft__osg_Node_NodeMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getCullMaskLeft,
|
||||
__osg_Node_NodeMask__getCullMaskLeft,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCullMaskRight, IN, osg::Node::NodeMask, nm,
|
||||
__void__setCullMaskRight__osg_Node_NodeMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getCullMaskRight,
|
||||
__osg_Node_NodeMask__getCullMaskRight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLODScale, IN, float, bias,
|
||||
__void__setLODScale__float,
|
||||
"Set the LOD bias for the CullVisitor to use. ",
|
||||
"");
|
||||
I_Method0(float, getLODScale,
|
||||
__float__getLODScale,
|
||||
"Get the LOD bias. ",
|
||||
"");
|
||||
I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value,
|
||||
__void__setSmallFeatureCullingPixelSize__float,
|
||||
"Set the Small Feature Culling Pixel Size. ",
|
||||
"");
|
||||
I_Method0(float, getSmallFeatureCullingPixelSize,
|
||||
__float__getSmallFeatureCullingPixelSize,
|
||||
"Get the Small Feature Culling Pixel Size. ",
|
||||
"");
|
||||
I_Method1(void, setClampProjectionMatrixCallback, IN, osg::CullSettings::ClampProjectionMatrixCallback *, cpmc,
|
||||
__void__setClampProjectionMatrixCallback__ClampProjectionMatrixCallback_P1,
|
||||
"set the ClampProjectionMatrixCallback. ",
|
||||
"");
|
||||
I_Method0(osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback,
|
||||
__ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback,
|
||||
"get the non const ClampProjectionMatrixCallback. ",
|
||||
"");
|
||||
I_Method0(const osg::CullSettings::ClampProjectionMatrixCallback *, getClampProjectionMatrixCallback,
|
||||
__C5_ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback,
|
||||
"get the const ClampProjectionMatrixCallback. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::CullSettings::ClampProjectionMatrixCallback *, ClampProjectionMatrixCallback,
|
||||
__ClampProjectionMatrixCallback_P1__getClampProjectionMatrixCallback,
|
||||
__void__setClampProjectionMatrixCallback__ClampProjectionMatrixCallback_P1);
|
||||
I_SimpleProperty(osg::CullSettings::ComputeNearFarMode, ComputeNearFarMode,
|
||||
__ComputeNearFarMode__getComputeNearFarMode,
|
||||
__void__setComputeNearFarMode__ComputeNearFarMode);
|
||||
I_SimpleProperty(osg::Node::NodeMask, CullMask,
|
||||
__osg_Node_NodeMask__getCullMask,
|
||||
__void__setCullMask__osg_Node_NodeMask);
|
||||
I_SimpleProperty(osg::Node::NodeMask, CullMaskLeft,
|
||||
__osg_Node_NodeMask__getCullMaskLeft,
|
||||
__void__setCullMaskLeft__osg_Node_NodeMask);
|
||||
I_SimpleProperty(osg::Node::NodeMask, CullMaskRight,
|
||||
__osg_Node_NodeMask__getCullMaskRight,
|
||||
__void__setCullMaskRight__osg_Node_NodeMask);
|
||||
I_SimpleProperty(const osg::CullSettings &, CullSettings,
|
||||
0,
|
||||
__void__setCullSettings__C5_CullSettings_R1);
|
||||
I_SimpleProperty(osg::CullSettings::CullingMode, CullingMode,
|
||||
__CullingMode__getCullingMode,
|
||||
__void__setCullingMode__CullingMode);
|
||||
I_SimpleProperty(bool, DepthSortImpostorSprites,
|
||||
__bool__getDepthSortImpostorSprites,
|
||||
__void__setDepthSortImpostorSprites__bool);
|
||||
I_SimpleProperty(float, ImpostorPixelErrorThreshold,
|
||||
__float__getImpostorPixelErrorThreshold,
|
||||
__void__setImpostorPixelErrorThreshold__float);
|
||||
I_SimpleProperty(bool, ImpostorsActive,
|
||||
__bool__getImpostorsActive,
|
||||
__void__setImpostorsActive__bool);
|
||||
I_SimpleProperty(unsigned int, InheritanceMask,
|
||||
__unsigned_int__getInheritanceMask,
|
||||
__void__setInheritanceMask__unsigned_int);
|
||||
I_SimpleProperty(float, LODScale,
|
||||
__float__getLODScale,
|
||||
__void__setLODScale__float);
|
||||
I_SimpleProperty(double, NearFarRatio,
|
||||
__double__getNearFarRatio,
|
||||
__void__setNearFarRatio__double);
|
||||
I_SimpleProperty(int, NumberOfFrameToKeepImpostorSprites,
|
||||
__int__getNumberOfFrameToKeepImpostorSprites,
|
||||
__void__setNumberOfFrameToKeepImpostorSprites__int);
|
||||
I_SimpleProperty(float, SmallFeatureCullingPixelSize,
|
||||
__float__getSmallFeatureCullingPixelSize,
|
||||
__void__setSmallFeatureCullingPixelSize__float);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::CullSettings::ClampProjectionMatrixCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar);
|
||||
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar);
|
||||
I_Constructor0(____ClampProjectionMatrixCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixf &, projection, IN, double &, znear, IN, double &, zfar,
|
||||
__bool__clampProjectionMatrixImplementation__osg_Matrixf_R1__double_R1__double_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, clampProjectionMatrixImplementation, IN, osg::Matrixd &, projection, IN, double &, znear, IN, double &, zfar,
|
||||
__bool__clampProjectionMatrixImplementation__osg_Matrixd_R1__double_R1__double_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -52,55 +52,181 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::CullingSet)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::CullingSet &, cs);
|
||||
I_Constructor3(IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector);
|
||||
I_Method1(void, set, IN, const osg::CullingSet &, cs);
|
||||
I_Method3(void, set, IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector);
|
||||
I_Method1(void, setCullingMask, IN, osg::CullingSet::Mask, mask);
|
||||
I_Method0(osg::CullingSet::Mask, getCullingMask);
|
||||
I_Method1(void, setFrustum, IN, osg::Polytope &, cv);
|
||||
I_Method0(osg::Polytope &, getFrustum);
|
||||
I_Method0(const osg::Polytope &, getFrustum);
|
||||
I_Method2(void, addStateFrustum, IN, osg::StateSet *, stateset, IN, osg::Polytope &, polytope);
|
||||
I_Method1(void, getStateFrustumList, IN, osg::CullingSet::StateFrustumList &, sfl);
|
||||
I_Method0(osg::CullingSet::StateFrustumList &, getStateFrustumList);
|
||||
I_Method1(void, addOccluder, IN, osg::ShadowVolumeOccluder &, cv);
|
||||
I_Method1(void, setPixelSizeVector, IN, const osg::Vec4 &, v);
|
||||
I_Method0(osg::Vec4 &, getPixelSizeVector);
|
||||
I_Method0(const osg::Vec4 &, getPixelSizeVector);
|
||||
I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value);
|
||||
I_Method0(float &, getSmallFeatureCullingPixelSize);
|
||||
I_Method0(float, getSmallFeatureCullingPixelSize);
|
||||
I_Method2(float, pixelSize, IN, const osg::Vec3 &, v, IN, float, radius);
|
||||
I_Method1(float, pixelSize, IN, const osg::BoundingSphere &, bs);
|
||||
I_Method2(float, clampedPixelSize, IN, const osg::Vec3 &, v, IN, float, radius);
|
||||
I_Method1(float, clampedPixelSize, IN, const osg::BoundingSphere &, bs);
|
||||
I_Method1(bool, isCulled, IN, const std::vector< osg::Vec3 > &, vertices);
|
||||
I_Method1(bool, isCulled, IN, const osg::BoundingBox &, bb);
|
||||
I_Method1(bool, isCulled, IN, const osg::BoundingSphere &, bs);
|
||||
I_Method0(void, pushCurrentMask);
|
||||
I_Method0(void, popCurrentMask);
|
||||
I_Method1(void, disableAndPushOccludersCurrentMask, IN, osg::NodePath &, nodePath);
|
||||
I_Method1(void, popOccludersCurrentMask, IN, osg::NodePath &, nodePath);
|
||||
I_StaticMethod3(osg::Vec4, computePixelSizeVector, IN, const osg::Viewport &, W, IN, const osg::Matrix &, P, IN, const osg::Matrix &, M);
|
||||
I_WriteOnlyProperty(const osg::CullingSet &, );
|
||||
I_Property(osg::CullingSet::Mask, CullingMask);
|
||||
I_Property(osg::Polytope &, Frustum);
|
||||
I_Property(const osg::Vec4 &, PixelSizeVector);
|
||||
I_Property(float, SmallFeatureCullingPixelSize);
|
||||
I_ReadOnlyProperty(osg::CullingSet::StateFrustumList &, StateFrustumList);
|
||||
I_Constructor0(____CullingSet,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::CullingSet &, cs,
|
||||
____CullingSet__C5_CullingSet_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector,
|
||||
____CullingSet__C5_CullingSet_R1__C5_Matrix_R1__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::CullingSet &, cs,
|
||||
__void__set__C5_CullingSet_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, const osg::CullingSet &, cs, IN, const osg::Matrix &, matrix, IN, const osg::Vec4 &, pixelSizeVector,
|
||||
__void__set__C5_CullingSet_R1__C5_Matrix_R1__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCullingMask, IN, osg::CullingSet::Mask, mask,
|
||||
__void__setCullingMask__Mask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::CullingSet::Mask, getCullingMask,
|
||||
__Mask__getCullingMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrustum, IN, osg::Polytope &, cv,
|
||||
__void__setFrustum__Polytope_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope &, getFrustum,
|
||||
__Polytope_R1__getFrustum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope &, getFrustum,
|
||||
__C5_Polytope_R1__getFrustum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, addStateFrustum, IN, osg::StateSet *, stateset, IN, osg::Polytope &, polytope,
|
||||
__void__addStateFrustum__StateSet_P1__Polytope_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getStateFrustumList, IN, osg::CullingSet::StateFrustumList &, sfl,
|
||||
__void__getStateFrustumList__StateFrustumList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::CullingSet::StateFrustumList &, getStateFrustumList,
|
||||
__StateFrustumList_R1__getStateFrustumList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addOccluder, IN, osg::ShadowVolumeOccluder &, cv,
|
||||
__void__addOccluder__ShadowVolumeOccluder_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPixelSizeVector, IN, const osg::Vec4 &, v,
|
||||
__void__setPixelSizeVector__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, getPixelSizeVector,
|
||||
__Vec4_R1__getPixelSizeVector,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getPixelSizeVector,
|
||||
__C5_Vec4_R1__getPixelSizeVector,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSmallFeatureCullingPixelSize, IN, float, value,
|
||||
__void__setSmallFeatureCullingPixelSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float &, getSmallFeatureCullingPixelSize,
|
||||
__float_R1__getSmallFeatureCullingPixelSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSmallFeatureCullingPixelSize,
|
||||
__float__getSmallFeatureCullingPixelSize,
|
||||
"",
|
||||
"");
|
||||
I_Method2(float, pixelSize, IN, const osg::Vec3 &, v, IN, float, radius,
|
||||
__float__pixelSize__C5_Vec3_R1__float,
|
||||
"Compute the pixel of an object at position v, with specified radius. ",
|
||||
"");
|
||||
I_Method1(float, pixelSize, IN, const osg::BoundingSphere &, bs,
|
||||
__float__pixelSize__C5_BoundingSphere_R1,
|
||||
"Compute the pixel of a bounding sphere. ",
|
||||
"");
|
||||
I_Method2(float, clampedPixelSize, IN, const osg::Vec3 &, v, IN, float, radius,
|
||||
__float__clampedPixelSize__C5_Vec3_R1__float,
|
||||
"Compute the pixel of an object at position v, with specified radius. ",
|
||||
"fabs()ed to always be positive. ");
|
||||
I_Method1(float, clampedPixelSize, IN, const osg::BoundingSphere &, bs,
|
||||
__float__clampedPixelSize__C5_BoundingSphere_R1,
|
||||
"Compute the pixel of a bounding sphere. ",
|
||||
"fabs()ed to always be positive. ");
|
||||
I_Method1(bool, isCulled, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
__bool__isCulled__C5_std_vectorT1_Vec3__R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isCulled, IN, const osg::BoundingBox &, bb,
|
||||
__bool__isCulled__C5_BoundingBox_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isCulled, IN, const osg::BoundingSphere &, bs,
|
||||
__bool__isCulled__C5_BoundingSphere_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pushCurrentMask,
|
||||
__void__pushCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popCurrentMask,
|
||||
__void__popCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, disableAndPushOccludersCurrentMask, IN, osg::NodePath &, nodePath,
|
||||
__void__disableAndPushOccludersCurrentMask__NodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, popOccludersCurrentMask, IN, osg::NodePath &, nodePath,
|
||||
__void__popOccludersCurrentMask__NodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod3(osg::Vec4, computePixelSizeVector, IN, const osg::Viewport &, W, IN, const osg::Matrix &, P, IN, const osg::Matrix &, M,
|
||||
__osg_Vec4__computePixelSizeVector__C5_Viewport_R1__C5_Matrix_R1__C5_Matrix_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::CullingSet::Mask, CullingMask,
|
||||
__Mask__getCullingMask,
|
||||
__void__setCullingMask__Mask);
|
||||
I_SimpleProperty(osg::Polytope &, Frustum,
|
||||
__Polytope_R1__getFrustum,
|
||||
__void__setFrustum__Polytope_R1);
|
||||
I_SimpleProperty(const osg::Vec4 &, PixelSizeVector,
|
||||
__C5_Vec4_R1__getPixelSizeVector,
|
||||
__void__setPixelSizeVector__C5_Vec4_R1);
|
||||
I_SimpleProperty(float, SmallFeatureCullingPixelSize,
|
||||
__float__getSmallFeatureCullingPixelSize,
|
||||
__void__setSmallFeatureCullingPixelSize__float);
|
||||
I_SimpleProperty(osg::CullingSet::StateFrustumList &, StateFrustumList,
|
||||
__StateFrustumList_R1__getStateFrustumList,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateSet >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::StateSet *, ptr);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::StateSet > &, rp);
|
||||
I_Method0(osg::StateSet *, get);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::StateSet *, release);
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::StateSet > &, rp);
|
||||
I_ReadOnlyProperty(osg::StateSet *, );
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::StateSet *, ptr,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::StateSet > &, rp,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, release,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::StateSet > &, rp,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::StateSet *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_PAIR_REFLECTOR(std::pair< osg::ref_ptr< osg::StateSet > COMMA osg::Polytope >);
|
||||
|
||||
@@ -37,30 +37,100 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Depth)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults4(IN, osg::Depth::Function, func, osg::Depth::LESS, IN, double, zNear, 0.0, IN, double, zFar, 1.0, IN, bool, writeMask, true);
|
||||
I_ConstructorWithDefaults2(IN, const osg::Depth &, dp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setFunction, IN, osg::Depth::Function, func);
|
||||
I_Method0(osg::Depth::Function, getFunction);
|
||||
I_Method2(void, setRange, IN, double, zNear, IN, double, zFar);
|
||||
I_Method1(void, setZNear, IN, double, zNear);
|
||||
I_Method0(double, getZNear);
|
||||
I_Method1(void, setZFar, IN, double, zFar);
|
||||
I_Method0(double, getZFar);
|
||||
I_Method1(void, setWriteMask, IN, bool, mask);
|
||||
I_Method0(bool, getWriteMask);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(osg::Depth::Function, Function);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Property(bool, WriteMask);
|
||||
I_Property(double, ZFar);
|
||||
I_Property(double, ZNear);
|
||||
I_ConstructorWithDefaults4(IN, osg::Depth::Function, func, osg::Depth::LESS, IN, double, zNear, 0.0, IN, double, zFar, 1.0, IN, bool, writeMask, true,
|
||||
____Depth__Function__double__double__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Depth &, dp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Depth__C5_Depth_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFunction, IN, osg::Depth::Function, func,
|
||||
__void__setFunction__Function,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Depth::Function, getFunction,
|
||||
__Function__getFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setRange, IN, double, zNear, IN, double, zFar,
|
||||
__void__setRange__double__double,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setZNear, IN, double, zNear,
|
||||
__void__setZNear__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getZNear,
|
||||
__double__getZNear,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setZFar, IN, double, zFar,
|
||||
__void__setZFar__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getZFar,
|
||||
__double__getZFar,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWriteMask, IN, bool, mask,
|
||||
__void__setWriteMask__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getWriteMask,
|
||||
__bool__getWriteMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::Depth::Function, Function,
|
||||
__Function__getFunction,
|
||||
__void__setFunction__Function);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(bool, WriteMask,
|
||||
__bool__getWriteMask,
|
||||
__void__setWriteMask__bool);
|
||||
I_SimpleProperty(double, ZFar,
|
||||
__double__getZFar,
|
||||
__void__setZFar__double);
|
||||
I_SimpleProperty(double, ZNear,
|
||||
__double__getZNear,
|
||||
__void__setZNear__double);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -51,89 +51,312 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DisplaySettings)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::ArgumentParser &, arguments);
|
||||
I_Constructor1(IN, const osg::DisplaySettings &, vs);
|
||||
I_Method1(void, setDisplaySettings, IN, const osg::DisplaySettings &, vs);
|
||||
I_Method1(void, merge, IN, const osg::DisplaySettings &, vs);
|
||||
I_Method0(void, setDefaults);
|
||||
I_Method0(void, readEnvironmentalVariables);
|
||||
I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments);
|
||||
I_Method1(void, setDisplayType, IN, osg::DisplaySettings::DisplayType, type);
|
||||
I_Method0(osg::DisplaySettings::DisplayType, getDisplayType);
|
||||
I_Method1(void, setStereo, IN, bool, on);
|
||||
I_Method0(bool, getStereo);
|
||||
I_Method1(void, setStereoMode, IN, osg::DisplaySettings::StereoMode, mode);
|
||||
I_Method0(osg::DisplaySettings::StereoMode, getStereoMode);
|
||||
I_Method1(void, setEyeSeparation, IN, float, eyeSeparation);
|
||||
I_Method0(float, getEyeSeparation);
|
||||
I_Method1(void, setSplitStereoHorizontalEyeMapping, IN, osg::DisplaySettings::SplitStereoHorizontalEyeMapping, m);
|
||||
I_Method0(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, getSplitStereoHorizontalEyeMapping);
|
||||
I_Method1(void, setSplitStereoHorizontalSeparation, IN, int, s);
|
||||
I_Method0(int, getSplitStereoHorizontalSeparation);
|
||||
I_Method1(void, setSplitStereoVerticalEyeMapping, IN, osg::DisplaySettings::SplitStereoVerticalEyeMapping, m);
|
||||
I_Method0(osg::DisplaySettings::SplitStereoVerticalEyeMapping, getSplitStereoVerticalEyeMapping);
|
||||
I_Method1(void, setSplitStereoVerticalSeparation, IN, int, s);
|
||||
I_Method0(int, getSplitStereoVerticalSeparation);
|
||||
I_Method1(void, setSplitStereoAutoAjustAspectRatio, IN, bool, flag);
|
||||
I_Method0(bool, getSplitStereoAutoAjustAspectRatio);
|
||||
I_Method1(void, setScreenWidth, IN, float, width);
|
||||
I_Method0(float, getScreenWidth);
|
||||
I_Method1(void, setScreenHeight, IN, float, height);
|
||||
I_Method0(float, getScreenHeight);
|
||||
I_Method1(void, setScreenDistance, IN, float, distance);
|
||||
I_Method0(float, getScreenDistance);
|
||||
I_Method1(void, setDoubleBuffer, IN, bool, flag);
|
||||
I_Method0(bool, getDoubleBuffer);
|
||||
I_Method1(void, setRGB, IN, bool, flag);
|
||||
I_Method0(bool, getRGB);
|
||||
I_Method1(void, setDepthBuffer, IN, bool, flag);
|
||||
I_Method0(bool, getDepthBuffer);
|
||||
I_Method1(void, setMinimumNumAlphaBits, IN, unsigned int, bits);
|
||||
I_Method0(unsigned int, getMinimumNumAlphaBits);
|
||||
I_Method0(bool, getAlphaBuffer);
|
||||
I_Method1(void, setMinimumNumStencilBits, IN, unsigned int, bits);
|
||||
I_Method0(unsigned int, getMinimumNumStencilBits);
|
||||
I_Method0(bool, getStencilBuffer);
|
||||
I_Method4(void, setMinimumNumAccumBits, IN, unsigned int, red, IN, unsigned int, green, IN, unsigned int, blue, IN, unsigned int, alpha);
|
||||
I_Method0(unsigned int, getMinimumNumAccumRedBits);
|
||||
I_Method0(unsigned int, getMinimumNumAccumGreenBits);
|
||||
I_Method0(unsigned int, getMinimumNumAccumBlueBits);
|
||||
I_Method0(unsigned int, getMinimumNumAccumAlphaBits);
|
||||
I_Method0(bool, getAccumBuffer);
|
||||
I_Method1(void, setMaxNumberOfGraphicsContexts, IN, unsigned int, num);
|
||||
I_Method0(unsigned int, getMaxNumberOfGraphicsContexts);
|
||||
I_Method1(void, setNumMultiSamples, IN, unsigned int, samples);
|
||||
I_Method0(unsigned int, getNumMultiSamples);
|
||||
I_Method0(bool, getMultiSamples);
|
||||
I_StaticMethod0(osg::DisplaySettings *, instance);
|
||||
I_ReadOnlyProperty(bool, AccumBuffer);
|
||||
I_ReadOnlyProperty(bool, AlphaBuffer);
|
||||
I_Property(bool, DepthBuffer);
|
||||
I_WriteOnlyProperty(const osg::DisplaySettings &, DisplaySettings);
|
||||
I_Property(osg::DisplaySettings::DisplayType, DisplayType);
|
||||
I_Property(bool, DoubleBuffer);
|
||||
I_Property(float, EyeSeparation);
|
||||
I_Property(unsigned int, MaxNumberOfGraphicsContexts);
|
||||
I_ReadOnlyProperty(unsigned int, MinimumNumAccumAlphaBits);
|
||||
I_ReadOnlyProperty(unsigned int, MinimumNumAccumBlueBits);
|
||||
I_ReadOnlyProperty(unsigned int, MinimumNumAccumGreenBits);
|
||||
I_ReadOnlyProperty(unsigned int, MinimumNumAccumRedBits);
|
||||
I_Property(unsigned int, MinimumNumAlphaBits);
|
||||
I_Property(unsigned int, MinimumNumStencilBits);
|
||||
I_ReadOnlyProperty(bool, MultiSamples);
|
||||
I_WriteOnlyProperty(unsigned int, NumMultiSamples);
|
||||
I_Property(bool, RGB);
|
||||
I_Property(float, ScreenDistance);
|
||||
I_Property(float, ScreenHeight);
|
||||
I_Property(float, ScreenWidth);
|
||||
I_Property(bool, SplitStereoAutoAjustAspectRatio);
|
||||
I_Property(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, SplitStereoHorizontalEyeMapping);
|
||||
I_Property(int, SplitStereoHorizontalSeparation);
|
||||
I_Property(osg::DisplaySettings::SplitStereoVerticalEyeMapping, SplitStereoVerticalEyeMapping);
|
||||
I_Property(int, SplitStereoVerticalSeparation);
|
||||
I_ReadOnlyProperty(bool, StencilBuffer);
|
||||
I_Property(bool, Stereo);
|
||||
I_Property(osg::DisplaySettings::StereoMode, StereoMode);
|
||||
I_Constructor0(____DisplaySettings,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::ArgumentParser &, arguments,
|
||||
____DisplaySettings__ArgumentParser_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::DisplaySettings &, vs,
|
||||
____DisplaySettings__C5_DisplaySettings_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDisplaySettings, IN, const osg::DisplaySettings &, vs,
|
||||
__void__setDisplaySettings__C5_DisplaySettings_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, merge, IN, const osg::DisplaySettings &, vs,
|
||||
__void__merge__C5_DisplaySettings_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setDefaults,
|
||||
__void__setDefaults,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, readEnvironmentalVariables,
|
||||
__void__readEnvironmentalVariables,
|
||||
"read the environmental variables. ",
|
||||
"");
|
||||
I_Method1(void, readCommandLine, IN, osg::ArgumentParser &, arguments,
|
||||
__void__readCommandLine__ArgumentParser_R1,
|
||||
"read the commandline arguments. ",
|
||||
"");
|
||||
I_Method1(void, setDisplayType, IN, osg::DisplaySettings::DisplayType, type,
|
||||
__void__setDisplayType__DisplayType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::DisplaySettings::DisplayType, getDisplayType,
|
||||
__DisplayType__getDisplayType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStereo, IN, bool, on,
|
||||
__void__setStereo__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getStereo,
|
||||
__bool__getStereo,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStereoMode, IN, osg::DisplaySettings::StereoMode, mode,
|
||||
__void__setStereoMode__StereoMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::DisplaySettings::StereoMode, getStereoMode,
|
||||
__StereoMode__getStereoMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEyeSeparation, IN, float, eyeSeparation,
|
||||
__void__setEyeSeparation__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEyeSeparation,
|
||||
__float__getEyeSeparation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSplitStereoHorizontalEyeMapping, IN, osg::DisplaySettings::SplitStereoHorizontalEyeMapping, m,
|
||||
__void__setSplitStereoHorizontalEyeMapping__SplitStereoHorizontalEyeMapping,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, getSplitStereoHorizontalEyeMapping,
|
||||
__SplitStereoHorizontalEyeMapping__getSplitStereoHorizontalEyeMapping,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSplitStereoHorizontalSeparation, IN, int, s,
|
||||
__void__setSplitStereoHorizontalSeparation__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getSplitStereoHorizontalSeparation,
|
||||
__int__getSplitStereoHorizontalSeparation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSplitStereoVerticalEyeMapping, IN, osg::DisplaySettings::SplitStereoVerticalEyeMapping, m,
|
||||
__void__setSplitStereoVerticalEyeMapping__SplitStereoVerticalEyeMapping,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::DisplaySettings::SplitStereoVerticalEyeMapping, getSplitStereoVerticalEyeMapping,
|
||||
__SplitStereoVerticalEyeMapping__getSplitStereoVerticalEyeMapping,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSplitStereoVerticalSeparation, IN, int, s,
|
||||
__void__setSplitStereoVerticalSeparation__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getSplitStereoVerticalSeparation,
|
||||
__int__getSplitStereoVerticalSeparation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSplitStereoAutoAjustAspectRatio, IN, bool, flag,
|
||||
__void__setSplitStereoAutoAjustAspectRatio__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getSplitStereoAutoAjustAspectRatio,
|
||||
__bool__getSplitStereoAutoAjustAspectRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScreenWidth, IN, float, width,
|
||||
__void__setScreenWidth__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScreenWidth,
|
||||
__float__getScreenWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScreenHeight, IN, float, height,
|
||||
__void__setScreenHeight__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScreenHeight,
|
||||
__float__getScreenHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScreenDistance, IN, float, distance,
|
||||
__void__setScreenDistance__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScreenDistance,
|
||||
__float__getScreenDistance,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDoubleBuffer, IN, bool, flag,
|
||||
__void__setDoubleBuffer__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDoubleBuffer,
|
||||
__bool__getDoubleBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRGB, IN, bool, flag,
|
||||
__void__setRGB__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getRGB,
|
||||
__bool__getRGB,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDepthBuffer, IN, bool, flag,
|
||||
__void__setDepthBuffer__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDepthBuffer,
|
||||
__bool__getDepthBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumNumAlphaBits, IN, unsigned int, bits,
|
||||
__void__setMinimumNumAlphaBits__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMinimumNumAlphaBits,
|
||||
__unsigned_int__getMinimumNumAlphaBits,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAlphaBuffer,
|
||||
__bool__getAlphaBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinimumNumStencilBits, IN, unsigned int, bits,
|
||||
__void__setMinimumNumStencilBits__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMinimumNumStencilBits,
|
||||
__unsigned_int__getMinimumNumStencilBits,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getStencilBuffer,
|
||||
__bool__getStencilBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setMinimumNumAccumBits, IN, unsigned int, red, IN, unsigned int, green, IN, unsigned int, blue, IN, unsigned int, alpha,
|
||||
__void__setMinimumNumAccumBits__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMinimumNumAccumRedBits,
|
||||
__unsigned_int__getMinimumNumAccumRedBits,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMinimumNumAccumGreenBits,
|
||||
__unsigned_int__getMinimumNumAccumGreenBits,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMinimumNumAccumBlueBits,
|
||||
__unsigned_int__getMinimumNumAccumBlueBits,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMinimumNumAccumAlphaBits,
|
||||
__unsigned_int__getMinimumNumAccumAlphaBits,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAccumBuffer,
|
||||
__bool__getAccumBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxNumberOfGraphicsContexts, IN, unsigned int, num,
|
||||
__void__setMaxNumberOfGraphicsContexts__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getMaxNumberOfGraphicsContexts,
|
||||
__unsigned_int__getMaxNumberOfGraphicsContexts,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumMultiSamples, IN, unsigned int, samples,
|
||||
__void__setNumMultiSamples__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumMultiSamples,
|
||||
__unsigned_int__getNumMultiSamples,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getMultiSamples,
|
||||
__bool__getMultiSamples,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::DisplaySettings *, instance,
|
||||
__DisplaySettings_P1__instance_S,
|
||||
"Maintain a DisplaySettings singleton for objects to query at runtime. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, AccumBuffer,
|
||||
__bool__getAccumBuffer,
|
||||
0);
|
||||
I_SimpleProperty(bool, AlphaBuffer,
|
||||
__bool__getAlphaBuffer,
|
||||
0);
|
||||
I_SimpleProperty(bool, DepthBuffer,
|
||||
__bool__getDepthBuffer,
|
||||
__void__setDepthBuffer__bool);
|
||||
I_SimpleProperty(const osg::DisplaySettings &, DisplaySettings,
|
||||
0,
|
||||
__void__setDisplaySettings__C5_DisplaySettings_R1);
|
||||
I_SimpleProperty(osg::DisplaySettings::DisplayType, DisplayType,
|
||||
__DisplayType__getDisplayType,
|
||||
__void__setDisplayType__DisplayType);
|
||||
I_SimpleProperty(bool, DoubleBuffer,
|
||||
__bool__getDoubleBuffer,
|
||||
__void__setDoubleBuffer__bool);
|
||||
I_SimpleProperty(float, EyeSeparation,
|
||||
__float__getEyeSeparation,
|
||||
__void__setEyeSeparation__float);
|
||||
I_SimpleProperty(unsigned int, MaxNumberOfGraphicsContexts,
|
||||
__unsigned_int__getMaxNumberOfGraphicsContexts,
|
||||
__void__setMaxNumberOfGraphicsContexts__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, MinimumNumAccumAlphaBits,
|
||||
__unsigned_int__getMinimumNumAccumAlphaBits,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, MinimumNumAccumBlueBits,
|
||||
__unsigned_int__getMinimumNumAccumBlueBits,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, MinimumNumAccumGreenBits,
|
||||
__unsigned_int__getMinimumNumAccumGreenBits,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, MinimumNumAccumRedBits,
|
||||
__unsigned_int__getMinimumNumAccumRedBits,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, MinimumNumAlphaBits,
|
||||
__unsigned_int__getMinimumNumAlphaBits,
|
||||
__void__setMinimumNumAlphaBits__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, MinimumNumStencilBits,
|
||||
__unsigned_int__getMinimumNumStencilBits,
|
||||
__void__setMinimumNumStencilBits__unsigned_int);
|
||||
I_SimpleProperty(bool, MultiSamples,
|
||||
__bool__getMultiSamples,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, NumMultiSamples,
|
||||
0,
|
||||
__void__setNumMultiSamples__unsigned_int);
|
||||
I_SimpleProperty(bool, RGB,
|
||||
__bool__getRGB,
|
||||
__void__setRGB__bool);
|
||||
I_SimpleProperty(float, ScreenDistance,
|
||||
__float__getScreenDistance,
|
||||
__void__setScreenDistance__float);
|
||||
I_SimpleProperty(float, ScreenHeight,
|
||||
__float__getScreenHeight,
|
||||
__void__setScreenHeight__float);
|
||||
I_SimpleProperty(float, ScreenWidth,
|
||||
__float__getScreenWidth,
|
||||
__void__setScreenWidth__float);
|
||||
I_SimpleProperty(bool, SplitStereoAutoAjustAspectRatio,
|
||||
__bool__getSplitStereoAutoAjustAspectRatio,
|
||||
__void__setSplitStereoAutoAjustAspectRatio__bool);
|
||||
I_SimpleProperty(osg::DisplaySettings::SplitStereoHorizontalEyeMapping, SplitStereoHorizontalEyeMapping,
|
||||
__SplitStereoHorizontalEyeMapping__getSplitStereoHorizontalEyeMapping,
|
||||
__void__setSplitStereoHorizontalEyeMapping__SplitStereoHorizontalEyeMapping);
|
||||
I_SimpleProperty(int, SplitStereoHorizontalSeparation,
|
||||
__int__getSplitStereoHorizontalSeparation,
|
||||
__void__setSplitStereoHorizontalSeparation__int);
|
||||
I_SimpleProperty(osg::DisplaySettings::SplitStereoVerticalEyeMapping, SplitStereoVerticalEyeMapping,
|
||||
__SplitStereoVerticalEyeMapping__getSplitStereoVerticalEyeMapping,
|
||||
__void__setSplitStereoVerticalEyeMapping__SplitStereoVerticalEyeMapping);
|
||||
I_SimpleProperty(int, SplitStereoVerticalSeparation,
|
||||
__int__getSplitStereoVerticalSeparation,
|
||||
__void__setSplitStereoVerticalSeparation__int);
|
||||
I_SimpleProperty(bool, StencilBuffer,
|
||||
__bool__getStencilBuffer,
|
||||
0);
|
||||
I_SimpleProperty(bool, Stereo,
|
||||
__bool__getStereo,
|
||||
__void__setStereo__bool);
|
||||
I_SimpleProperty(osg::DisplaySettings::StereoMode, StereoMode,
|
||||
__StereoMode__getStereoMode,
|
||||
__void__setStereoMode__StereoMode);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -28,27 +28,89 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DrawPixels)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position);
|
||||
I_Method0(osg::Vec3 &, getPosition);
|
||||
I_Method0(const osg::Vec3 &, getPosition);
|
||||
I_Method1(void, setImage, IN, osg::Image *, image);
|
||||
I_Method0(osg::Image *, getImage);
|
||||
I_Method0(const osg::Image *, getImage);
|
||||
I_Method1(void, setUseSubImage, IN, bool, useSubImage);
|
||||
I_Method0(bool, getUseSubImage);
|
||||
I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height);
|
||||
I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height);
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state);
|
||||
I_Method0(osg::BoundingBox, computeBound);
|
||||
I_Property(osg::Image *, Image);
|
||||
I_Property(const osg::Vec3 &, Position);
|
||||
I_Property(bool, UseSubImage);
|
||||
I_Constructor0(____DrawPixels,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawPixels &, drawimage, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DrawPixels__C5_DrawPixels_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3 &, position,
|
||||
__void__setPosition__C5_osg_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3 &, getPosition,
|
||||
__osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getPosition,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setImage, IN, osg::Image *, image,
|
||||
__void__setImage__osg_Image_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Image *, getImage,
|
||||
__osg_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Image *, getImage,
|
||||
__C5_osg_Image_P1__getImage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUseSubImage, IN, bool, useSubImage,
|
||||
__void__setUseSubImage__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getUseSubImage,
|
||||
__bool__getUseSubImage,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setSubImageDimensions, IN, unsigned int, offsetX, IN, unsigned int, offsetY, IN, unsigned int, width, IN, unsigned int, height,
|
||||
__void__setSubImageDimensions__unsigned_int__unsigned_int__unsigned_int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getSubImageDimensions, IN, unsigned int &, offsetX, IN, unsigned int &, offsetY, IN, unsigned int &, width, IN, unsigned int &, height,
|
||||
__void__getSubImageDimensions__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1__unsigned_int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
__void__drawImplementation__State_R1,
|
||||
"Deprecated. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
__BoundingBox__computeBound,
|
||||
"Compute the bounding box around Drawables's geometry. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Image *, Image,
|
||||
__osg_Image_P1__getImage,
|
||||
__void__setImage__osg_Image_P1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Position,
|
||||
__C5_osg_Vec3_R1__getPosition,
|
||||
__void__setPosition__C5_osg_Vec3_R1);
|
||||
I_SimpleProperty(bool, UseSubImage,
|
||||
__bool__getUseSubImage,
|
||||
__void__setUseSubImage__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -38,35 +38,117 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Fog)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Fog &, fog, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setMode, IN, osg::Fog::Mode, mode);
|
||||
I_Method0(osg::Fog::Mode, getMode);
|
||||
I_Method1(void, setDensity, IN, float, density);
|
||||
I_Method0(float, getDensity);
|
||||
I_Method1(void, setStart, IN, float, start);
|
||||
I_Method0(float, getStart);
|
||||
I_Method1(void, setEnd, IN, float, end);
|
||||
I_Method0(float, getEnd);
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color);
|
||||
I_Method0(const osg::Vec4 &, getColor);
|
||||
I_Method1(void, setFogCoordinateSource, IN, GLint, source);
|
||||
I_Method0(GLint, getFogCoordinateSource);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(const osg::Vec4 &, Color);
|
||||
I_Property(float, Density);
|
||||
I_Property(float, End);
|
||||
I_Property(GLint, FogCoordinateSource);
|
||||
I_Property(osg::Fog::Mode, Mode);
|
||||
I_Property(float, Start);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____Fog,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Fog &, fog, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Fog__C5_Fog_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::Fog::Mode, mode,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Fog::Mode, getMode,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDensity, IN, float, density,
|
||||
__void__setDensity__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDensity,
|
||||
__float__getDensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStart, IN, float, start,
|
||||
__void__setStart__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getStart,
|
||||
__float__getStart,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEnd, IN, float, end,
|
||||
__void__setEnd__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getEnd,
|
||||
__float__getEnd,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFogCoordinateSource, IN, GLint, source,
|
||||
__void__setFogCoordinateSource__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getFogCoordinateSource,
|
||||
__GLint__getFogCoordinateSource,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(float, Density,
|
||||
__float__getDensity,
|
||||
__void__setDensity__float);
|
||||
I_SimpleProperty(float, End,
|
||||
__float__getEnd,
|
||||
__void__setEnd__float);
|
||||
I_SimpleProperty(GLint, FogCoordinateSource,
|
||||
__GLint__getFogCoordinateSource,
|
||||
__void__setFogCoordinateSource__GLint);
|
||||
I_SimpleProperty(osg::Fog::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(float, Start,
|
||||
__float__getStart,
|
||||
__void__setStart__float);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -32,57 +32,188 @@ TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::Matrix >, osg::FragmentProgram::Mat
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::FragmentProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(GLuint &, getFragmentProgramID, IN, unsigned int, contextID);
|
||||
I_Method1(void, setFragmentProgram, IN, const char *, program);
|
||||
I_Method1(void, setFragmentProgram, IN, const std::string &, program);
|
||||
I_Method0(const std::string &, getFragmentProgram);
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p);
|
||||
I_Method1(void, setLocalParameters, IN, const osg::FragmentProgram::LocalParamList &, lpl);
|
||||
I_Method0(osg::FragmentProgram::LocalParamList &, getLocalParameters);
|
||||
I_Method0(const osg::FragmentProgram::LocalParamList &, getLocalParameters);
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix);
|
||||
I_Method1(void, setMatrices, IN, const osg::FragmentProgram::MatrixList &, matrices);
|
||||
I_Method0(osg::FragmentProgram::MatrixList &, getMatrices);
|
||||
I_Method0(const osg::FragmentProgram::MatrixList &, getMatrices);
|
||||
I_Method0(void, dirtyFragmentProgramObject);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
|
||||
I_StaticMethod2(void, deleteFragmentProgramObject, IN, unsigned int, contextID, IN, GLuint, handle);
|
||||
I_StaticMethod3(void, flushDeletedFragmentProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime);
|
||||
I_StaticMethod2(osg::FragmentProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized);
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::FragmentProgram::Extensions *, extensions);
|
||||
I_Property(const std::string &, FragmentProgram);
|
||||
I_Property(const osg::FragmentProgram::LocalParamList &, LocalParameters);
|
||||
I_Property(const osg::FragmentProgram::MatrixList &, Matrices);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____FragmentProgram,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FragmentProgram &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FragmentProgram__C5_FragmentProgram_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint &, getFragmentProgramID, IN, unsigned int, contextID,
|
||||
__GLuint_R1__getFragmentProgramID__unsigned_int,
|
||||
"Get the handle to the fragment program id for the current context. ",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgram, IN, const char *, program,
|
||||
__void__setFragmentProgram__C5_char_P1,
|
||||
"Set the fragment program using a C style string. ",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgram, IN, const std::string &, program,
|
||||
__void__setFragmentProgram__C5_std_string_R1,
|
||||
"Set the fragment program using C++ style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getFragmentProgram,
|
||||
__C5_std_string_R1__getFragmentProgram,
|
||||
"Get the fragment program. ",
|
||||
"");
|
||||
I_Method2(void, setProgramLocalParameter, IN, const GLuint, index, IN, const osg::Vec4 &, p,
|
||||
__void__setProgramLocalParameter__C5_GLuint__C5_Vec4_R1,
|
||||
"Set Program Parameters. ",
|
||||
"");
|
||||
I_Method1(void, setLocalParameters, IN, const osg::FragmentProgram::LocalParamList &, lpl,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1,
|
||||
"Set list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(osg::FragmentProgram::LocalParamList &, getLocalParameters,
|
||||
__LocalParamList_R1__getLocalParameters,
|
||||
"Get list of Program Parameters. ",
|
||||
"");
|
||||
I_Method0(const osg::FragmentProgram::LocalParamList &, getLocalParameters,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
"Get const list of Program Parameters. ",
|
||||
"");
|
||||
I_Method2(void, setMatrix, IN, const GLenum, mode, IN, const osg::Matrix &, matrix,
|
||||
__void__setMatrix__C5_GLenum__C5_Matrix_R1,
|
||||
"Matrix. ",
|
||||
"");
|
||||
I_Method1(void, setMatrices, IN, const osg::FragmentProgram::MatrixList &, matrices,
|
||||
__void__setMatrices__C5_MatrixList_R1,
|
||||
"Set list of Matrices. ",
|
||||
"");
|
||||
I_Method0(osg::FragmentProgram::MatrixList &, getMatrices,
|
||||
__MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(const osg::FragmentProgram::MatrixList &, getMatrices,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
"Get list of Matrices. ",
|
||||
"");
|
||||
I_Method0(void, dirtyFragmentProgramObject,
|
||||
__void__dirtyFragmentProgramObject,
|
||||
"Force a recompile on next apply() of associated OpenGL vertex program objects. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"default to nothing to compile - all state is applied immediately. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"release an OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer == NULL. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteFragmentProgramObject, IN, unsigned int, contextID, IN, GLuint, handle,
|
||||
__void__deleteFragmentProgramObject__unsigned_int__GLuint_S,
|
||||
"use deleteFragmentProgramObject instead of glDeletePrograms to allow OpenGL Fragment Program objects to be cached until they can be deleted by the OpenGL context in which they were created, specified by contextID. ",
|
||||
"");
|
||||
I_StaticMethod3(void, flushDeletedFragmentProgramObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedFragmentProgramObjects__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached fragment programs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::FragmentProgram::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Extension object for that context has not yet been created and the 'createIfNotInitalized' flag has been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::FragmentProgram::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions allows users to override the extensions across graphics contexts. ",
|
||||
"typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(const std::string &, FragmentProgram,
|
||||
__C5_std_string_R1__getFragmentProgram,
|
||||
__void__setFragmentProgram__C5_std_string_R1);
|
||||
I_SimpleProperty(const osg::FragmentProgram::LocalParamList &, LocalParameters,
|
||||
__C5_LocalParamList_R1__getLocalParameters,
|
||||
__void__setLocalParameters__C5_LocalParamList_R1);
|
||||
I_SimpleProperty(const osg::FragmentProgram::MatrixList &, Matrices,
|
||||
__C5_MatrixList_R1__getMatrices,
|
||||
__void__setMatrices__C5_MatrixList_R1);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FragmentProgram::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID);
|
||||
I_Constructor1(IN, const osg::FragmentProgram::Extensions &, rhs);
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::FragmentProgram::Extensions &, rhs);
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID);
|
||||
I_Method1(void, setFragmentProgramSupported, IN, bool, flag);
|
||||
I_Method0(bool, isFragmentProgramSupported);
|
||||
I_Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id);
|
||||
I_Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs);
|
||||
I_Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs);
|
||||
I_Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string);
|
||||
I_Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params);
|
||||
I_WriteOnlyProperty(bool, FragmentProgramSupported);
|
||||
I_WriteOnlyProperty(unsigned int, upGLExtenions);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FragmentProgram::Extensions &, rhs,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::FragmentProgram::Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFragmentProgramSupported, IN, bool, flag,
|
||||
__void__setFragmentProgramSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFragmentProgramSupported,
|
||||
__bool__isFragmentProgramSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBindProgram, IN, GLenum, target, IN, GLuint, id,
|
||||
__void__glBindProgram__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glGenPrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
__void__glGenPrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDeletePrograms, IN, GLsizei, n, IN, GLuint *, programs,
|
||||
__void__glDeletePrograms__GLsizei__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glProgramString, IN, GLenum, target, IN, GLenum, format, IN, GLsizei, len, IN, const void *, string,
|
||||
__void__glProgramString__GLenum__GLenum__GLsizei__C5_void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glProgramLocalParameter4fv, IN, GLenum, target, IN, GLuint, index, IN, const GLfloat *, params,
|
||||
__void__glProgramLocalParameter4fv__GLenum__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, FragmentProgramSupported,
|
||||
0,
|
||||
__void__setFragmentProgramSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::Matrix >);
|
||||
|
||||
@@ -58,8 +58,14 @@ TYPE_NAME_ALIAS(void , osg::FBOExtensions::TglGenerateMipmapEXT);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FBOExtensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Method0(bool, isSupported);
|
||||
I_StaticMethod2(osg::FBOExtensions *, instance, IN, unsigned, contextID, IN, bool, createIfNotInitalized);
|
||||
I_Method0(bool, isSupported,
|
||||
__bool__isSupported,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::FBOExtensions *, instance, IN, unsigned, contextID, IN, bool, createIfNotInitalized,
|
||||
__FBOExtensions_P1__instance__unsigned__bool_S,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglBindRenderbufferEXT *, glBindRenderbufferEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglGenRenderbuffersEXT *, glGenRenderbuffersEXT);
|
||||
I_PublicMemberProperty(osg::FBOExtensions::TglDeleteRenderbuffersEXT *, glDeleteRenderbuffersEXT);
|
||||
@@ -76,69 +82,220 @@ BEGIN_OBJECT_REFLECTOR(osg::FBOExtensions)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::FrameBufferAttachment)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::FrameBufferAttachment &, copy);
|
||||
I_Constructor1(IN, osg::RenderBuffer *, target);
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture1D *, target, , IN, int, level, 0);
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture2D *, target, , IN, int, level, 0);
|
||||
I_ConstructorWithDefaults3(IN, osg::Texture3D *, target, , IN, int, zoffset, , IN, int, level, 0);
|
||||
I_ConstructorWithDefaults3(IN, osg::TextureCubeMap *, target, , IN, int, face, , IN, int, level, 0);
|
||||
I_Constructor1(IN, osg::TextureRectangle *, target);
|
||||
I_Constructor1(IN, osg::CameraNode::Attachment &, attachment);
|
||||
I_Method2(void, createRequiredTexturesAndApplyGenerateMipMap, IN, osg::State &, state, IN, const osg::FBOExtensions *, ext);
|
||||
I_Method3(void, attach, IN, osg::State &, state, IN, GLenum, attachment_point, IN, const osg::FBOExtensions *, ext);
|
||||
I_Method1(int, compare, IN, const osg::FrameBufferAttachment &, fa);
|
||||
I_Constructor0(____FrameBufferAttachment,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FrameBufferAttachment &, copy,
|
||||
____FrameBufferAttachment__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::RenderBuffer *, target,
|
||||
____FrameBufferAttachment__RenderBuffer_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture1D *, target, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture1D_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Texture2D *, target, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture2D_P1__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::Texture3D *, target, , IN, int, zoffset, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__Texture3D_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::TextureCubeMap *, target, , IN, int, face, , IN, int, level, 0,
|
||||
____FrameBufferAttachment__TextureCubeMap_P1__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TextureRectangle *, target,
|
||||
____FrameBufferAttachment__TextureRectangle_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::CameraNode::Attachment &, attachment,
|
||||
____FrameBufferAttachment__CameraNode_Attachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, createRequiredTexturesAndApplyGenerateMipMap, IN, osg::State &, state, IN, const osg::FBOExtensions *, ext,
|
||||
__void__createRequiredTexturesAndApplyGenerateMipMap__State_R1__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, attach, IN, osg::State &, state, IN, GLenum, attachment_point, IN, const osg::FBOExtensions *, ext,
|
||||
__void__attach__State_R1__GLenum__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::FrameBufferAttachment &, fa,
|
||||
__int__compare__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::map< GLenum COMMA osg::FrameBufferAttachment >, osg::FrameBufferObject::AttachmentMap);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrameBufferObject)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrameBufferObject &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method0(const osg::FrameBufferObject::AttachmentMap &, getAttachmentMap);
|
||||
I_Method1(bool, hasAttachment, IN, GLenum, attachment_point);
|
||||
I_Method1(const osg::FrameBufferAttachment &, getAttachment, IN, GLenum, attachment_point);
|
||||
I_Method2(void, setAttachment, IN, GLenum, attachment_point, IN, const osg::FrameBufferAttachment &, attachment);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program);
|
||||
I_StaticMethod3(void, flushDeletedFrameBufferObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime);
|
||||
I_IndexedProperty1(const osg::FrameBufferAttachment &, Attachment, GLenum, attachment_point);
|
||||
I_ReadOnlyProperty(const osg::FrameBufferObject::AttachmentMap &, AttachmentMap);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____FrameBufferObject,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrameBufferObject &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FrameBufferObject__C5_FrameBufferObject_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(const osg::FrameBufferObject::AttachmentMap &, getAttachmentMap,
|
||||
__C5_AttachmentMap_R1__getAttachmentMap,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, hasAttachment, IN, GLenum, attachment_point,
|
||||
__bool__hasAttachment__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::FrameBufferAttachment &, getAttachment, IN, GLenum, attachment_point,
|
||||
__C5_FrameBufferAttachment_R1__getAttachment__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setAttachment, IN, GLenum, attachment_point, IN, const osg::FrameBufferAttachment &, attachment,
|
||||
__void__setAttachment__GLenum__C5_FrameBufferAttachment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(void, deleteFrameBufferObject, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteFrameBufferObject__unsigned_int__GLuint_S,
|
||||
"Mark internal FBO for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedFrameBufferObjects, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedFrameBufferObjects__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached FBOs which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_IndexedProperty(const osg::FrameBufferAttachment &, Attachment,
|
||||
__C5_FrameBufferAttachment_R1__getAttachment__GLenum,
|
||||
__void__setAttachment__GLenum__C5_FrameBufferAttachment_R1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::FrameBufferObject::AttachmentMap &, AttachmentMap,
|
||||
__C5_AttachmentMap_R1__getAttachmentMap,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::RenderBuffer)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_Constructor3(IN, int, width, IN, int, height, IN, GLenum, internalFormat);
|
||||
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(int, getWidth);
|
||||
I_Method0(int, getHeight);
|
||||
I_Method1(void, setWidth, IN, int, w);
|
||||
I_Method1(void, setHeight, IN, int, h);
|
||||
I_Method2(void, setSize, IN, int, w, IN, int, h);
|
||||
I_Method0(GLenum, getInternalFormat);
|
||||
I_Method1(void, setInternalFormat, IN, GLenum, format);
|
||||
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext);
|
||||
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb);
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb);
|
||||
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime);
|
||||
I_Property(int, Height);
|
||||
I_Property(GLenum, InternalFormat);
|
||||
I_Property(int, Width);
|
||||
I_Constructor0(____RenderBuffer,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, int, width, IN, int, height, IN, GLenum, internalFormat,
|
||||
____RenderBuffer__int__int__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::RenderBuffer &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____RenderBuffer__C5_RenderBuffer_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(int, getWidth,
|
||||
__int__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getHeight,
|
||||
__int__getHeight,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, int, w,
|
||||
__void__setWidth__int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHeight, IN, int, h,
|
||||
__void__setHeight__int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSize, IN, int, w, IN, int, h,
|
||||
__void__setSize__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getInternalFormat,
|
||||
__GLenum__getInternalFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInternalFormat, IN, GLenum, format,
|
||||
__void__setInternalFormat__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLuint, getObjectID, IN, unsigned int, contextID, IN, const osg::FBOExtensions *, ext,
|
||||
__GLuint__getObjectID__unsigned_int__C5_FBOExtensions_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::RenderBuffer &, rb,
|
||||
__int__compare__C5_RenderBuffer_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteRenderBuffer, IN, unsigned int, contextID, IN, GLuint, rb,
|
||||
__void__deleteRenderBuffer__unsigned_int__GLuint_S,
|
||||
"Mark internal RenderBuffer for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedRenderBuffers, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedRenderBuffers__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached RenderBuffers which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_SimpleProperty(int, Height,
|
||||
__int__getHeight,
|
||||
__void__setHeight__int);
|
||||
I_SimpleProperty(GLenum, InternalFormat,
|
||||
__GLenum__getInternalFormat,
|
||||
__void__setInternalFormat__GLenum);
|
||||
I_SimpleProperty(int, Width,
|
||||
__int__getWidth,
|
||||
__void__setWidth__int);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< GLenum COMMA osg::FrameBufferAttachment >);
|
||||
|
||||
@@ -22,16 +22,45 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrameStamp)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::FrameStamp &, fs);
|
||||
I_Method1(void, setFrameNumber, IN, int, fnum);
|
||||
I_Method0(int, getFrameNumber);
|
||||
I_Method1(void, setReferenceTime, IN, double, refTime);
|
||||
I_Method0(double, getReferenceTime);
|
||||
I_Method1(void, setCalendarTime, IN, const tm &, calendarTime);
|
||||
I_Method1(void, getCalendarTime, IN, tm &, calendarTime);
|
||||
I_WriteOnlyProperty(const tm &, CalendarTime);
|
||||
I_Property(int, FrameNumber);
|
||||
I_Property(double, ReferenceTime);
|
||||
I_Constructor0(____FrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::FrameStamp &, fs,
|
||||
____FrameStamp__C5_FrameStamp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameNumber, IN, int, fnum,
|
||||
__void__setFrameNumber__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getFrameNumber,
|
||||
__int__getFrameNumber,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceTime, IN, double, refTime,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getReferenceTime,
|
||||
__double__getReferenceTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCalendarTime, IN, const tm &, calendarTime,
|
||||
__void__setCalendarTime__C5_tm_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getCalendarTime, IN, tm &, calendarTime,
|
||||
__void__getCalendarTime__tm_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const tm &, CalendarTime,
|
||||
0,
|
||||
__void__setCalendarTime__C5_tm_R1);
|
||||
I_SimpleProperty(int, FrameNumber,
|
||||
__int__getFrameNumber,
|
||||
__void__setFrameNumber__int);
|
||||
I_SimpleProperty(double, ReferenceTime,
|
||||
__double__getReferenceTime,
|
||||
__void__setReferenceTime__double);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,19 +31,59 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::FrontFace)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE);
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrontFace &, ff, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, setMode, IN, osg::FrontFace::Mode, mode);
|
||||
I_Method0(osg::FrontFace::Mode, getMode);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(osg::FrontFace::Mode, Mode);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_ConstructorWithDefaults1(IN, osg::FrontFace::Mode, face, osg::FrontFace::COUNTER_CLOCKWISE,
|
||||
____FrontFace__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::FrontFace &, ff, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____FrontFace__C5_FrontFace_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::FrontFace::Mode, mode,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrontFace::Mode, getMode,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::FrontFace::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -22,127 +22,482 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::GL2Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID);
|
||||
I_Constructor1(IN, const osg::GL2Extensions &, rhs);
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::GL2Extensions &, rhs);
|
||||
I_Method1(void, setupGL2Extensions, IN, unsigned int, contextID);
|
||||
I_Method0(bool, isGlslSupported);
|
||||
I_Method0(float, getGlVersion);
|
||||
I_Method0(float, getLanguageVersion);
|
||||
I_Method1(void, setShaderObjectsSupported, IN, bool, flag);
|
||||
I_Method0(bool, isShaderObjectsSupported);
|
||||
I_Method1(void, setVertexShaderSupported, IN, bool, flag);
|
||||
I_Method0(bool, isVertexShaderSupported);
|
||||
I_Method1(void, setFragmentShaderSupported, IN, bool, flag);
|
||||
I_Method0(bool, isFragmentShaderSupported);
|
||||
I_Method1(void, setLanguage100Supported, IN, bool, flag);
|
||||
I_Method0(bool, isLanguage100Supported);
|
||||
I_Method2(void, glBlendEquationSeparate, IN, GLenum, modeRGB, IN, GLenum, modeAlpha);
|
||||
I_Method2(void, glDrawBuffers, IN, GLsizei, n, IN, const GLenum *, bufs);
|
||||
I_Method4(void, glStencilOpSeparate, IN, GLenum, face, IN, GLenum, sfail, IN, GLenum, dpfail, IN, GLenum, dppass);
|
||||
I_Method4(void, glStencilFuncSeparate, IN, GLenum, frontfunc, IN, GLenum, backfunc, IN, GLint, ref, IN, GLuint, mask);
|
||||
I_Method2(void, glStencilMaskSeparate, IN, GLenum, face, IN, GLuint, mask);
|
||||
I_Method2(void, glAttachShader, IN, GLuint, program, IN, GLuint, shader);
|
||||
I_Method3(void, glBindAttribLocation, IN, GLuint, program, IN, GLuint, index, IN, const GLchar *, name);
|
||||
I_Method1(void, glCompileShader, IN, GLuint, shader);
|
||||
I_Method0(GLuint, glCreateProgram);
|
||||
I_Method1(GLuint, glCreateShader, IN, GLenum, type);
|
||||
I_Method1(void, glDeleteProgram, IN, GLuint, program);
|
||||
I_Method1(void, glDeleteShader, IN, GLuint, shader);
|
||||
I_Method2(void, glDetachShader, IN, GLuint, program, IN, GLuint, shader);
|
||||
I_Method1(void, glDisableVertexAttribArray, IN, GLuint, index);
|
||||
I_Method1(void, glEnableVertexAttribArray, IN, GLuint, index);
|
||||
I_Method7(void, glGetActiveAttrib, IN, GLuint, program, IN, GLuint, index, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLint *, size, IN, GLenum *, type, IN, GLchar *, name);
|
||||
I_Method7(void, glGetActiveUniform, IN, GLuint, program, IN, GLuint, index, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLint *, size, IN, GLenum *, type, IN, GLchar *, name);
|
||||
I_Method4(void, glGetAttachedShaders, IN, GLuint, program, IN, GLsizei, maxCount, IN, GLsizei *, count, IN, GLuint *, obj);
|
||||
I_Method2(GLint, glGetAttribLocation, IN, GLuint, program, IN, const GLchar *, name);
|
||||
I_Method3(void, glGetProgramiv, IN, GLuint, program, IN, GLenum, pname, IN, GLint *, params);
|
||||
I_Method4(void, glGetProgramInfoLog, IN, GLuint, program, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLchar *, infoLog);
|
||||
I_Method3(void, glGetShaderiv, IN, GLuint, shader, IN, GLenum, pname, IN, GLint *, params);
|
||||
I_Method4(void, glGetShaderInfoLog, IN, GLuint, shader, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLchar *, infoLog);
|
||||
I_Method4(void, glGetShaderSource, IN, GLuint, shader, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLchar *, source);
|
||||
I_Method2(GLint, glGetUniformLocation, IN, GLuint, program, IN, const GLchar *, name);
|
||||
I_Method3(void, glGetUniformfv, IN, GLuint, program, IN, GLint, location, IN, GLfloat *, params);
|
||||
I_Method3(void, glGetUniformiv, IN, GLuint, program, IN, GLint, location, IN, GLint *, params);
|
||||
I_Method3(void, glGetVertexAttribdv, IN, GLuint, index, IN, GLenum, pname, IN, GLdouble *, params);
|
||||
I_Method3(void, glGetVertexAttribfv, IN, GLuint, index, IN, GLenum, pname, IN, GLfloat *, params);
|
||||
I_Method3(void, glGetVertexAttribiv, IN, GLuint, index, IN, GLenum, pname, IN, GLint *, params);
|
||||
I_Method3(void, glGetVertexAttribPointerv, IN, GLuint, index, IN, GLenum, pname, IN, GLvoid **, pointer);
|
||||
I_Method1(GLboolean, glIsProgram, IN, GLuint, program);
|
||||
I_Method1(GLboolean, glIsShader, IN, GLuint, shader);
|
||||
I_Method1(void, glLinkProgram, IN, GLuint, program);
|
||||
I_Method4(void, glShaderSource, IN, GLuint, shader, IN, GLsizei, count, IN, const GLchar **, string, IN, const GLint *, length);
|
||||
I_Method1(void, glUseProgram, IN, GLuint, program);
|
||||
I_Method2(void, glUniform1f, IN, GLint, location, IN, GLfloat, v0);
|
||||
I_Method3(void, glUniform2f, IN, GLint, location, IN, GLfloat, v0, IN, GLfloat, v1);
|
||||
I_Method4(void, glUniform3f, IN, GLint, location, IN, GLfloat, v0, IN, GLfloat, v1, IN, GLfloat, v2);
|
||||
I_Method5(void, glUniform4f, IN, GLint, location, IN, GLfloat, v0, IN, GLfloat, v1, IN, GLfloat, v2, IN, GLfloat, v3);
|
||||
I_Method2(void, glUniform1i, IN, GLint, location, IN, GLint, v0);
|
||||
I_Method3(void, glUniform2i, IN, GLint, location, IN, GLint, v0, IN, GLint, v1);
|
||||
I_Method4(void, glUniform3i, IN, GLint, location, IN, GLint, v0, IN, GLint, v1, IN, GLint, v2);
|
||||
I_Method5(void, glUniform4i, IN, GLint, location, IN, GLint, v0, IN, GLint, v1, IN, GLint, v2, IN, GLint, v3);
|
||||
I_Method3(void, glUniform1fv, IN, GLint, location, IN, GLsizei, count, IN, const GLfloat *, value);
|
||||
I_Method3(void, glUniform2fv, IN, GLint, location, IN, GLsizei, count, IN, const GLfloat *, value);
|
||||
I_Method3(void, glUniform3fv, IN, GLint, location, IN, GLsizei, count, IN, const GLfloat *, value);
|
||||
I_Method3(void, glUniform4fv, IN, GLint, location, IN, GLsizei, count, IN, const GLfloat *, value);
|
||||
I_Method3(void, glUniform1iv, IN, GLint, location, IN, GLsizei, count, IN, const GLint *, value);
|
||||
I_Method3(void, glUniform2iv, IN, GLint, location, IN, GLsizei, count, IN, const GLint *, value);
|
||||
I_Method3(void, glUniform3iv, IN, GLint, location, IN, GLsizei, count, IN, const GLint *, value);
|
||||
I_Method3(void, glUniform4iv, IN, GLint, location, IN, GLsizei, count, IN, const GLint *, value);
|
||||
I_Method4(void, glUniformMatrix2fv, IN, GLint, location, IN, GLsizei, count, IN, GLboolean, transpose, IN, const GLfloat *, value);
|
||||
I_Method4(void, glUniformMatrix3fv, IN, GLint, location, IN, GLsizei, count, IN, GLboolean, transpose, IN, const GLfloat *, value);
|
||||
I_Method4(void, glUniformMatrix4fv, IN, GLint, location, IN, GLsizei, count, IN, GLboolean, transpose, IN, const GLfloat *, value);
|
||||
I_Method1(void, glValidateProgram, IN, GLuint, program);
|
||||
I_Method2(void, glVertexAttrib1d, IN, GLuint, index, IN, GLdouble, x);
|
||||
I_Method2(void, glVertexAttrib1dv, IN, GLuint, index, IN, const GLdouble *, v);
|
||||
I_Method2(void, glVertexAttrib1f, IN, GLuint, index, IN, GLfloat, x);
|
||||
I_Method2(void, glVertexAttrib1fv, IN, GLuint, index, IN, const GLfloat *, v);
|
||||
I_Method2(void, glVertexAttrib1s, IN, GLuint, index, IN, GLshort, x);
|
||||
I_Method2(void, glVertexAttrib1sv, IN, GLuint, index, IN, const GLshort *, v);
|
||||
I_Method3(void, glVertexAttrib2d, IN, GLuint, index, IN, GLdouble, x, IN, GLdouble, y);
|
||||
I_Method2(void, glVertexAttrib2dv, IN, GLuint, index, IN, const GLdouble *, v);
|
||||
I_Method3(void, glVertexAttrib2f, IN, GLuint, index, IN, GLfloat, x, IN, GLfloat, y);
|
||||
I_Method2(void, glVertexAttrib2fv, IN, GLuint, index, IN, const GLfloat *, v);
|
||||
I_Method3(void, glVertexAttrib2s, IN, GLuint, index, IN, GLshort, x, IN, GLshort, y);
|
||||
I_Method2(void, glVertexAttrib2sv, IN, GLuint, index, IN, const GLshort *, v);
|
||||
I_Method4(void, glVertexAttrib3d, IN, GLuint, index, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z);
|
||||
I_Method2(void, glVertexAttrib3dv, IN, GLuint, index, IN, const GLdouble *, v);
|
||||
I_Method4(void, glVertexAttrib3f, IN, GLuint, index, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z);
|
||||
I_Method2(void, glVertexAttrib3fv, IN, GLuint, index, IN, const GLfloat *, v);
|
||||
I_Method4(void, glVertexAttrib3s, IN, GLuint, index, IN, GLshort, x, IN, GLshort, y, IN, GLshort, z);
|
||||
I_Method2(void, glVertexAttrib3sv, IN, GLuint, index, IN, const GLshort *, v);
|
||||
I_Method2(void, glVertexAttrib4Nbv, IN, GLuint, index, IN, const GLbyte *, v);
|
||||
I_Method2(void, glVertexAttrib4Niv, IN, GLuint, index, IN, const GLint *, v);
|
||||
I_Method2(void, glVertexAttrib4Nsv, IN, GLuint, index, IN, const GLshort *, v);
|
||||
I_Method5(void, glVertexAttrib4Nub, IN, GLuint, index, IN, GLubyte, x, IN, GLubyte, y, IN, GLubyte, z, IN, GLubyte, w);
|
||||
I_Method2(void, glVertexAttrib4Nubv, IN, GLuint, index, IN, const GLubyte *, v);
|
||||
I_Method2(void, glVertexAttrib4Nuiv, IN, GLuint, index, IN, const GLuint *, v);
|
||||
I_Method2(void, glVertexAttrib4Nusv, IN, GLuint, index, IN, const GLushort *, v);
|
||||
I_Method2(void, glVertexAttrib4bv, IN, GLuint, index, IN, const GLbyte *, v);
|
||||
I_Method5(void, glVertexAttrib4d, IN, GLuint, index, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z, IN, GLdouble, w);
|
||||
I_Method2(void, glVertexAttrib4dv, IN, GLuint, index, IN, const GLdouble *, v);
|
||||
I_Method5(void, glVertexAttrib4f, IN, GLuint, index, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, IN, GLfloat, w);
|
||||
I_Method2(void, glVertexAttrib4fv, IN, GLuint, index, IN, const GLfloat *, v);
|
||||
I_Method2(void, glVertexAttrib4iv, IN, GLuint, index, IN, const GLint *, v);
|
||||
I_Method5(void, glVertexAttrib4s, IN, GLuint, index, IN, GLshort, x, IN, GLshort, y, IN, GLshort, z, IN, GLshort, w);
|
||||
I_Method2(void, glVertexAttrib4sv, IN, GLuint, index, IN, const GLshort *, v);
|
||||
I_Method2(void, glVertexAttrib4ubv, IN, GLuint, index, IN, const GLubyte *, v);
|
||||
I_Method2(void, glVertexAttrib4uiv, IN, GLuint, index, IN, const GLuint *, v);
|
||||
I_Method2(void, glVertexAttrib4usv, IN, GLuint, index, IN, const GLushort *, v);
|
||||
I_Method6(void, glVertexAttribPointer, IN, GLuint, index, IN, GLint, size, IN, GLenum, type, IN, GLboolean, normalized, IN, GLsizei, stride, IN, const GLvoid *, pointer);
|
||||
I_Method0(GLuint, getCurrentProgram);
|
||||
I_Method2(bool, getProgramInfoLog, IN, GLuint, program, IN, std::string &, result);
|
||||
I_Method2(bool, getShaderInfoLog, IN, GLuint, shader, IN, std::string &, result);
|
||||
I_Method2(bool, getAttribLocation, IN, const char *, attribName, IN, GLuint &, slot);
|
||||
I_StaticMethod2(osg::GL2Extensions *, Get, IN, unsigned int, contextID, IN, bool, createIfNotInitalized);
|
||||
I_StaticMethod2(void, Set, IN, unsigned int, contextID, IN, osg::GL2Extensions *, extensions);
|
||||
I_ReadOnlyProperty(GLuint, CurrentProgram);
|
||||
I_WriteOnlyProperty(bool, FragmentShaderSupported);
|
||||
I_ReadOnlyProperty(float, GlVersion);
|
||||
I_WriteOnlyProperty(bool, Language100Supported);
|
||||
I_ReadOnlyProperty(float, LanguageVersion);
|
||||
I_WriteOnlyProperty(bool, ShaderObjectsSupported);
|
||||
I_WriteOnlyProperty(bool, VertexShaderSupported);
|
||||
I_WriteOnlyProperty(unsigned int, upGL2Extensions);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____GL2Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::GL2Extensions &, rhs,
|
||||
____GL2Extensions__C5_GL2Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::GL2Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_GL2Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGL2Extensions, IN, unsigned int, contextID,
|
||||
__void__setupGL2Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isGlslSupported,
|
||||
__bool__isGlslSupported,
|
||||
"Does the GL driver support OpenGL Shading Language? ",
|
||||
"");
|
||||
I_Method0(float, getGlVersion,
|
||||
__float__getGlVersion,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getLanguageVersion,
|
||||
__float__getLanguageVersion,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setShaderObjectsSupported, IN, bool, flag,
|
||||
__void__setShaderObjectsSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isShaderObjectsSupported,
|
||||
__bool__isShaderObjectsSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexShaderSupported, IN, bool, flag,
|
||||
__void__setVertexShaderSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isVertexShaderSupported,
|
||||
__bool__isVertexShaderSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFragmentShaderSupported, IN, bool, flag,
|
||||
__void__setFragmentShaderSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFragmentShaderSupported,
|
||||
__bool__isFragmentShaderSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLanguage100Supported, IN, bool, flag,
|
||||
__void__setLanguage100Supported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isLanguage100Supported,
|
||||
__bool__isLanguage100Supported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glBlendEquationSeparate, IN, GLenum, modeRGB, IN, GLenum, modeAlpha,
|
||||
__void__glBlendEquationSeparate__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDrawBuffers, IN, GLsizei, n, IN, const GLenum *, bufs,
|
||||
__void__glDrawBuffers__GLsizei__C5_GLenum_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glStencilOpSeparate, IN, GLenum, face, IN, GLenum, sfail, IN, GLenum, dpfail, IN, GLenum, dppass,
|
||||
__void__glStencilOpSeparate__GLenum__GLenum__GLenum__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glStencilFuncSeparate, IN, GLenum, frontfunc, IN, GLenum, backfunc, IN, GLint, ref, IN, GLuint, mask,
|
||||
__void__glStencilFuncSeparate__GLenum__GLenum__GLint__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glStencilMaskSeparate, IN, GLenum, face, IN, GLuint, mask,
|
||||
__void__glStencilMaskSeparate__GLenum__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glAttachShader, IN, GLuint, program, IN, GLuint, shader,
|
||||
__void__glAttachShader__GLuint__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glBindAttribLocation, IN, GLuint, program, IN, GLuint, index, IN, const GLchar *, name,
|
||||
__void__glBindAttribLocation__GLuint__GLuint__C5_GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glCompileShader, IN, GLuint, shader,
|
||||
__void__glCompileShader__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLuint, glCreateProgram,
|
||||
__GLuint__glCreateProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLuint, glCreateShader, IN, GLenum, type,
|
||||
__GLuint__glCreateShader__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glDeleteProgram, IN, GLuint, program,
|
||||
__void__glDeleteProgram__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glDeleteShader, IN, GLuint, shader,
|
||||
__void__glDeleteShader__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glDetachShader, IN, GLuint, program, IN, GLuint, shader,
|
||||
__void__glDetachShader__GLuint__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glDisableVertexAttribArray, IN, GLuint, index,
|
||||
__void__glDisableVertexAttribArray__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glEnableVertexAttribArray, IN, GLuint, index,
|
||||
__void__glEnableVertexAttribArray__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method7(void, glGetActiveAttrib, IN, GLuint, program, IN, GLuint, index, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLint *, size, IN, GLenum *, type, IN, GLchar *, name,
|
||||
__void__glGetActiveAttrib__GLuint__GLuint__GLsizei__GLsizei_P1__GLint_P1__GLenum_P1__GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method7(void, glGetActiveUniform, IN, GLuint, program, IN, GLuint, index, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLint *, size, IN, GLenum *, type, IN, GLchar *, name,
|
||||
__void__glGetActiveUniform__GLuint__GLuint__GLsizei__GLsizei_P1__GLint_P1__GLenum_P1__GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glGetAttachedShaders, IN, GLuint, program, IN, GLsizei, maxCount, IN, GLsizei *, count, IN, GLuint *, obj,
|
||||
__void__glGetAttachedShaders__GLuint__GLsizei__GLsizei_P1__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLint, glGetAttribLocation, IN, GLuint, program, IN, const GLchar *, name,
|
||||
__GLint__glGetAttribLocation__GLuint__C5_GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetProgramiv, IN, GLuint, program, IN, GLenum, pname, IN, GLint *, params,
|
||||
__void__glGetProgramiv__GLuint__GLenum__GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glGetProgramInfoLog, IN, GLuint, program, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLchar *, infoLog,
|
||||
__void__glGetProgramInfoLog__GLuint__GLsizei__GLsizei_P1__GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetShaderiv, IN, GLuint, shader, IN, GLenum, pname, IN, GLint *, params,
|
||||
__void__glGetShaderiv__GLuint__GLenum__GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glGetShaderInfoLog, IN, GLuint, shader, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLchar *, infoLog,
|
||||
__void__glGetShaderInfoLog__GLuint__GLsizei__GLsizei_P1__GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glGetShaderSource, IN, GLuint, shader, IN, GLsizei, bufSize, IN, GLsizei *, length, IN, GLchar *, source,
|
||||
__void__glGetShaderSource__GLuint__GLsizei__GLsizei_P1__GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(GLint, glGetUniformLocation, IN, GLuint, program, IN, const GLchar *, name,
|
||||
__GLint__glGetUniformLocation__GLuint__C5_GLchar_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetUniformfv, IN, GLuint, program, IN, GLint, location, IN, GLfloat *, params,
|
||||
__void__glGetUniformfv__GLuint__GLint__GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetUniformiv, IN, GLuint, program, IN, GLint, location, IN, GLint *, params,
|
||||
__void__glGetUniformiv__GLuint__GLint__GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetVertexAttribdv, IN, GLuint, index, IN, GLenum, pname, IN, GLdouble *, params,
|
||||
__void__glGetVertexAttribdv__GLuint__GLenum__GLdouble_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetVertexAttribfv, IN, GLuint, index, IN, GLenum, pname, IN, GLfloat *, params,
|
||||
__void__glGetVertexAttribfv__GLuint__GLenum__GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetVertexAttribiv, IN, GLuint, index, IN, GLenum, pname, IN, GLint *, params,
|
||||
__void__glGetVertexAttribiv__GLuint__GLenum__GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glGetVertexAttribPointerv, IN, GLuint, index, IN, GLenum, pname, IN, GLvoid **, pointer,
|
||||
__void__glGetVertexAttribPointerv__GLuint__GLenum__GLvoid_P1P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glIsProgram, IN, GLuint, program,
|
||||
__GLboolean__glIsProgram__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, glIsShader, IN, GLuint, shader,
|
||||
__GLboolean__glIsShader__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glLinkProgram, IN, GLuint, program,
|
||||
__void__glLinkProgram__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glShaderSource, IN, GLuint, shader, IN, GLsizei, count, IN, const GLchar **, string, IN, const GLint *, length,
|
||||
__void__glShaderSource__GLuint__GLsizei__C5_GLchar_P1P1__C5_GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glUseProgram, IN, GLuint, program,
|
||||
__void__glUseProgram__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glUniform1f, IN, GLint, location, IN, GLfloat, v0,
|
||||
__void__glUniform1f__GLint__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform2f, IN, GLint, location, IN, GLfloat, v0, IN, GLfloat, v1,
|
||||
__void__glUniform2f__GLint__GLfloat__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glUniform3f, IN, GLint, location, IN, GLfloat, v0, IN, GLfloat, v1, IN, GLfloat, v2,
|
||||
__void__glUniform3f__GLint__GLfloat__GLfloat__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, glUniform4f, IN, GLint, location, IN, GLfloat, v0, IN, GLfloat, v1, IN, GLfloat, v2, IN, GLfloat, v3,
|
||||
__void__glUniform4f__GLint__GLfloat__GLfloat__GLfloat__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glUniform1i, IN, GLint, location, IN, GLint, v0,
|
||||
__void__glUniform1i__GLint__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform2i, IN, GLint, location, IN, GLint, v0, IN, GLint, v1,
|
||||
__void__glUniform2i__GLint__GLint__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glUniform3i, IN, GLint, location, IN, GLint, v0, IN, GLint, v1, IN, GLint, v2,
|
||||
__void__glUniform3i__GLint__GLint__GLint__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, glUniform4i, IN, GLint, location, IN, GLint, v0, IN, GLint, v1, IN, GLint, v2, IN, GLint, v3,
|
||||
__void__glUniform4i__GLint__GLint__GLint__GLint__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform1fv, IN, GLint, location, IN, GLsizei, count, IN, const GLfloat *, value,
|
||||
__void__glUniform1fv__GLint__GLsizei__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform2fv, IN, GLint, location, IN, GLsizei, count, IN, const GLfloat *, value,
|
||||
__void__glUniform2fv__GLint__GLsizei__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform3fv, IN, GLint, location, IN, GLsizei, count, IN, const GLfloat *, value,
|
||||
__void__glUniform3fv__GLint__GLsizei__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform4fv, IN, GLint, location, IN, GLsizei, count, IN, const GLfloat *, value,
|
||||
__void__glUniform4fv__GLint__GLsizei__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform1iv, IN, GLint, location, IN, GLsizei, count, IN, const GLint *, value,
|
||||
__void__glUniform1iv__GLint__GLsizei__C5_GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform2iv, IN, GLint, location, IN, GLsizei, count, IN, const GLint *, value,
|
||||
__void__glUniform2iv__GLint__GLsizei__C5_GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform3iv, IN, GLint, location, IN, GLsizei, count, IN, const GLint *, value,
|
||||
__void__glUniform3iv__GLint__GLsizei__C5_GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glUniform4iv, IN, GLint, location, IN, GLsizei, count, IN, const GLint *, value,
|
||||
__void__glUniform4iv__GLint__GLsizei__C5_GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glUniformMatrix2fv, IN, GLint, location, IN, GLsizei, count, IN, GLboolean, transpose, IN, const GLfloat *, value,
|
||||
__void__glUniformMatrix2fv__GLint__GLsizei__GLboolean__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glUniformMatrix3fv, IN, GLint, location, IN, GLsizei, count, IN, GLboolean, transpose, IN, const GLfloat *, value,
|
||||
__void__glUniformMatrix3fv__GLint__GLsizei__GLboolean__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glUniformMatrix4fv, IN, GLint, location, IN, GLsizei, count, IN, GLboolean, transpose, IN, const GLfloat *, value,
|
||||
__void__glUniformMatrix4fv__GLint__GLsizei__GLboolean__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, glValidateProgram, IN, GLuint, program,
|
||||
__void__glValidateProgram__GLuint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib1d, IN, GLuint, index, IN, GLdouble, x,
|
||||
__void__glVertexAttrib1d__GLuint__GLdouble,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib1dv, IN, GLuint, index, IN, const GLdouble *, v,
|
||||
__void__glVertexAttrib1dv__GLuint__C5_GLdouble_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib1f, IN, GLuint, index, IN, GLfloat, x,
|
||||
__void__glVertexAttrib1f__GLuint__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib1fv, IN, GLuint, index, IN, const GLfloat *, v,
|
||||
__void__glVertexAttrib1fv__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib1s, IN, GLuint, index, IN, GLshort, x,
|
||||
__void__glVertexAttrib1s__GLuint__GLshort,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib1sv, IN, GLuint, index, IN, const GLshort *, v,
|
||||
__void__glVertexAttrib1sv__GLuint__C5_GLshort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glVertexAttrib2d, IN, GLuint, index, IN, GLdouble, x, IN, GLdouble, y,
|
||||
__void__glVertexAttrib2d__GLuint__GLdouble__GLdouble,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib2dv, IN, GLuint, index, IN, const GLdouble *, v,
|
||||
__void__glVertexAttrib2dv__GLuint__C5_GLdouble_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glVertexAttrib2f, IN, GLuint, index, IN, GLfloat, x, IN, GLfloat, y,
|
||||
__void__glVertexAttrib2f__GLuint__GLfloat__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib2fv, IN, GLuint, index, IN, const GLfloat *, v,
|
||||
__void__glVertexAttrib2fv__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, glVertexAttrib2s, IN, GLuint, index, IN, GLshort, x, IN, GLshort, y,
|
||||
__void__glVertexAttrib2s__GLuint__GLshort__GLshort,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib2sv, IN, GLuint, index, IN, const GLshort *, v,
|
||||
__void__glVertexAttrib2sv__GLuint__C5_GLshort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glVertexAttrib3d, IN, GLuint, index, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z,
|
||||
__void__glVertexAttrib3d__GLuint__GLdouble__GLdouble__GLdouble,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib3dv, IN, GLuint, index, IN, const GLdouble *, v,
|
||||
__void__glVertexAttrib3dv__GLuint__C5_GLdouble_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glVertexAttrib3f, IN, GLuint, index, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z,
|
||||
__void__glVertexAttrib3f__GLuint__GLfloat__GLfloat__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib3fv, IN, GLuint, index, IN, const GLfloat *, v,
|
||||
__void__glVertexAttrib3fv__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, glVertexAttrib3s, IN, GLuint, index, IN, GLshort, x, IN, GLshort, y, IN, GLshort, z,
|
||||
__void__glVertexAttrib3s__GLuint__GLshort__GLshort__GLshort,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib3sv, IN, GLuint, index, IN, const GLshort *, v,
|
||||
__void__glVertexAttrib3sv__GLuint__C5_GLshort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4Nbv, IN, GLuint, index, IN, const GLbyte *, v,
|
||||
__void__glVertexAttrib4Nbv__GLuint__C5_GLbyte_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4Niv, IN, GLuint, index, IN, const GLint *, v,
|
||||
__void__glVertexAttrib4Niv__GLuint__C5_GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4Nsv, IN, GLuint, index, IN, const GLshort *, v,
|
||||
__void__glVertexAttrib4Nsv__GLuint__C5_GLshort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, glVertexAttrib4Nub, IN, GLuint, index, IN, GLubyte, x, IN, GLubyte, y, IN, GLubyte, z, IN, GLubyte, w,
|
||||
__void__glVertexAttrib4Nub__GLuint__GLubyte__GLubyte__GLubyte__GLubyte,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4Nubv, IN, GLuint, index, IN, const GLubyte *, v,
|
||||
__void__glVertexAttrib4Nubv__GLuint__C5_GLubyte_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4Nuiv, IN, GLuint, index, IN, const GLuint *, v,
|
||||
__void__glVertexAttrib4Nuiv__GLuint__C5_GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4Nusv, IN, GLuint, index, IN, const GLushort *, v,
|
||||
__void__glVertexAttrib4Nusv__GLuint__C5_GLushort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4bv, IN, GLuint, index, IN, const GLbyte *, v,
|
||||
__void__glVertexAttrib4bv__GLuint__C5_GLbyte_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, glVertexAttrib4d, IN, GLuint, index, IN, GLdouble, x, IN, GLdouble, y, IN, GLdouble, z, IN, GLdouble, w,
|
||||
__void__glVertexAttrib4d__GLuint__GLdouble__GLdouble__GLdouble__GLdouble,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4dv, IN, GLuint, index, IN, const GLdouble *, v,
|
||||
__void__glVertexAttrib4dv__GLuint__C5_GLdouble_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, glVertexAttrib4f, IN, GLuint, index, IN, GLfloat, x, IN, GLfloat, y, IN, GLfloat, z, IN, GLfloat, w,
|
||||
__void__glVertexAttrib4f__GLuint__GLfloat__GLfloat__GLfloat__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4fv, IN, GLuint, index, IN, const GLfloat *, v,
|
||||
__void__glVertexAttrib4fv__GLuint__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4iv, IN, GLuint, index, IN, const GLint *, v,
|
||||
__void__glVertexAttrib4iv__GLuint__C5_GLint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, glVertexAttrib4s, IN, GLuint, index, IN, GLshort, x, IN, GLshort, y, IN, GLshort, z, IN, GLshort, w,
|
||||
__void__glVertexAttrib4s__GLuint__GLshort__GLshort__GLshort__GLshort,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4sv, IN, GLuint, index, IN, const GLshort *, v,
|
||||
__void__glVertexAttrib4sv__GLuint__C5_GLshort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4ubv, IN, GLuint, index, IN, const GLubyte *, v,
|
||||
__void__glVertexAttrib4ubv__GLuint__C5_GLubyte_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4uiv, IN, GLuint, index, IN, const GLuint *, v,
|
||||
__void__glVertexAttrib4uiv__GLuint__C5_GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glVertexAttrib4usv, IN, GLuint, index, IN, const GLushort *, v,
|
||||
__void__glVertexAttrib4usv__GLuint__C5_GLushort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, glVertexAttribPointer, IN, GLuint, index, IN, GLint, size, IN, GLenum, type, IN, GLboolean, normalized, IN, GLsizei, stride, IN, const GLvoid *, pointer,
|
||||
__void__glVertexAttribPointer__GLuint__GLint__GLenum__GLboolean__GLsizei__C5_GLvoid_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLuint, getCurrentProgram,
|
||||
__GLuint__getCurrentProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getProgramInfoLog, IN, GLuint, program, IN, std::string &, result,
|
||||
__bool__getProgramInfoLog__GLuint__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getShaderInfoLog, IN, GLuint, shader, IN, std::string &, result,
|
||||
__bool__getShaderInfoLog__GLuint__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getAttribLocation, IN, const char *, attribName, IN, GLuint &, slot,
|
||||
__bool__getAttribLocation__C5_char_P1__GLuint_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::GL2Extensions *, Get, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__GL2Extensions_P1__Get__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Exentsion object for that context has not yet been created then and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object only be created with the graphics context associated with ContextID.. ");
|
||||
I_StaticMethod2(void, Set, IN, unsigned int, contextID, IN, osg::GL2Extensions *, extensions,
|
||||
__void__Set__unsigned_int__GL2Extensions_P1_S,
|
||||
"allows users to override the extensions across graphics contexts. ",
|
||||
"typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(GLuint, CurrentProgram,
|
||||
__GLuint__getCurrentProgram,
|
||||
0);
|
||||
I_SimpleProperty(bool, FragmentShaderSupported,
|
||||
0,
|
||||
__void__setFragmentShaderSupported__bool);
|
||||
I_SimpleProperty(float, GlVersion,
|
||||
__float__getGlVersion,
|
||||
0);
|
||||
I_SimpleProperty(bool, Language100Supported,
|
||||
0,
|
||||
__void__setLanguage100Supported__bool);
|
||||
I_SimpleProperty(float, LanguageVersion,
|
||||
__float__getLanguageVersion,
|
||||
0);
|
||||
I_SimpleProperty(bool, ShaderObjectsSupported,
|
||||
0,
|
||||
__void__setShaderObjectsSupported__bool);
|
||||
I_SimpleProperty(bool, VertexShaderSupported,
|
||||
0,
|
||||
__void__setVertexShaderSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,43 +31,143 @@ TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Drawable > >, osg::Geode::Drawab
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Geode)
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(bool, addDrawable, IN, osg::Drawable *, drawable);
|
||||
I_Method1(bool, removeDrawable, IN, osg::Drawable *, drawable);
|
||||
I_MethodWithDefaults2(bool, removeDrawables, IN, unsigned int, i, , IN, unsigned int, numDrawablesToRemove, 1);
|
||||
I_Method2(bool, replaceDrawable, IN, osg::Drawable *, origDraw, IN, osg::Drawable *, newDraw);
|
||||
I_Method2(bool, setDrawable, IN, unsigned int, i, IN, osg::Drawable *, drawable);
|
||||
I_Method0(unsigned int, getNumDrawables);
|
||||
I_Method1(osg::Drawable *, getDrawable, IN, unsigned int, i);
|
||||
I_Method1(const osg::Drawable *, getDrawable, IN, unsigned int, i);
|
||||
I_Method1(bool, containsDrawable, IN, const osg::Drawable *, gset);
|
||||
I_Method1(unsigned int, getDrawableIndex, IN, const osg::Drawable *, drawable);
|
||||
I_Method0(const osg::Geode::DrawableList &, getDrawableList);
|
||||
I_Method1(void, compileDrawables, IN, osg::State &, state);
|
||||
I_Method0(const osg::BoundingBox &, getBoundingBox);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0);
|
||||
I_ReadOnlyProperty(const osg::BoundingBox &, BoundingBox);
|
||||
I_ArrayProperty_GSA(osg::Drawable *, Drawable, Drawables, unsigned int, bool);
|
||||
I_ReadOnlyProperty(const osg::Geode::DrawableList &, DrawableList);
|
||||
I_Constructor0(____Geode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Geode__C5_Geode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(bool, addDrawable, IN, osg::Drawable *, drawable,
|
||||
__bool__addDrawable__Drawable_P1,
|
||||
"Add a Drawable to the Geode. ",
|
||||
" param drawable The Drawable to be added to the Geode. return true for success; false otherwise.");
|
||||
I_Method1(bool, removeDrawable, IN, osg::Drawable *, drawable,
|
||||
__bool__removeDrawable__Drawable_P1,
|
||||
"Remove a Drawable from the Geode. ",
|
||||
" param drawable The drawable to be removed. return true if at least one Drawable was removed. false otherwise.");
|
||||
I_MethodWithDefaults2(bool, removeDrawables, IN, unsigned int, i, , IN, unsigned int, numDrawablesToRemove, 1,
|
||||
__bool__removeDrawables__unsigned_int__unsigned_int,
|
||||
"Remove Drawable(s) from the specified position in Geode's drawable list. ",
|
||||
" param i The index of the first Drawable to remove. numDrawablesToRemove The number of Drawable to remove. return true if at least one Drawable was removed. false otherwise.");
|
||||
I_Method2(bool, replaceDrawable, IN, osg::Drawable *, origDraw, IN, osg::Drawable *, newDraw,
|
||||
__bool__replaceDrawable__Drawable_P1__Drawable_P1,
|
||||
"Replace specified Drawable with another Drawable. ",
|
||||
"Equivalent to setDrawable(getDrawableIndex(origDraw),newDraw), see docs for setDrawable() for further details on implementation.");
|
||||
I_Method2(bool, setDrawable, IN, unsigned int, i, IN, osg::Drawable *, drawable,
|
||||
__bool__setDrawable__unsigned_int__Drawable_P1,
|
||||
"Set Drawable at position i. ",
|
||||
"Decrement the reference count origGSet and increments the reference count of newGset, and dirty the bounding sphere to force it to recompute on next getBound() and returns true. If origDrawable is not found then return false and do not add newGset. If newGset is NULL then return false and do not remove origGset. true if set correctly, false on failure (if node==NULL || i is out of range). ");
|
||||
I_Method0(unsigned int, getNumDrawables,
|
||||
__unsigned_int__getNumDrawables,
|
||||
"Return the number of Drawables currently attached to the Geode. ",
|
||||
"");
|
||||
I_Method1(osg::Drawable *, getDrawable, IN, unsigned int, i,
|
||||
__Drawable_P1__getDrawable__unsigned_int,
|
||||
"Return the Drawable at position i. ",
|
||||
"");
|
||||
I_Method1(const osg::Drawable *, getDrawable, IN, unsigned int, i,
|
||||
__C5_Drawable_P1__getDrawable__unsigned_int,
|
||||
"Return the Drawable at position i. ",
|
||||
"");
|
||||
I_Method1(bool, containsDrawable, IN, const osg::Drawable *, gset,
|
||||
__bool__containsDrawable__C5_Drawable_P1,
|
||||
"Return true if a given Drawable is contained within Geode. ",
|
||||
"");
|
||||
I_Method1(unsigned int, getDrawableIndex, IN, const osg::Drawable *, drawable,
|
||||
__unsigned_int__getDrawableIndex__C5_Drawable_P1,
|
||||
"Get the index number of drawable. ",
|
||||
"A value between 0 and getNumDrawables()-1 if drawable is found; if not found, then getNumDrawables() is returned. ");
|
||||
I_Method0(const osg::Geode::DrawableList &, getDrawableList,
|
||||
__C5_DrawableList_R1__getDrawableList,
|
||||
"Get the list of drawables. ",
|
||||
"");
|
||||
I_Method1(void, compileDrawables, IN, osg::State &, state,
|
||||
__void__compileDrawables__State_R1,
|
||||
"Compile OpenGL Display List for each drawable. ",
|
||||
"");
|
||||
I_Method0(const osg::BoundingBox &, getBoundingBox,
|
||||
__C5_BoundingBox_R1__getBoundingBox,
|
||||
"Return the Geode's bounding box, which is the union of all the bounding boxes of the geode's drawables. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__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_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
__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(const osg::BoundingBox &, BoundingBox,
|
||||
__C5_BoundingBox_R1__getBoundingBox,
|
||||
0);
|
||||
I_ArrayProperty(osg::Drawable *, Drawable,
|
||||
__Drawable_P1__getDrawable__unsigned_int,
|
||||
__bool__setDrawable__unsigned_int__Drawable_P1,
|
||||
__unsigned_int__getNumDrawables,
|
||||
__bool__addDrawable__Drawable_P1,
|
||||
0,
|
||||
__bool__removeDrawables__unsigned_int__unsigned_int);
|
||||
I_SimpleProperty(const osg::Geode::DrawableList &, DrawableList,
|
||||
__C5_DrawableList_R1__getDrawableList,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Drawable >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::Drawable *, ptr);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Drawable > &, rp);
|
||||
I_Method0(osg::Drawable *, get);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::Drawable *, release);
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Drawable > &, rp);
|
||||
I_ReadOnlyProperty(osg::Drawable *, );
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Drawable *, ptr,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Drawable > &, rp,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Drawable *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Drawable *, release,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Drawable > &, rp,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Drawable *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Drawable > >);
|
||||
|
||||
@@ -40,173 +40,665 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Geometry)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geometry &, geometry, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::Geometry *, asGeometry);
|
||||
I_Method0(const osg::Geometry *, asGeometry);
|
||||
I_Method0(bool, empty);
|
||||
I_Method1(void, setVertexArray, IN, osg::Array *, array);
|
||||
I_Method0(osg::Array *, getVertexArray);
|
||||
I_Method0(const osg::Array *, getVertexArray);
|
||||
I_Method1(void, setVertexIndices, IN, osg::IndexArray *, array);
|
||||
I_Method0(osg::IndexArray *, getVertexIndices);
|
||||
I_Method0(const osg::IndexArray *, getVertexIndices);
|
||||
I_Method1(void, setVertexData, IN, const osg::Geometry::ArrayData &, arrayData);
|
||||
I_Method0(osg::Geometry::ArrayData &, getVertexData);
|
||||
I_Method0(const osg::Geometry::ArrayData &, getVertexData);
|
||||
I_Method1(void, setNormalBinding, IN, osg::Geometry::AttributeBinding, ab);
|
||||
I_Method0(osg::Geometry::AttributeBinding, getNormalBinding);
|
||||
I_Method1(void, setNormalArray, IN, osg::Array *, array);
|
||||
I_Method0(osg::Array *, getNormalArray);
|
||||
I_Method0(const osg::Array *, getNormalArray);
|
||||
I_Method1(void, setNormalIndices, IN, osg::IndexArray *, array);
|
||||
I_Method0(osg::IndexArray *, getNormalIndices);
|
||||
I_Method0(const osg::IndexArray *, getNormalIndices);
|
||||
I_Method1(void, setNormalData, IN, const osg::Geometry::ArrayData &, arrayData);
|
||||
I_Method0(osg::Geometry::ArrayData &, getNormalData);
|
||||
I_Method0(const osg::Geometry::ArrayData &, getNormalData);
|
||||
I_Method1(void, setColorBinding, IN, osg::Geometry::AttributeBinding, ab);
|
||||
I_Method0(osg::Geometry::AttributeBinding, getColorBinding);
|
||||
I_Method1(void, setColorArray, IN, osg::Array *, array);
|
||||
I_Method0(osg::Array *, getColorArray);
|
||||
I_Method0(const osg::Array *, getColorArray);
|
||||
I_Method1(void, setColorIndices, IN, osg::IndexArray *, array);
|
||||
I_Method0(osg::IndexArray *, getColorIndices);
|
||||
I_Method0(const osg::IndexArray *, getColorIndices);
|
||||
I_Method1(void, setColorData, IN, const osg::Geometry::ArrayData &, arrayData);
|
||||
I_Method0(osg::Geometry::ArrayData &, getColorData);
|
||||
I_Method0(const osg::Geometry::ArrayData &, getColorData);
|
||||
I_Method1(void, setSecondaryColorBinding, IN, osg::Geometry::AttributeBinding, ab);
|
||||
I_Method0(osg::Geometry::AttributeBinding, getSecondaryColorBinding);
|
||||
I_Method1(void, setSecondaryColorArray, IN, osg::Array *, array);
|
||||
I_Method0(osg::Array *, getSecondaryColorArray);
|
||||
I_Method0(const osg::Array *, getSecondaryColorArray);
|
||||
I_Method1(void, setSecondaryColorIndices, IN, osg::IndexArray *, array);
|
||||
I_Method0(osg::IndexArray *, getSecondaryColorIndices);
|
||||
I_Method0(const osg::IndexArray *, getSecondaryColorIndices);
|
||||
I_Method1(void, setSecondaryColorData, IN, const osg::Geometry::ArrayData &, arrayData);
|
||||
I_Method0(osg::Geometry::ArrayData &, getSecondaryColorData);
|
||||
I_Method0(const osg::Geometry::ArrayData &, getSecondaryColorData);
|
||||
I_Method1(void, setFogCoordBinding, IN, osg::Geometry::AttributeBinding, ab);
|
||||
I_Method0(osg::Geometry::AttributeBinding, getFogCoordBinding);
|
||||
I_Method1(void, setFogCoordArray, IN, osg::Array *, array);
|
||||
I_Method0(osg::Array *, getFogCoordArray);
|
||||
I_Method0(const osg::Array *, getFogCoordArray);
|
||||
I_Method1(void, setFogCoordIndices, IN, osg::IndexArray *, array);
|
||||
I_Method0(osg::IndexArray *, getFogCoordIndices);
|
||||
I_Method0(const osg::IndexArray *, getFogCoordIndices);
|
||||
I_Method1(void, setFogCoordData, IN, const osg::Geometry::ArrayData &, arrayData);
|
||||
I_Method0(osg::Geometry::ArrayData &, getFogCoordData);
|
||||
I_Method0(const osg::Geometry::ArrayData &, getFogCoordData);
|
||||
I_Method2(void, setTexCoordArray, IN, unsigned int, unit, IN, osg::Array *, x);
|
||||
I_Method1(osg::Array *, getTexCoordArray, IN, unsigned int, unit);
|
||||
I_Method1(const osg::Array *, getTexCoordArray, IN, unsigned int, unit);
|
||||
I_Method2(void, setTexCoordIndices, IN, unsigned int, unit, IN, osg::IndexArray *, x);
|
||||
I_Method1(osg::IndexArray *, getTexCoordIndices, IN, unsigned int, unit);
|
||||
I_Method1(const osg::IndexArray *, getTexCoordIndices, IN, unsigned int, unit);
|
||||
I_Method2(void, setTexCoordData, IN, unsigned int, index, IN, const osg::Geometry::ArrayData &, arrayData);
|
||||
I_Method1(osg::Geometry::ArrayData &, getTexCoordData, IN, unsigned int, index);
|
||||
I_Method1(const osg::Geometry::ArrayData &, getTexCoordData, IN, unsigned int, index);
|
||||
I_Method0(unsigned int, getNumTexCoordArrays);
|
||||
I_Method0(osg::Geometry::ArrayList &, getTexCoordArrayList);
|
||||
I_Method0(const osg::Geometry::ArrayList &, getTexCoordArrayList);
|
||||
I_Method2(void, setVertexAttribArray, IN, unsigned int, index, IN, osg::Array *, array);
|
||||
I_Method1(osg::Array *, getVertexAttribArray, IN, unsigned int, index);
|
||||
I_Method1(const osg::Array *, getVertexAttribArray, IN, unsigned int, index);
|
||||
I_Method2(void, setVertexAttribIndices, IN, unsigned int, index, IN, osg::IndexArray *, array);
|
||||
I_Method1(osg::IndexArray *, getVertexAttribIndices, IN, unsigned int, index);
|
||||
I_Method1(const osg::IndexArray *, getVertexAttribIndices, IN, unsigned int, index);
|
||||
I_Method2(void, setVertexAttribBinding, IN, unsigned int, index, IN, osg::Geometry::AttributeBinding, ab);
|
||||
I_Method1(osg::Geometry::AttributeBinding, getVertexAttribBinding, IN, unsigned int, index);
|
||||
I_Method2(void, setVertexAttribNormalize, IN, unsigned int, index, IN, GLboolean, norm);
|
||||
I_Method1(GLboolean, getVertexAttribNormalize, IN, unsigned int, index);
|
||||
I_Method2(void, setVertexAttribData, IN, unsigned int, index, IN, const osg::Geometry::ArrayData &, arrayData);
|
||||
I_Method1(osg::Geometry::ArrayData &, getVertexAttribData, IN, unsigned int, index);
|
||||
I_Method1(const osg::Geometry::ArrayData &, getVertexAttribData, IN, unsigned int, index);
|
||||
I_Method0(unsigned int, getNumVertexAttribArrays);
|
||||
I_Method0(osg::Geometry::ArrayList &, getVertexAttribArrayList);
|
||||
I_Method0(const osg::Geometry::ArrayList &, getVertexAttribArrayList);
|
||||
I_Method1(void, setPrimitiveSetList, IN, const osg::Geometry::PrimitiveSetList &, primitives);
|
||||
I_Method0(osg::Geometry::PrimitiveSetList &, getPrimitiveSetList);
|
||||
I_Method0(const osg::Geometry::PrimitiveSetList &, getPrimitiveSetList);
|
||||
I_Method0(unsigned int, getNumPrimitiveSets);
|
||||
I_Method1(osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, pos);
|
||||
I_Method1(const osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, pos);
|
||||
I_Method1(bool, addPrimitiveSet, IN, osg::PrimitiveSet *, primitiveset);
|
||||
I_Method2(bool, setPrimitiveSet, IN, unsigned int, i, IN, osg::PrimitiveSet *, primitiveset);
|
||||
I_Method2(bool, insertPrimitiveSet, IN, unsigned int, i, IN, osg::PrimitiveSet *, primitiveset);
|
||||
I_MethodWithDefaults2(bool, removePrimitiveSet, IN, unsigned int, i, , IN, unsigned int, numElementsToRemove, 1);
|
||||
I_Method1(unsigned int, getPrimitiveSetIndex, IN, const osg::PrimitiveSet *, primitiveset);
|
||||
I_Method1(void, setFastPathHint, IN, bool, on);
|
||||
I_Method0(bool, getFastPathHint);
|
||||
I_Method0(bool, areFastPathsUsed);
|
||||
I_Method0(bool, computeFastPathsUsed);
|
||||
I_Method0(bool, verifyBindings);
|
||||
I_Method0(void, computeCorrectBindingsAndArraySizes);
|
||||
I_Method0(bool, suitableForOptimization);
|
||||
I_Method1(void, copyToAndOptimize, IN, osg::Geometry &, target);
|
||||
I_Method0(void, computeInternalOptimizedGeometry);
|
||||
I_Method0(void, removeInternalOptimizedGeometry);
|
||||
I_Method1(void, setInternalOptimizedGeometry, IN, osg::Geometry *, geometry);
|
||||
I_Method0(osg::Geometry *, getInternalOptimizedGeometry);
|
||||
I_Method0(const osg::Geometry *, getInternalOptimizedGeometry);
|
||||
I_Method0(unsigned int, getGLObjectSizeHint);
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state);
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x);
|
||||
I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, af);
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x);
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af);
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf);
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveIndexFunctor &, x);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, pf);
|
||||
I_Property(osg::Array *, ColorArray);
|
||||
I_Property(osg::Geometry::AttributeBinding, ColorBinding);
|
||||
I_Property(const osg::Geometry::ArrayData &, ColorData);
|
||||
I_Property(osg::IndexArray *, ColorIndices);
|
||||
I_Property(bool, FastPathHint);
|
||||
I_Property(osg::Array *, FogCoordArray);
|
||||
I_Property(osg::Geometry::AttributeBinding, FogCoordBinding);
|
||||
I_Property(const osg::Geometry::ArrayData &, FogCoordData);
|
||||
I_Property(osg::IndexArray *, FogCoordIndices);
|
||||
I_ReadOnlyProperty(unsigned int, GLObjectSizeHint);
|
||||
I_Property(osg::Geometry *, InternalOptimizedGeometry);
|
||||
I_Property(osg::Array *, NormalArray);
|
||||
I_Property(osg::Geometry::AttributeBinding, NormalBinding);
|
||||
I_Property(const osg::Geometry::ArrayData &, NormalData);
|
||||
I_Property(osg::IndexArray *, NormalIndices);
|
||||
I_ArrayProperty_GSA(osg::PrimitiveSet *, PrimitiveSet, PrimitiveSets, unsigned int, bool);
|
||||
I_Property(const osg::Geometry::PrimitiveSetList &, PrimitiveSetList);
|
||||
I_Property(osg::Array *, SecondaryColorArray);
|
||||
I_Property(osg::Geometry::AttributeBinding, SecondaryColorBinding);
|
||||
I_Property(const osg::Geometry::ArrayData &, SecondaryColorData);
|
||||
I_Property(osg::IndexArray *, SecondaryColorIndices);
|
||||
I_ArrayProperty_G(osg::Array *, TexCoordArray, TexCoordArrays, unsigned int, void);
|
||||
I_ReadOnlyProperty(osg::Geometry::ArrayList &, TexCoordArrayList);
|
||||
I_IndexedProperty1(const osg::Geometry::ArrayData &, TexCoordData, unsigned int, index);
|
||||
I_IndexedProperty1(osg::IndexArray *, TexCoordIndices, unsigned int, unit);
|
||||
I_Property(osg::Array *, VertexArray);
|
||||
I_ArrayProperty_G(osg::Array *, VertexAttribArray, VertexAttribArrays, unsigned int, void);
|
||||
I_ReadOnlyProperty(osg::Geometry::ArrayList &, VertexAttribArrayList);
|
||||
I_IndexedProperty1(osg::Geometry::AttributeBinding, VertexAttribBinding, unsigned int, index);
|
||||
I_IndexedProperty1(const osg::Geometry::ArrayData &, VertexAttribData, unsigned int, index);
|
||||
I_IndexedProperty1(osg::IndexArray *, VertexAttribIndices, unsigned int, index);
|
||||
I_IndexedProperty1(GLboolean, VertexAttribNormalize, unsigned int, index);
|
||||
I_Property(const osg::Geometry::ArrayData &, VertexData);
|
||||
I_Property(osg::IndexArray *, VertexIndices);
|
||||
I_Constructor0(____Geometry,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geometry &, geometry, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Geometry__C5_Geometry_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(osg::Geometry *, asGeometry,
|
||||
__Geometry_P1__asGeometry,
|
||||
"Convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<Geometry*>(this). ");
|
||||
I_Method0(const osg::Geometry *, asGeometry,
|
||||
__C5_Geometry_P1__asGeometry,
|
||||
"Convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<const Geometry*>(this). ");
|
||||
I_Method0(bool, empty,
|
||||
__bool__empty,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexArray, IN, osg::Array *, array,
|
||||
__void__setVertexArray__Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Array *, getVertexArray,
|
||||
__Array_P1__getVertexArray,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Array *, getVertexArray,
|
||||
__C5_Array_P1__getVertexArray,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexIndices, IN, osg::IndexArray *, array,
|
||||
__void__setVertexIndices__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::IndexArray *, getVertexIndices,
|
||||
__IndexArray_P1__getVertexIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::IndexArray *, getVertexIndices,
|
||||
__C5_IndexArray_P1__getVertexIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setVertexData, IN, const osg::Geometry::ArrayData &, arrayData,
|
||||
__void__setVertexData__C5_ArrayData_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::ArrayData &, getVertexData,
|
||||
__ArrayData_R1__getVertexData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry::ArrayData &, getVertexData,
|
||||
__C5_ArrayData_R1__getVertexData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNormalBinding, IN, osg::Geometry::AttributeBinding, ab,
|
||||
__void__setNormalBinding__AttributeBinding,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::AttributeBinding, getNormalBinding,
|
||||
__AttributeBinding__getNormalBinding,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNormalArray, IN, osg::Array *, array,
|
||||
__void__setNormalArray__Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Array *, getNormalArray,
|
||||
__Array_P1__getNormalArray,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Array *, getNormalArray,
|
||||
__C5_Array_P1__getNormalArray,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNormalIndices, IN, osg::IndexArray *, array,
|
||||
__void__setNormalIndices__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::IndexArray *, getNormalIndices,
|
||||
__IndexArray_P1__getNormalIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::IndexArray *, getNormalIndices,
|
||||
__C5_IndexArray_P1__getNormalIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNormalData, IN, const osg::Geometry::ArrayData &, arrayData,
|
||||
__void__setNormalData__C5_ArrayData_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::ArrayData &, getNormalData,
|
||||
__ArrayData_R1__getNormalData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry::ArrayData &, getNormalData,
|
||||
__C5_ArrayData_R1__getNormalData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColorBinding, IN, osg::Geometry::AttributeBinding, ab,
|
||||
__void__setColorBinding__AttributeBinding,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::AttributeBinding, getColorBinding,
|
||||
__AttributeBinding__getColorBinding,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColorArray, IN, osg::Array *, array,
|
||||
__void__setColorArray__Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Array *, getColorArray,
|
||||
__Array_P1__getColorArray,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Array *, getColorArray,
|
||||
__C5_Array_P1__getColorArray,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColorIndices, IN, osg::IndexArray *, array,
|
||||
__void__setColorIndices__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::IndexArray *, getColorIndices,
|
||||
__IndexArray_P1__getColorIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::IndexArray *, getColorIndices,
|
||||
__C5_IndexArray_P1__getColorIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColorData, IN, const osg::Geometry::ArrayData &, arrayData,
|
||||
__void__setColorData__C5_ArrayData_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::ArrayData &, getColorData,
|
||||
__ArrayData_R1__getColorData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry::ArrayData &, getColorData,
|
||||
__C5_ArrayData_R1__getColorData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSecondaryColorBinding, IN, osg::Geometry::AttributeBinding, ab,
|
||||
__void__setSecondaryColorBinding__AttributeBinding,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::AttributeBinding, getSecondaryColorBinding,
|
||||
__AttributeBinding__getSecondaryColorBinding,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSecondaryColorArray, IN, osg::Array *, array,
|
||||
__void__setSecondaryColorArray__Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Array *, getSecondaryColorArray,
|
||||
__Array_P1__getSecondaryColorArray,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Array *, getSecondaryColorArray,
|
||||
__C5_Array_P1__getSecondaryColorArray,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSecondaryColorIndices, IN, osg::IndexArray *, array,
|
||||
__void__setSecondaryColorIndices__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::IndexArray *, getSecondaryColorIndices,
|
||||
__IndexArray_P1__getSecondaryColorIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::IndexArray *, getSecondaryColorIndices,
|
||||
__C5_IndexArray_P1__getSecondaryColorIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSecondaryColorData, IN, const osg::Geometry::ArrayData &, arrayData,
|
||||
__void__setSecondaryColorData__C5_ArrayData_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::ArrayData &, getSecondaryColorData,
|
||||
__ArrayData_R1__getSecondaryColorData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry::ArrayData &, getSecondaryColorData,
|
||||
__C5_ArrayData_R1__getSecondaryColorData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFogCoordBinding, IN, osg::Geometry::AttributeBinding, ab,
|
||||
__void__setFogCoordBinding__AttributeBinding,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::AttributeBinding, getFogCoordBinding,
|
||||
__AttributeBinding__getFogCoordBinding,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFogCoordArray, IN, osg::Array *, array,
|
||||
__void__setFogCoordArray__Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Array *, getFogCoordArray,
|
||||
__Array_P1__getFogCoordArray,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Array *, getFogCoordArray,
|
||||
__C5_Array_P1__getFogCoordArray,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFogCoordIndices, IN, osg::IndexArray *, array,
|
||||
__void__setFogCoordIndices__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::IndexArray *, getFogCoordIndices,
|
||||
__IndexArray_P1__getFogCoordIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::IndexArray *, getFogCoordIndices,
|
||||
__C5_IndexArray_P1__getFogCoordIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFogCoordData, IN, const osg::Geometry::ArrayData &, arrayData,
|
||||
__void__setFogCoordData__C5_ArrayData_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::ArrayData &, getFogCoordData,
|
||||
__ArrayData_R1__getFogCoordData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry::ArrayData &, getFogCoordData,
|
||||
__C5_ArrayData_R1__getFogCoordData,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTexCoordArray, IN, unsigned int, unit, IN, osg::Array *, x,
|
||||
__void__setTexCoordArray__unsigned_int__Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Array *, getTexCoordArray, IN, unsigned int, unit,
|
||||
__Array_P1__getTexCoordArray__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Array *, getTexCoordArray, IN, unsigned int, unit,
|
||||
__C5_Array_P1__getTexCoordArray__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTexCoordIndices, IN, unsigned int, unit, IN, osg::IndexArray *, x,
|
||||
__void__setTexCoordIndices__unsigned_int__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::IndexArray *, getTexCoordIndices, IN, unsigned int, unit,
|
||||
__IndexArray_P1__getTexCoordIndices__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::IndexArray *, getTexCoordIndices, IN, unsigned int, unit,
|
||||
__C5_IndexArray_P1__getTexCoordIndices__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTexCoordData, IN, unsigned int, index, IN, const osg::Geometry::ArrayData &, arrayData,
|
||||
__void__setTexCoordData__unsigned_int__C5_ArrayData_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Geometry::ArrayData &, getTexCoordData, IN, unsigned int, index,
|
||||
__ArrayData_R1__getTexCoordData__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Geometry::ArrayData &, getTexCoordData, IN, unsigned int, index,
|
||||
__C5_ArrayData_R1__getTexCoordData__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumTexCoordArrays,
|
||||
__unsigned_int__getNumTexCoordArrays,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::ArrayList &, getTexCoordArrayList,
|
||||
__ArrayList_R1__getTexCoordArrayList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry::ArrayList &, getTexCoordArrayList,
|
||||
__C5_ArrayList_R1__getTexCoordArrayList,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setVertexAttribArray, IN, unsigned int, index, IN, osg::Array *, array,
|
||||
__void__setVertexAttribArray__unsigned_int__Array_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Array *, getVertexAttribArray, IN, unsigned int, index,
|
||||
__Array_P1__getVertexAttribArray__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Array *, getVertexAttribArray, IN, unsigned int, index,
|
||||
__C5_Array_P1__getVertexAttribArray__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setVertexAttribIndices, IN, unsigned int, index, IN, osg::IndexArray *, array,
|
||||
__void__setVertexAttribIndices__unsigned_int__IndexArray_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::IndexArray *, getVertexAttribIndices, IN, unsigned int, index,
|
||||
__IndexArray_P1__getVertexAttribIndices__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::IndexArray *, getVertexAttribIndices, IN, unsigned int, index,
|
||||
__C5_IndexArray_P1__getVertexAttribIndices__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setVertexAttribBinding, IN, unsigned int, index, IN, osg::Geometry::AttributeBinding, ab,
|
||||
__void__setVertexAttribBinding__unsigned_int__AttributeBinding,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Geometry::AttributeBinding, getVertexAttribBinding, IN, unsigned int, index,
|
||||
__AttributeBinding__getVertexAttribBinding__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setVertexAttribNormalize, IN, unsigned int, index, IN, GLboolean, norm,
|
||||
__void__setVertexAttribNormalize__unsigned_int__GLboolean,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLboolean, getVertexAttribNormalize, IN, unsigned int, index,
|
||||
__GLboolean__getVertexAttribNormalize__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setVertexAttribData, IN, unsigned int, index, IN, const osg::Geometry::ArrayData &, arrayData,
|
||||
__void__setVertexAttribData__unsigned_int__C5_ArrayData_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Geometry::ArrayData &, getVertexAttribData, IN, unsigned int, index,
|
||||
__ArrayData_R1__getVertexAttribData__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Geometry::ArrayData &, getVertexAttribData, IN, unsigned int, index,
|
||||
__C5_ArrayData_R1__getVertexAttribData__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumVertexAttribArrays,
|
||||
__unsigned_int__getNumVertexAttribArrays,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::ArrayList &, getVertexAttribArrayList,
|
||||
__ArrayList_R1__getVertexAttribArrayList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry::ArrayList &, getVertexAttribArrayList,
|
||||
__C5_ArrayList_R1__getVertexAttribArrayList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPrimitiveSetList, IN, const osg::Geometry::PrimitiveSetList &, primitives,
|
||||
__void__setPrimitiveSetList__C5_PrimitiveSetList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry::PrimitiveSetList &, getPrimitiveSetList,
|
||||
__PrimitiveSetList_R1__getPrimitiveSetList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry::PrimitiveSetList &, getPrimitiveSetList,
|
||||
__C5_PrimitiveSetList_R1__getPrimitiveSetList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPrimitiveSets,
|
||||
__unsigned_int__getNumPrimitiveSets,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, pos,
|
||||
__PrimitiveSet_P1__getPrimitiveSet__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, pos,
|
||||
__C5_PrimitiveSet_P1__getPrimitiveSet__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addPrimitiveSet, IN, osg::PrimitiveSet *, primitiveset,
|
||||
__bool__addPrimitiveSet__PrimitiveSet_P1,
|
||||
"Add a primitive set to the geometry. ",
|
||||
"");
|
||||
I_Method2(bool, setPrimitiveSet, IN, unsigned int, i, IN, osg::PrimitiveSet *, primitiveset,
|
||||
__bool__setPrimitiveSet__unsigned_int__PrimitiveSet_P1,
|
||||
"Set a primitive set to the specified position in geometry's primitive set list. ",
|
||||
"");
|
||||
I_Method2(bool, insertPrimitiveSet, IN, unsigned int, i, IN, osg::PrimitiveSet *, primitiveset,
|
||||
__bool__insertPrimitiveSet__unsigned_int__PrimitiveSet_P1,
|
||||
"Insert a primitive set to the specified position in geometry's primitive set list. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, removePrimitiveSet, IN, unsigned int, i, , IN, unsigned int, numElementsToRemove, 1,
|
||||
__bool__removePrimitiveSet__unsigned_int__unsigned_int,
|
||||
"Remove primitive set(s) from the specified position in geometry's primitive set list. ",
|
||||
"");
|
||||
I_Method1(unsigned int, getPrimitiveSetIndex, IN, const osg::PrimitiveSet *, primitiveset,
|
||||
__unsigned_int__getPrimitiveSetIndex__C5_PrimitiveSet_P1,
|
||||
"Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). ",
|
||||
"When checking for a valid find value use if ((value=geometry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet())");
|
||||
I_Method1(void, setFastPathHint, IN, bool, on,
|
||||
__void__setFastPathHint__bool,
|
||||
"Set whether fast paths should be used when supported. ",
|
||||
"");
|
||||
I_Method0(bool, getFastPathHint,
|
||||
__bool__getFastPathHint,
|
||||
"Get whether fast paths should be used when supported. ",
|
||||
"");
|
||||
I_Method0(bool, areFastPathsUsed,
|
||||
__bool__areFastPathsUsed,
|
||||
"Return true if OpenGL fast paths will be used with drawing this Geometry. ",
|
||||
"Fast paths use vertex arrays, and glDrawArrays/glDrawElements. Slow paths use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path.");
|
||||
I_Method0(bool, computeFastPathsUsed,
|
||||
__bool__computeFastPathsUsed,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, verifyBindings,
|
||||
__bool__verifyBindings,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeCorrectBindingsAndArraySizes,
|
||||
__void__computeCorrectBindingsAndArraySizes,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, suitableForOptimization,
|
||||
__bool__suitableForOptimization,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, copyToAndOptimize, IN, osg::Geometry &, target,
|
||||
__void__copyToAndOptimize__Geometry_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, computeInternalOptimizedGeometry,
|
||||
__void__computeInternalOptimizedGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, removeInternalOptimizedGeometry,
|
||||
__void__removeInternalOptimizedGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInternalOptimizedGeometry, IN, osg::Geometry *, geometry,
|
||||
__void__setInternalOptimizedGeometry__osg_Geometry_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Geometry *, getInternalOptimizedGeometry,
|
||||
__osg_Geometry_P1__getInternalOptimizedGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Geometry *, getInternalOptimizedGeometry,
|
||||
__C5_osg_Geometry_P1__getInternalOptimizedGeometry,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getGLObjectSizeHint,
|
||||
__unsigned_int__getGLObjectSizeHint,
|
||||
"Return the estimated size of GLObjects (display lists/vertex buffer objects) that are associated with this drawable. ",
|
||||
"This size is used a hint for reuse of deleteed display lists/vertex buffer objects. ");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
__void__drawImplementation__State_R1,
|
||||
"Draw Geometry directly ignoring an OpenGL display list which could be attached. ",
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects.");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return true, osg::Geometry does support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, af,
|
||||
__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,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::Geometry does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
__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,
|
||||
__bool__supports__C5_PrimitiveFunctor_R1,
|
||||
"Return true, osg::Geometry does support accept(PrimitiveFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"Accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has. ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveIndexFunctor &, x,
|
||||
__bool__supports__C5_PrimitiveIndexFunctor_R1,
|
||||
"Return true, osg::Geometry does support accept(PrimitiveIndexFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, pf,
|
||||
__void__accept__PrimitiveIndexFunctor_R1,
|
||||
"Accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Array *, ColorArray,
|
||||
__Array_P1__getColorArray,
|
||||
__void__setColorArray__Array_P1);
|
||||
I_SimpleProperty(osg::Geometry::AttributeBinding, ColorBinding,
|
||||
__AttributeBinding__getColorBinding,
|
||||
__void__setColorBinding__AttributeBinding);
|
||||
I_SimpleProperty(const osg::Geometry::ArrayData &, ColorData,
|
||||
__C5_ArrayData_R1__getColorData,
|
||||
__void__setColorData__C5_ArrayData_R1);
|
||||
I_SimpleProperty(osg::IndexArray *, ColorIndices,
|
||||
__IndexArray_P1__getColorIndices,
|
||||
__void__setColorIndices__IndexArray_P1);
|
||||
I_SimpleProperty(bool, FastPathHint,
|
||||
__bool__getFastPathHint,
|
||||
__void__setFastPathHint__bool);
|
||||
I_SimpleProperty(osg::Array *, FogCoordArray,
|
||||
__Array_P1__getFogCoordArray,
|
||||
__void__setFogCoordArray__Array_P1);
|
||||
I_SimpleProperty(osg::Geometry::AttributeBinding, FogCoordBinding,
|
||||
__AttributeBinding__getFogCoordBinding,
|
||||
__void__setFogCoordBinding__AttributeBinding);
|
||||
I_SimpleProperty(const osg::Geometry::ArrayData &, FogCoordData,
|
||||
__C5_ArrayData_R1__getFogCoordData,
|
||||
__void__setFogCoordData__C5_ArrayData_R1);
|
||||
I_SimpleProperty(osg::IndexArray *, FogCoordIndices,
|
||||
__IndexArray_P1__getFogCoordIndices,
|
||||
__void__setFogCoordIndices__IndexArray_P1);
|
||||
I_SimpleProperty(unsigned int, GLObjectSizeHint,
|
||||
__unsigned_int__getGLObjectSizeHint,
|
||||
0);
|
||||
I_SimpleProperty(osg::Geometry *, InternalOptimizedGeometry,
|
||||
__osg_Geometry_P1__getInternalOptimizedGeometry,
|
||||
__void__setInternalOptimizedGeometry__osg_Geometry_P1);
|
||||
I_SimpleProperty(osg::Array *, NormalArray,
|
||||
__Array_P1__getNormalArray,
|
||||
__void__setNormalArray__Array_P1);
|
||||
I_SimpleProperty(osg::Geometry::AttributeBinding, NormalBinding,
|
||||
__AttributeBinding__getNormalBinding,
|
||||
__void__setNormalBinding__AttributeBinding);
|
||||
I_SimpleProperty(const osg::Geometry::ArrayData &, NormalData,
|
||||
__C5_ArrayData_R1__getNormalData,
|
||||
__void__setNormalData__C5_ArrayData_R1);
|
||||
I_SimpleProperty(osg::IndexArray *, NormalIndices,
|
||||
__IndexArray_P1__getNormalIndices,
|
||||
__void__setNormalIndices__IndexArray_P1);
|
||||
I_ArrayProperty(osg::PrimitiveSet *, PrimitiveSet,
|
||||
__PrimitiveSet_P1__getPrimitiveSet__unsigned_int,
|
||||
__bool__setPrimitiveSet__unsigned_int__PrimitiveSet_P1,
|
||||
__unsigned_int__getNumPrimitiveSets,
|
||||
__bool__addPrimitiveSet__PrimitiveSet_P1,
|
||||
__bool__insertPrimitiveSet__unsigned_int__PrimitiveSet_P1,
|
||||
__bool__removePrimitiveSet__unsigned_int__unsigned_int);
|
||||
I_SimpleProperty(const osg::Geometry::PrimitiveSetList &, PrimitiveSetList,
|
||||
__C5_PrimitiveSetList_R1__getPrimitiveSetList,
|
||||
__void__setPrimitiveSetList__C5_PrimitiveSetList_R1);
|
||||
I_SimpleProperty(osg::Array *, SecondaryColorArray,
|
||||
__Array_P1__getSecondaryColorArray,
|
||||
__void__setSecondaryColorArray__Array_P1);
|
||||
I_SimpleProperty(osg::Geometry::AttributeBinding, SecondaryColorBinding,
|
||||
__AttributeBinding__getSecondaryColorBinding,
|
||||
__void__setSecondaryColorBinding__AttributeBinding);
|
||||
I_SimpleProperty(const osg::Geometry::ArrayData &, SecondaryColorData,
|
||||
__C5_ArrayData_R1__getSecondaryColorData,
|
||||
__void__setSecondaryColorData__C5_ArrayData_R1);
|
||||
I_SimpleProperty(osg::IndexArray *, SecondaryColorIndices,
|
||||
__IndexArray_P1__getSecondaryColorIndices,
|
||||
__void__setSecondaryColorIndices__IndexArray_P1);
|
||||
I_ArrayProperty(osg::Array *, TexCoordArray,
|
||||
__Array_P1__getTexCoordArray__unsigned_int,
|
||||
__void__setTexCoordArray__unsigned_int__Array_P1,
|
||||
__unsigned_int__getNumTexCoordArrays,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(osg::Geometry::ArrayList &, TexCoordArrayList,
|
||||
__ArrayList_R1__getTexCoordArrayList,
|
||||
0);
|
||||
I_ArrayProperty(const osg::Geometry::ArrayData &, TexCoordData,
|
||||
__C5_ArrayData_R1__getTexCoordData__unsigned_int,
|
||||
__void__setTexCoordData__unsigned_int__C5_ArrayData_R1,
|
||||
__unsigned_int__getNumTexCoordArrays,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_ArrayProperty(osg::IndexArray *, TexCoordIndices,
|
||||
__IndexArray_P1__getTexCoordIndices__unsigned_int,
|
||||
__void__setTexCoordIndices__unsigned_int__IndexArray_P1,
|
||||
__unsigned_int__getNumTexCoordArrays,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(osg::Array *, VertexArray,
|
||||
__Array_P1__getVertexArray,
|
||||
__void__setVertexArray__Array_P1);
|
||||
I_ArrayProperty(osg::Array *, VertexAttribArray,
|
||||
__Array_P1__getVertexAttribArray__unsigned_int,
|
||||
__void__setVertexAttribArray__unsigned_int__Array_P1,
|
||||
__unsigned_int__getNumVertexAttribArrays,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(osg::Geometry::ArrayList &, VertexAttribArrayList,
|
||||
__ArrayList_R1__getVertexAttribArrayList,
|
||||
0);
|
||||
I_ArrayProperty(osg::Geometry::AttributeBinding, VertexAttribBinding,
|
||||
__AttributeBinding__getVertexAttribBinding__unsigned_int,
|
||||
__void__setVertexAttribBinding__unsigned_int__AttributeBinding,
|
||||
__unsigned_int__getNumVertexAttribArrays,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_ArrayProperty(const osg::Geometry::ArrayData &, VertexAttribData,
|
||||
__C5_ArrayData_R1__getVertexAttribData__unsigned_int,
|
||||
__void__setVertexAttribData__unsigned_int__C5_ArrayData_R1,
|
||||
__unsigned_int__getNumVertexAttribArrays,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_ArrayProperty(osg::IndexArray *, VertexAttribIndices,
|
||||
__IndexArray_P1__getVertexAttribIndices__unsigned_int,
|
||||
__void__setVertexAttribIndices__unsigned_int__IndexArray_P1,
|
||||
__unsigned_int__getNumVertexAttribArrays,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_ArrayProperty(GLboolean, VertexAttribNormalize,
|
||||
__GLboolean__getVertexAttribNormalize__unsigned_int,
|
||||
__void__setVertexAttribNormalize__unsigned_int__GLboolean,
|
||||
__unsigned_int__getNumVertexAttribArrays,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Geometry::ArrayData &, VertexData,
|
||||
__C5_ArrayData_R1__getVertexData,
|
||||
__void__setVertexData__C5_ArrayData_R1);
|
||||
I_SimpleProperty(osg::IndexArray *, VertexIndices,
|
||||
__IndexArray_P1__getVertexIndices,
|
||||
__void__setVertexIndices__IndexArray_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Geometry::ArrayData)
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geometry::ArrayData &, data, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_ConstructorWithDefaults3(IN, osg::Array *, a, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE);
|
||||
I_ConstructorWithDefaults4(IN, osg::Array *, a, , IN, osg::IndexArray *, i, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE);
|
||||
I_Method0(bool, empty);
|
||||
I_Constructor0(____ArrayData,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geometry::ArrayData &, data, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ArrayData__C5_ArrayData_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::Array *, a, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE,
|
||||
____ArrayData__Array_P1__AttributeBinding__GLboolean,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults4(IN, osg::Array *, a, , IN, osg::IndexArray *, i, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE,
|
||||
____ArrayData__Array_P1__IndexArray_P1__AttributeBinding__GLboolean,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, empty,
|
||||
__bool__empty,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Array >, array);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::IndexArray >, indices);
|
||||
I_PublicMemberProperty(osg::Geometry::AttributeBinding, binding);
|
||||
@@ -215,11 +707,25 @@ BEGIN_VALUE_REFLECTOR(osg::Geometry::ArrayData)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Geometry::Vec3ArrayData)
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geometry::Vec3ArrayData &, data, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_ConstructorWithDefaults3(IN, osg::Vec3Array *, a, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE);
|
||||
I_ConstructorWithDefaults4(IN, osg::Vec3Array *, a, , IN, osg::IndexArray *, i, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE);
|
||||
I_Method0(bool, empty);
|
||||
I_Constructor0(____Vec3ArrayData,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Geometry::Vec3ArrayData &, data, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Vec3ArrayData__C5_Vec3ArrayData_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults3(IN, osg::Vec3Array *, a, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE,
|
||||
____Vec3ArrayData__Vec3Array_P1__AttributeBinding__GLboolean,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults4(IN, osg::Vec3Array *, a, , IN, osg::IndexArray *, i, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE,
|
||||
____Vec3ArrayData__Vec3Array_P1__IndexArray_P1__AttributeBinding__GLboolean,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, empty,
|
||||
__bool__empty,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::Vec3Array >, array);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::IndexArray >, indices);
|
||||
I_PublicMemberProperty(osg::Geometry::AttributeBinding, binding);
|
||||
@@ -228,14 +734,36 @@ BEGIN_VALUE_REFLECTOR(osg::Geometry::Vec3ArrayData)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::PrimitiveSet >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::PrimitiveSet *, ptr);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::PrimitiveSet > &, rp);
|
||||
I_Method0(osg::PrimitiveSet *, get);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::PrimitiveSet *, release);
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::PrimitiveSet > &, rp);
|
||||
I_ReadOnlyProperty(osg::PrimitiveSet *, );
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::PrimitiveSet *, ptr,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::PrimitiveSet > &, rp,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PrimitiveSet *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::PrimitiveSet *, release,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::PrimitiveSet > &, rp,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::PrimitiveSet *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::Geometry::ArrayData >);
|
||||
|
||||
@@ -24,50 +24,153 @@
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Method0(const osg::GraphicsContext::Traits *, getTraits);
|
||||
I_Method1(void, setState, IN, osg::State *, state);
|
||||
I_Method0(osg::State *, getState);
|
||||
I_Method0(const osg::State *, getState);
|
||||
I_Method0(bool, realize);
|
||||
I_MethodWithDefaults1(void, close, IN, bool, callCloseImplementation, true);
|
||||
I_Method0(void, swapBuffers);
|
||||
I_Method0(bool, isRealized);
|
||||
I_Method0(void, makeCurrent);
|
||||
I_Method1(void, makeContextCurrent, IN, osg::GraphicsContext *, readContext);
|
||||
I_Method0(void, releaseContext);
|
||||
I_Method0(bool, isCurrent);
|
||||
I_Method1(void, bindPBufferToTexture, IN, GLenum, buffer);
|
||||
I_Method0(void, createGraphicsThread);
|
||||
I_Method1(void, setGraphicsThread, IN, osg::GraphicsThread *, gt);
|
||||
I_Method0(osg::GraphicsThread *, getGraphicsThread);
|
||||
I_Method0(const osg::GraphicsThread *, getGraphicsThread);
|
||||
I_Method0(bool, realizeImplementation);
|
||||
I_Method0(bool, isRealizedImplementation);
|
||||
I_Method0(void, closeImplementation);
|
||||
I_Method0(void, makeCurrentImplementation);
|
||||
I_Method1(void, makeContextCurrentImplementation, IN, osg::GraphicsContext *, readContext);
|
||||
I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, buffer);
|
||||
I_Method0(void, swapBuffersImplementation);
|
||||
I_StaticMethod1(void, setCreateGraphicsContextCallback, IN, osg::GraphicsContext::CreateGraphicContextCallback *, callback);
|
||||
I_StaticMethod0(osg::GraphicsContext::CreateGraphicContextCallback *, getCreateGraphicsContextCallback);
|
||||
I_StaticMethod1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits);
|
||||
I_StaticMethod0(unsigned int, createNewContextID);
|
||||
I_StaticMethod1(void, incrementContextIDUsageCount, IN, unsigned int, contextID);
|
||||
I_StaticMethod1(void, decrementContextIDUsageCount, IN, unsigned int, contextID);
|
||||
I_Property(osg::GraphicsThread *, GraphicsThread);
|
||||
I_Property(osg::State *, State);
|
||||
I_ReadOnlyProperty(const osg::GraphicsContext::Traits *, Traits);
|
||||
I_Method0(const osg::GraphicsContext::Traits *, getTraits,
|
||||
__C5_Traits_P1__getTraits,
|
||||
"Get the traits of the GraphicsContext. ",
|
||||
"");
|
||||
I_Method1(void, setState, IN, osg::State *, state,
|
||||
__void__setState__State_P1,
|
||||
"Set the State object which tracks the current OpenGL state for this graphics context. ",
|
||||
"");
|
||||
I_Method0(osg::State *, getState,
|
||||
__State_P1__getState,
|
||||
"Get the State object which tracks the current OpenGL state for this graphics context. ",
|
||||
"");
|
||||
I_Method0(const osg::State *, getState,
|
||||
__C5_State_P1__getState,
|
||||
"Get the const State object which tracks the current OpenGL state for this graphics context. ",
|
||||
"");
|
||||
I_Method0(bool, realize,
|
||||
__bool__realize,
|
||||
"Realise the GraphicsContext. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, close, IN, bool, callCloseImplementation, true,
|
||||
__void__close__bool,
|
||||
"close the graphics context. ",
|
||||
"close(bool) stops any associated graphics threads, releases the contextID for the GraphicsContext then optional calls closeImplementation() to do the actual deletion of the graphics. This call is made optional as there are times when the graphics context has already been deleted externally and only the OSG side of the its data need to be closed down. ");
|
||||
I_Method0(void, swapBuffers,
|
||||
__void__swapBuffers,
|
||||
"swap the front and back buffers. ",
|
||||
"");
|
||||
I_Method0(bool, isRealized,
|
||||
__bool__isRealized,
|
||||
"Return true if the graphics context has been realised and is ready to use. ",
|
||||
"");
|
||||
I_Method0(void, makeCurrent,
|
||||
__void__makeCurrent,
|
||||
"Make this graphics context current. ",
|
||||
"Implementated by first aquiring a lock of the GraphicsContext mutex, and then doing a call to makeCurrentImplementation(). ");
|
||||
I_Method1(void, makeContextCurrent, IN, osg::GraphicsContext *, readContext,
|
||||
__void__makeContextCurrent__GraphicsContext_P1,
|
||||
"Make this graphics context current with specified read context. ",
|
||||
"Implementated by first aquiring a lock of the GraphicsContext mutex, and then doing a call to makeContextCurrentImplementation(). ");
|
||||
I_Method0(void, releaseContext,
|
||||
__void__releaseContext,
|
||||
"Release the graphics context by unlocking the GraphicsContext mutex. ",
|
||||
"");
|
||||
I_Method0(bool, isCurrent,
|
||||
__bool__isCurrent,
|
||||
"Return true if the current thread has this OpenGL graphics context. ",
|
||||
"");
|
||||
I_Method1(void, bindPBufferToTexture, IN, GLenum, buffer,
|
||||
__void__bindPBufferToTexture__GLenum,
|
||||
"Bind the graphics context to associated texture. ",
|
||||
"");
|
||||
I_Method0(void, createGraphicsThread,
|
||||
__void__createGraphicsThread,
|
||||
"Create a graphics thread to the graphics context, so that the thread handles all OpenGL operations. ",
|
||||
"");
|
||||
I_Method1(void, setGraphicsThread, IN, osg::GraphicsThread *, gt,
|
||||
__void__setGraphicsThread__GraphicsThread_P1,
|
||||
"Assign a graphics thread to the graphics context, so that the thread handles all OpenGL operations. ",
|
||||
"");
|
||||
I_Method0(osg::GraphicsThread *, getGraphicsThread,
|
||||
__GraphicsThread_P1__getGraphicsThread,
|
||||
"Get the graphics thread assigned the graphics context. ",
|
||||
"");
|
||||
I_Method0(const osg::GraphicsThread *, getGraphicsThread,
|
||||
__C5_GraphicsThread_P1__getGraphicsThread,
|
||||
"Get the const graphics thread assigned the graphics context. ",
|
||||
"");
|
||||
I_Method0(bool, realizeImplementation,
|
||||
__bool__realizeImplementation,
|
||||
"Realise the GraphicsContext implementation, Pure virtual - must be implemented by concrate implementations of GraphicsContext. ",
|
||||
"");
|
||||
I_Method0(bool, isRealizedImplementation,
|
||||
__bool__isRealizedImplementation,
|
||||
"Return true if the graphics context has been realised, and is ready to use, implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, closeImplementation,
|
||||
__void__closeImplementation,
|
||||
"Close the graphics context implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, makeCurrentImplementation,
|
||||
__void__makeCurrentImplementation,
|
||||
"Make this graphics context current implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method1(void, makeContextCurrentImplementation, IN, osg::GraphicsContext *, readContext,
|
||||
__void__makeContextCurrentImplementation__GraphicsContext_P1,
|
||||
"Make this graphics context current with specified read context implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, buffer,
|
||||
__void__bindPBufferToTextureImplementation__GLenum,
|
||||
"Pure virtual, Bind the graphics context to associated texture implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, swapBuffersImplementation,
|
||||
__void__swapBuffersImplementation,
|
||||
"Swap the front and back buffers implementation. ",
|
||||
"Pure virtual - must be implemented by Concrate implementations of GraphicsContext. ");
|
||||
I_StaticMethod1(void, setCreateGraphicsContextCallback, IN, osg::GraphicsContext::CreateGraphicContextCallback *, callback,
|
||||
__void__setCreateGraphicsContextCallback__CreateGraphicContextCallback_P1_S,
|
||||
"Set the create graphics context callback - this callback should be supplied by the windows toolkit. ",
|
||||
"");
|
||||
I_StaticMethod0(osg::GraphicsContext::CreateGraphicContextCallback *, getCreateGraphicsContextCallback,
|
||||
__CreateGraphicContextCallback_P1__getCreateGraphicsContextCallback_S,
|
||||
"Get the create graphics context callback. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits,
|
||||
__GraphicsContext_P1__createGraphicsContext__Traits_P1_S,
|
||||
"Create a graphics context for a specified set of traits. ",
|
||||
"");
|
||||
I_StaticMethod0(unsigned int, createNewContextID,
|
||||
__unsigned_int__createNewContextID_S,
|
||||
"Create a contextID for a new graphics context, this contextID is used to set up the osg::State associate with context. ",
|
||||
"Automatically increments the usage count of the contextID to 1. ");
|
||||
I_StaticMethod1(void, incrementContextIDUsageCount, IN, unsigned int, contextID,
|
||||
__void__incrementContextIDUsageCount__unsigned_int_S,
|
||||
"Increment the usage count associate with a contextID. ",
|
||||
"The usage count speficies how many graphics contexts a specific contextID is shared between. ");
|
||||
I_StaticMethod1(void, decrementContextIDUsageCount, IN, unsigned int, contextID,
|
||||
__void__decrementContextIDUsageCount__unsigned_int_S,
|
||||
"Decrement the usage count associate with a contextID. ",
|
||||
"Once the contextID goes to 0 the contextID is then free to be reused. ");
|
||||
I_SimpleProperty(osg::GraphicsThread *, GraphicsThread,
|
||||
__GraphicsThread_P1__getGraphicsThread,
|
||||
__void__setGraphicsThread__GraphicsThread_P1);
|
||||
I_SimpleProperty(osg::State *, State,
|
||||
__State_P1__getState,
|
||||
__void__setState__State_P1);
|
||||
I_SimpleProperty(const osg::GraphicsContext::Traits *, Traits,
|
||||
__C5_Traits_P1__getTraits,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::GraphicsContext::CreateGraphicContextCallback)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Method1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits);
|
||||
I_Constructor0(____CreateGraphicContextCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::GraphicsContext *, createGraphicsContext, IN, osg::GraphicsContext::Traits *, traits,
|
||||
__GraphicsContext_P1__createGraphicsContext__Traits_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::GraphicsContext::Traits)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Constructor0(____Traits,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(std::string, _hostName);
|
||||
I_PublicMemberProperty(unsigned int, _displayNum);
|
||||
I_PublicMemberProperty(unsigned int, _screenNum);
|
||||
|
||||
@@ -29,47 +29,121 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::BarrierOperation)
|
||||
I_BaseType(osg::GraphicsThread::Operation);
|
||||
I_ConstructorWithDefaults2(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION);
|
||||
I_Method0(void, release);
|
||||
I_ConstructorWithDefaults2(IN, int, numThreads, , IN, osg::BarrierOperation::PreBlockOp, op, osg::BarrierOperation::NO_OPERATION,
|
||||
____BarrierOperation__int__PreBlockOp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
__void__release,
|
||||
"if this operation is a barrier then release it. ",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::BarrierOperation::PreBlockOp, _preBlockOp);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Block)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Method0(void, block);
|
||||
I_Method0(void, release);
|
||||
I_Method0(void, reset);
|
||||
I_Method1(void, set, IN, bool, doRelease);
|
||||
I_WriteOnlyProperty(bool, );
|
||||
I_Constructor0(____Block,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, block,
|
||||
__void__block,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
__void__release,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, bool, doRelease,
|
||||
__void__set__bool,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_MethodWithDefaults2(void, add, IN, osg::GraphicsThread::Operation *, operation, , IN, bool, waitForCompletion, false);
|
||||
I_Method1(void, remove, IN, osg::GraphicsThread::Operation *, operation);
|
||||
I_Method1(void, remove, IN, const std::string &, name);
|
||||
I_Method0(void, removeAllOperations);
|
||||
I_Method0(osg::ref_ptr< osg::GraphicsThread::Operation >, getCurrentOperation);
|
||||
I_Method0(void, run);
|
||||
I_Method1(void, setDone, IN, bool, done);
|
||||
I_Method0(bool, getDone);
|
||||
I_Method0(int, cancel);
|
||||
I_ReadOnlyProperty(osg::ref_ptr< osg::GraphicsThread::Operation >, CurrentOperation);
|
||||
I_Property(bool, Done);
|
||||
I_Constructor0(____GraphicsThread,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, add, IN, osg::GraphicsThread::Operation *, operation, , IN, bool, waitForCompletion, false,
|
||||
__void__add__Operation_P1__bool,
|
||||
"Add operation to end of OperationQueue, this will be executed by the graphics thread once this operation gets to the head of the queue. ",
|
||||
"");
|
||||
I_Method1(void, remove, IN, osg::GraphicsThread::Operation *, operation,
|
||||
__void__remove__Operation_P1,
|
||||
"Remove operation from OperationQueue. ",
|
||||
"");
|
||||
I_Method1(void, remove, IN, const std::string &, name,
|
||||
__void__remove__C5_std_string_R1,
|
||||
"Remove named operation from OperationQueue. ",
|
||||
"");
|
||||
I_Method0(void, removeAllOperations,
|
||||
__void__removeAllOperations,
|
||||
"Remove all operations from OperationQueue. ",
|
||||
"");
|
||||
I_Method0(osg::ref_ptr< osg::GraphicsThread::Operation >, getCurrentOperation,
|
||||
__osg_ref_ptrT1_Operation___getCurrentOperation,
|
||||
"Get the operation currently being run. ",
|
||||
"");
|
||||
I_Method0(void, run,
|
||||
__void__run,
|
||||
"Run does the graphics thread run loop. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
__void__setDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDone,
|
||||
__bool__getDone,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, cancel,
|
||||
__int__cancel,
|
||||
"Cancel this graphics thread. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::ref_ptr< osg::GraphicsThread::Operation >, CurrentOperation,
|
||||
__osg_ref_ptrT1_Operation___getCurrentOperation,
|
||||
0);
|
||||
I_SimpleProperty(bool, Done,
|
||||
__bool__getDone,
|
||||
__void__setDone__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::GraphicsThread::Operation)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_Constructor2(IN, const std::string &, name, IN, bool, keep);
|
||||
I_Method1(void, setName, IN, const std::string &, name);
|
||||
I_Method0(const std::string &, getName);
|
||||
I_Method1(void, setKeep, IN, bool, keep);
|
||||
I_Method0(bool, getKeep);
|
||||
I_Method0(void, release);
|
||||
I_Property(bool, Keep);
|
||||
I_Property(const std::string &, Name);
|
||||
I_Constructor2(IN, const std::string &, name, IN, bool, keep,
|
||||
____Operation__C5_std_string_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setName, IN, const std::string &, name,
|
||||
__void__setName__C5_std_string_R1,
|
||||
"Set the human readable name of the operation. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
__C5_std_string_R1__getName,
|
||||
"Get the human readable name of the operation. ",
|
||||
"");
|
||||
I_Method1(void, setKeep, IN, bool, keep,
|
||||
__void__setKeep__bool,
|
||||
"Set whether the operation should be kept once its been applied. ",
|
||||
"");
|
||||
I_Method0(bool, getKeep,
|
||||
__bool__getKeep,
|
||||
"Get whether the operation should be kept once its been applied. ",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
__void__release,
|
||||
"if this operation is a barrier then release it. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, Keep,
|
||||
__bool__getKeep,
|
||||
__void__setKeep__bool);
|
||||
I_SimpleProperty(const std::string &, Name,
|
||||
__C5_std_string_R1__getName,
|
||||
__void__setName__C5_std_string_R1);
|
||||
I_PublicMemberProperty(std::string, _name);
|
||||
I_PublicMemberProperty(bool, _keep);
|
||||
END_REFLECTOR
|
||||
@@ -77,23 +151,52 @@ END_REFLECTOR
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ReleaseContext_Block_MakeCurrentOperation)
|
||||
I_BaseType(osg::GraphicsThread::Operation);
|
||||
I_BaseType(osg::Block);
|
||||
I_Constructor0();
|
||||
I_Method0(void, release);
|
||||
I_Constructor0(____ReleaseContext_Block_MakeCurrentOperation,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
__void__release,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::SwapBuffersOperation)
|
||||
I_BaseType(osg::GraphicsThread::Operation);
|
||||
I_Constructor0();
|
||||
I_Constructor0(____SwapBuffersOperation,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::GraphicsThread::Operation >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::GraphicsThread::Operation *, ptr);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::GraphicsThread::Operation > &, rp);
|
||||
I_Method0(osg::GraphicsThread::Operation *, get);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::GraphicsThread::Operation *, release);
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::GraphicsThread::Operation > &, rp);
|
||||
I_ReadOnlyProperty(osg::GraphicsThread::Operation *, );
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::GraphicsThread::Operation *, ptr,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::GraphicsThread::Operation > &, rp,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::GraphicsThread::Operation *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::GraphicsThread::Operation *, release,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::GraphicsThread::Operation > &, rp,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::GraphicsThread::Operation *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -28,45 +28,147 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Group)
|
||||
I_BaseType(osg::Node);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Group &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method0(osg::Group *, asGroup);
|
||||
I_Method0(const osg::Group *, asGroup);
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child);
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child);
|
||||
I_Method1(bool, removeChild, IN, osg::Node *, child);
|
||||
I_MethodWithDefaults2(bool, removeChild, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1);
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove);
|
||||
I_Method2(bool, replaceChild, IN, osg::Node *, origChild, IN, osg::Node *, newChild);
|
||||
I_Method0(unsigned int, getNumChildren);
|
||||
I_Method2(bool, setChild, IN, unsigned int, i, IN, osg::Node *, node);
|
||||
I_Method1(osg::Node *, getChild, IN, unsigned int, i);
|
||||
I_Method1(const osg::Node *, getChild, IN, unsigned int, i);
|
||||
I_Method1(bool, containsNode, IN, const osg::Node *, node);
|
||||
I_Method1(unsigned int, getChildIndex, IN, const osg::Node *, node);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_ArrayProperty_GSA(osg::Node *, Child, Children, unsigned int, bool);
|
||||
I_Constructor0(____Group,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Group &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Group__C5_Group_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osg::Group *, asGroup,
|
||||
__Group_P1__asGroup,
|
||||
"convert 'this' into a Group pointer if Node is a Group, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<Group*>(this). ");
|
||||
I_Method0(const osg::Group *, asGroup,
|
||||
__C5_Group_P1__asGroup,
|
||||
"convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<const Group*>(this). ");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
__bool__addChild__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,
|
||||
__bool__insertChild__unsigned_int__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,
|
||||
__bool__removeChild__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_MethodWithDefaults2(bool, removeChild, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
|
||||
__bool__removeChild__unsigned_int__unsigned_int,
|
||||
"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_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"Remove children from Group. ",
|
||||
"Note, must be override by subclasses of Group which add per child attributes. ");
|
||||
I_Method2(bool, replaceChild, IN, osg::Node *, origChild, IN, osg::Node *, newChild,
|
||||
__bool__replaceChild__Node_P1__Node_P1,
|
||||
"Replace specified Node with another Node. ",
|
||||
"Equivalent to setChild(getChildIndex(orignChild),node) See docs for setChild for futher details on implementation.");
|
||||
I_Method0(unsigned int, getNumChildren,
|
||||
__unsigned_int__getNumChildren,
|
||||
"Return the number of chilren nodes. ",
|
||||
"");
|
||||
I_Method2(bool, setChild, IN, unsigned int, i, IN, osg::Node *, node,
|
||||
__bool__setChild__unsigned_int__Node_P1,
|
||||
"Set child node at position i. ",
|
||||
"Return true if set correctly, false on failure (if node==NULL || i is out of range). When Set can be successful applied, the algorithm is : decrement the reference count origNode and increment the reference count of newNode, and dirty the bounding sphere to force it to recompute on next getBound() and return true. If origNode is not found then return false and do not add newNode. If newNode is NULL then return false and do not remove origNode. Also returns false if newChild is a Scene node.");
|
||||
I_Method1(osg::Node *, getChild, IN, unsigned int, i,
|
||||
__Node_P1__getChild__unsigned_int,
|
||||
"Return child node at position i. ",
|
||||
"");
|
||||
I_Method1(const osg::Node *, getChild, IN, unsigned int, i,
|
||||
__C5_Node_P1__getChild__unsigned_int,
|
||||
"Return child node at position i. ",
|
||||
"");
|
||||
I_Method1(bool, containsNode, IN, const osg::Node *, node,
|
||||
__bool__containsNode__C5_Node_P1,
|
||||
"Return true if node is contained within Group. ",
|
||||
"");
|
||||
I_Method1(unsigned int, getChildIndex, IN, const osg::Node *, node,
|
||||
__unsigned_int__getChildIndex__C5_Node_P1,
|
||||
"Get the index number of child, return a value between 0 and _children.size()-1 if found, if not found then return _children.size(). ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
__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_Method0(osg::BoundingSphere, computeBound,
|
||||
__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(osg::Node *, Child,
|
||||
__Node_P1__getChild__unsigned_int,
|
||||
__bool__setChild__unsigned_int__Node_P1,
|
||||
__unsigned_int__getNumChildren,
|
||||
__bool__addChild__Node_P1,
|
||||
__bool__insertChild__unsigned_int__Node_P1,
|
||||
__bool__removeChild__unsigned_int__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Node > >, osg::NodeList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Node >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::Node *, ptr);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Node > &, rp);
|
||||
I_Method0(osg::Node *, get);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::Node *, release);
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Node > &, rp);
|
||||
I_ReadOnlyProperty(osg::Node *, );
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Node *, ptr,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Node > &, rp,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, release,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Node > &, rp,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Node *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Node > >);
|
||||
|
||||
@@ -33,82 +33,299 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Image)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Image &, image, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(int, compare, IN, const osg::Image &, rhs);
|
||||
I_Method1(void, setFileName, IN, const std::string &, fileName);
|
||||
I_Method0(const std::string &, getFileName);
|
||||
I_Method1(void, setAllocationMode, IN, osg::Image::AllocationMode, mode);
|
||||
I_Method0(osg::Image::AllocationMode, getAllocationMode);
|
||||
I_MethodWithDefaults6(void, allocateImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, int, packing, 1);
|
||||
I_MethodWithDefaults9(void, setImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLint, internalTextureformat, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, unsigned char *, data, , IN, osg::Image::AllocationMode, mode, , IN, int, packing, 1);
|
||||
I_Method6(void, readPixels, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, GLenum, pixelFormat, IN, GLenum, type);
|
||||
I_MethodWithDefaults3(void, readImageFromCurrentTexture, IN, unsigned int, contextID, , IN, bool, copyMipMapsIfAvailable, , IN, GLenum, type, GL_UNSIGNED_BYTE);
|
||||
I_Method3(void, scaleImage, IN, int, s, IN, int, t, IN, int, r);
|
||||
I_Method4(void, scaleImage, IN, int, s, IN, int, t, IN, int, r, IN, GLenum, newDataType);
|
||||
I_Method4(void, copySubImage, IN, int, s_offset, IN, int, t_offset, IN, int, r_offset, IN, osg::Image *, source);
|
||||
I_Method0(int, s);
|
||||
I_Method0(int, t);
|
||||
I_Method0(int, r);
|
||||
I_Method1(void, setInternalTextureFormat, IN, GLint, internalFormat);
|
||||
I_Method0(GLint, getInternalTextureFormat);
|
||||
I_Method1(void, setPixelFormat, IN, GLenum, pixelFormat);
|
||||
I_Method0(GLenum, getPixelFormat);
|
||||
I_Method1(void, setDataType, IN, GLenum, dataType);
|
||||
I_Method0(GLenum, getDataType);
|
||||
I_Method1(void, setPacking, IN, unsigned int, packing);
|
||||
I_Method0(unsigned int, getPacking);
|
||||
I_Method0(unsigned int, getPixelSizeInBits);
|
||||
I_Method0(unsigned int, getRowSizeInBytes);
|
||||
I_Method0(unsigned int, getImageSizeInBytes);
|
||||
I_Method0(unsigned int, getTotalSizeInBytes);
|
||||
I_Method0(unsigned int, getTotalSizeInBytesIncludingMipmaps);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(unsigned char *, data);
|
||||
I_Method0(const unsigned char *, data);
|
||||
I_MethodWithDefaults3(unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0);
|
||||
I_MethodWithDefaults3(const unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0);
|
||||
I_Method0(void, flipHorizontal);
|
||||
I_Method0(void, flipVertical);
|
||||
I_Method1(void, ensureValidSizeForTexturing, IN, GLint, maxTextureSize);
|
||||
I_Method0(void, dirty);
|
||||
I_Method1(void, setModifiedCount, IN, unsigned int, value);
|
||||
I_Method0(unsigned int, getModifiedCount);
|
||||
I_Method0(bool, isMipmap);
|
||||
I_Method0(unsigned int, getNumMipmapLevels);
|
||||
I_Method1(void, setMipmapLevels, IN, const osg::Image::MipmapDataType &, mipmapDataVector);
|
||||
I_Method0(const osg::Image::MipmapDataType &, getMipmapLevels);
|
||||
I_Method1(unsigned int, getMipmapOffset, IN, unsigned int, mipmapLevel);
|
||||
I_Method1(unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel);
|
||||
I_Method1(const unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel);
|
||||
I_Method0(bool, isImageTranslucent);
|
||||
I_Method1(void, setPixelBufferObject, IN, osg::PixelBufferObject *, buffer);
|
||||
I_Method0(osg::PixelBufferObject *, getPixelBufferObject);
|
||||
I_Method0(const osg::PixelBufferObject *, getPixelBufferObject);
|
||||
I_StaticMethod1(bool, isPackedType, IN, GLenum, type);
|
||||
I_StaticMethod1(unsigned int, computeNumComponents, IN, GLenum, pixelFormat);
|
||||
I_StaticMethod2(unsigned int, computePixelSizeInBits, IN, GLenum, pixelFormat, IN, GLenum, type);
|
||||
I_StaticMethod4(unsigned int, computeRowWidthInBytes, IN, int, width, IN, GLenum, pixelFormat, IN, GLenum, type, IN, int, packing);
|
||||
I_StaticMethodWithDefaults2(int, computeNearestPowerOfTwo, IN, int, s, , IN, float, bias, 0.5f);
|
||||
I_Property(osg::Image::AllocationMode, AllocationMode);
|
||||
I_Property(GLenum, DataType);
|
||||
I_Property(const std::string &, FileName);
|
||||
I_ReadOnlyProperty(unsigned int, ImageSizeInBytes);
|
||||
I_Property(GLint, InternalTextureFormat);
|
||||
I_Property(const osg::Image::MipmapDataType &, MipmapLevels);
|
||||
I_Property(unsigned int, ModifiedCount);
|
||||
I_Property(unsigned int, Packing);
|
||||
I_Property(osg::PixelBufferObject *, PixelBufferObject);
|
||||
I_Property(GLenum, PixelFormat);
|
||||
I_ReadOnlyProperty(unsigned int, PixelSizeInBits);
|
||||
I_ReadOnlyProperty(unsigned int, RowSizeInBytes);
|
||||
I_ReadOnlyProperty(unsigned int, TotalSizeInBytes);
|
||||
I_ReadOnlyProperty(unsigned int, TotalSizeInBytesIncludingMipmaps);
|
||||
I_Constructor0(____Image,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Image &, image, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Image__C5_Image_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(int, compare, IN, const osg::Image &, rhs,
|
||||
__int__compare__C5_Image_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setFileName, IN, const std::string &, fileName,
|
||||
__void__setFileName__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const std::string &, getFileName,
|
||||
__C5_std_string_R1__getFileName,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAllocationMode, IN, osg::Image::AllocationMode, mode,
|
||||
__void__setAllocationMode__AllocationMode,
|
||||
"Set the method used for deleting data once it goes out of scope. ",
|
||||
"");
|
||||
I_Method0(osg::Image::AllocationMode, getAllocationMode,
|
||||
__AllocationMode__getAllocationMode,
|
||||
"Get the method used for deleting data once it goes out of scope. ",
|
||||
"");
|
||||
I_MethodWithDefaults6(void, allocateImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, int, packing, 1,
|
||||
__void__allocateImage__int__int__int__GLenum__GLenum__int,
|
||||
"Allocate a pixel block of specified size and type. ",
|
||||
"");
|
||||
I_MethodWithDefaults9(void, setImage, IN, int, s, , IN, int, t, , IN, int, r, , IN, GLint, internalTextureformat, , IN, GLenum, pixelFormat, , IN, GLenum, type, , IN, unsigned char *, data, , IN, osg::Image::AllocationMode, mode, , IN, int, packing, 1,
|
||||
__void__setImage__int__int__int__GLint__GLenum__GLenum__unsigned_char_P1__AllocationMode__int,
|
||||
"Set the image dimensions, format and data. ",
|
||||
"");
|
||||
I_Method6(void, readPixels, IN, int, x, IN, int, y, IN, int, width, IN, int, height, IN, GLenum, pixelFormat, IN, GLenum, type,
|
||||
__void__readPixels__int__int__int__int__GLenum__GLenum,
|
||||
"Read pixels from current frame buffer at specified position and size, using glReadPixels. ",
|
||||
"Create memory for storage if required, reuse existing pixel coords if possible.");
|
||||
I_MethodWithDefaults3(void, readImageFromCurrentTexture, IN, unsigned int, contextID, , IN, bool, copyMipMapsIfAvailable, , IN, GLenum, type, GL_UNSIGNED_BYTE,
|
||||
__void__readImageFromCurrentTexture__unsigned_int__bool__GLenum,
|
||||
"Read the contents of the current bound texture, handling compressed pixelFormats if present. ",
|
||||
"Create memory for storage if required, reuse existing pixel coords if possible.");
|
||||
I_Method3(void, scaleImage, IN, int, s, IN, int, t, IN, int, r,
|
||||
__void__scaleImage__int__int__int,
|
||||
"Scale image to specified size. ",
|
||||
"");
|
||||
I_Method4(void, scaleImage, IN, int, s, IN, int, t, IN, int, r, IN, GLenum, newDataType,
|
||||
__void__scaleImage__int__int__int__GLenum,
|
||||
"Scale image to specified size and with specified data type. ",
|
||||
"");
|
||||
I_Method4(void, copySubImage, IN, int, s_offset, IN, int, t_offset, IN, int, r_offset, IN, osg::Image *, source,
|
||||
__void__copySubImage__int__int__int__osg_Image_P1,
|
||||
"Copy a source Image into a subpart of this Image at specified position. ",
|
||||
"Typically used to copy to an already allocated image, such as creating a 3D image from a stack 2D images. If this Image is empty then image data is created to accomodate the source image in its offset position. If source is NULL then no operation happens, this Image is left unchanged.");
|
||||
I_Method0(int, s,
|
||||
__int__s,
|
||||
"Width of image. ",
|
||||
"");
|
||||
I_Method0(int, t,
|
||||
__int__t,
|
||||
"Height of image. ",
|
||||
"");
|
||||
I_Method0(int, r,
|
||||
__int__r,
|
||||
"Depth of image. ",
|
||||
"");
|
||||
I_Method1(void, setInternalTextureFormat, IN, GLint, internalFormat,
|
||||
__void__setInternalTextureFormat__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getInternalTextureFormat,
|
||||
__GLint__getInternalTextureFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPixelFormat, IN, GLenum, pixelFormat,
|
||||
__void__setPixelFormat__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getPixelFormat,
|
||||
__GLenum__getPixelFormat,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDataType, IN, GLenum, dataType,
|
||||
__void__setDataType__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getDataType,
|
||||
__GLenum__getDataType,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPacking, IN, unsigned int, packing,
|
||||
__void__setPacking__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getPacking,
|
||||
__unsigned_int__getPacking,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getPixelSizeInBits,
|
||||
__unsigned_int__getPixelSizeInBits,
|
||||
"Return the number of bits required for each pixel. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getRowSizeInBytes,
|
||||
__unsigned_int__getRowSizeInBytes,
|
||||
"Return the number of bytes each row of pixels occupies once it has been packed. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getImageSizeInBytes,
|
||||
__unsigned_int__getImageSizeInBytes,
|
||||
"Return the number of bytes each image (_s*_t) of pixels occupies. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getTotalSizeInBytes,
|
||||
__unsigned_int__getTotalSizeInBytes,
|
||||
"Return the number of bytes the whole row/image/volume of pixels occupies. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getTotalSizeInBytesIncludingMipmaps,
|
||||
__unsigned_int__getTotalSizeInBytesIncludingMipmaps,
|
||||
"Return the number of bytes the whole row/image/volume of pixels occupies, including all mip maps if included. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"Return true if the Image represent a valid and usable imagery. ",
|
||||
"");
|
||||
I_Method0(unsigned char *, data,
|
||||
__unsigned_char_P1__data,
|
||||
"Raw image data. ",
|
||||
"");
|
||||
I_Method0(const unsigned char *, data,
|
||||
__C5_unsigned_char_P1__data,
|
||||
"Raw const image data. ",
|
||||
"");
|
||||
I_MethodWithDefaults3(unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0,
|
||||
__unsigned_char_P1__data__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(const unsigned char *, data, IN, int, column, , IN, int, row, 0, IN, int, image, 0,
|
||||
__C5_unsigned_char_P1__data__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flipHorizontal,
|
||||
__void__flipHorizontal,
|
||||
"Flip the image horizontally. ",
|
||||
"");
|
||||
I_Method0(void, flipVertical,
|
||||
__void__flipVertical,
|
||||
"Flip the image vertically. ",
|
||||
"");
|
||||
I_Method1(void, ensureValidSizeForTexturing, IN, GLint, maxTextureSize,
|
||||
__void__ensureValidSizeForTexturing__GLint,
|
||||
"Ensure image dimensions are a power of two. ",
|
||||
"Mipmapped textures require the image dimensions to be power of two and are within the maxiumum texture size for the host machine.");
|
||||
I_Method0(void, dirty,
|
||||
__void__dirty,
|
||||
"Dirty the image, which increments the modified count, to force osg::Texture to reload the image. ",
|
||||
"");
|
||||
I_Method1(void, setModifiedCount, IN, unsigned int, value,
|
||||
__void__setModifiedCount__unsigned_int,
|
||||
"Set the modified count value. ",
|
||||
"Used by osg::Texture when using texture subloading. ");
|
||||
I_Method0(unsigned int, getModifiedCount,
|
||||
__unsigned_int__getModifiedCount,
|
||||
"Get modified count value. ",
|
||||
"Used by osg::Texture when using texture subloading. ");
|
||||
I_Method0(bool, isMipmap,
|
||||
__bool__isMipmap,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumMipmapLevels,
|
||||
__unsigned_int__getNumMipmapLevels,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMipmapLevels, IN, const osg::Image::MipmapDataType &, mipmapDataVector,
|
||||
__void__setMipmapLevels__C5_MipmapDataType_R1,
|
||||
"Send offsets into data. ",
|
||||
"It is assumed that first mipmap offset (index 0) is 0. ");
|
||||
I_Method0(const osg::Image::MipmapDataType &, getMipmapLevels,
|
||||
__C5_MipmapDataType_R1__getMipmapLevels,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, getMipmapOffset, IN, unsigned int, mipmapLevel,
|
||||
__unsigned_int__getMipmapOffset__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel,
|
||||
__unsigned_char_P1__getMipmapData__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const unsigned char *, getMipmapData, IN, unsigned int, mipmapLevel,
|
||||
__C5_unsigned_char_P1__getMipmapData__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isImageTranslucent,
|
||||
__bool__isImageTranslucent,
|
||||
"Return true if this image is translucent - i.e. ",
|
||||
"it has alpha values that are less 1.0 (when normalized). ");
|
||||
I_Method1(void, setPixelBufferObject, IN, osg::PixelBufferObject *, buffer,
|
||||
__void__setPixelBufferObject__PixelBufferObject_P1,
|
||||
"Set the optional PixelBufferObject used to map the image memory efficiently to graphics memory. ",
|
||||
"");
|
||||
I_Method0(osg::PixelBufferObject *, getPixelBufferObject,
|
||||
__PixelBufferObject_P1__getPixelBufferObject,
|
||||
"Get the PixelBufferObject. ",
|
||||
"");
|
||||
I_Method0(const osg::PixelBufferObject *, getPixelBufferObject,
|
||||
__C5_PixelBufferObject_P1__getPixelBufferObject,
|
||||
"Get the const PixelBufferObject. ",
|
||||
"");
|
||||
I_StaticMethod1(bool, isPackedType, IN, GLenum, type,
|
||||
__bool__isPackedType__GLenum_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(GLenum, computePixelFormat, IN, GLenum, pixelFormat,
|
||||
__GLenum__computePixelFormat__GLenum_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(unsigned int, computeNumComponents, IN, GLenum, pixelFormat,
|
||||
__unsigned_int__computeNumComponents__GLenum_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(unsigned int, computePixelSizeInBits, IN, GLenum, pixelFormat, IN, GLenum, type,
|
||||
__unsigned_int__computePixelSizeInBits__GLenum__GLenum_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod4(unsigned int, computeRowWidthInBytes, IN, int, width, IN, GLenum, pixelFormat, IN, GLenum, type, IN, int, packing,
|
||||
__unsigned_int__computeRowWidthInBytes__int__GLenum__GLenum__int_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethodWithDefaults2(int, computeNearestPowerOfTwo, IN, int, s, , IN, float, bias, 0.5f,
|
||||
__int__computeNearestPowerOfTwo__int__float_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Image::AllocationMode, AllocationMode,
|
||||
__AllocationMode__getAllocationMode,
|
||||
__void__setAllocationMode__AllocationMode);
|
||||
I_SimpleProperty(GLenum, DataType,
|
||||
__GLenum__getDataType,
|
||||
__void__setDataType__GLenum);
|
||||
I_SimpleProperty(const std::string &, FileName,
|
||||
__C5_std_string_R1__getFileName,
|
||||
__void__setFileName__C5_std_string_R1);
|
||||
I_SimpleProperty(unsigned int, ImageSizeInBytes,
|
||||
__unsigned_int__getImageSizeInBytes,
|
||||
0);
|
||||
I_SimpleProperty(GLint, InternalTextureFormat,
|
||||
__GLint__getInternalTextureFormat,
|
||||
__void__setInternalTextureFormat__GLint);
|
||||
I_SimpleProperty(const osg::Image::MipmapDataType &, MipmapLevels,
|
||||
__C5_MipmapDataType_R1__getMipmapLevels,
|
||||
__void__setMipmapLevels__C5_MipmapDataType_R1);
|
||||
I_SimpleProperty(unsigned int, ModifiedCount,
|
||||
__unsigned_int__getModifiedCount,
|
||||
__void__setModifiedCount__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, Packing,
|
||||
__unsigned_int__getPacking,
|
||||
__void__setPacking__unsigned_int);
|
||||
I_SimpleProperty(osg::PixelBufferObject *, PixelBufferObject,
|
||||
__PixelBufferObject_P1__getPixelBufferObject,
|
||||
__void__setPixelBufferObject__PixelBufferObject_P1);
|
||||
I_SimpleProperty(GLenum, PixelFormat,
|
||||
__GLenum__getPixelFormat,
|
||||
__void__setPixelFormat__GLenum);
|
||||
I_SimpleProperty(unsigned int, PixelSizeInBits,
|
||||
__unsigned_int__getPixelSizeInBits,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, RowSizeInBytes,
|
||||
__unsigned_int__getRowSizeInBytes,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, TotalSizeInBytes,
|
||||
__unsigned_int__getTotalSizeInBytes,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, TotalSizeInBytesIncludingMipmaps,
|
||||
__unsigned_int__getTotalSizeInBytesIncludingMipmaps,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< unsigned int >);
|
||||
|
||||
@@ -37,29 +37,96 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ImageStream)
|
||||
I_BaseType(osg::Image);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::ImageStream &, image, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(int, compare, IN, const osg::Image &, rhs);
|
||||
I_Method0(void, play);
|
||||
I_Method0(void, pause);
|
||||
I_Method0(void, rewind);
|
||||
I_MethodWithDefaults1(void, quit, IN, bool, x, true);
|
||||
I_Method0(osg::ImageStream::StreamStatus, getStatus);
|
||||
I_Method1(void, setLoopingMode, IN, osg::ImageStream::LoopingMode, mode);
|
||||
I_Method0(osg::ImageStream::LoopingMode, getLoopingMode);
|
||||
I_Method1(void, setReferenceTime, IN, double, x);
|
||||
I_Method0(double, getReferenceTime);
|
||||
I_Method1(void, setTimeMultiplier, IN, double, x);
|
||||
I_Method0(double, getTimeMultiplier);
|
||||
I_Method0(void, update);
|
||||
I_Property(osg::ImageStream::LoopingMode, LoopingMode);
|
||||
I_Property(double, ReferenceTime);
|
||||
I_ReadOnlyProperty(osg::ImageStream::StreamStatus, Status);
|
||||
I_Property(double, TimeMultiplier);
|
||||
I_Constructor0(____ImageStream,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ImageStream &, image, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ImageStream__C5_ImageStream_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(int, compare, IN, const osg::Image &, rhs,
|
||||
__int__compare__C5_Image_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(void, play,
|
||||
__void__play,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pause,
|
||||
__void__pause,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, rewind,
|
||||
__void__rewind,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, quit, IN, bool, x, true,
|
||||
__void__quit__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ImageStream::StreamStatus, getStatus,
|
||||
__StreamStatus__getStatus,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLoopingMode, IN, osg::ImageStream::LoopingMode, mode,
|
||||
__void__setLoopingMode__LoopingMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ImageStream::LoopingMode, getLoopingMode,
|
||||
__LoopingMode__getLoopingMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceTime, IN, double, x,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getReferenceTime,
|
||||
__double__getReferenceTime,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTimeMultiplier, IN, double, x,
|
||||
__void__setTimeMultiplier__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getTimeMultiplier,
|
||||
__double__getTimeMultiplier,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, update,
|
||||
__void__update,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::ImageStream::LoopingMode, LoopingMode,
|
||||
__LoopingMode__getLoopingMode,
|
||||
__void__setLoopingMode__LoopingMode);
|
||||
I_SimpleProperty(double, ReferenceTime,
|
||||
__double__getReferenceTime,
|
||||
__void__setReferenceTime__double);
|
||||
I_SimpleProperty(osg::ImageStream::StreamStatus, Status,
|
||||
__StreamStatus__getStatus,
|
||||
0);
|
||||
I_SimpleProperty(double, TimeMultiplier,
|
||||
__double__getTimeMultiplier,
|
||||
__void__setTimeMultiplier__double);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -42,38 +42,128 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::LOD)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::LOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child);
|
||||
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max);
|
||||
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1);
|
||||
I_Method1(void, setCenterMode, IN, osg::LOD::CenterMode, mode);
|
||||
I_Method0(osg::LOD::CenterMode, getCenterMode);
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, center);
|
||||
I_Method0(const osg::Vec3 &, getCenter);
|
||||
I_Method1(void, setRadius, IN, float, radius);
|
||||
I_Method0(float, getRadius);
|
||||
I_Method1(void, setRangeMode, IN, osg::LOD::RangeMode, mode);
|
||||
I_Method0(osg::LOD::RangeMode, getRangeMode);
|
||||
I_Method3(void, setRange, IN, unsigned int, childNo, IN, float, min, IN, float, max);
|
||||
I_Method1(float, getMinRange, IN, unsigned int, childNo);
|
||||
I_Method1(float, getMaxRange, IN, unsigned int, childNo);
|
||||
I_Method0(unsigned int, getNumRanges);
|
||||
I_Method1(void, setRangeList, IN, const osg::LOD::RangeList &, rangeList);
|
||||
I_Method0(const osg::LOD::RangeList &, getRangeList);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_Property(const osg::Vec3 &, Center);
|
||||
I_Property(osg::LOD::CenterMode, CenterMode);
|
||||
I_Property(float, Radius);
|
||||
I_Property(const osg::LOD::RangeList &, RangeList);
|
||||
I_Property(osg::LOD::RangeMode, RangeMode);
|
||||
I_Constructor0(____LOD,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::LOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LOD__C5_LOD_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__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,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
__bool__addChild__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_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
|
||||
__bool__addChild__Node_P1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"Remove children from Group. ",
|
||||
"Note, must be override by subclasses of Group which add per child attributes. ");
|
||||
I_Method1(void, setCenterMode, IN, osg::LOD::CenterMode, mode,
|
||||
__void__setCenterMode__CenterMode,
|
||||
"Set how the center of object should be determined when computing which child is active. ",
|
||||
"");
|
||||
I_Method0(osg::LOD::CenterMode, getCenterMode,
|
||||
__CenterMode__getCenterMode,
|
||||
"Get how the center of object should be determined when computing which child is active. ",
|
||||
"");
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, center,
|
||||
__void__setCenter__C5_Vec3_R1,
|
||||
"Sets the object-space point which defines the center of the osg::LOD. ",
|
||||
"center is affected by any transforms in the hierarchy above the osg::LOD. ");
|
||||
I_Method0(const osg::Vec3 &, getCenter,
|
||||
__C5_Vec3_R1__getCenter,
|
||||
"return the LOD center point. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, radius,
|
||||
__void__setRadius__float,
|
||||
"Set the object-space reference radius of the volume enclosed by the LOD. ",
|
||||
"Used to detmine the bounding sphere of the LOD in the absense of any children. ");
|
||||
I_Method0(float, getRadius,
|
||||
__float__getRadius,
|
||||
"Get the object-space radius of the volume enclosed by the LOD. ",
|
||||
"");
|
||||
I_Method1(void, setRangeMode, IN, osg::LOD::RangeMode, mode,
|
||||
__void__setRangeMode__RangeMode,
|
||||
"Set how the range values should be intepreted when computing which child is active. ",
|
||||
"");
|
||||
I_Method0(osg::LOD::RangeMode, getRangeMode,
|
||||
__RangeMode__getRangeMode,
|
||||
"Get how the range values should be intepreted when computing which child is active. ",
|
||||
"");
|
||||
I_Method3(void, setRange, IN, unsigned int, childNo, IN, float, min, IN, float, max,
|
||||
__void__setRange__unsigned_int__float__float,
|
||||
"Sets the min and max visible ranges of range of specifiec child. ",
|
||||
"Values are floating point distance specified in local objects coordinates. ");
|
||||
I_Method1(float, getMinRange, IN, unsigned int, childNo,
|
||||
__float__getMinRange__unsigned_int,
|
||||
"returns the min visible range for specified child. ",
|
||||
"");
|
||||
I_Method1(float, getMaxRange, IN, unsigned int, childNo,
|
||||
__float__getMaxRange__unsigned_int,
|
||||
"returns the max visible range for specified child. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumRanges,
|
||||
__unsigned_int__getNumRanges,
|
||||
"returns the number of ranges currently set. ",
|
||||
"An LOD which has been fully set up will have getNumChildren()==getNumRanges(). ");
|
||||
I_Method1(void, setRangeList, IN, const osg::LOD::RangeList &, rangeList,
|
||||
__void__setRangeList__C5_RangeList_R1,
|
||||
"set the list of MinMax ranges for each child. ",
|
||||
"");
|
||||
I_Method0(const osg::LOD::RangeList &, getRangeList,
|
||||
__C5_RangeList_R1__getRangeList,
|
||||
"return the list of MinMax ranges for each child. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__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(const osg::Vec3 &, Center,
|
||||
__C5_Vec3_R1__getCenter,
|
||||
__void__setCenter__C5_Vec3_R1);
|
||||
I_SimpleProperty(osg::LOD::CenterMode, CenterMode,
|
||||
__CenterMode__getCenterMode,
|
||||
__void__setCenterMode__CenterMode);
|
||||
I_SimpleProperty(float, Radius,
|
||||
__float__getRadius,
|
||||
__void__setRadius__float);
|
||||
I_SimpleProperty(const osg::LOD::RangeList &, RangeList,
|
||||
__C5_RangeList_R1__getRangeList,
|
||||
__void__setRangeList__C5_RangeList_R1);
|
||||
I_SimpleProperty(osg::LOD::RangeMode, RangeMode,
|
||||
__RangeMode__getRangeMode,
|
||||
__void__setRangeMode__RangeMode);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_PAIR_REFLECTOR(std::pair< float COMMA float >);
|
||||
|
||||
@@ -28,53 +28,183 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Light)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Light &, light, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method0(unsigned int, getMember);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setLightNum, IN, int, num);
|
||||
I_Method0(int, getLightNum);
|
||||
I_Method1(void, setAmbient, IN, const osg::Vec4 &, ambient);
|
||||
I_Method0(const osg::Vec4 &, getAmbient);
|
||||
I_Method1(void, setDiffuse, IN, const osg::Vec4 &, diffuse);
|
||||
I_Method0(const osg::Vec4 &, getDiffuse);
|
||||
I_Method1(void, setSpecular, IN, const osg::Vec4 &, specular);
|
||||
I_Method0(const osg::Vec4 &, getSpecular);
|
||||
I_Method1(void, setPosition, IN, const osg::Vec4 &, position);
|
||||
I_Method0(const osg::Vec4 &, getPosition);
|
||||
I_Method1(void, setDirection, IN, const osg::Vec3 &, direction);
|
||||
I_Method0(const osg::Vec3 &, getDirection);
|
||||
I_Method1(void, setConstantAttenuation, IN, float, constant_attenuation);
|
||||
I_Method0(float, getConstantAttenuation);
|
||||
I_Method1(void, setLinearAttenuation, IN, float, linear_attenuation);
|
||||
I_Method0(float, getLinearAttenuation);
|
||||
I_Method1(void, setQuadraticAttenuation, IN, float, quadratic_attenuation);
|
||||
I_Method0(float, getQuadraticAttenuation);
|
||||
I_Method1(void, setSpotExponent, IN, float, spot_exponent);
|
||||
I_Method0(float, getSpotExponent);
|
||||
I_Method1(void, setSpotCutoff, IN, float, spot_cutoff);
|
||||
I_Method0(float, getSpotCutoff);
|
||||
I_Method0(void, captureLightState);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(const osg::Vec4 &, Ambient);
|
||||
I_Property(float, ConstantAttenuation);
|
||||
I_Property(const osg::Vec4 &, Diffuse);
|
||||
I_Property(const osg::Vec3 &, Direction);
|
||||
I_Property(int, LightNum);
|
||||
I_Property(float, LinearAttenuation);
|
||||
I_ReadOnlyProperty(unsigned int, Member);
|
||||
I_Property(const osg::Vec4 &, Position);
|
||||
I_Property(float, QuadraticAttenuation);
|
||||
I_Property(const osg::Vec4 &, Specular);
|
||||
I_Property(float, SpotCutoff);
|
||||
I_Property(float, SpotExponent);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____Light,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Light &, light, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Light__C5_Light_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getMember,
|
||||
__unsigned_int__getMember,
|
||||
"Return the member identifier within the attribute's class type. ",
|
||||
"Used for light number/clip plane number etc. ");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLightNum, IN, int, num,
|
||||
__void__setLightNum__int,
|
||||
"Set which OpenGL light to operate on. ",
|
||||
"");
|
||||
I_Method0(int, getLightNum,
|
||||
__int__getLightNum,
|
||||
"Get which OpenGL light this osg::Light operates on. ",
|
||||
"");
|
||||
I_Method1(void, setAmbient, IN, const osg::Vec4 &, ambient,
|
||||
__void__setAmbient__C5_Vec4_R1,
|
||||
"Set the ambient component of the light. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getAmbient,
|
||||
__C5_Vec4_R1__getAmbient,
|
||||
"Get the ambient component of the light. ",
|
||||
"");
|
||||
I_Method1(void, setDiffuse, IN, const osg::Vec4 &, diffuse,
|
||||
__void__setDiffuse__C5_Vec4_R1,
|
||||
"Set the diffuse component of the light. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getDiffuse,
|
||||
__C5_Vec4_R1__getDiffuse,
|
||||
"Get the diffuse component of the light. ",
|
||||
"");
|
||||
I_Method1(void, setSpecular, IN, const osg::Vec4 &, specular,
|
||||
__void__setSpecular__C5_Vec4_R1,
|
||||
"Set the specular component of the light. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getSpecular,
|
||||
__C5_Vec4_R1__getSpecular,
|
||||
"Get the specular component of the light. ",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec4 &, position,
|
||||
__void__setPosition__C5_Vec4_R1,
|
||||
"Set the position of the light. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getPosition,
|
||||
__C5_Vec4_R1__getPosition,
|
||||
"Get the position of the light. ",
|
||||
"");
|
||||
I_Method1(void, setDirection, IN, const osg::Vec3 &, direction,
|
||||
__void__setDirection__C5_Vec3_R1,
|
||||
"Set the direction of the light. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getDirection,
|
||||
__C5_Vec3_R1__getDirection,
|
||||
"Get the direction of the light. ",
|
||||
"");
|
||||
I_Method1(void, setConstantAttenuation, IN, float, constant_attenuation,
|
||||
__void__setConstantAttenuation__float,
|
||||
"Set the constant attenuation of the light. ",
|
||||
"");
|
||||
I_Method0(float, getConstantAttenuation,
|
||||
__float__getConstantAttenuation,
|
||||
"Get the constant attenuation of the light. ",
|
||||
"");
|
||||
I_Method1(void, setLinearAttenuation, IN, float, linear_attenuation,
|
||||
__void__setLinearAttenuation__float,
|
||||
"Set the linear attenuation of the light. ",
|
||||
"");
|
||||
I_Method0(float, getLinearAttenuation,
|
||||
__float__getLinearAttenuation,
|
||||
"Get the linear attenuation of the light. ",
|
||||
"");
|
||||
I_Method1(void, setQuadraticAttenuation, IN, float, quadratic_attenuation,
|
||||
__void__setQuadraticAttenuation__float,
|
||||
"Set the quadratic attenuation of the light. ",
|
||||
"");
|
||||
I_Method0(float, getQuadraticAttenuation,
|
||||
__float__getQuadraticAttenuation,
|
||||
"Get the quadratic attenuation of the light. ",
|
||||
"");
|
||||
I_Method1(void, setSpotExponent, IN, float, spot_exponent,
|
||||
__void__setSpotExponent__float,
|
||||
"Set the spot exponent of the light. ",
|
||||
"");
|
||||
I_Method0(float, getSpotExponent,
|
||||
__float__getSpotExponent,
|
||||
"Get the spot exponent of the light. ",
|
||||
"");
|
||||
I_Method1(void, setSpotCutoff, IN, float, spot_cutoff,
|
||||
__void__setSpotCutoff__float,
|
||||
"Set the spot cutoff of the light. ",
|
||||
"");
|
||||
I_Method0(float, getSpotCutoff,
|
||||
__float__getSpotCutoff,
|
||||
"Get the spot cutoff of the light. ",
|
||||
"");
|
||||
I_Method0(void, captureLightState,
|
||||
__void__captureLightState,
|
||||
"Capture the lighting settings of the current OpenGL state and store them in this object. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"Apply the light's state to the OpenGL state machine. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Ambient,
|
||||
__C5_Vec4_R1__getAmbient,
|
||||
__void__setAmbient__C5_Vec4_R1);
|
||||
I_SimpleProperty(float, ConstantAttenuation,
|
||||
__float__getConstantAttenuation,
|
||||
__void__setConstantAttenuation__float);
|
||||
I_SimpleProperty(const osg::Vec4 &, Diffuse,
|
||||
__C5_Vec4_R1__getDiffuse,
|
||||
__void__setDiffuse__C5_Vec4_R1);
|
||||
I_SimpleProperty(const osg::Vec3 &, Direction,
|
||||
__C5_Vec3_R1__getDirection,
|
||||
__void__setDirection__C5_Vec3_R1);
|
||||
I_SimpleProperty(int, LightNum,
|
||||
__int__getLightNum,
|
||||
__void__setLightNum__int);
|
||||
I_SimpleProperty(float, LinearAttenuation,
|
||||
__float__getLinearAttenuation,
|
||||
__void__setLinearAttenuation__float);
|
||||
I_SimpleProperty(unsigned int, Member,
|
||||
__unsigned_int__getMember,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Vec4 &, Position,
|
||||
__C5_Vec4_R1__getPosition,
|
||||
__void__setPosition__C5_Vec4_R1);
|
||||
I_SimpleProperty(float, QuadraticAttenuation,
|
||||
__float__getQuadraticAttenuation,
|
||||
__void__setQuadraticAttenuation__float);
|
||||
I_SimpleProperty(const osg::Vec4 &, Specular,
|
||||
__C5_Vec4_R1__getSpecular,
|
||||
__void__setSpecular__C5_Vec4_R1);
|
||||
I_SimpleProperty(float, SpotCutoff,
|
||||
__float__getSpotCutoff,
|
||||
__void__setSpotCutoff__float);
|
||||
I_SimpleProperty(float, SpotExponent,
|
||||
__float__getSpotExponent,
|
||||
__void__setSpotExponent__float);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -32,28 +32,91 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::LightModel)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::LightModel &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, setAmbientIntensity, IN, const osg::Vec4 &, ambient);
|
||||
I_Method0(const osg::Vec4 &, getAmbientIntensity);
|
||||
I_Method1(void, setColorControl, IN, osg::LightModel::ColorControl, cc);
|
||||
I_Method0(osg::LightModel::ColorControl, getColorControl);
|
||||
I_Method1(void, setLocalViewer, IN, bool, localViewer);
|
||||
I_Method0(bool, getLocalViewer);
|
||||
I_Method1(void, setTwoSided, IN, bool, twoSided);
|
||||
I_Method0(bool, getTwoSided);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(const osg::Vec4 &, AmbientIntensity);
|
||||
I_Property(osg::LightModel::ColorControl, ColorControl);
|
||||
I_Property(bool, LocalViewer);
|
||||
I_Property(bool, TwoSided);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____LightModel,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::LightModel &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LightModel__C5_LightModel_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setAmbientIntensity, IN, const osg::Vec4 &, ambient,
|
||||
__void__setAmbientIntensity__C5_osg_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getAmbientIntensity,
|
||||
__C5_osg_Vec4_R1__getAmbientIntensity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColorControl, IN, osg::LightModel::ColorControl, cc,
|
||||
__void__setColorControl__ColorControl,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::LightModel::ColorControl, getColorControl,
|
||||
__ColorControl__getColorControl,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLocalViewer, IN, bool, localViewer,
|
||||
__void__setLocalViewer__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getLocalViewer,
|
||||
__bool__getLocalViewer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTwoSided, IN, bool, twoSided,
|
||||
__void__setTwoSided__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getTwoSided,
|
||||
__bool__getTwoSided,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(const osg::Vec4 &, AmbientIntensity,
|
||||
__C5_osg_Vec4_R1__getAmbientIntensity,
|
||||
__void__setAmbientIntensity__C5_osg_Vec4_R1);
|
||||
I_SimpleProperty(osg::LightModel::ColorControl, ColorControl,
|
||||
__ColorControl__getColorControl,
|
||||
__void__setColorControl__ColorControl);
|
||||
I_SimpleProperty(bool, LocalViewer,
|
||||
__bool__getLocalViewer,
|
||||
__void__setLocalViewer__bool);
|
||||
I_SimpleProperty(bool, TwoSided,
|
||||
__bool__getTwoSided,
|
||||
__void__setTwoSided__bool);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -34,24 +34,77 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::LightSource)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::LightSource &, ls, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setReferenceFrame, IN, osg::LightSource::ReferenceFrame, rf);
|
||||
I_Method0(osg::LightSource::ReferenceFrame, getReferenceFrame);
|
||||
I_Method1(void, setLight, IN, osg::Light *, light);
|
||||
I_Method0(osg::Light *, getLight);
|
||||
I_Method0(const osg::Light *, getLight);
|
||||
I_Method2(void, setStateSetModes, IN, osg::StateSet &, x, IN, osg::StateAttribute::GLModeValue, x);
|
||||
I_MethodWithDefaults1(void, setLocalStateSetModes, IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_Property(osg::Light *, Light);
|
||||
I_WriteOnlyProperty(osg::StateAttribute::GLModeValue, LocalStateSetModes);
|
||||
I_Property(osg::LightSource::ReferenceFrame, ReferenceFrame);
|
||||
I_Constructor0(____LightSource,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::LightSource &, ls, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LightSource__C5_LightSource_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::LightSource::ReferenceFrame, rf,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the light sources's ReferenceFrame, either to be relative to its parent reference frame, or relative to an absolute coordinate frame. ",
|
||||
"RELATIVE_RF is the default. Note: setting the ReferenceFrame to be ABSOLUTE_RF will also set the CullingActive flag on the light source, and hence all of its parents, to false, thereby disabling culling of it and all its parents. This is necessary to prevent inappropriate culling, but may impact cull times if the absolute light source is deep in the scene graph. It is therefore recommended to only use absolute light source at the top of the scene.");
|
||||
I_Method0(osg::LightSource::ReferenceFrame, getReferenceFrame,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLight, IN, osg::Light *, light,
|
||||
__void__setLight__Light_P1,
|
||||
"Set the attached light. ",
|
||||
"");
|
||||
I_Method0(osg::Light *, getLight,
|
||||
__Light_P1__getLight,
|
||||
"Get the attached light. ",
|
||||
"");
|
||||
I_Method0(const osg::Light *, getLight,
|
||||
__C5_Light_P1__getLight,
|
||||
"Get the const attached light. ",
|
||||
"");
|
||||
I_Method2(void, setStateSetModes, IN, osg::StateSet &, x, IN, osg::StateAttribute::GLModeValue, x,
|
||||
__void__setStateSetModes__StateSet_R1__StateAttribute_GLModeValue,
|
||||
"Set the GLModes on StateSet associated with the LightSource. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setLocalStateSetModes, IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON,
|
||||
__void__setLocalStateSetModes__StateAttribute_GLModeValue,
|
||||
"Set up the local StateSet. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__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(osg::Light *, Light,
|
||||
__Light_P1__getLight,
|
||||
__void__setLight__Light_P1);
|
||||
I_SimpleProperty(osg::StateAttribute::GLModeValue, LocalStateSetModes,
|
||||
0,
|
||||
__void__setLocalStateSetModes__StateAttribute_GLModeValue);
|
||||
I_SimpleProperty(osg::LightSource::ReferenceFrame, ReferenceFrame,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
__void__setReferenceFrame__ReferenceFrame);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,21 +26,68 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::LineSegment)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::LineSegment &, seg);
|
||||
I_Constructor2(IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e);
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e);
|
||||
I_Method0(osg::Vec3 &, start);
|
||||
I_Method0(const osg::Vec3 &, start);
|
||||
I_Method0(osg::Vec3 &, end);
|
||||
I_Method0(const osg::Vec3 &, end);
|
||||
I_Method0(bool, valid);
|
||||
I_Method1(bool, intersect, IN, const osg::BoundingBox &, bb);
|
||||
I_Method3(bool, intersect, IN, const osg::BoundingBox &, bb, IN, float &, r1, IN, float &, r2);
|
||||
I_Method1(bool, intersect, IN, const osg::BoundingSphere &, bs);
|
||||
I_Method3(bool, intersect, IN, const osg::BoundingSphere &, bs, IN, float &, r1, IN, float &, r2);
|
||||
I_Method4(bool, intersect, IN, const osg::Vec3 &, v1, IN, const osg::Vec3 &, v2, IN, const osg::Vec3 &, v3, IN, float &, r);
|
||||
I_Method2(void, mult, IN, const osg::LineSegment &, seg, IN, const osg::Matrix &, m);
|
||||
I_Method2(void, mult, IN, const osg::Matrix &, m, IN, const osg::LineSegment &, seg);
|
||||
I_Constructor0(____LineSegment,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::LineSegment &, seg,
|
||||
____LineSegment__C5_LineSegment_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
____LineSegment__C5_Vec3_R1__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, s, IN, const osg::Vec3 &, e,
|
||||
__void__set__C5_Vec3_R1__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3 &, start,
|
||||
__Vec3_R1__start,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, start,
|
||||
__C5_Vec3_R1__start,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3 &, end,
|
||||
__Vec3_R1__end,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, end,
|
||||
__C5_Vec3_R1__end,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, intersect, IN, const osg::BoundingBox &, bb,
|
||||
__bool__intersect__C5_BoundingBox_R1,
|
||||
"return true if segment intersects BoundingBox. ",
|
||||
"");
|
||||
I_Method3(bool, intersect, IN, const osg::BoundingBox &, bb, IN, float &, r1, IN, float &, r2,
|
||||
__bool__intersect__C5_BoundingBox_R1__float_R1__float_R1,
|
||||
"return true if segment intersects BoundingBox and return the intersection ratios. ",
|
||||
"");
|
||||
I_Method1(bool, intersect, IN, const osg::BoundingSphere &, bs,
|
||||
__bool__intersect__C5_BoundingSphere_R1,
|
||||
"return true if segment intersects BoundingSphere. ",
|
||||
"");
|
||||
I_Method3(bool, intersect, IN, const osg::BoundingSphere &, bs, IN, float &, r1, IN, float &, r2,
|
||||
__bool__intersect__C5_BoundingSphere_R1__float_R1__float_R1,
|
||||
"return true if segment intersects BoundingSphere and return the intersection ratio. ",
|
||||
"");
|
||||
I_Method4(bool, intersect, IN, const osg::Vec3 &, v1, IN, const osg::Vec3 &, v2, IN, const osg::Vec3 &, v3, IN, float &, r,
|
||||
__bool__intersect__C5_Vec3_R1__C5_Vec3_R1__C5_Vec3_R1__float_R1,
|
||||
"return true if segment intersects triangle and set ratio long segment. ",
|
||||
"");
|
||||
I_Method2(void, mult, IN, const osg::LineSegment &, seg, IN, const osg::Matrix &, m,
|
||||
__void__mult__C5_LineSegment_R1__C5_Matrix_R1,
|
||||
"post multiply a segment by matrix. ",
|
||||
"");
|
||||
I_Method2(void, mult, IN, const osg::Matrix &, m, IN, const osg::LineSegment &, seg,
|
||||
__void__mult__C5_Matrix_R1__C5_LineSegment_R1,
|
||||
"pre multiply a segment by matrix. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,23 +26,73 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::LineStipple)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::LineStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setFactor, IN, GLint, factor);
|
||||
I_Method0(GLint, getFactor);
|
||||
I_Method1(void, setPattern, IN, GLushort, pattern);
|
||||
I_Method0(GLushort, getPattern);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(GLint, Factor);
|
||||
I_Property(GLushort, Pattern);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____LineStipple,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::LineStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LineStipple__C5_LineStipple_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFactor, IN, GLint, factor,
|
||||
__void__setFactor__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getFactor,
|
||||
__GLint__getFactor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPattern, IN, GLushort, pattern,
|
||||
__void__setPattern__GLushort,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLushort, getPattern,
|
||||
__GLushort__getPattern,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(GLint, Factor,
|
||||
__GLint__getFactor,
|
||||
__void__setFactor__GLint);
|
||||
I_SimpleProperty(GLushort, Pattern,
|
||||
__GLushort__getPattern,
|
||||
__void__setPattern__GLushort);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,19 +26,59 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::LineWidth)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, float, width, 1.0f);
|
||||
I_ConstructorWithDefaults2(IN, const osg::LineWidth &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, setWidth, IN, float, width);
|
||||
I_Method0(float, getWidth);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Property(float, Width);
|
||||
I_ConstructorWithDefaults1(IN, float, width, 1.0f,
|
||||
____LineWidth__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::LineWidth &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LineWidth__C5_LineWidth_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setWidth, IN, float, width,
|
||||
__void__setWidth__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getWidth,
|
||||
__float__getWidth,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(float, Width,
|
||||
__float__getWidth,
|
||||
__void__setWidth__float);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -45,21 +45,66 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::LogicOp)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::LogicOp::Opcode, opcode);
|
||||
I_ConstructorWithDefaults2(IN, const osg::LogicOp &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setOpcode, IN, osg::LogicOp::Opcode, opcode);
|
||||
I_Method0(osg::LogicOp::Opcode, getOpcode);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(osg::LogicOp::Opcode, Opcode);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____LogicOp,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::LogicOp::Opcode, opcode,
|
||||
____LogicOp__Opcode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::LogicOp &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____LogicOp__C5_LogicOp_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOpcode, IN, osg::LogicOp::Opcode, opcode,
|
||||
__void__setOpcode__Opcode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::LogicOp::Opcode, getOpcode,
|
||||
__Opcode__getOpcode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::LogicOp::Opcode, Opcode,
|
||||
__Opcode__getOpcode,
|
||||
__void__setOpcode__Opcode);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -42,47 +42,165 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Material)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Material &, mat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Method1(void, setColorMode, IN, osg::Material::ColorMode, mode);
|
||||
I_Method0(osg::Material::ColorMode, getColorMode);
|
||||
I_Method2(void, setAmbient, IN, osg::Material::Face, face, IN, const osg::Vec4 &, ambient);
|
||||
I_Method1(const osg::Vec4 &, getAmbient, IN, osg::Material::Face, face);
|
||||
I_Method0(bool, getAmbientFrontAndBack);
|
||||
I_Method2(void, setDiffuse, IN, osg::Material::Face, face, IN, const osg::Vec4 &, diffuse);
|
||||
I_Method1(const osg::Vec4 &, getDiffuse, IN, osg::Material::Face, face);
|
||||
I_Method0(bool, getDiffuseFrontAndBack);
|
||||
I_Method2(void, setSpecular, IN, osg::Material::Face, face, IN, const osg::Vec4 &, specular);
|
||||
I_Method1(const osg::Vec4 &, getSpecular, IN, osg::Material::Face, face);
|
||||
I_Method0(bool, getSpecularFrontAndBack);
|
||||
I_Method2(void, setEmission, IN, osg::Material::Face, face, IN, const osg::Vec4 &, emission);
|
||||
I_Method1(const osg::Vec4 &, getEmission, IN, osg::Material::Face, face);
|
||||
I_Method0(bool, getEmissionFrontAndBack);
|
||||
I_Method2(void, setShininess, IN, osg::Material::Face, face, IN, float, shininess);
|
||||
I_Method1(float, getShininess, IN, osg::Material::Face, face);
|
||||
I_Method0(bool, getShininessFrontAndBack);
|
||||
I_Method2(void, setTransparency, IN, osg::Material::Face, face, IN, float, trans);
|
||||
I_Method2(void, setAlpha, IN, osg::Material::Face, face, IN, float, alpha);
|
||||
I_IndexedProperty1(const osg::Vec4 &, Ambient, osg::Material::Face, face);
|
||||
I_ReadOnlyProperty(bool, AmbientFrontAndBack);
|
||||
I_Property(osg::Material::ColorMode, ColorMode);
|
||||
I_IndexedProperty1(const osg::Vec4 &, Diffuse, osg::Material::Face, face);
|
||||
I_ReadOnlyProperty(bool, DiffuseFrontAndBack);
|
||||
I_IndexedProperty1(const osg::Vec4 &, Emission, osg::Material::Face, face);
|
||||
I_ReadOnlyProperty(bool, EmissionFrontAndBack);
|
||||
I_IndexedProperty1(float, Shininess, osg::Material::Face, face);
|
||||
I_ReadOnlyProperty(bool, ShininessFrontAndBack);
|
||||
I_IndexedProperty1(const osg::Vec4 &, Specular, osg::Material::Face, face);
|
||||
I_ReadOnlyProperty(bool, SpecularFrontAndBack);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____Material,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Material &, mat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Material__C5_Material_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_Method1(void, setColorMode, IN, osg::Material::ColorMode, mode,
|
||||
__void__setColorMode__ColorMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Material::ColorMode, getColorMode,
|
||||
__ColorMode__getColorMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setAmbient, IN, osg::Material::Face, face, IN, const osg::Vec4 &, ambient,
|
||||
__void__setAmbient__Face__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Vec4 &, getAmbient, IN, osg::Material::Face, face,
|
||||
__C5_Vec4_R1__getAmbient__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getAmbientFrontAndBack,
|
||||
__bool__getAmbientFrontAndBack,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setDiffuse, IN, osg::Material::Face, face, IN, const osg::Vec4 &, diffuse,
|
||||
__void__setDiffuse__Face__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Vec4 &, getDiffuse, IN, osg::Material::Face, face,
|
||||
__C5_Vec4_R1__getDiffuse__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getDiffuseFrontAndBack,
|
||||
__bool__getDiffuseFrontAndBack,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setSpecular, IN, osg::Material::Face, face, IN, const osg::Vec4 &, specular,
|
||||
__void__setSpecular__Face__C5_Vec4_R1,
|
||||
"Set specular value of specified face(s) of the material, valid specular[0. ",
|
||||
".3] range is 0.0 to 1.0.");
|
||||
I_Method1(const osg::Vec4 &, getSpecular, IN, osg::Material::Face, face,
|
||||
__C5_Vec4_R1__getSpecular__Face,
|
||||
"Get the specular value for specified face. ",
|
||||
"");
|
||||
I_Method0(bool, getSpecularFrontAndBack,
|
||||
__bool__getSpecularFrontAndBack,
|
||||
"Return whether specular values are equal for front and back faces or not. ",
|
||||
"");
|
||||
I_Method2(void, setEmission, IN, osg::Material::Face, face, IN, const osg::Vec4 &, emission,
|
||||
__void__setEmission__Face__C5_Vec4_R1,
|
||||
"Set emission value of specified face(s) of the material, valid emission[0. ",
|
||||
".3] range is 0.0 to 1.0.");
|
||||
I_Method1(const osg::Vec4 &, getEmission, IN, osg::Material::Face, face,
|
||||
__C5_Vec4_R1__getEmission__Face,
|
||||
"Get the emission value for specified face. ",
|
||||
"");
|
||||
I_Method0(bool, getEmissionFrontAndBack,
|
||||
__bool__getEmissionFrontAndBack,
|
||||
"Return whether emission values are equal for front and back faces or not. ",
|
||||
"");
|
||||
I_Method2(void, setShininess, IN, osg::Material::Face, face, IN, float, shininess,
|
||||
__void__setShininess__Face__float,
|
||||
"Set shininess of specified face(s) of the material. ",
|
||||
"valid shininess range is 0.0 to 128.0.");
|
||||
I_Method1(float, getShininess, IN, osg::Material::Face, face,
|
||||
__float__getShininess__Face,
|
||||
"Get the shininess value for specified face. ",
|
||||
"");
|
||||
I_Method0(bool, getShininessFrontAndBack,
|
||||
__bool__getShininessFrontAndBack,
|
||||
"Return whether shininess values are equal for front and back faces or not. ",
|
||||
"");
|
||||
I_Method2(void, setTransparency, IN, osg::Material::Face, face, IN, float, trans,
|
||||
__void__setTransparency__Face__float,
|
||||
"Set the alpha value of ambient, diffuse, specular and emission colors of specified face, to 1-transparency. ",
|
||||
"Valid transparency range is 0.0 to 1.0.");
|
||||
I_Method2(void, setAlpha, IN, osg::Material::Face, face, IN, float, alpha,
|
||||
__void__setAlpha__Face__float,
|
||||
"Set the alpha value of ambient, diffuse, specular and emission colors. ",
|
||||
"Valid transparency range is 0.0 to 1.0.");
|
||||
I_IndexedProperty(const osg::Vec4 &, Ambient,
|
||||
__C5_Vec4_R1__getAmbient__Face,
|
||||
__void__setAmbient__Face__C5_Vec4_R1,
|
||||
0);
|
||||
I_SimpleProperty(bool, AmbientFrontAndBack,
|
||||
__bool__getAmbientFrontAndBack,
|
||||
0);
|
||||
I_SimpleProperty(osg::Material::ColorMode, ColorMode,
|
||||
__ColorMode__getColorMode,
|
||||
__void__setColorMode__ColorMode);
|
||||
I_IndexedProperty(const osg::Vec4 &, Diffuse,
|
||||
__C5_Vec4_R1__getDiffuse__Face,
|
||||
__void__setDiffuse__Face__C5_Vec4_R1,
|
||||
0);
|
||||
I_SimpleProperty(bool, DiffuseFrontAndBack,
|
||||
__bool__getDiffuseFrontAndBack,
|
||||
0);
|
||||
I_IndexedProperty(const osg::Vec4 &, Emission,
|
||||
__C5_Vec4_R1__getEmission__Face,
|
||||
__void__setEmission__Face__C5_Vec4_R1,
|
||||
0);
|
||||
I_SimpleProperty(bool, EmissionFrontAndBack,
|
||||
__bool__getEmissionFrontAndBack,
|
||||
0);
|
||||
I_IndexedProperty(float, Shininess,
|
||||
__float__getShininess__Face,
|
||||
__void__setShininess__Face__float,
|
||||
0);
|
||||
I_SimpleProperty(bool, ShininessFrontAndBack,
|
||||
__bool__getShininessFrontAndBack,
|
||||
0);
|
||||
I_IndexedProperty(const osg::Vec4 &, Specular,
|
||||
__C5_Vec4_R1__getSpecular__Face,
|
||||
__void__setSpecular__Face__C5_Vec4_R1,
|
||||
0);
|
||||
I_SimpleProperty(bool, SpecularFrontAndBack,
|
||||
__bool__getSpecularFrontAndBack,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,25 +26,82 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::MatrixTransform)
|
||||
I_BaseType(osg::Transform);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::MatrixTransform &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Constructor1(IN, const osg::Matrix &, matix);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method0(osg::MatrixTransform *, asMatrixTransform);
|
||||
I_Method0(const osg::MatrixTransform *, asMatrixTransform);
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, mat);
|
||||
I_Method0(const osg::Matrix &, getMatrix);
|
||||
I_Method1(void, preMult, IN, const osg::Matrix &, mat);
|
||||
I_Method1(void, postMult, IN, const osg::Matrix &, mat);
|
||||
I_Method0(const osg::Matrix &, getInverseMatrix);
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x);
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x);
|
||||
I_ReadOnlyProperty(const osg::Matrix &, InverseMatrix);
|
||||
I_Property(const osg::Matrix &, Matrix);
|
||||
I_Constructor0(____MatrixTransform,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::MatrixTransform &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____MatrixTransform__C5_MatrixTransform_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matix,
|
||||
____MatrixTransform__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osg::MatrixTransform *, asMatrixTransform,
|
||||
__MatrixTransform_P1__asMatrixTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::MatrixTransform *, asMatrixTransform,
|
||||
__C5_MatrixTransform_P1__asMatrixTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, mat,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the transform's matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the matrix. ",
|
||||
"");
|
||||
I_Method1(void, preMult, IN, const osg::Matrix &, mat,
|
||||
__void__preMult__C5_Matrix_R1,
|
||||
"pre multiply the transform's matrix. ",
|
||||
"");
|
||||
I_Method1(void, postMult, IN, const osg::Matrix &, mat,
|
||||
__void__postMult__C5_Matrix_R1,
|
||||
"post multiply the transform's matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getInverseMatrix,
|
||||
__C5_Matrix_R1__getInverseMatrix,
|
||||
"Get the inverse matrix. ",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, x,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrix &, InverseMatrix,
|
||||
__C5_Matrix_R1__getInverseMatrix,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrix &, Matrix,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
__void__setMatrix__C5_Matrix_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,118 +31,433 @@
|
||||
TYPE_NAME_ALIAS(double, osg::Matrixd::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Matrixd)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::Matrixd &, mat);
|
||||
I_Constructor1(IN, const osg::Matrixf &, mat);
|
||||
I_Constructor1(IN, float const *const, ptr);
|
||||
I_Constructor1(IN, double const *const, ptr);
|
||||
I_Constructor1(IN, const osg::Quat &, quat);
|
||||
I_Constructor16(IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33);
|
||||
I_Method1(int, compare, IN, const osg::Matrixd &, m);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(bool, isNaN);
|
||||
I_Method1(void, set, IN, const osg::Matrixd &, rhs);
|
||||
I_Method1(void, set, IN, const osg::Matrixf &, rhs);
|
||||
I_Method1(void, set, IN, float const *const, ptr);
|
||||
I_Method1(void, set, IN, double const *const, ptr);
|
||||
I_Method16(void, set, IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33);
|
||||
I_Method0(osg::Matrixd::value_type *, ptr);
|
||||
I_Method0(const osg::Matrixd::value_type *, ptr);
|
||||
I_Method0(void, makeIdentity);
|
||||
I_Method1(void, makeScale, IN, const osg::Vec3f &, x);
|
||||
I_Method1(void, makeScale, IN, const osg::Vec3d &, x);
|
||||
I_Method3(void, makeScale, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x);
|
||||
I_Method1(void, makeTranslate, IN, const osg::Vec3f &, x);
|
||||
I_Method1(void, makeTranslate, IN, const osg::Vec3d &, x);
|
||||
I_Method3(void, makeTranslate, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x);
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to);
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to);
|
||||
I_Method2(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3f &, axis);
|
||||
I_Method2(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3d &, axis);
|
||||
I_Method4(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z);
|
||||
I_Method1(void, makeRotate, IN, const osg::Quat &, x);
|
||||
I_Method6(void, makeRotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3f &, axis3);
|
||||
I_Method6(void, makeRotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3d &, axis3);
|
||||
I_Method6(void, makeOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar);
|
||||
I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top);
|
||||
I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar);
|
||||
I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar);
|
||||
I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar);
|
||||
I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up);
|
||||
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, osg::Matrixd::value_type, lookDistance, 1.0f);
|
||||
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, osg::Matrixd::value_type, lookDistance, 1.0f);
|
||||
I_Method1(bool, invert, IN, const osg::Matrixd &, rhs);
|
||||
I_Method1(bool, invert_4x3, IN, const osg::Matrixd &, rhs);
|
||||
I_Method1(bool, invert_4x4, IN, const osg::Matrixd &, rhs);
|
||||
I_Method1(void, orthoNormalize, IN, const osg::Matrixd &, rhs);
|
||||
I_Method1(osg::Vec3f, preMult, IN, const osg::Vec3f &, v);
|
||||
I_Method1(osg::Vec3d, preMult, IN, const osg::Vec3d &, v);
|
||||
I_Method1(osg::Vec3f, postMult, IN, const osg::Vec3f &, v);
|
||||
I_Method1(osg::Vec3d, postMult, IN, const osg::Vec3d &, v);
|
||||
I_Method1(osg::Vec4f, preMult, IN, const osg::Vec4f &, v);
|
||||
I_Method1(osg::Vec4d, preMult, IN, const osg::Vec4d &, v);
|
||||
I_Method1(osg::Vec4f, postMult, IN, const osg::Vec4f &, v);
|
||||
I_Method1(osg::Vec4d, postMult, IN, const osg::Vec4d &, v);
|
||||
I_Method1(void, set, IN, const osg::Quat &, q);
|
||||
I_Method1(void, get, IN, osg::Quat &, q);
|
||||
I_Method1(void, setRotate, IN, const osg::Quat &, q);
|
||||
I_Method0(osg::Quat, getRotate);
|
||||
I_Method3(void, setTrans, IN, osg::Matrixd::value_type, tx, IN, osg::Matrixd::value_type, ty, IN, osg::Matrixd::value_type, tz);
|
||||
I_Method1(void, setTrans, IN, const osg::Vec3f &, v);
|
||||
I_Method1(void, setTrans, IN, const osg::Vec3d &, v);
|
||||
I_Method0(osg::Vec3d, getTrans);
|
||||
I_Method0(osg::Vec3d, getScale);
|
||||
I_Method2(void, mult, IN, const osg::Matrixd &, x, IN, const osg::Matrixd &, x);
|
||||
I_Method1(void, preMult, IN, const osg::Matrixd &, x);
|
||||
I_Method1(void, postMult, IN, const osg::Matrixd &, x);
|
||||
I_StaticMethod0(osg::Matrixd, identity);
|
||||
I_StaticMethod1(osg::Matrixd, scale, IN, const osg::Vec3f &, sv);
|
||||
I_StaticMethod1(osg::Matrixd, scale, IN, const osg::Vec3d &, sv);
|
||||
I_StaticMethod3(osg::Matrixd, scale, IN, osg::Matrixd::value_type, sx, IN, osg::Matrixd::value_type, sy, IN, osg::Matrixd::value_type, sz);
|
||||
I_StaticMethod1(osg::Matrixd, translate, IN, const osg::Vec3f &, dv);
|
||||
I_StaticMethod1(osg::Matrixd, translate, IN, const osg::Vec3d &, dv);
|
||||
I_StaticMethod3(osg::Matrixd, translate, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z);
|
||||
I_StaticMethod2(osg::Matrixd, rotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to);
|
||||
I_StaticMethod2(osg::Matrixd, rotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to);
|
||||
I_StaticMethod4(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z);
|
||||
I_StaticMethod2(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3f &, axis);
|
||||
I_StaticMethod2(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3d &, axis);
|
||||
I_StaticMethod6(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3f &, axis3);
|
||||
I_StaticMethod6(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3d &, axis3);
|
||||
I_StaticMethod1(osg::Matrixd, rotate, IN, const osg::Quat &, quat);
|
||||
I_StaticMethod1(osg::Matrixd, inverse, IN, const osg::Matrixd &, matrix);
|
||||
I_StaticMethod1(osg::Matrixd, orthoNormal, IN, const osg::Matrixd &, matrix);
|
||||
I_StaticMethod6(osg::Matrixd, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_StaticMethod4(osg::Matrixd, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top);
|
||||
I_StaticMethod6(osg::Matrixd, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_StaticMethod4(osg::Matrixd, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar);
|
||||
I_StaticMethod3(osg::Matrixd, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up);
|
||||
I_StaticMethod3(osg::Matrixd, lookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up);
|
||||
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Vec3f &, v, IN, const osg::Matrixd &, m);
|
||||
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Vec3d &, v, IN, const osg::Matrixd &, m);
|
||||
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Matrixd &, m, IN, const osg::Vec3f &, v);
|
||||
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Matrixd &, m, IN, const osg::Vec3d &, v);
|
||||
I_WriteOnlyProperty(float const *const, );
|
||||
I_ReadOnlyProperty(osg::Quat, Rotate);
|
||||
I_ReadOnlyProperty(osg::Vec3d, Scale);
|
||||
I_ReadOnlyProperty(osg::Vec3d, Trans);
|
||||
I_Constructor0(____Matrixd,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrixd &, mat,
|
||||
____Matrixd__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrixf &, mat,
|
||||
____Matrixd__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, float const *const, ptr,
|
||||
____Matrixd__float_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double const *const, ptr,
|
||||
____Matrixd__double_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Quat &, quat,
|
||||
____Matrixd__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor16(IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33,
|
||||
____Matrixd__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::Matrixd &, m,
|
||||
__int__compare__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixd &, rhs,
|
||||
__void__set__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixf &, rhs,
|
||||
__void__set__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, float const *const, ptr,
|
||||
__void__set__float_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, double const *const, ptr,
|
||||
__void__set__double_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Method16(void, set, IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33,
|
||||
__void__set__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrixd::value_type *, ptr,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrixd::value_type *, ptr,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, makeIdentity,
|
||||
__void__makeIdentity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeScale, IN, const osg::Vec3f &, x,
|
||||
__void__makeScale__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeScale, IN, const osg::Vec3d &, x,
|
||||
__void__makeScale__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, makeScale, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x,
|
||||
__void__makeScale__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeTranslate, IN, const osg::Vec3f &, x,
|
||||
__void__makeTranslate__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeTranslate, IN, const osg::Vec3d &, x,
|
||||
__void__makeTranslate__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, makeTranslate, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, x,
|
||||
__void__makeTranslate__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to,
|
||||
__void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to,
|
||||
__void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3f &, axis,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3d &, axis,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, makeRotate, IN, osg::Matrixd::value_type, angle, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z,
|
||||
__void__makeRotate__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeRotate, IN, const osg::Quat &, x,
|
||||
__void__makeRotate__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__void__makeOrtho__double__double__double__double__double__double,
|
||||
"Set to an orthographic projection. ",
|
||||
"See glOrtho for further details.");
|
||||
I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
|
||||
__bool__getOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
|
||||
"Get the othogrraphic settings of the orthographic projection matrix. ",
|
||||
"Note, if matrix is not an orthographic matrix then invalid values will be returned.");
|
||||
I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
|
||||
__void__makeOrtho2D__double__double__double__double,
|
||||
"Set to a 2D orthographic projection. ",
|
||||
"See glOrtho2D for further details.");
|
||||
I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__void__makeFrustum__double__double__double__double__double__double,
|
||||
"Set to a perspective projection. ",
|
||||
"See glFrustum for further details.");
|
||||
I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
|
||||
__bool__getFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
|
||||
"Get the frustum settings of a perspective projection matrix. ",
|
||||
"Note, if matrix is not a perspective matrix then invalid values will be returned.");
|
||||
I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
|
||||
__void__makePerspective__double__double__double__double,
|
||||
"Set to a symmetrical perspective projection. ",
|
||||
"See gluPerspective for further details. Aspect ratio is defined as width/height.");
|
||||
I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar,
|
||||
__bool__getPerspective__double_R1__double_R1__double_R1__double_R1,
|
||||
"Get the frustum settings of a symmetric perspective projection matrix. ",
|
||||
"Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead.");
|
||||
I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
|
||||
__void__makeLookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"Set the position and orientation to be a view matrix, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, osg::Matrixd::value_type, lookDistance, 1.0f,
|
||||
__void__getLookAt__Vec3f_R1__Vec3f_R1__Vec3f_R1__value_type,
|
||||
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, osg::Matrixd::value_type, lookDistance, 1.0f,
|
||||
__void__getLookAt__Vec3d_R1__Vec3d_R1__Vec3d_R1__value_type,
|
||||
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_Method1(bool, invert, IN, const osg::Matrixd &, rhs,
|
||||
__bool__invert__C5_Matrixd_R1,
|
||||
"invert the matrix rhs, automatically select invert_4x3 or invert_4x4. ",
|
||||
"");
|
||||
I_Method1(bool, invert_4x3, IN, const osg::Matrixd &, rhs,
|
||||
__bool__invert_4x3__C5_Matrixd_R1,
|
||||
"4x3 matrix invert, not right hand column is assumed to be 0,0,0,1. ",
|
||||
"");
|
||||
I_Method1(bool, invert_4x4, IN, const osg::Matrixd &, rhs,
|
||||
__bool__invert_4x4__C5_Matrixd_R1,
|
||||
"full 4x4 matrix invert. ",
|
||||
"");
|
||||
I_Method1(void, orthoNormalize, IN, const osg::Matrixd &, rhs,
|
||||
__void__orthoNormalize__C5_Matrixd_R1,
|
||||
"ortho-normalize the 3x3 rotation & scale matrix ",
|
||||
"");
|
||||
I_Method1(osg::Vec3f, preMult, IN, const osg::Vec3f &, v,
|
||||
__Vec3f__preMult__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, preMult, IN, const osg::Vec3d &, v,
|
||||
__Vec3d__preMult__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3f, postMult, IN, const osg::Vec3f &, v,
|
||||
__Vec3f__postMult__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, postMult, IN, const osg::Vec3d &, v,
|
||||
__Vec3d__postMult__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4f, preMult, IN, const osg::Vec4f &, v,
|
||||
__Vec4f__preMult__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4d, preMult, IN, const osg::Vec4d &, v,
|
||||
__Vec4d__preMult__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4f, postMult, IN, const osg::Vec4f &, v,
|
||||
__Vec4f__postMult__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4d, postMult, IN, const osg::Vec4d &, v,
|
||||
__Vec4d__postMult__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Quat &, q,
|
||||
__void__set__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Quat &, q,
|
||||
__void__get__Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotate, IN, const osg::Quat &, q,
|
||||
__void__setRotate__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat, getRotate,
|
||||
__Quat__getRotate,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setTrans, IN, osg::Matrixd::value_type, tx, IN, osg::Matrixd::value_type, ty, IN, osg::Matrixd::value_type, tz,
|
||||
__void__setTrans__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrans, IN, const osg::Vec3f &, v,
|
||||
__void__setTrans__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrans, IN, const osg::Vec3d &, v,
|
||||
__void__setTrans__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, getTrans,
|
||||
__Vec3d__getTrans,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, getScale,
|
||||
__Vec3d__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, mult, IN, const osg::Matrixd &, x, IN, const osg::Matrixd &, x,
|
||||
__void__mult__C5_Matrixd_R1__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, preMult, IN, const osg::Matrixd &, x,
|
||||
__void__preMult__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, postMult, IN, const osg::Matrixd &, x,
|
||||
__void__postMult__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::Matrixd, identity,
|
||||
__Matrixd__identity_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixd, scale, IN, const osg::Vec3f &, sv,
|
||||
__Matrixd__scale__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixd, scale, IN, const osg::Vec3d &, sv,
|
||||
__Matrixd__scale__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod3(osg::Matrixd, scale, IN, osg::Matrixd::value_type, sx, IN, osg::Matrixd::value_type, sy, IN, osg::Matrixd::value_type, sz,
|
||||
__Matrixd__scale__value_type__value_type__value_type_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixd, translate, IN, const osg::Vec3f &, dv,
|
||||
__Matrixd__translate__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixd, translate, IN, const osg::Vec3d &, dv,
|
||||
__Matrixd__translate__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod3(osg::Matrixd, translate, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z,
|
||||
__Matrixd__translate__value_type__value_type__value_type_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Matrixd, rotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to,
|
||||
__Matrixd__rotate__C5_Vec3f_R1__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Matrixd, rotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to,
|
||||
__Matrixd__rotate__C5_Vec3d_R1__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod4(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, osg::Matrixd::value_type, x, IN, osg::Matrixd::value_type, y, IN, osg::Matrixd::value_type, z,
|
||||
__Matrixd__rotate__value_type__value_type__value_type__value_type_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3f &, axis,
|
||||
__Matrixd__rotate__value_type__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle, IN, const osg::Vec3d &, axis,
|
||||
__Matrixd__rotate__value_type__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod6(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
__Matrixd__rotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod6(osg::Matrixd, rotate, IN, osg::Matrixd::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixd::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixd::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
__Matrixd__rotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixd, rotate, IN, const osg::Quat &, quat,
|
||||
__Matrixd__rotate__C5_Quat_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixd, inverse, IN, const osg::Matrixd &, matrix,
|
||||
__Matrixd__inverse__C5_Matrixd_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixd, orthoNormal, IN, const osg::Matrixd &, matrix,
|
||||
__Matrixd__orthoNormal__C5_Matrixd_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod6(osg::Matrixd, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__Matrixd__ortho__double__double__double__double__double__double_S,
|
||||
"Create an orthographic projection matrix. ",
|
||||
"See glOrtho for further details.");
|
||||
I_StaticMethod4(osg::Matrixd, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
|
||||
__Matrixd__ortho2D__double__double__double__double_S,
|
||||
"Create a 2D orthographic projection. ",
|
||||
"See glOrtho for further details.");
|
||||
I_StaticMethod6(osg::Matrixd, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__Matrixd__frustum__double__double__double__double__double__double_S,
|
||||
"Create a perspective projection. ",
|
||||
"See glFrustum for further details.");
|
||||
I_StaticMethod4(osg::Matrixd, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
|
||||
__Matrixd__perspective__double__double__double__double_S,
|
||||
"Create a symmetrical perspective projection. ",
|
||||
"See gluPerspective for further details. Aspect ratio is defined as width/height.");
|
||||
I_StaticMethod3(osg::Matrixd, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up,
|
||||
__Matrixd__lookAt__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1_S,
|
||||
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_StaticMethod3(osg::Matrixd, lookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
|
||||
__Matrixd__lookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1_S,
|
||||
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Vec3f &, v, IN, const osg::Matrixd &, m,
|
||||
__Vec3f__transform3x3__C5_Vec3f_R1__C5_Matrixd_R1_S,
|
||||
"apply a 3x3 transform of v*M[0. ",
|
||||
".2,0..2]. ");
|
||||
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Vec3d &, v, IN, const osg::Matrixd &, m,
|
||||
__Vec3d__transform3x3__C5_Vec3d_R1__C5_Matrixd_R1_S,
|
||||
"apply a 3x3 transform of v*M[0. ",
|
||||
".2,0..2]. ");
|
||||
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Matrixd &, m, IN, const osg::Vec3f &, v,
|
||||
__Vec3f__transform3x3__C5_Matrixd_R1__C5_Vec3f_R1_S,
|
||||
"apply a 3x3 transform of M[0. ",
|
||||
".2,0..2]*v. ");
|
||||
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Matrixd &, m, IN, const osg::Vec3d &, v,
|
||||
__Vec3d__transform3x3__C5_Matrixd_R1__C5_Vec3d_R1_S,
|
||||
"apply a 3x3 transform of M[0. ",
|
||||
".2,0..2]*v. ");
|
||||
I_SimpleProperty(osg::Quat, Rotate,
|
||||
__Quat__getRotate,
|
||||
__void__setRotate__C5_Quat_R1);
|
||||
I_SimpleProperty(osg::Vec3d, Scale,
|
||||
__Vec3d__getScale,
|
||||
0);
|
||||
I_SimpleProperty(osg::Vec3d, Trans,
|
||||
__Vec3d__getTrans,
|
||||
__void__setTrans__C5_Vec3d_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::RefMatrixd)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Matrixd);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::Matrixd &, other);
|
||||
I_Constructor1(IN, const osg::Matrixf &, other);
|
||||
I_Constructor1(IN, const osg::RefMatrixd &, other);
|
||||
I_Constructor1(IN, osg::Matrixd::value_type const *const, def);
|
||||
I_Constructor16(IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Constructor0(____RefMatrixd,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrixd &, other,
|
||||
____RefMatrixd__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrixf &, other,
|
||||
____RefMatrixd__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::RefMatrixd &, other,
|
||||
____RefMatrixd__C5_RefMatrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Matrixd::value_type const *const, def,
|
||||
____RefMatrixd__Matrixd_value_type_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Constructor16(IN, osg::Matrixd::value_type, a00, IN, osg::Matrixd::value_type, a01, IN, osg::Matrixd::value_type, a02, IN, osg::Matrixd::value_type, a03, IN, osg::Matrixd::value_type, a10, IN, osg::Matrixd::value_type, a11, IN, osg::Matrixd::value_type, a12, IN, osg::Matrixd::value_type, a13, IN, osg::Matrixd::value_type, a20, IN, osg::Matrixd::value_type, a21, IN, osg::Matrixd::value_type, a22, IN, osg::Matrixd::value_type, a23, IN, osg::Matrixd::value_type, a30, IN, osg::Matrixd::value_type, a31, IN, osg::Matrixd::value_type, a32, IN, osg::Matrixd::value_type, a33,
|
||||
____RefMatrixd__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type__Matrixd_value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,118 +31,433 @@
|
||||
TYPE_NAME_ALIAS(float, osg::Matrixf::value_type);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Matrixf)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::Matrixf &, mat);
|
||||
I_Constructor1(IN, const osg::Matrixd &, mat);
|
||||
I_Constructor1(IN, float const *const, ptr);
|
||||
I_Constructor1(IN, double const *const, ptr);
|
||||
I_Constructor1(IN, const osg::Quat &, quat);
|
||||
I_Constructor16(IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33);
|
||||
I_Method1(int, compare, IN, const osg::Matrixf &, m);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(bool, isNaN);
|
||||
I_Method1(void, set, IN, const osg::Matrixf &, rhs);
|
||||
I_Method1(void, set, IN, const osg::Matrixd &, rhs);
|
||||
I_Method1(void, set, IN, float const *const, ptr);
|
||||
I_Method1(void, set, IN, double const *const, ptr);
|
||||
I_Method16(void, set, IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33);
|
||||
I_Method0(osg::Matrixf::value_type *, ptr);
|
||||
I_Method0(const osg::Matrixf::value_type *, ptr);
|
||||
I_Method0(void, makeIdentity);
|
||||
I_Method1(void, makeScale, IN, const osg::Vec3f &, x);
|
||||
I_Method1(void, makeScale, IN, const osg::Vec3d &, x);
|
||||
I_Method3(void, makeScale, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x);
|
||||
I_Method1(void, makeTranslate, IN, const osg::Vec3f &, x);
|
||||
I_Method1(void, makeTranslate, IN, const osg::Vec3d &, x);
|
||||
I_Method3(void, makeTranslate, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x);
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to);
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to);
|
||||
I_Method2(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3f &, axis);
|
||||
I_Method2(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3d &, axis);
|
||||
I_Method4(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z);
|
||||
I_Method1(void, makeRotate, IN, const osg::Quat &, x);
|
||||
I_Method6(void, makeRotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3f &, axis3);
|
||||
I_Method6(void, makeRotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3d &, axis3);
|
||||
I_Method6(void, makeOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar);
|
||||
I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top);
|
||||
I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar);
|
||||
I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar);
|
||||
I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar);
|
||||
I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up);
|
||||
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, osg::Matrixf::value_type, lookDistance, 1.0f);
|
||||
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, osg::Matrixf::value_type, lookDistance, 1.0f);
|
||||
I_Method1(bool, invert, IN, const osg::Matrixf &, rhs);
|
||||
I_Method1(bool, invert_4x3, IN, const osg::Matrixf &, rhs);
|
||||
I_Method1(bool, invert_4x4, IN, const osg::Matrixf &, rhs);
|
||||
I_Method1(void, orthoNormalize, IN, const osg::Matrixf &, rhs);
|
||||
I_Method1(osg::Vec3f, preMult, IN, const osg::Vec3f &, v);
|
||||
I_Method1(osg::Vec3d, preMult, IN, const osg::Vec3d &, v);
|
||||
I_Method1(osg::Vec3f, postMult, IN, const osg::Vec3f &, v);
|
||||
I_Method1(osg::Vec3d, postMult, IN, const osg::Vec3d &, v);
|
||||
I_Method1(osg::Vec4f, preMult, IN, const osg::Vec4f &, v);
|
||||
I_Method1(osg::Vec4d, preMult, IN, const osg::Vec4d &, v);
|
||||
I_Method1(osg::Vec4f, postMult, IN, const osg::Vec4f &, v);
|
||||
I_Method1(osg::Vec4d, postMult, IN, const osg::Vec4d &, v);
|
||||
I_Method1(void, set, IN, const osg::Quat &, q);
|
||||
I_Method1(void, get, IN, osg::Quat &, q);
|
||||
I_Method1(void, setRotate, IN, const osg::Quat &, q);
|
||||
I_Method0(osg::Quat, getRotate);
|
||||
I_Method3(void, setTrans, IN, osg::Matrixf::value_type, tx, IN, osg::Matrixf::value_type, ty, IN, osg::Matrixf::value_type, tz);
|
||||
I_Method1(void, setTrans, IN, const osg::Vec3f &, v);
|
||||
I_Method1(void, setTrans, IN, const osg::Vec3d &, v);
|
||||
I_Method0(osg::Vec3d, getTrans);
|
||||
I_Method0(osg::Vec3d, getScale);
|
||||
I_Method2(void, mult, IN, const osg::Matrixf &, x, IN, const osg::Matrixf &, x);
|
||||
I_Method1(void, preMult, IN, const osg::Matrixf &, x);
|
||||
I_Method1(void, postMult, IN, const osg::Matrixf &, x);
|
||||
I_StaticMethod0(osg::Matrixf, identity);
|
||||
I_StaticMethod1(osg::Matrixf, scale, IN, const osg::Vec3f &, sv);
|
||||
I_StaticMethod1(osg::Matrixf, scale, IN, const osg::Vec3d &, sv);
|
||||
I_StaticMethod3(osg::Matrixf, scale, IN, osg::Matrixf::value_type, sx, IN, osg::Matrixf::value_type, sy, IN, osg::Matrixf::value_type, sz);
|
||||
I_StaticMethod1(osg::Matrixf, translate, IN, const osg::Vec3f &, dv);
|
||||
I_StaticMethod1(osg::Matrixf, translate, IN, const osg::Vec3d &, dv);
|
||||
I_StaticMethod3(osg::Matrixf, translate, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z);
|
||||
I_StaticMethod2(osg::Matrixf, rotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to);
|
||||
I_StaticMethod2(osg::Matrixf, rotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to);
|
||||
I_StaticMethod4(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z);
|
||||
I_StaticMethod2(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3f &, axis);
|
||||
I_StaticMethod2(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3d &, axis);
|
||||
I_StaticMethod6(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3f &, axis3);
|
||||
I_StaticMethod6(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3d &, axis3);
|
||||
I_StaticMethod1(osg::Matrixf, rotate, IN, const osg::Quat &, quat);
|
||||
I_StaticMethod1(osg::Matrixf, inverse, IN, const osg::Matrixf &, matrix);
|
||||
I_StaticMethod1(osg::Matrixf, orthoNormal, IN, const osg::Matrixf &, matrix);
|
||||
I_StaticMethod6(osg::Matrixf, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_StaticMethod4(osg::Matrixf, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top);
|
||||
I_StaticMethod6(osg::Matrixf, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar);
|
||||
I_StaticMethod4(osg::Matrixf, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar);
|
||||
I_StaticMethod3(osg::Matrixf, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up);
|
||||
I_StaticMethod3(osg::Matrixf, lookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up);
|
||||
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Vec3f &, v, IN, const osg::Matrixf &, m);
|
||||
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Vec3d &, v, IN, const osg::Matrixf &, m);
|
||||
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Matrixf &, m, IN, const osg::Vec3f &, v);
|
||||
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Matrixf &, m, IN, const osg::Vec3d &, v);
|
||||
I_WriteOnlyProperty(float const *const, );
|
||||
I_ReadOnlyProperty(osg::Quat, Rotate);
|
||||
I_ReadOnlyProperty(osg::Vec3d, Scale);
|
||||
I_ReadOnlyProperty(osg::Vec3d, Trans);
|
||||
I_Constructor0(____Matrixf,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrixf &, mat,
|
||||
____Matrixf__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrixd &, mat,
|
||||
____Matrixf__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, float const *const, ptr,
|
||||
____Matrixf__float_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, double const *const, ptr,
|
||||
____Matrixf__double_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Quat &, quat,
|
||||
____Matrixf__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor16(IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33,
|
||||
____Matrixf__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::Matrixf &, m,
|
||||
__int__compare__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isNaN,
|
||||
__bool__isNaN,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixf &, rhs,
|
||||
__void__set__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixd &, rhs,
|
||||
__void__set__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, float const *const, ptr,
|
||||
__void__set__float_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, double const *const, ptr,
|
||||
__void__set__double_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Method16(void, set, IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33,
|
||||
__void__set__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Matrixf::value_type *, ptr,
|
||||
__value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrixf::value_type *, ptr,
|
||||
__C5_value_type_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, makeIdentity,
|
||||
__void__makeIdentity,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeScale, IN, const osg::Vec3f &, x,
|
||||
__void__makeScale__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeScale, IN, const osg::Vec3d &, x,
|
||||
__void__makeScale__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, makeScale, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x,
|
||||
__void__makeScale__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeTranslate, IN, const osg::Vec3f &, x,
|
||||
__void__makeTranslate__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeTranslate, IN, const osg::Vec3d &, x,
|
||||
__void__makeTranslate__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, makeTranslate, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, x,
|
||||
__void__makeTranslate__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to,
|
||||
__void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to,
|
||||
__void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3f &, axis,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3d &, axis,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, makeRotate, IN, osg::Matrixf::value_type, angle, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z,
|
||||
__void__makeRotate__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, makeRotate, IN, const osg::Quat &, x,
|
||||
__void__makeRotate__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeOrtho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__void__makeOrtho__double__double__double__double__double__double,
|
||||
"Set to an orthographic projection. ",
|
||||
"See glOrtho for further details.");
|
||||
I_Method6(bool, getOrtho, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
|
||||
__bool__getOrtho__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
|
||||
"Get the othogrraphic settings of the orthographic projection matrix. ",
|
||||
"Note, if matrix is not an orthographic matrix then invalid values will be returned.");
|
||||
I_Method4(void, makeOrtho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
|
||||
__void__makeOrtho2D__double__double__double__double,
|
||||
"Set to a 2D orthographic projection. ",
|
||||
"See glOrtho2D for further details.");
|
||||
I_Method6(void, makeFrustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__void__makeFrustum__double__double__double__double__double__double,
|
||||
"Set to a perspective projection. ",
|
||||
"See glFrustum for further details.");
|
||||
I_Method6(bool, getFrustum, IN, double &, left, IN, double &, right, IN, double &, bottom, IN, double &, top, IN, double &, zNear, IN, double &, zFar,
|
||||
__bool__getFrustum__double_R1__double_R1__double_R1__double_R1__double_R1__double_R1,
|
||||
"Get the frustum settings of a perspective projection matrix. ",
|
||||
"Note, if matrix is not a perspective matrix then invalid values will be returned.");
|
||||
I_Method4(void, makePerspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
|
||||
__void__makePerspective__double__double__double__double,
|
||||
"Set to a symmetrical perspective projection. ",
|
||||
"See gluPerspective for further details. Aspect ratio is defined as width/height.");
|
||||
I_Method4(bool, getPerspective, IN, double &, fovy, IN, double &, aspectRatio, IN, double &, zNear, IN, double &, zFar,
|
||||
__bool__getPerspective__double_R1__double_R1__double_R1__double_R1,
|
||||
"Get the frustum settings of a symmetric perspective projection matrix. ",
|
||||
"Return false if matrix is not a perspective matrix, where parameter values are undefined. Note, if matrix is not a symmetric perspective matrix then the shear will be lost. Asymmetric matrices occur when stereo, power walls, caves and reality center display are used. In these configuration one should use the AsFrustum method instead.");
|
||||
I_Method3(void, makeLookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
|
||||
__void__makeLookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"Set the position and orientation to be a view matrix, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3f &, eye, , IN, osg::Vec3f &, center, , IN, osg::Vec3f &, up, , IN, osg::Matrixf::value_type, lookDistance, 1.0f,
|
||||
__void__getLookAt__Vec3f_R1__Vec3f_R1__Vec3f_R1__value_type,
|
||||
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_MethodWithDefaults4(void, getLookAt, IN, osg::Vec3d &, eye, , IN, osg::Vec3d &, center, , IN, osg::Vec3d &, up, , IN, osg::Matrixf::value_type, lookDistance, 1.0f,
|
||||
__void__getLookAt__Vec3d_R1__Vec3d_R1__Vec3d_R1__value_type,
|
||||
"Get to the position and orientation of a modelview matrix, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_Method1(bool, invert, IN, const osg::Matrixf &, rhs,
|
||||
__bool__invert__C5_Matrixf_R1,
|
||||
"invert the matrix rhs, automatically select invert_4x3 or invert_4x4. ",
|
||||
"");
|
||||
I_Method1(bool, invert_4x3, IN, const osg::Matrixf &, rhs,
|
||||
__bool__invert_4x3__C5_Matrixf_R1,
|
||||
"4x3 matrix invert, not right hand column is assumed to be 0,0,0,1. ",
|
||||
"");
|
||||
I_Method1(bool, invert_4x4, IN, const osg::Matrixf &, rhs,
|
||||
__bool__invert_4x4__C5_Matrixf_R1,
|
||||
"full 4x4 matrix invert. ",
|
||||
"");
|
||||
I_Method1(void, orthoNormalize, IN, const osg::Matrixf &, rhs,
|
||||
__void__orthoNormalize__C5_Matrixf_R1,
|
||||
"ortho-normalize the 3x3 rotation & scale matrix ",
|
||||
"");
|
||||
I_Method1(osg::Vec3f, preMult, IN, const osg::Vec3f &, v,
|
||||
__Vec3f__preMult__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, preMult, IN, const osg::Vec3d &, v,
|
||||
__Vec3d__preMult__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3f, postMult, IN, const osg::Vec3f &, v,
|
||||
__Vec3f__postMult__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec3d, postMult, IN, const osg::Vec3d &, v,
|
||||
__Vec3d__postMult__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4f, preMult, IN, const osg::Vec4f &, v,
|
||||
__Vec4f__preMult__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4d, preMult, IN, const osg::Vec4d &, v,
|
||||
__Vec4d__preMult__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4f, postMult, IN, const osg::Vec4f &, v,
|
||||
__Vec4f__postMult__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Vec4d, postMult, IN, const osg::Vec4d &, v,
|
||||
__Vec4d__postMult__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Quat &, q,
|
||||
__void__set__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Quat &, q,
|
||||
__void__get__Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRotate, IN, const osg::Quat &, q,
|
||||
__void__setRotate__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat, getRotate,
|
||||
__Quat__getRotate,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setTrans, IN, osg::Matrixf::value_type, tx, IN, osg::Matrixf::value_type, ty, IN, osg::Matrixf::value_type, tz,
|
||||
__void__setTrans__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrans, IN, const osg::Vec3f &, v,
|
||||
__void__setTrans__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrans, IN, const osg::Vec3d &, v,
|
||||
__void__setTrans__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, getTrans,
|
||||
__Vec3d__getTrans,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, getScale,
|
||||
__Vec3d__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, mult, IN, const osg::Matrixf &, x, IN, const osg::Matrixf &, x,
|
||||
__void__mult__C5_Matrixf_R1__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, preMult, IN, const osg::Matrixf &, x,
|
||||
__void__preMult__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, postMult, IN, const osg::Matrixf &, x,
|
||||
__void__postMult__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(osg::Matrixf, identity,
|
||||
__Matrixf__identity_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixf, scale, IN, const osg::Vec3f &, sv,
|
||||
__Matrixf__scale__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixf, scale, IN, const osg::Vec3d &, sv,
|
||||
__Matrixf__scale__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod3(osg::Matrixf, scale, IN, osg::Matrixf::value_type, sx, IN, osg::Matrixf::value_type, sy, IN, osg::Matrixf::value_type, sz,
|
||||
__Matrixf__scale__value_type__value_type__value_type_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixf, translate, IN, const osg::Vec3f &, dv,
|
||||
__Matrixf__translate__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixf, translate, IN, const osg::Vec3d &, dv,
|
||||
__Matrixf__translate__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod3(osg::Matrixf, translate, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z,
|
||||
__Matrixf__translate__value_type__value_type__value_type_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Matrixf, rotate, IN, const osg::Vec3f &, from, IN, const osg::Vec3f &, to,
|
||||
__Matrixf__rotate__C5_Vec3f_R1__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Matrixf, rotate, IN, const osg::Vec3d &, from, IN, const osg::Vec3d &, to,
|
||||
__Matrixf__rotate__C5_Vec3d_R1__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod4(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, osg::Matrixf::value_type, x, IN, osg::Matrixf::value_type, y, IN, osg::Matrixf::value_type, z,
|
||||
__Matrixf__rotate__value_type__value_type__value_type__value_type_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3f &, axis,
|
||||
__Matrixf__rotate__value_type__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod2(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle, IN, const osg::Vec3d &, axis,
|
||||
__Matrixf__rotate__value_type__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod6(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
__Matrixf__rotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod6(osg::Matrixf, rotate, IN, osg::Matrixf::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Matrixf::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Matrixf::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
__Matrixf__rotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixf, rotate, IN, const osg::Quat &, quat,
|
||||
__Matrixf__rotate__C5_Quat_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixf, inverse, IN, const osg::Matrixf &, matrix,
|
||||
__Matrixf__inverse__C5_Matrixf_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(osg::Matrixf, orthoNormal, IN, const osg::Matrixf &, matrix,
|
||||
__Matrixf__orthoNormal__C5_Matrixf_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod6(osg::Matrixf, ortho, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__Matrixf__ortho__double__double__double__double__double__double_S,
|
||||
"Create an orthographic projection matrix. ",
|
||||
"See glOrtho for further details.");
|
||||
I_StaticMethod4(osg::Matrixf, ortho2D, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top,
|
||||
__Matrixf__ortho2D__double__double__double__double_S,
|
||||
"Create a 2D orthographic projection. ",
|
||||
"See glOrtho for further details.");
|
||||
I_StaticMethod6(osg::Matrixf, frustum, IN, double, left, IN, double, right, IN, double, bottom, IN, double, top, IN, double, zNear, IN, double, zFar,
|
||||
__Matrixf__frustum__double__double__double__double__double__double_S,
|
||||
"Create a perspective projection. ",
|
||||
"See glFrustum for further details.");
|
||||
I_StaticMethod4(osg::Matrixf, perspective, IN, double, fovy, IN, double, aspectRatio, IN, double, zNear, IN, double, zFar,
|
||||
__Matrixf__perspective__double__double__double__double_S,
|
||||
"Create a symmetrical perspective projection. ",
|
||||
"See gluPerspective for further details. Aspect ratio is defined as width/height.");
|
||||
I_StaticMethod3(osg::Matrixf, lookAt, IN, const osg::Vec3f &, eye, IN, const osg::Vec3f &, center, IN, const osg::Vec3f &, up,
|
||||
__Matrixf__lookAt__C5_Vec3f_R1__C5_Vec3f_R1__C5_Vec3f_R1_S,
|
||||
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_StaticMethod3(osg::Matrixf, lookAt, IN, const osg::Vec3d &, eye, IN, const osg::Vec3d &, center, IN, const osg::Vec3d &, up,
|
||||
__Matrixf__lookAt__C5_Vec3d_R1__C5_Vec3d_R1__C5_Vec3d_R1_S,
|
||||
"Create the position and orientation as per a camera, using the same convention as gluLookAt. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Vec3f &, v, IN, const osg::Matrixf &, m,
|
||||
__Vec3f__transform3x3__C5_Vec3f_R1__C5_Matrixf_R1_S,
|
||||
"apply a 3x3 transform of v*M[0. ",
|
||||
".2,0..2]. ");
|
||||
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Vec3d &, v, IN, const osg::Matrixf &, m,
|
||||
__Vec3d__transform3x3__C5_Vec3d_R1__C5_Matrixf_R1_S,
|
||||
"apply a 3x3 transform of v*M[0. ",
|
||||
".2,0..2]. ");
|
||||
I_StaticMethod2(osg::Vec3f, transform3x3, IN, const osg::Matrixf &, m, IN, const osg::Vec3f &, v,
|
||||
__Vec3f__transform3x3__C5_Matrixf_R1__C5_Vec3f_R1_S,
|
||||
"apply a 3x3 transform of M[0. ",
|
||||
".2,0..2]*v. ");
|
||||
I_StaticMethod2(osg::Vec3d, transform3x3, IN, const osg::Matrixf &, m, IN, const osg::Vec3d &, v,
|
||||
__Vec3d__transform3x3__C5_Matrixf_R1__C5_Vec3d_R1_S,
|
||||
"apply a 3x3 transform of M[0. ",
|
||||
".2,0..2]*v. ");
|
||||
I_SimpleProperty(osg::Quat, Rotate,
|
||||
__Quat__getRotate,
|
||||
__void__setRotate__C5_Quat_R1);
|
||||
I_SimpleProperty(osg::Vec3d, Scale,
|
||||
__Vec3d__getScale,
|
||||
0);
|
||||
I_SimpleProperty(osg::Vec3d, Trans,
|
||||
__Vec3d__getTrans,
|
||||
__void__setTrans__C5_Vec3d_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::RefMatrixf)
|
||||
I_BaseType(osg::Object);
|
||||
I_BaseType(osg::Matrixf);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::Matrixf &, other);
|
||||
I_Constructor1(IN, const osg::Matrixd &, other);
|
||||
I_Constructor1(IN, const osg::RefMatrixf &, other);
|
||||
I_Constructor1(IN, osg::Matrixf::value_type const *const, def);
|
||||
I_Constructor16(IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Constructor0(____RefMatrixf,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrixf &, other,
|
||||
____RefMatrixf__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrixd &, other,
|
||||
____RefMatrixf__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::RefMatrixf &, other,
|
||||
____RefMatrixf__C5_RefMatrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Matrixf::value_type const *const, def,
|
||||
____RefMatrixf__Matrixf_value_type_C5_P1C5,
|
||||
"",
|
||||
"");
|
||||
I_Constructor16(IN, osg::Matrixf::value_type, a00, IN, osg::Matrixf::value_type, a01, IN, osg::Matrixf::value_type, a02, IN, osg::Matrixf::value_type, a03, IN, osg::Matrixf::value_type, a10, IN, osg::Matrixf::value_type, a11, IN, osg::Matrixf::value_type, a12, IN, osg::Matrixf::value_type, a13, IN, osg::Matrixf::value_type, a20, IN, osg::Matrixf::value_type, a21, IN, osg::Matrixf::value_type, a22, IN, osg::Matrixf::value_type, a23, IN, osg::Matrixf::value_type, a30, IN, osg::Matrixf::value_type, a31, IN, osg::Matrixf::value_type, a32, IN, osg::Matrixf::value_type, a33,
|
||||
____RefMatrixf__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type__Matrixf_value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -32,46 +32,145 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Multisample)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Multisample &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method2(void, setSampleCoverage, IN, float, coverage, IN, bool, invert);
|
||||
I_Method1(void, setCoverage, IN, float, coverage);
|
||||
I_Method0(float, getCoverage);
|
||||
I_Method1(void, setInvert, IN, bool, invert);
|
||||
I_Method0(bool, getInvert);
|
||||
I_Method1(void, setHint, IN, osg::Multisample::Mode, mode);
|
||||
I_Method0(osg::Multisample::Mode, getHint);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_StaticMethod2(osg::Multisample::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized);
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Multisample::Extensions *, extensions);
|
||||
I_Property(float, Coverage);
|
||||
I_Property(osg::Multisample::Mode, Hint);
|
||||
I_Property(bool, Invert);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____Multisample,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Multisample &, trans, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Multisample__C5_Multisample_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method2(void, setSampleCoverage, IN, float, coverage, IN, bool, invert,
|
||||
__void__setSampleCoverage__float__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCoverage, IN, float, coverage,
|
||||
__void__setCoverage__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getCoverage,
|
||||
__float__getCoverage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInvert, IN, bool, invert,
|
||||
__void__setInvert__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getInvert,
|
||||
__bool__getInvert,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setHint, IN, osg::Multisample::Mode, mode,
|
||||
__void__setHint__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Multisample::Mode, getHint,
|
||||
__Mode__getHint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(osg::Multisample::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Function to call to get the extension of a specified context. ",
|
||||
"If the Exentsion object for that context has not yet been created and the 'createIfNotInitalized' flag been set to false then returns NULL. If 'createIfNotInitalized' is true then the Extensions object is automatically created. However, in this case the extension object will only be created with the graphics context associated with ContextID.. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Multisample::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(float, Coverage,
|
||||
__float__getCoverage,
|
||||
__void__setCoverage__float);
|
||||
I_SimpleProperty(osg::Multisample::Mode, Hint,
|
||||
__Mode__getHint,
|
||||
__void__setHint__Mode);
|
||||
I_SimpleProperty(bool, Invert,
|
||||
__bool__getInvert,
|
||||
__void__setInvert__bool);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Multisample::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID);
|
||||
I_Constructor1(IN, const osg::Multisample::Extensions &, rhs);
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Multisample::Extensions &, rhs);
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID);
|
||||
I_Method1(void, setMultisampleSupported, IN, bool, flag);
|
||||
I_Method1(void, setMultisampleFilterHintSupported, IN, bool, flag);
|
||||
I_Method0(bool, isMultisampleSupported);
|
||||
I_Method0(bool, isMultisampleFilterHintSupported);
|
||||
I_Method1(void, setSampleCoverageProc, IN, void *, ptr);
|
||||
I_Method2(void, glSampleCoverage, IN, GLclampf, value, IN, GLboolean, invert);
|
||||
I_WriteOnlyProperty(bool, MultisampleFilterHintSupported);
|
||||
I_WriteOnlyProperty(bool, MultisampleSupported);
|
||||
I_WriteOnlyProperty(void *, SampleCoverageProc);
|
||||
I_WriteOnlyProperty(unsigned int, upGLExtenions);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Multisample::Extensions &, rhs,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Multisample::Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMultisampleSupported, IN, bool, flag,
|
||||
__void__setMultisampleSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMultisampleFilterHintSupported, IN, bool, flag,
|
||||
__void__setMultisampleFilterHintSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isMultisampleSupported,
|
||||
__bool__isMultisampleSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isMultisampleFilterHintSupported,
|
||||
__bool__isMultisampleFilterHintSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSampleCoverageProc, IN, void *, ptr,
|
||||
__void__setSampleCoverageProc__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glSampleCoverage, IN, GLclampf, value, IN, GLboolean, invert,
|
||||
__void__glSampleCoverage__GLclampf__GLboolean,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, MultisampleFilterHintSupported,
|
||||
0,
|
||||
__void__setMultisampleFilterHintSupported__bool);
|
||||
I_SimpleProperty(bool, MultisampleSupported,
|
||||
0,
|
||||
__void__setMultisampleSupported__bool);
|
||||
I_SimpleProperty(void *, SampleCoverageProc,
|
||||
0,
|
||||
__void__setSampleCoverageProc__void_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -37,91 +37,327 @@ TYPE_NAME_ALIAS(std::vector< std::string >, osg::Node::DescriptionList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Node)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Node &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::Group *, asGroup);
|
||||
I_Method0(const osg::Group *, asGroup);
|
||||
I_Method0(osg::Transform *, asTransform);
|
||||
I_Method0(const osg::Transform *, asTransform);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, ascend, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x);
|
||||
I_Method0(const osg::Node::ParentList &, getParents);
|
||||
I_Method0(osg::Node::ParentList, getParents);
|
||||
I_Method1(osg::Group *, getParent, IN, unsigned int, i);
|
||||
I_Method1(const osg::Group *, getParent, IN, unsigned int, i);
|
||||
I_Method0(unsigned int, getNumParents);
|
||||
I_MethodWithDefaults1(osg::NodePathList, getParentalNodePaths, IN, osg::Node *, haltTraversalAtNode, 0);
|
||||
I_MethodWithDefaults1(osg::MatrixList, getWorldMatrices, IN, osg::Node *, haltTraversalAtNode, 0);
|
||||
I_Method1(void, setUpdateCallback, IN, osg::NodeCallback *, nc);
|
||||
I_Method0(osg::NodeCallback *, getUpdateCallback);
|
||||
I_Method0(const osg::NodeCallback *, getUpdateCallback);
|
||||
I_Method0(unsigned int, getNumChildrenRequiringUpdateTraversal);
|
||||
I_Method1(void, setEventCallback, IN, osg::NodeCallback *, nc);
|
||||
I_Method0(osg::NodeCallback *, getEventCallback);
|
||||
I_Method0(const osg::NodeCallback *, getEventCallback);
|
||||
I_Method0(unsigned int, getNumChildrenRequiringEventTraversal);
|
||||
I_Method1(void, setCullCallback, IN, osg::NodeCallback *, nc);
|
||||
I_Method0(osg::NodeCallback *, getCullCallback);
|
||||
I_Method0(const osg::NodeCallback *, getCullCallback);
|
||||
I_Method1(void, setCullingActive, IN, bool, active);
|
||||
I_Method0(bool, getCullingActive);
|
||||
I_Method0(unsigned int, getNumChildrenWithCullingDisabled);
|
||||
I_Method0(bool, isCullingActive);
|
||||
I_Method0(unsigned int, getNumChildrenWithOccluderNodes);
|
||||
I_Method0(bool, containsOccluderNodes);
|
||||
I_Method1(void, setNodeMask, IN, osg::Node::NodeMask, nm);
|
||||
I_Method0(osg::Node::NodeMask, getNodeMask);
|
||||
I_Method1(void, setDescriptions, IN, const osg::Node::DescriptionList &, descriptions);
|
||||
I_Method0(osg::Node::DescriptionList &, getDescriptions);
|
||||
I_Method0(const osg::Node::DescriptionList &, getDescriptions);
|
||||
I_Method1(const std::string &, getDescription, IN, unsigned int, i);
|
||||
I_Method1(std::string &, getDescription, IN, unsigned int, i);
|
||||
I_Method0(unsigned int, getNumDescriptions);
|
||||
I_Method1(void, addDescription, IN, const std::string &, desc);
|
||||
I_Method1(void, setStateSet, IN, osg::StateSet *, stateset);
|
||||
I_Method0(osg::StateSet *, getOrCreateStateSet);
|
||||
I_Method0(osg::StateSet *, getStateSet);
|
||||
I_Method0(const osg::StateSet *, getStateSet);
|
||||
I_Method1(void, setInitialBound, IN, const osg::BoundingSphere &, bsphere);
|
||||
I_Method0(const osg::BoundingSphere &, getInitialBound);
|
||||
I_Method0(void, dirtyBound);
|
||||
I_Method0(const osg::BoundingSphere &, getBound);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_Method1(void, setComputeBoundingSphereCallback, IN, osg::Node::ComputeBoundingSphereCallback *, callback);
|
||||
I_Method0(osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback);
|
||||
I_Method0(const osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0);
|
||||
I_ReadOnlyProperty(const osg::BoundingSphere &, Bound);
|
||||
I_Property(osg::Node::ComputeBoundingSphereCallback *, ComputeBoundingSphereCallback);
|
||||
I_Property(osg::NodeCallback *, CullCallback);
|
||||
I_Property(bool, CullingActive);
|
||||
I_ArrayProperty_GA(const std::string &, Description, Descriptions, unsigned int, void);
|
||||
I_Property(const osg::Node::DescriptionList &, Descriptions);
|
||||
I_Property(osg::NodeCallback *, EventCallback);
|
||||
I_Property(const osg::BoundingSphere &, InitialBound);
|
||||
I_Property(osg::Node::NodeMask, NodeMask);
|
||||
I_ArrayProperty_G(osg::Group *, Parent, Parents, unsigned int, void);
|
||||
I_ReadOnlyProperty(osg::Node::ParentList, Parents);
|
||||
I_Property(osg::StateSet *, StateSet);
|
||||
I_Property(osg::NodeCallback *, UpdateCallback);
|
||||
I_Constructor0(____Node,
|
||||
"Construct a node. ",
|
||||
"Initialize the parent list to empty, node name to \"\" and bounding sphere dirty flag to true. ");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Node &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Node__C5_Node_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"return a clone of a node, with Object* return type. ",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(osg::Group *, asGroup,
|
||||
__Group_P1__asGroup,
|
||||
"convert 'this' into a Group pointer if Node is a Group, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<Group*>(this). ");
|
||||
I_Method0(const osg::Group *, asGroup,
|
||||
__C5_Group_P1__asGroup,
|
||||
"convert 'const this' into a const Group pointer if Node is a Group, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<const Group*>(this). ");
|
||||
I_Method0(osg::Transform *, asTransform,
|
||||
__Transform_P1__asTransform,
|
||||
"Convert 'this' into a Transform pointer if Node is a Transform, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<Transform*>(this). ");
|
||||
I_Method0(const osg::Transform *, asTransform,
|
||||
__C5_Transform_P1__asTransform,
|
||||
"convert 'const this' into a const Transform pointer if Node is a Transform, otherwise return 0. ",
|
||||
"Equivalent to dynamic_cast<const Transform*>(this). ");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, ascend, IN, osg::NodeVisitor &, nv,
|
||||
__void__ascend__NodeVisitor_R1,
|
||||
"Traverse upwards : calls parents' accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, x,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method0(const osg::Node::ParentList &, getParents,
|
||||
__C5_ParentList_R1__getParents,
|
||||
"Get the parent list of node. ",
|
||||
"");
|
||||
I_Method0(osg::Node::ParentList, getParents,
|
||||
__ParentList__getParents,
|
||||
"Get the a copy of parent list of node. ",
|
||||
"A copy is returned to prevent modification of the parent list. ");
|
||||
I_Method1(osg::Group *, getParent, IN, unsigned int, i,
|
||||
__Group_P1__getParent__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Group *, getParent, IN, unsigned int, i,
|
||||
__C5_Group_P1__getParent__unsigned_int,
|
||||
"Get a single const parent of node. ",
|
||||
" param i index of the parent to get. return the parent i.");
|
||||
I_Method0(unsigned int, getNumParents,
|
||||
__unsigned_int__getNumParents,
|
||||
"Get the number of parents of node. ",
|
||||
"the number of parents of this node. ");
|
||||
I_MethodWithDefaults1(osg::NodePathList, getParentalNodePaths, IN, osg::Node *, haltTraversalAtNode, 0,
|
||||
__NodePathList__getParentalNodePaths__osg_Node_P1,
|
||||
"Get the list of node paths parent paths. ",
|
||||
"The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. ");
|
||||
I_MethodWithDefaults1(osg::MatrixList, getWorldMatrices, IN, osg::Node *, haltTraversalAtNode, 0,
|
||||
__MatrixList__getWorldMatrices__osg_Node_P1,
|
||||
"Get the list of matrices that transform this node from local coordinates to world coordinates. ",
|
||||
"The optional Node* haltTraversalAtNode allows the user to prevent traversal beyond a specifed node. ");
|
||||
I_Method1(void, setUpdateCallback, IN, osg::NodeCallback *, nc,
|
||||
__void__setUpdateCallback__NodeCallback_P1,
|
||||
"Set update node callback, called during update traversal. ",
|
||||
"");
|
||||
I_Method0(osg::NodeCallback *, getUpdateCallback,
|
||||
__NodeCallback_P1__getUpdateCallback,
|
||||
"Get update node callback, called during update traversal. ",
|
||||
"");
|
||||
I_Method0(const osg::NodeCallback *, getUpdateCallback,
|
||||
__C5_NodeCallback_P1__getUpdateCallback,
|
||||
"Get const update node callback, called during update traversal. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumChildrenRequiringUpdateTraversal,
|
||||
__unsigned_int__getNumChildrenRequiringUpdateTraversal,
|
||||
"Get the number of Children of this node which require Update traversal, since they have an Update Callback attached to them or their children. ",
|
||||
"");
|
||||
I_Method1(void, setEventCallback, IN, osg::NodeCallback *, nc,
|
||||
__void__setEventCallback__NodeCallback_P1,
|
||||
"Set update node callback, called during update traversal. ",
|
||||
"");
|
||||
I_Method0(osg::NodeCallback *, getEventCallback,
|
||||
__NodeCallback_P1__getEventCallback,
|
||||
"Get update node callback, called during update traversal. ",
|
||||
"");
|
||||
I_Method0(const osg::NodeCallback *, getEventCallback,
|
||||
__C5_NodeCallback_P1__getEventCallback,
|
||||
"Get const update node callback, called during update traversal. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumChildrenRequiringEventTraversal,
|
||||
__unsigned_int__getNumChildrenRequiringEventTraversal,
|
||||
"Get the number of Children of this node which require Event traversal, since they have an Event Callback attached to them or their children. ",
|
||||
"");
|
||||
I_Method1(void, setCullCallback, IN, osg::NodeCallback *, nc,
|
||||
__void__setCullCallback__NodeCallback_P1,
|
||||
"Set cull node callback, called during cull traversal. ",
|
||||
"");
|
||||
I_Method0(osg::NodeCallback *, getCullCallback,
|
||||
__NodeCallback_P1__getCullCallback,
|
||||
"Get cull node callback, called during cull traversal. ",
|
||||
"");
|
||||
I_Method0(const osg::NodeCallback *, getCullCallback,
|
||||
__C5_NodeCallback_P1__getCullCallback,
|
||||
"Get const cull node callback, called during cull traversal. ",
|
||||
"");
|
||||
I_Method1(void, setCullingActive, IN, bool, active,
|
||||
__void__setCullingActive__bool,
|
||||
"Set the view frustum/small feature culling of this node to be active or inactive. ",
|
||||
"The default value is true for _cullingActive. Used as a guide to the cull traversal. ");
|
||||
I_Method0(bool, getCullingActive,
|
||||
__bool__getCullingActive,
|
||||
"Get the view frustum/small feature _cullingActive flag for this node. ",
|
||||
"Used as a guide to the cull traversal. ");
|
||||
I_Method0(unsigned int, getNumChildrenWithCullingDisabled,
|
||||
__unsigned_int__getNumChildrenWithCullingDisabled,
|
||||
"Get the number of Children of this node which have culling disabled. ",
|
||||
"");
|
||||
I_Method0(bool, isCullingActive,
|
||||
__bool__isCullingActive,
|
||||
"Return true if this node can be culled by view frustum, occlusion or small feature culling during the cull traversal. ",
|
||||
"Note, returns true only if no children have culling disabled, and the local _cullingActive flag is true. ");
|
||||
I_Method0(unsigned int, getNumChildrenWithOccluderNodes,
|
||||
__unsigned_int__getNumChildrenWithOccluderNodes,
|
||||
"Get the number of Children of this node which are or have OccluderNode's. ",
|
||||
"");
|
||||
I_Method0(bool, containsOccluderNodes,
|
||||
__bool__containsOccluderNodes,
|
||||
"return true if this node is an OccluderNode or the subgraph below this node are OccluderNodes. ",
|
||||
"");
|
||||
I_Method1(void, setNodeMask, IN, osg::Node::NodeMask, nm,
|
||||
__void__setNodeMask__NodeMask,
|
||||
"Set the node mask. ",
|
||||
"");
|
||||
I_Method0(osg::Node::NodeMask, getNodeMask,
|
||||
__NodeMask__getNodeMask,
|
||||
"Get the node Mask. ",
|
||||
"");
|
||||
I_Method1(void, setDescriptions, IN, const osg::Node::DescriptionList &, descriptions,
|
||||
__void__setDescriptions__C5_DescriptionList_R1,
|
||||
"Set the description list of the node. ",
|
||||
"");
|
||||
I_Method0(osg::Node::DescriptionList &, getDescriptions,
|
||||
__DescriptionList_R1__getDescriptions,
|
||||
"Get the description list of the node. ",
|
||||
"");
|
||||
I_Method0(const osg::Node::DescriptionList &, getDescriptions,
|
||||
__C5_DescriptionList_R1__getDescriptions,
|
||||
"Get the const description list of the const node. ",
|
||||
"");
|
||||
I_Method1(const std::string &, getDescription, IN, unsigned int, i,
|
||||
__C5_std_string_R1__getDescription__unsigned_int,
|
||||
"Get a single const description of the const node. ",
|
||||
"");
|
||||
I_Method1(std::string &, getDescription, IN, unsigned int, i,
|
||||
__std_string_R1__getDescription__unsigned_int,
|
||||
"Get a single description of the node. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumDescriptions,
|
||||
__unsigned_int__getNumDescriptions,
|
||||
"Get the number of descriptions of the node. ",
|
||||
"");
|
||||
I_Method1(void, addDescription, IN, const std::string &, desc,
|
||||
__void__addDescription__C5_std_string_R1,
|
||||
"Add a description string to the node. ",
|
||||
"");
|
||||
I_Method1(void, setStateSet, IN, osg::StateSet *, stateset,
|
||||
__void__setStateSet__osg_StateSet_P1,
|
||||
"Set the node's StateSet. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet *, getOrCreateStateSet,
|
||||
__osg_StateSet_P1__getOrCreateStateSet,
|
||||
"return the node's StateSet, if one does not already exist create it set the node and return the newly created StateSet. ",
|
||||
"This ensures that a valid StateSet is always returned and can be used directly. ");
|
||||
I_Method0(osg::StateSet *, getStateSet,
|
||||
__osg_StateSet_P1__getStateSet,
|
||||
"Return the node's StateSet. ",
|
||||
"returns NULL if a stateset is not attached. ");
|
||||
I_Method0(const osg::StateSet *, getStateSet,
|
||||
__C5_osg_StateSet_P1__getStateSet,
|
||||
"Return the node's const StateSet. ",
|
||||
"Returns NULL if a stateset is not attached. ");
|
||||
I_Method1(void, setInitialBound, IN, const osg::BoundingSphere &, bsphere,
|
||||
__void__setInitialBound__C5_osg_BoundingSphere_R1,
|
||||
"Set the intial bounding volume to use when computing the overall bounding volume. ",
|
||||
"");
|
||||
I_Method0(const osg::BoundingSphere &, getInitialBound,
|
||||
__C5_BoundingSphere_R1__getInitialBound,
|
||||
"Set the intial bounding volume to use when computing the overall bounding volume. ",
|
||||
"");
|
||||
I_Method0(void, dirtyBound,
|
||||
__void__dirtyBound,
|
||||
"Mark this node's bounding sphere dirty. ",
|
||||
"Forcing it to be computed on the next call to getBound(). ");
|
||||
I_Method0(const osg::BoundingSphere &, getBound,
|
||||
__C5_BoundingSphere_R1__getBound,
|
||||
"Get the bounding sphere of node. ",
|
||||
"Using lazy evaluation computes the bounding sphere if it is 'dirty'. ");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__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_Method1(void, setComputeBoundingSphereCallback, IN, osg::Node::ComputeBoundingSphereCallback *, callback,
|
||||
__void__setComputeBoundingSphereCallback__ComputeBoundingSphereCallback_P1,
|
||||
"Set the compute bound callback to override the default computeBound. ",
|
||||
"");
|
||||
I_Method0(osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback,
|
||||
__ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback,
|
||||
"Get the compute bound callback. ",
|
||||
"");
|
||||
I_Method0(const osg::Node::ComputeBoundingSphereCallback *, getComputeBoundingSphereCallback,
|
||||
__C5_ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback,
|
||||
"Get the const compute bound callback. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
__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(const osg::BoundingSphere &, Bound,
|
||||
__C5_BoundingSphere_R1__getBound,
|
||||
0);
|
||||
I_SimpleProperty(osg::Node::ComputeBoundingSphereCallback *, ComputeBoundingSphereCallback,
|
||||
__ComputeBoundingSphereCallback_P1__getComputeBoundingSphereCallback,
|
||||
__void__setComputeBoundingSphereCallback__ComputeBoundingSphereCallback_P1);
|
||||
I_SimpleProperty(osg::NodeCallback *, CullCallback,
|
||||
__NodeCallback_P1__getCullCallback,
|
||||
__void__setCullCallback__NodeCallback_P1);
|
||||
I_SimpleProperty(bool, CullingActive,
|
||||
__bool__getCullingActive,
|
||||
__void__setCullingActive__bool);
|
||||
I_ArrayProperty(const std::string &, Description,
|
||||
__C5_std_string_R1__getDescription__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumDescriptions,
|
||||
__void__addDescription__C5_std_string_R1,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Node::DescriptionList &, Descriptions,
|
||||
__C5_DescriptionList_R1__getDescriptions,
|
||||
__void__setDescriptions__C5_DescriptionList_R1);
|
||||
I_SimpleProperty(osg::NodeCallback *, EventCallback,
|
||||
__NodeCallback_P1__getEventCallback,
|
||||
__void__setEventCallback__NodeCallback_P1);
|
||||
I_SimpleProperty(const osg::BoundingSphere &, InitialBound,
|
||||
__C5_BoundingSphere_R1__getInitialBound,
|
||||
__void__setInitialBound__C5_osg_BoundingSphere_R1);
|
||||
I_SimpleProperty(osg::Node::NodeMask, NodeMask,
|
||||
__NodeMask__getNodeMask,
|
||||
__void__setNodeMask__NodeMask);
|
||||
I_ArrayProperty(osg::Group *, Parent,
|
||||
__Group_P1__getParent__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumParents,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(osg::Node::ParentList, Parents,
|
||||
__ParentList__getParents,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateSet *, StateSet,
|
||||
__osg_StateSet_P1__getStateSet,
|
||||
__void__setStateSet__osg_StateSet_P1);
|
||||
I_SimpleProperty(osg::NodeCallback *, UpdateCallback,
|
||||
__NodeCallback_P1__getUpdateCallback,
|
||||
__void__setUpdateCallback__NodeCallback_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Node::ComputeBoundingSphereCallback)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, const osg::Node::ComputeBoundingSphereCallback &, x, IN, const osg::CopyOp &, x);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(osg::BoundingSphere, computeBound, IN, const osg::Node &, x);
|
||||
I_Constructor0(____ComputeBoundingSphereCallback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Node::ComputeBoundingSphereCallback &, x, IN, const osg::CopyOp &, x,
|
||||
____ComputeBoundingSphereCallback__C5_ComputeBoundingSphereCallback_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::BoundingSphere, computeBound, IN, const osg::Node &, x,
|
||||
__BoundingSphere__computeBound__C5_osg_Node_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Node * >, osg::NodePath);
|
||||
|
||||
@@ -26,20 +26,60 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::NodeCallback)
|
||||
I_VirtualBaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, const osg::NodeCallback &, nc, IN, const osg::CopyOp &, x);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method2(void, traverse, IN, osg::Node *, node, IN, osg::NodeVisitor *, nv);
|
||||
I_Method1(void, setNestedCallback, IN, osg::NodeCallback *, nc);
|
||||
I_Method0(osg::NodeCallback *, getNestedCallback);
|
||||
I_Method0(const osg::NodeCallback *, getNestedCallback);
|
||||
I_Method1(void, addNestedCallback, IN, osg::NodeCallback *, nc);
|
||||
I_Method1(void, removeNestedCallback, IN, osg::NodeCallback *, nc);
|
||||
I_Property(osg::NodeCallback *, NestedCallback);
|
||||
I_Constructor0(____NodeCallback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::NodeCallback &, nc, IN, const osg::CopyOp &, x,
|
||||
____NodeCallback__C5_NodeCallback_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method2(void, traverse, IN, osg::Node *, node, IN, osg::NodeVisitor *, nv,
|
||||
__void__traverse__Node_P1__NodeVisitor_P1,
|
||||
"Call any nested callbacks and then traverse the scene graph. ",
|
||||
"");
|
||||
I_Method1(void, setNestedCallback, IN, osg::NodeCallback *, nc,
|
||||
__void__setNestedCallback__NodeCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::NodeCallback *, getNestedCallback,
|
||||
__NodeCallback_P1__getNestedCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::NodeCallback *, getNestedCallback,
|
||||
__C5_NodeCallback_P1__getNestedCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addNestedCallback, IN, osg::NodeCallback *, nc,
|
||||
__void__addNestedCallback__NodeCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, removeNestedCallback, IN, osg::NodeCallback *, nc,
|
||||
__void__removeNestedCallback__NodeCallback_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::NodeCallback *, NestedCallback,
|
||||
__NodeCallback_P1__getNestedCallback,
|
||||
__void__setNestedCallback__NodeCallback_P1);
|
||||
I_PublicMemberProperty(osg::ref_ptr< osg::NodeCallback >, _nestedCallback);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,29 +26,81 @@ TYPE_NAME_ALIAS(std::vector< osg::observer_ptr< osg::Node > >, osg::NodeTrackerC
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::NodeTrackerCallback)
|
||||
I_BaseType(osg::NodeCallback);
|
||||
I_Constructor0();
|
||||
I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath);
|
||||
I_Method1(void, setTrackNodePath, IN, const osg::NodeTrackerCallback::ObserveredNodePath &, nodePath);
|
||||
I_Method0(osg::NodeTrackerCallback::ObserveredNodePath &, getTrackNodePath);
|
||||
I_Method1(void, setTrackNode, IN, osg::Node *, node);
|
||||
I_Method0(osg::Node *, getTrackNode);
|
||||
I_Method0(const osg::Node *, getTrackNode);
|
||||
I_Method1(void, update, IN, osg::Node &, node);
|
||||
I_Method0(bool, validateNodePath);
|
||||
I_Property(osg::Node *, TrackNode);
|
||||
I_ReadOnlyProperty(osg::NodeTrackerCallback::ObserveredNodePath &, TrackNodePath);
|
||||
I_Constructor0(____NodeTrackerCallback,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNodePath, IN, const osg::NodePath &, nodePath,
|
||||
__void__setTrackNodePath__C5_osg_NodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNodePath, IN, const osg::NodeTrackerCallback::ObserveredNodePath &, nodePath,
|
||||
__void__setTrackNodePath__C5_ObserveredNodePath_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::NodeTrackerCallback::ObserveredNodePath &, getTrackNodePath,
|
||||
__ObserveredNodePath_R1__getTrackNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTrackNode, IN, osg::Node *, node,
|
||||
__void__setTrackNode__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getTrackNode,
|
||||
__osg_Node_P1__getTrackNode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getTrackNode,
|
||||
__C5_osg_Node_P1__getTrackNode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, update, IN, osg::Node &, node,
|
||||
__void__update__osg_Node_R1,
|
||||
"Update the node to track the nodepath. ",
|
||||
"");
|
||||
I_Method0(bool, validateNodePath,
|
||||
__bool__validateNodePath,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Node *, TrackNode,
|
||||
__osg_Node_P1__getTrackNode,
|
||||
__void__setTrackNode__osg_Node_P1);
|
||||
I_SimpleProperty(osg::NodeTrackerCallback::ObserveredNodePath &, TrackNodePath,
|
||||
__ObserveredNodePath_R1__getTrackNodePath,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::observer_ptr< osg::Node >)
|
||||
I_BaseType(osg::Observer);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::Node *, t);
|
||||
I_Constructor1(IN, const osg::observer_ptr< osg::Node > &, rp);
|
||||
I_Method1(void, objectDeleted, IN, void *, ptr);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::Node *, get);
|
||||
I_Method0(const osg::Node *, get);
|
||||
I_ReadOnlyProperty(osg::Node *, );
|
||||
I_Constructor0(____observer_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Node *, t,
|
||||
____observer_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::observer_ptr< osg::Node > &, rp,
|
||||
____observer_ptr__C5_observer_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, objectDeleted, IN, void *, ptr,
|
||||
__void__objectDeleted__void_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, get,
|
||||
__C5_T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Node *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::observer_ptr< osg::Node > >);
|
||||
|
||||
@@ -46,7 +46,10 @@
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::NodeAcceptOp)
|
||||
I_Constructor1(IN, osg::NodeVisitor &, nv);
|
||||
I_Constructor1(IN, osg::NodeVisitor &, nv,
|
||||
____NodeAcceptOp__NodeVisitor_R1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::NodeVisitor::TraversalMode)
|
||||
@@ -66,73 +69,254 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::NodeVisitor)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_ConstructorWithDefaults1(IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE);
|
||||
I_ConstructorWithDefaults2(IN, osg::NodeVisitor::VisitorType, type, , IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE);
|
||||
I_Method0(void, reset);
|
||||
I_Method1(void, setVisitorType, IN, osg::NodeVisitor::VisitorType, type);
|
||||
I_Method0(osg::NodeVisitor::VisitorType, getVisitorType);
|
||||
I_Method1(void, setTraversalNumber, IN, int, fn);
|
||||
I_Method0(int, getTraversalNumber);
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs);
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp);
|
||||
I_Method1(void, setTraversalMask, IN, osg::Node::NodeMask, mask);
|
||||
I_Method0(osg::Node::NodeMask, getTraversalMask);
|
||||
I_Method1(void, setNodeMaskOverride, IN, osg::Node::NodeMask, mask);
|
||||
I_Method0(osg::Node::NodeMask, getNodeMaskOverride);
|
||||
I_Method1(bool, validNodeMask, IN, const osg::Node &, node);
|
||||
I_Method1(void, setTraversalMode, IN, osg::NodeVisitor::TraversalMode, mode);
|
||||
I_Method0(osg::NodeVisitor::TraversalMode, getTraversalMode);
|
||||
I_Method1(void, setUserData, IN, osg::Referenced *, obj);
|
||||
I_Method0(osg::Referenced *, getUserData);
|
||||
I_Method0(const osg::Referenced *, getUserData);
|
||||
I_Method1(void, traverse, IN, osg::Node &, node);
|
||||
I_Method1(void, pushOntoNodePath, IN, osg::Node *, node);
|
||||
I_Method0(void, popFromNodePath);
|
||||
I_Method0(osg::NodePath &, getNodePath);
|
||||
I_Method0(const osg::NodePath &, getNodePath);
|
||||
I_Method0(osg::Vec3, getEyePoint);
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, x, IN, bool, x);
|
||||
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, x, IN, bool, x);
|
||||
I_Method1(void, apply, IN, osg::Node &, node);
|
||||
I_Method1(void, apply, IN, osg::Geode &, node);
|
||||
I_Method1(void, apply, IN, osg::Billboard &, node);
|
||||
I_Method1(void, apply, IN, osg::Group &, node);
|
||||
I_Method1(void, apply, IN, osg::ProxyNode &, node);
|
||||
I_Method1(void, apply, IN, osg::Projection &, node);
|
||||
I_Method1(void, apply, IN, osg::CoordinateSystemNode &, node);
|
||||
I_Method1(void, apply, IN, osg::ClipNode &, node);
|
||||
I_Method1(void, apply, IN, osg::TexGenNode &, node);
|
||||
I_Method1(void, apply, IN, osg::LightSource &, node);
|
||||
I_Method1(void, apply, IN, osg::Transform &, node);
|
||||
I_Method1(void, apply, IN, osg::View &, node);
|
||||
I_Method1(void, apply, IN, osg::CameraNode &, node);
|
||||
I_Method1(void, apply, IN, osg::CameraView &, node);
|
||||
I_Method1(void, apply, IN, osg::MatrixTransform &, node);
|
||||
I_Method1(void, apply, IN, osg::PositionAttitudeTransform &, node);
|
||||
I_Method1(void, apply, IN, osg::Switch &, node);
|
||||
I_Method1(void, apply, IN, osg::Sequence &, node);
|
||||
I_Method1(void, apply, IN, osg::LOD &, node);
|
||||
I_Method1(void, apply, IN, osg::PagedLOD &, node);
|
||||
I_Method1(void, apply, IN, osg::ClearNode &, node);
|
||||
I_Method1(void, apply, IN, osg::OccluderNode &, node);
|
||||
I_Method1(void, setDatabaseRequestHandler, IN, osg::NodeVisitor::DatabaseRequestHandler *, handler);
|
||||
I_Method0(osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler);
|
||||
I_Method0(const osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler);
|
||||
I_Property(osg::NodeVisitor::DatabaseRequestHandler *, DatabaseRequestHandler);
|
||||
I_ReadOnlyProperty(osg::Vec3, EyePoint);
|
||||
I_WriteOnlyProperty(osg::FrameStamp *, FrameStamp);
|
||||
I_Property(osg::Node::NodeMask, NodeMaskOverride);
|
||||
I_ReadOnlyProperty(osg::NodePath &, NodePath);
|
||||
I_Property(osg::Node::NodeMask, TraversalMask);
|
||||
I_Property(osg::NodeVisitor::TraversalMode, TraversalMode);
|
||||
I_Property(int, TraversalNumber);
|
||||
I_Property(osg::Referenced *, UserData);
|
||||
I_Property(osg::NodeVisitor::VisitorType, VisitorType);
|
||||
I_ConstructorWithDefaults1(IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE,
|
||||
____NodeVisitor__TraversalMode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::NodeVisitor::VisitorType, type, , IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_NONE,
|
||||
____NodeVisitor__VisitorType__TraversalMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
__void__reset,
|
||||
"Method to call to reset visitor. ",
|
||||
"Useful if your visitor accumulates state during a traversal, and you plan to reuse the visitor. To flush that state for the next traversal: call reset() prior to each traversal. ");
|
||||
I_Method1(void, setVisitorType, IN, osg::NodeVisitor::VisitorType, type,
|
||||
__void__setVisitorType__VisitorType,
|
||||
"Set the VisitorType, used to distinguish different visitors during traversal of the scene, typically used in the Node::traverse() method to select which behaviour to use for different types of traversal/visitors. ",
|
||||
"");
|
||||
I_Method0(osg::NodeVisitor::VisitorType, getVisitorType,
|
||||
__VisitorType__getVisitorType,
|
||||
"Get the VisitorType. ",
|
||||
"");
|
||||
I_Method1(void, setTraversalNumber, IN, int, fn,
|
||||
__void__setTraversalNumber__int,
|
||||
"Set the traversal number. ",
|
||||
"Typically used to denote the frame count. ");
|
||||
I_Method0(int, getTraversalNumber,
|
||||
__int__getTraversalNumber,
|
||||
"Get the traversal number. ",
|
||||
"Typically used to denote the frame count. ");
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,
|
||||
__void__setFrameStamp__FrameStamp_P1,
|
||||
"Set the FrameStamp that this traversal is associated with. ",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
__C5_FrameStamp_P1__getFrameStamp,
|
||||
"Get the FrameStamp that this traversal is associated with. ",
|
||||
"");
|
||||
I_Method1(void, setTraversalMask, IN, osg::Node::NodeMask, mask,
|
||||
__void__setTraversalMask__Node_NodeMask,
|
||||
"Set the TraversalMask of this NodeVisitor. ",
|
||||
"The TraversalMask is used by the NodeVisitor::validNodeMask() method to determine whether to operate on a node and its subgraph. validNodeMask() is called automatically in the Node::accept() method before any call to NodeVisitor::apply(), apply() is only ever called if validNodeMask returns true. Note, if NodeVisitor::_traversalMask is 0 then all operations will be switched off for all nodes. Whereas setting both _traversalMask and _nodeMaskOverride to 0xffffffff will allow a visitor to work on all nodes regardless of their own Node::_nodeMask state. ");
|
||||
I_Method0(osg::Node::NodeMask, getTraversalMask,
|
||||
__Node_NodeMask__getTraversalMask,
|
||||
"Get the TraversalMask. ",
|
||||
"");
|
||||
I_Method1(void, setNodeMaskOverride, IN, osg::Node::NodeMask, mask,
|
||||
__void__setNodeMaskOverride__Node_NodeMask,
|
||||
"Set the NodeMaskOverride mask. ",
|
||||
"Used in validNodeMask() to determine whether to operate on a node or its subgraph, by OR'ing NodeVisitor::_nodeMaskOverride with the Node's own Node::_nodeMask. Typically used to force on nodes which may have been switched off by their own Node::_nodeMask. ");
|
||||
I_Method0(osg::Node::NodeMask, getNodeMaskOverride,
|
||||
__Node_NodeMask__getNodeMaskOverride,
|
||||
"Get the NodeMaskOverride mask. ",
|
||||
"");
|
||||
I_Method1(bool, validNodeMask, IN, const osg::Node &, node,
|
||||
__bool__validNodeMask__C5_osg_Node_R1,
|
||||
"Method to called by Node and its subclass' Node::accept() method, if the result is true it is used to cull operations of nodes and their subgraphs. ",
|
||||
"Return true if the result of a bit wise and of the NodeVisitor::_traversalMask with the bit or between NodeVistor::_nodeMaskOverride and the Node::_nodeMask. default values for _traversalMask is 0xffffffff, _nodeMaskOverride is 0x0, and osg::Node::_nodeMask is 0xffffffff. ");
|
||||
I_Method1(void, setTraversalMode, IN, osg::NodeVisitor::TraversalMode, mode,
|
||||
__void__setTraversalMode__TraversalMode,
|
||||
"Set the traversal mode for Node::traverse() to use when deciding which children of a node to traverse. ",
|
||||
"If a NodeVisitor has been attached via setTraverseVisitor() and the new mode is not TRAVERSE_VISITOR then the attached visitor is detached. Default mode is TRAVERSE_NONE. ");
|
||||
I_Method0(osg::NodeVisitor::TraversalMode, getTraversalMode,
|
||||
__TraversalMode__getTraversalMode,
|
||||
"Get the traversal mode. ",
|
||||
"");
|
||||
I_Method1(void, setUserData, IN, osg::Referenced *, obj,
|
||||
__void__setUserData__Referenced_P1,
|
||||
"Set user data, data must be subclased from Referenced to allow automatic memory handling. ",
|
||||
"If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own objects and handles the memory addressing.");
|
||||
I_Method0(osg::Referenced *, getUserData,
|
||||
__Referenced_P1__getUserData,
|
||||
"Get user data. ",
|
||||
"");
|
||||
I_Method0(const osg::Referenced *, getUserData,
|
||||
__C5_Referenced_P1__getUserData,
|
||||
"Get const user data. ",
|
||||
"");
|
||||
I_Method1(void, traverse, IN, osg::Node &, node,
|
||||
__void__traverse__Node_R1,
|
||||
"Method for handling traversal of a nodes. ",
|
||||
"If you intend to use the visitor for actively traversing the scene graph then make sure the accept() methods call this method unless they handle traversal directly. ");
|
||||
I_Method1(void, pushOntoNodePath, IN, osg::Node *, node,
|
||||
__void__pushOntoNodePath__Node_P1,
|
||||
"Method called by osg::Node::accept() method before a call to the NodeVisitor::apply(. ",
|
||||
".). The back of the list will, therefore, be the current node being visited inside the apply(..), and the rest of the list will be the parental sequence of nodes from the top most node applied down the graph to the current node. Note, the user does not typically call pushNodeOnPath() as it will be called automatically by the Node::accept() method. ");
|
||||
I_Method0(void, popFromNodePath,
|
||||
__void__popFromNodePath,
|
||||
"Method called by osg::Node::accept() method after a call to NodeVisitor::apply(. ",
|
||||
".). Note, the user does not typically call popFromNodePath() as it will be called automatically by the Node::accept() method. ");
|
||||
I_Method0(osg::NodePath &, getNodePath,
|
||||
__NodePath_R1__getNodePath,
|
||||
"Get the non const NodePath from the top most node applied down to the current Node being visited. ",
|
||||
"");
|
||||
I_Method0(const osg::NodePath &, getNodePath,
|
||||
__C5_NodePath_R1__getNodePath,
|
||||
"Get the const NodePath from the top most node applied down to the current Node being visited. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getEyePoint,
|
||||
__osg_Vec3__getEyePoint,
|
||||
"Get the eye point in local coordinates. ",
|
||||
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. ");
|
||||
I_Method2(float, getDistanceToEyePoint, IN, const osg::Vec3 &, x, IN, bool, x,
|
||||
__float__getDistanceToEyePoint__C5_Vec3_R1__bool,
|
||||
"Get the distance from a point to the eye point, distance value in local coordinate system. ",
|
||||
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented then a default value of 0.0 is returned. ");
|
||||
I_Method2(float, getDistanceFromEyePoint, IN, const osg::Vec3 &, x, IN, bool, x,
|
||||
__float__getDistanceFromEyePoint__C5_Vec3_R1__bool,
|
||||
"Get the distance of a point from the eye point, distance value in the eye coordinate system. ",
|
||||
"Note, not all NodeVisitor implement this method, it is mainly cull visitors which will implement. If the getDistanceFromEyePoint(pos) is not implemented than a default value of 0.0 is returned. ");
|
||||
I_Method1(void, apply, IN, osg::Node &, node,
|
||||
__void__apply__Node_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Geode &, node,
|
||||
__void__apply__Geode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Billboard &, node,
|
||||
__void__apply__Billboard_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Group &, node,
|
||||
__void__apply__Group_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::ProxyNode &, node,
|
||||
__void__apply__ProxyNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Projection &, node,
|
||||
__void__apply__Projection_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::CoordinateSystemNode &, node,
|
||||
__void__apply__CoordinateSystemNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::ClipNode &, node,
|
||||
__void__apply__ClipNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::TexGenNode &, node,
|
||||
__void__apply__TexGenNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LightSource &, node,
|
||||
__void__apply__LightSource_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Transform &, node,
|
||||
__void__apply__Transform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::View &, node,
|
||||
__void__apply__View_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::CameraNode &, node,
|
||||
__void__apply__CameraNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::CameraView &, node,
|
||||
__void__apply__CameraView_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::MatrixTransform &, node,
|
||||
__void__apply__MatrixTransform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::PositionAttitudeTransform &, node,
|
||||
__void__apply__PositionAttitudeTransform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Switch &, node,
|
||||
__void__apply__Switch_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::Sequence &, node,
|
||||
__void__apply__Sequence_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::LOD &, node,
|
||||
__void__apply__LOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::PagedLOD &, node,
|
||||
__void__apply__PagedLOD_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::ClearNode &, node,
|
||||
__void__apply__ClearNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::OccluderNode &, node,
|
||||
__void__apply__OccluderNode_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabaseRequestHandler, IN, osg::NodeVisitor::DatabaseRequestHandler *, handler,
|
||||
__void__setDatabaseRequestHandler__DatabaseRequestHandler_P1,
|
||||
"Set the handler for database requests. ",
|
||||
"");
|
||||
I_Method0(osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler,
|
||||
__DatabaseRequestHandler_P1__getDatabaseRequestHandler,
|
||||
"Get the handler for database requests. ",
|
||||
"");
|
||||
I_Method0(const osg::NodeVisitor::DatabaseRequestHandler *, getDatabaseRequestHandler,
|
||||
__C5_DatabaseRequestHandler_P1__getDatabaseRequestHandler,
|
||||
"Get the const handler for database requests. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::NodeVisitor::DatabaseRequestHandler *, DatabaseRequestHandler,
|
||||
__DatabaseRequestHandler_P1__getDatabaseRequestHandler,
|
||||
__void__setDatabaseRequestHandler__DatabaseRequestHandler_P1);
|
||||
I_SimpleProperty(osg::Vec3, EyePoint,
|
||||
__osg_Vec3__getEyePoint,
|
||||
0);
|
||||
I_SimpleProperty(osg::FrameStamp *, FrameStamp,
|
||||
0,
|
||||
__void__setFrameStamp__FrameStamp_P1);
|
||||
I_SimpleProperty(osg::Node::NodeMask, NodeMaskOverride,
|
||||
__Node_NodeMask__getNodeMaskOverride,
|
||||
__void__setNodeMaskOverride__Node_NodeMask);
|
||||
I_SimpleProperty(osg::NodePath &, NodePath,
|
||||
__NodePath_R1__getNodePath,
|
||||
0);
|
||||
I_SimpleProperty(osg::Node::NodeMask, TraversalMask,
|
||||
__Node_NodeMask__getTraversalMask,
|
||||
__void__setTraversalMask__Node_NodeMask);
|
||||
I_SimpleProperty(osg::NodeVisitor::TraversalMode, TraversalMode,
|
||||
__TraversalMode__getTraversalMode,
|
||||
__void__setTraversalMode__TraversalMode);
|
||||
I_SimpleProperty(int, TraversalNumber,
|
||||
__int__getTraversalNumber,
|
||||
__void__setTraversalNumber__int);
|
||||
I_SimpleProperty(osg::Referenced *, UserData,
|
||||
__Referenced_P1__getUserData,
|
||||
__void__setUserData__Referenced_P1);
|
||||
I_SimpleProperty(osg::NodeVisitor::VisitorType, VisitorType,
|
||||
__VisitorType__getVisitorType,
|
||||
__void__setVisitorType__VisitorType);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::NodeVisitor::DatabaseRequestHandler)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Method4(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp);
|
||||
I_Constructor0(____DatabaseRequestHandler,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, requestNodeFile, IN, const std::string &, fileName, IN, osg::Group *, group, IN, float, priority, IN, const osg::FrameStamp *, framestamp,
|
||||
__void__requestNodeFile__C5_std_string_R1__osg_Group_P1__float__C5_FrameStamp_P1,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -30,25 +30,81 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Object)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, bool, threadSafeRefUnref);
|
||||
I_ConstructorWithDefaults2(IN, const osg::Object &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, x);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(void, setName, IN, const std::string &, name);
|
||||
I_Method1(void, setName, IN, const char *, name);
|
||||
I_Method0(const std::string &, getName);
|
||||
I_Method1(void, setDataVariance, IN, osg::Object::DataVariance, dv);
|
||||
I_Method0(osg::Object::DataVariance, getDataVariance);
|
||||
I_Method1(void, setUserData, IN, osg::Referenced *, obj);
|
||||
I_Method0(osg::Referenced *, getUserData);
|
||||
I_Method0(const osg::Referenced *, getUserData);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0);
|
||||
I_Property(osg::Object::DataVariance, DataVariance);
|
||||
I_Property(const std::string &, Name);
|
||||
I_Property(osg::Referenced *, UserData);
|
||||
I_Constructor0(____Object,
|
||||
"Construct an object. ",
|
||||
"Note Object is a pure virtual base class and therefore cannot be constructed on its own, only derived classes which override the clone and className methods are concrete classes and can be constructed. ");
|
||||
I_Constructor1(IN, bool, threadSafeRefUnref,
|
||||
____Object__bool,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Object &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Object__C5_Object_R1__C5_CopyOp_R1,
|
||||
"Copy constructor, optional CopyOp object can be used to control shallow vs deep copying of dynamic data. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, x,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setName, IN, const std::string &, name,
|
||||
__void__setName__C5_std_string_R1,
|
||||
"Set the name of object using C++ style string. ",
|
||||
"");
|
||||
I_Method1(void, setName, IN, const char *, name,
|
||||
__void__setName__C5_char_P1,
|
||||
"Set the name of object using a C style string. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getName,
|
||||
__C5_std_string_R1__getName,
|
||||
"Get the name of object. ",
|
||||
"");
|
||||
I_Method1(void, setDataVariance, IN, osg::Object::DataVariance, dv,
|
||||
__void__setDataVariance__DataVariance,
|
||||
"Set the data variance of this object. ",
|
||||
"Can be set to either STATIC for values that do not change over the lifetime of the object, or DYNAMIC for values that vary over the lifetime of the object. The DataVariance value can be used by routines such as optimzation codes that wish to share static data. ");
|
||||
I_Method0(osg::Object::DataVariance, getDataVariance,
|
||||
__DataVariance__getDataVariance,
|
||||
"Get the data variance of this object. ",
|
||||
"");
|
||||
I_Method1(void, setUserData, IN, osg::Referenced *, obj,
|
||||
__void__setUserData__Referenced_P1,
|
||||
"Set user data, data must be subclassed from Referenced to allow automatic memory handling. ",
|
||||
"If your own data isn't directly subclassed from Referenced then create an adapter object which points to your own object and handles the memory addressing.");
|
||||
I_Method0(osg::Referenced *, getUserData,
|
||||
__Referenced_P1__getUserData,
|
||||
"Get user data. ",
|
||||
"");
|
||||
I_Method0(const osg::Referenced *, getUserData,
|
||||
__C5_Referenced_P1__getUserData,
|
||||
"Get const user data. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
__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::Object::DataVariance, DataVariance,
|
||||
__DataVariance__getDataVariance,
|
||||
__void__setDataVariance__DataVariance);
|
||||
I_SimpleProperty(const std::string &, Name,
|
||||
__C5_std_string_R1__getName,
|
||||
__void__setName__C5_std_string_R1);
|
||||
I_SimpleProperty(osg::Referenced *, UserData,
|
||||
__Referenced_P1__getUserData,
|
||||
__void__setUserData__Referenced_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -27,18 +27,55 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::OccluderNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::OccluderNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setOccluder, IN, osg::ConvexPlanarOccluder *, occluder);
|
||||
I_Method0(osg::ConvexPlanarOccluder *, getOccluder);
|
||||
I_Method0(const osg::ConvexPlanarOccluder *, getOccluder);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_Property(osg::ConvexPlanarOccluder *, Occluder);
|
||||
I_Constructor0(____OccluderNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::OccluderNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____OccluderNode__C5_OccluderNode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setOccluder, IN, osg::ConvexPlanarOccluder *, occluder,
|
||||
__void__setOccluder__ConvexPlanarOccluder_P1,
|
||||
"Attach a ConvexPlanarOccluder to an OccluderNode. ",
|
||||
"");
|
||||
I_Method0(osg::ConvexPlanarOccluder *, getOccluder,
|
||||
__ConvexPlanarOccluder_P1__getOccluder,
|
||||
"Get the ConvexPlanarOccluder* attached to a OccluderNode. ",
|
||||
"");
|
||||
I_Method0(const osg::ConvexPlanarOccluder *, getOccluder,
|
||||
__C5_ConvexPlanarOccluder_P1__getOccluder,
|
||||
"Get the const ConvexPlanarOccluder* attached to a OccluderNode. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__BoundingSphere__computeBound,
|
||||
"Overrides Group's computeBound. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::ConvexPlanarOccluder *, Occluder,
|
||||
__ConvexPlanarOccluder_P1__getOccluder,
|
||||
__void__setOccluder__ConvexPlanarOccluder_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -29,50 +29,180 @@ TYPE_NAME_ALIAS(std::vector< osg::PagedLOD::PerRangeData >, osg::PagedLOD::PerRa
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PagedLOD)
|
||||
I_BaseType(osg::LOD);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child);
|
||||
I_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max);
|
||||
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f);
|
||||
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1);
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path);
|
||||
I_Method0(const std::string &, getDatabasePath);
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename);
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo);
|
||||
I_Method0(unsigned int, getNumFileNames);
|
||||
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset);
|
||||
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo);
|
||||
I_Method0(unsigned int, getNumPriorityOffsets);
|
||||
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale);
|
||||
I_Method1(float, getPriorityScale, IN, unsigned int, childNo);
|
||||
I_Method0(unsigned int, getNumPriorityScales);
|
||||
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp);
|
||||
I_Method1(double, getTimeStamp, IN, unsigned int, childNo);
|
||||
I_Method0(unsigned int, getNumTimeStamps);
|
||||
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber);
|
||||
I_Method0(int, getFrameNumberOfLastTraversal);
|
||||
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num);
|
||||
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired);
|
||||
I_Method2(bool, removeExpiredChildren, IN, double, expiryTime, IN, osg::NodeList &, removedChildren);
|
||||
I_Property(const std::string &, DatabasePath);
|
||||
I_ArrayProperty_G(const std::string &, FileName, FileNames, unsigned int, void);
|
||||
I_Property(int, FrameNumberOfLastTraversal);
|
||||
I_WriteOnlyProperty(unsigned int, NumChildrenThatCannotBeExpired);
|
||||
I_ArrayProperty_G(float, PriorityOffset, PriorityOffsets, unsigned int, void);
|
||||
I_ArrayProperty_G(float, PriorityScale, PriorityScales, unsigned int, void);
|
||||
I_ArrayProperty_G(double, TimeStamp, TimeStamps, unsigned int, void);
|
||||
I_Constructor0(____PagedLOD,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PagedLOD &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PagedLOD__C5_PagedLOD_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__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,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
__bool__addChild__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_Method3(bool, addChild, IN, osg::Node *, child, IN, float, min, IN, float, max,
|
||||
__bool__addChild__Node_P1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults6(bool, addChild, IN, osg::Node *, child, , IN, float, min, , IN, float, max, , IN, const std::string &, filename, , IN, float, priorityOffset, 0.0f, IN, float, priorityScale, 1.0f,
|
||||
__bool__addChild__Node_P1__float__float__C5_std_string_R1__float__float,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(bool, removeChildren, IN, unsigned int, pos, , IN, unsigned int, numChildrenToRemove, 1,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"Remove children from Group. ",
|
||||
"Note, must be override by subclasses of Group which add per child attributes. ");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
"Set the database path to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getDatabasePath,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
"Get the database path used to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFileNames,
|
||||
__unsigned_int__getNumFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPriorityOffset, IN, unsigned int, childNo, IN, float, priorityOffset,
|
||||
__void__setPriorityOffset__unsigned_int__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, getPriorityOffset, IN, unsigned int, childNo,
|
||||
__float__getPriorityOffset__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPriorityOffsets,
|
||||
__unsigned_int__getNumPriorityOffsets,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPriorityScale, IN, unsigned int, childNo, IN, float, priorityScale,
|
||||
__void__setPriorityScale__unsigned_int__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, getPriorityScale, IN, unsigned int, childNo,
|
||||
__float__getPriorityScale__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPriorityScales,
|
||||
__unsigned_int__getNumPriorityScales,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTimeStamp, IN, unsigned int, childNo, IN, double, timeStamp,
|
||||
__void__setTimeStamp__unsigned_int__double,
|
||||
"",
|
||||
"");
|
||||
I_Method1(double, getTimeStamp, IN, unsigned int, childNo,
|
||||
__double__getTimeStamp__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumTimeStamps,
|
||||
__unsigned_int__getNumTimeStamps,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameNumberOfLastTraversal, IN, int, frameNumber,
|
||||
__void__setFrameNumberOfLastTraversal__int,
|
||||
"Set the frame number of the last time that this PageLOD node was traversed. ",
|
||||
"Note, this frame number is automatically set by the traverse() method for all traversals (update, cull etc.).");
|
||||
I_Method0(int, getFrameNumberOfLastTraversal,
|
||||
__int__getFrameNumberOfLastTraversal,
|
||||
"Get the frame number of the last time that this PageLOD node was traversed. ",
|
||||
"");
|
||||
I_Method1(void, setNumChildrenThatCannotBeExpired, IN, unsigned int, num,
|
||||
__void__setNumChildrenThatCannotBeExpired__unsigned_int,
|
||||
"Set the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumChildrenThatCannotBeExpired,
|
||||
__unsigned_int__getNumChildrenThatCannotBeExpired,
|
||||
"Get the number of children that the PagedLOD must keep around, even if they are older than their expiry time. ",
|
||||
"");
|
||||
I_Method2(bool, removeExpiredChildren, IN, double, expiryTime, IN, osg::NodeList &, removedChildren,
|
||||
__bool__removeExpiredChildren__double__NodeList_R1,
|
||||
"Remove the children from the PagedLOD which haven't been visited since specified expiry time. ",
|
||||
"The removed children are added to the removeChildren list passed into the method, this allows the children to be deleted later at the caller's discretion. Return true if children are removed, false otherwise. ");
|
||||
I_SimpleProperty(const std::string &, DatabasePath,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
__void__setDatabasePath__C5_std_string_R1);
|
||||
I_ArrayProperty(const std::string &, FileName,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
__unsigned_int__getNumFileNames,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(int, FrameNumberOfLastTraversal,
|
||||
__int__getFrameNumberOfLastTraversal,
|
||||
__void__setFrameNumberOfLastTraversal__int);
|
||||
I_SimpleProperty(unsigned int, NumChildrenThatCannotBeExpired,
|
||||
0,
|
||||
__void__setNumChildrenThatCannotBeExpired__unsigned_int);
|
||||
I_ArrayProperty(float, PriorityOffset,
|
||||
__float__getPriorityOffset__unsigned_int,
|
||||
__void__setPriorityOffset__unsigned_int__float,
|
||||
__unsigned_int__getNumPriorityOffsets,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_ArrayProperty(float, PriorityScale,
|
||||
__float__getPriorityScale__unsigned_int,
|
||||
__void__setPriorityScale__unsigned_int__float,
|
||||
__unsigned_int__getNumPriorityScales,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_ArrayProperty(double, TimeStamp,
|
||||
__double__getTimeStamp__unsigned_int,
|
||||
__void__setTimeStamp__unsigned_int__double,
|
||||
__unsigned_int__getNumTimeStamps,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::PagedLOD::PerRangeData)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::PagedLOD::PerRangeData &, prd);
|
||||
I_Constructor0(____PerRangeData,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::PagedLOD::PerRangeData &, prd,
|
||||
____PerRangeData__C5_PerRangeData_R1,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(std::string, _filename);
|
||||
I_PublicMemberProperty(float, _priorityOffset);
|
||||
I_PublicMemberProperty(float, _priorityScale);
|
||||
|
||||
@@ -30,35 +30,119 @@
|
||||
BEGIN_VALUE_REFLECTOR(osg::Plane)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::Plane &, pl);
|
||||
I_Constructor4(IN, float, a, IN, float, b, IN, float, c, IN, float, d);
|
||||
I_Constructor1(IN, const osg::Vec4 &, vec);
|
||||
I_Constructor2(IN, const osg::Vec3 &, norm, IN, float, d);
|
||||
I_Constructor3(IN, const osg::Vec3 &, v1, IN, const osg::Vec3 &, v2, IN, const osg::Vec3 &, v3);
|
||||
I_Constructor2(IN, const osg::Vec3 &, norm, IN, const osg::Vec3 &, point);
|
||||
I_Method1(void, set, IN, const osg::Plane &, pl);
|
||||
I_Method4(void, set, IN, float, a, IN, float, b, IN, float, c, IN, float, d);
|
||||
I_Method1(void, set, IN, const osg::Vec4 &, vec);
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, norm, IN, float, d);
|
||||
I_Method3(void, set, IN, const osg::Vec3 &, v1, IN, const osg::Vec3 &, v2, IN, const osg::Vec3 &, v3);
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, norm, IN, const osg::Vec3 &, point);
|
||||
I_Method0(void, flip);
|
||||
I_Method0(void, makeUnitLength);
|
||||
I_Method0(void, calculateUpperLowerBBCorners);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(float *, ptr);
|
||||
I_Method0(const float *, ptr);
|
||||
I_Method0(osg::Vec4 &, asVec4);
|
||||
I_Method0(const osg::Vec4 &, asVec4);
|
||||
I_Method0(osg::Vec3, getNormal);
|
||||
I_Method1(float, distance, IN, const osg::Vec3 &, v);
|
||||
I_Method1(int, intersect, IN, const std::vector< osg::Vec3 > &, vertices);
|
||||
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs);
|
||||
I_Method1(int, intersect, IN, const osg::BoundingBox &, bb);
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix);
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix);
|
||||
I_WriteOnlyProperty(const osg::Vec4 &, );
|
||||
I_ReadOnlyProperty(osg::Vec3, Normal);
|
||||
I_Constructor0(____Plane,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Plane &, pl,
|
||||
____Plane__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, float, a, IN, float, b, IN, float, c, IN, float, d,
|
||||
____Plane__float__float__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4 &, vec,
|
||||
____Plane__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, norm, IN, float, d,
|
||||
____Plane__C5_Vec3_R1__float,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, const osg::Vec3 &, v1, IN, const osg::Vec3 &, v2, IN, const osg::Vec3 &, v3,
|
||||
____Plane__C5_Vec3_R1__C5_Vec3_R1__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::Vec3 &, norm, IN, const osg::Vec3 &, point,
|
||||
____Plane__C5_Vec3_R1__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Plane &, pl,
|
||||
__void__set__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, float, a, IN, float, b, IN, float, c, IN, float, d,
|
||||
__void__set__float__float__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4 &, vec,
|
||||
__void__set__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, norm, IN, float, d,
|
||||
__void__set__C5_Vec3_R1__float,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, set, IN, const osg::Vec3 &, v1, IN, const osg::Vec3 &, v2, IN, const osg::Vec3 &, v3,
|
||||
__void__set__C5_Vec3_R1__C5_Vec3_R1__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, set, IN, const osg::Vec3 &, norm, IN, const osg::Vec3 &, point,
|
||||
__void__set__C5_Vec3_R1__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of the plane. ",
|
||||
"");
|
||||
I_Method0(void, makeUnitLength,
|
||||
__void__makeUnitLength,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, calculateUpperLowerBBCorners,
|
||||
__void__calculateUpperLowerBBCorners,
|
||||
"calculate the upper and lower bounding box corners to be used in the intersect(BoundingBox&) method for speeding calculations. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float *, ptr,
|
||||
__float_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const float *, ptr,
|
||||
__C5_float_P1__ptr,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, asVec4,
|
||||
__Vec4_R1__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, asVec4,
|
||||
__C5_Vec4_R1__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getNormal,
|
||||
__osg_Vec3__getNormal,
|
||||
"",
|
||||
"");
|
||||
I_Method1(float, distance, IN, const osg::Vec3 &, v,
|
||||
__float__distance__C5_osg_Vec3_R1,
|
||||
"calculate the distance between a point and the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
__int__intersect__C5_std_vectorT1_Vec3__R1,
|
||||
"intersection test between plane and vertex list return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ",
|
||||
"");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingSphere &, bs,
|
||||
__int__intersect__C5_BoundingSphere_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(int, intersect, IN, const osg::BoundingBox &, bb,
|
||||
__int__intersect__C5_BoundingBox_R1,
|
||||
"intersection test between plane and bounding sphere. ",
|
||||
"return 1 if the bs is completely above plane, return 0 if the bs intersects the plane, return -1 if the bs is completely below the plane. ");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the plane by matrix. ",
|
||||
"Note, this operation carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This make this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the plane by providing a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_SimpleProperty(osg::Vec3, Normal,
|
||||
__osg_Vec3__getNormal,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -27,48 +27,153 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Point)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setSize, IN, float, size);
|
||||
I_Method0(float, getSize);
|
||||
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize);
|
||||
I_Method0(float, getFadeThresholdSize);
|
||||
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation);
|
||||
I_Method0(const osg::Vec3 &, getDistanceAttenuation);
|
||||
I_Method1(void, setMinSize, IN, float, minSize);
|
||||
I_Method0(float, getMinSize);
|
||||
I_Method1(void, setMaxSize, IN, float, maxSize);
|
||||
I_Method0(float, getMaxSize);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized);
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions);
|
||||
I_Property(const osg::Vec3 &, DistanceAttenuation);
|
||||
I_Property(float, FadeThresholdSize);
|
||||
I_Property(float, MaxSize);
|
||||
I_Property(float, MinSize);
|
||||
I_Property(float, Size);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____Point,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Point &, point, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Point__C5_Point_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSize, IN, float, size,
|
||||
__void__setSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getSize,
|
||||
__float__getSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFadeThresholdSize, IN, float, fadeThresholdSize,
|
||||
__void__setFadeThresholdSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFadeThresholdSize,
|
||||
__float__getFadeThresholdSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDistanceAttenuation, IN, const osg::Vec3 &, distanceAttenuation,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3 &, getDistanceAttenuation,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMinSize, IN, float, minSize,
|
||||
__void__setMinSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMinSize,
|
||||
__float__getMinSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMaxSize, IN, float, maxSize,
|
||||
__void__setMaxSize__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getMaxSize,
|
||||
__float__getMaxSize,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod2(osg::Point::Extensions *, getExtensions, IN, unsigned int, contextID, IN, bool, createIfNotInitalized,
|
||||
__Extensions_P1__getExtensions__unsigned_int__bool_S,
|
||||
"Returns the Extensions object for the given context. ",
|
||||
"If createIfNotInitalized is true and the Exentsions object doesn't exist, getExtensions() creates it on the given context. Returns NULL if createIfNotInitalized is false and the Extensions object doesn't exist. ");
|
||||
I_StaticMethod2(void, setExtensions, IN, unsigned int, contextID, IN, osg::Point::Extensions *, extensions,
|
||||
__void__setExtensions__unsigned_int__Extensions_P1_S,
|
||||
"setExtensions() allows users to override the extensions across graphics contexts. ",
|
||||
"Typically used when you have different extensions supported across graphics pipes, but need to ensure that they all use the same low common denominator extensions. ");
|
||||
I_SimpleProperty(const osg::Vec3 &, DistanceAttenuation,
|
||||
__C5_Vec3_R1__getDistanceAttenuation,
|
||||
__void__setDistanceAttenuation__C5_Vec3_R1);
|
||||
I_SimpleProperty(float, FadeThresholdSize,
|
||||
__float__getFadeThresholdSize,
|
||||
__void__setFadeThresholdSize__float);
|
||||
I_SimpleProperty(float, MaxSize,
|
||||
__float__getMaxSize,
|
||||
__void__setMaxSize__float);
|
||||
I_SimpleProperty(float, MinSize,
|
||||
__float__getMinSize,
|
||||
__void__setMinSize__float);
|
||||
I_SimpleProperty(float, Size,
|
||||
__float__getSize,
|
||||
__void__setSize__float);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Point::Extensions)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor1(IN, unsigned int, contextID);
|
||||
I_Constructor1(IN, const osg::Point::Extensions &, rhs);
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs);
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID);
|
||||
I_Method1(void, setPointParametersSupported, IN, bool, flag);
|
||||
I_Method0(bool, isPointParametersSupported);
|
||||
I_Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param);
|
||||
I_Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params);
|
||||
I_WriteOnlyProperty(bool, PointParametersSupported);
|
||||
I_WriteOnlyProperty(unsigned int, upGLExtenions);
|
||||
I_Constructor1(IN, unsigned int, contextID,
|
||||
____Extensions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Point::Extensions &, rhs,
|
||||
____Extensions__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, lowestCommonDenominator, IN, const osg::Point::Extensions &, rhs,
|
||||
__void__lowestCommonDenominator__C5_Extensions_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setupGLExtenions, IN, unsigned int, contextID,
|
||||
__void__setupGLExtenions__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPointParametersSupported, IN, bool, flag,
|
||||
__void__setPointParametersSupported__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isPointParametersSupported,
|
||||
__bool__isPointParametersSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameterf, IN, GLenum, pname, IN, GLfloat, param,
|
||||
__void__glPointParameterf__GLenum__GLfloat,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, glPointParameterfv, IN, GLenum, pname, IN, const GLfloat *, params,
|
||||
__void__glPointParameterfv__GLenum__C5_GLfloat_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, PointParametersSupported,
|
||||
0,
|
||||
__void__setPointParametersSupported__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,20 +26,63 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PointSprite)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x);
|
||||
I_Method0(bool, isTextureAttribute);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____PointSprite,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PointSprite &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PointSprite__C5_PointSprite_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
|
||||
__bool__checkValidityOfAssociatedModes__osg_State_R1,
|
||||
"Check the modes associated with this StateAttribute are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ",
|
||||
"Return true if all associated modes are valid. ");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__osg_State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod1(bool, isPointSpriteSupported, IN, unsigned int, context,
|
||||
__bool__isPointSpriteSupported__unsigned_int_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -38,22 +38,70 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PolygonMode)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode);
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonMode &, pm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method2(void, setMode, IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode);
|
||||
I_Method1(osg::PolygonMode::Mode, getMode, IN, osg::PolygonMode::Face, face);
|
||||
I_Method0(bool, getFrontAndBack);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_ReadOnlyProperty(bool, FrontAndBack);
|
||||
I_IndexedProperty1(osg::PolygonMode::Mode, Mode, osg::PolygonMode::Face, face);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____PolygonMode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
|
||||
____PolygonMode__Face__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonMode &, pm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonMode__C5_PolygonMode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method2(void, setMode, IN, osg::PolygonMode::Face, face, IN, osg::PolygonMode::Mode, mode,
|
||||
__void__setMode__Face__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::PolygonMode::Mode, getMode, IN, osg::PolygonMode::Face, face,
|
||||
__Mode__getMode__Face,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getFrontAndBack,
|
||||
__bool__getFrontAndBack,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(bool, FrontAndBack,
|
||||
__bool__getFrontAndBack,
|
||||
0);
|
||||
I_IndexedProperty(osg::PolygonMode::Mode, Mode,
|
||||
__Mode__getMode__Face,
|
||||
__void__setMode__Face__Mode,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,30 +26,101 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PolygonOffset)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, float, factor, IN, float, units);
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonOffset &, po, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setFactor, IN, float, factor);
|
||||
I_Method0(float, getFactor);
|
||||
I_Method1(void, setUnits, IN, float, units);
|
||||
I_Method0(float, getUnits);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_StaticMethod1(void, setFactorMultiplier, IN, float, multiplier);
|
||||
I_StaticMethod0(float, getFactorMultiplier);
|
||||
I_StaticMethod1(void, setUnitsMultiplier, IN, float, multiplier);
|
||||
I_StaticMethod0(float, getUnitsMultiplier);
|
||||
I_StaticMethod0(bool, areFactorAndUnitsMultipliersSet);
|
||||
I_StaticMethod0(void, setFactorAndUnitsMultipliersUsingBestGuessForDriver);
|
||||
I_Property(float, Factor);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Property(float, Units);
|
||||
I_Constructor0(____PolygonOffset,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, float, factor, IN, float, units,
|
||||
____PolygonOffset__float__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonOffset &, po, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonOffset__C5_PolygonOffset_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFactor, IN, float, factor,
|
||||
__void__setFactor__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getFactor,
|
||||
__float__getFactor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUnits, IN, float, units,
|
||||
__void__setUnits__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getUnits,
|
||||
__float__getUnits,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_StaticMethod1(void, setFactorMultiplier, IN, float, multiplier,
|
||||
__void__setFactorMultiplier__float_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(float, getFactorMultiplier,
|
||||
__float__getFactorMultiplier_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod1(void, setUnitsMultiplier, IN, float, multiplier,
|
||||
__void__setUnitsMultiplier__float_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(float, getUnitsMultiplier,
|
||||
__float__getUnitsMultiplier_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(bool, areFactorAndUnitsMultipliersSet,
|
||||
__bool__areFactorAndUnitsMultipliersSet_S,
|
||||
"",
|
||||
"");
|
||||
I_StaticMethod0(void, setFactorAndUnitsMultipliersUsingBestGuessForDriver,
|
||||
__void__setFactorAndUnitsMultipliersUsingBestGuessForDriver_S,
|
||||
"Checks with the OpenGL driver to try and pick multiplier approrpriate for the hardware. ",
|
||||
"note, requires a valid graphics context to be current. ");
|
||||
I_SimpleProperty(float, Factor,
|
||||
__float__getFactor,
|
||||
__void__setFactor__float);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(float, Units,
|
||||
__float__getUnits,
|
||||
__void__setUnits__float);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,20 +26,62 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PolygonStipple)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, setMask, IN, const GLubyte *, mask);
|
||||
I_Method0(const GLubyte *, getMask);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(const GLubyte *, Mask);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____PolygonStipple,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PolygonStipple &, lw, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PolygonStipple__C5_PolygonStipple_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMask, IN, const GLubyte *, mask,
|
||||
__void__setMask__C5_GLubyte_P1,
|
||||
"set the mask up, copying 128 bytes (32x32 bitfield) from mask into the local _mask. ",
|
||||
"");
|
||||
I_Method0(const GLubyte *, getMask,
|
||||
__C5_GLubyte_P1__getMask,
|
||||
"get a pointer to the mask. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(const GLubyte *, Mask,
|
||||
__C5_GLubyte_P1__getMask,
|
||||
__void__setMask__C5_GLubyte_P1);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -34,58 +34,194 @@ TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osg::Polytope::VertexList);
|
||||
TYPE_NAME_ALIAS(osg::fast_back_stack< osg::Polytope::ClippingMask >, osg::Polytope::MaskStack);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Polytope)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::Polytope &, cv);
|
||||
I_Constructor1(IN, const osg::Polytope::PlaneList &, pl);
|
||||
I_Method0(void, clear);
|
||||
I_MethodWithDefaults2(void, setToUnitFrustum, IN, bool, withNear, true, IN, bool, withFar, true);
|
||||
I_Method2(void, setAndTransformProvidingInverse, IN, const osg::Polytope &, pt, IN, const osg::Matrix &, matrix);
|
||||
I_Method1(void, set, IN, const osg::Polytope::PlaneList &, pl);
|
||||
I_Method1(void, add, IN, const osg::Plane &, pl);
|
||||
I_Method0(void, flip);
|
||||
I_Method0(osg::Polytope::PlaneList &, getPlaneList);
|
||||
I_Method0(const osg::Polytope::PlaneList &, getPlaneList);
|
||||
I_Method1(void, setReferenceVertexList, IN, osg::Polytope::VertexList &, vertices);
|
||||
I_Method0(osg::Polytope::VertexList &, getReferenceVertexList);
|
||||
I_Method0(const osg::Polytope::VertexList &, getReferenceVertexList);
|
||||
I_Method0(void, setupMask);
|
||||
I_Method0(osg::Polytope::ClippingMask &, getCurrentMask);
|
||||
I_Method0(osg::Polytope::ClippingMask, getCurrentMask);
|
||||
I_Method1(void, setResultMask, IN, osg::Polytope::ClippingMask, mask);
|
||||
I_Method0(osg::Polytope::ClippingMask, getResultMask);
|
||||
I_Method0(osg::Polytope::MaskStack &, getMaskStack);
|
||||
I_Method0(const osg::Polytope::MaskStack &, getMaskStack);
|
||||
I_Method0(void, pushCurrentMask);
|
||||
I_Method0(void, popCurrentMask);
|
||||
I_Method1(bool, contains, IN, const osg::Vec3 &, v);
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices);
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bs);
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bb);
|
||||
I_Method1(bool, containsAllOf, IN, const std::vector< osg::Vec3 > &, vertices);
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingSphere &, bs);
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingBox &, bb);
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix);
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix);
|
||||
I_WriteOnlyProperty(const osg::Polytope::PlaneList &, );
|
||||
I_ReadOnlyProperty(osg::Polytope::ClippingMask, CurrentMask);
|
||||
I_ReadOnlyProperty(osg::Polytope::MaskStack &, MaskStack);
|
||||
I_ReadOnlyProperty(osg::Polytope::PlaneList &, PlaneList);
|
||||
I_Property(osg::Polytope::VertexList &, ReferenceVertexList);
|
||||
I_Property(osg::Polytope::ClippingMask, ResultMask);
|
||||
I_Constructor0(____Polytope,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Polytope &, cv,
|
||||
____Polytope__C5_Polytope_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Polytope::PlaneList &, pl,
|
||||
____Polytope__C5_PlaneList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
__void__clear,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setToUnitFrustum, IN, bool, withNear, true, IN, bool, withFar, true,
|
||||
__void__setToUnitFrustum__bool__bool,
|
||||
"Create a Polytope which is a cube, centered at 0,0,0, with sides of 2 units. ",
|
||||
"");
|
||||
I_Method2(void, setAndTransformProvidingInverse, IN, const osg::Polytope &, pt, IN, const osg::Matrix &, matrix,
|
||||
__void__setAndTransformProvidingInverse__C5_Polytope_R1__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Polytope::PlaneList &, pl,
|
||||
__void__set__C5_PlaneList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, add, IN, const osg::Plane &, pl,
|
||||
__void__add__C5_osg_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flip,
|
||||
__void__flip,
|
||||
"flip/reverse the orientation of all the planes. ",
|
||||
"");
|
||||
I_Method0(osg::Polytope::PlaneList &, getPlaneList,
|
||||
__PlaneList_R1__getPlaneList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::PlaneList &, getPlaneList,
|
||||
__C5_PlaneList_R1__getPlaneList,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setReferenceVertexList, IN, osg::Polytope::VertexList &, vertices,
|
||||
__void__setReferenceVertexList__VertexList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::VertexList &, getReferenceVertexList,
|
||||
__VertexList_R1__getReferenceVertexList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::VertexList &, getReferenceVertexList,
|
||||
__C5_VertexList_R1__getReferenceVertexList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, setupMask,
|
||||
__void__setupMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask &, getCurrentMask,
|
||||
__ClippingMask_R1__getCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask, getCurrentMask,
|
||||
__ClippingMask__getCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setResultMask, IN, osg::Polytope::ClippingMask, mask,
|
||||
__void__setResultMask__ClippingMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask, getResultMask,
|
||||
__ClippingMask__getResultMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::MaskStack &, getMaskStack,
|
||||
__MaskStack_R1__getMaskStack,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::MaskStack &, getMaskStack,
|
||||
__C5_MaskStack_R1__getMaskStack,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pushCurrentMask,
|
||||
__void__pushCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popCurrentMask,
|
||||
__void__popCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::Vec3 &, v,
|
||||
__bool__contains__C5_osg_Vec3_R1,
|
||||
"Check whether a vertex is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
__bool__contains__C5_std_vectorT1_Vec3__R1,
|
||||
"Check whether any part of vertex list is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bs,
|
||||
__bool__contains__C5_osg_BoundingSphere_R1,
|
||||
"Check whether any part of a bounding sphere is contained within clipping set. ",
|
||||
"Using a mask to determine which planes should be used for the check, and modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. ");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bb,
|
||||
__bool__contains__C5_osg_BoundingBox_R1,
|
||||
"Check whether any part of a bounding box is contained within clipping set. ",
|
||||
"Using a mask to determine which planes should be used for the check, and modifying the mask to turn off planes which wouldn't contribute to clipping of any internal objects. This feature is used in osgUtil::CullVisitor to prevent redundant plane checking. ");
|
||||
I_Method1(bool, containsAllOf, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
__bool__containsAllOf__C5_std_vectorT1_Vec3__R1,
|
||||
"Check whether all of vertex list is contained with clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingSphere &, bs,
|
||||
__bool__containsAllOf__C5_osg_BoundingSphere_R1,
|
||||
"Check whether the entire bounding sphere is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(bool, containsAllOf, IN, const osg::BoundingBox &, bb,
|
||||
__bool__containsAllOf__C5_osg_BoundingBox_R1,
|
||||
"Check whether the entire bounding box is contained within clipping set. ",
|
||||
"");
|
||||
I_Method1(void, transform, IN, const osg::Matrix &, matrix,
|
||||
__void__transform__C5_osg_Matrix_R1,
|
||||
"Transform the clipping set by matrix. ",
|
||||
"Note, this operations carries out the calculation of the inverse of the matrix since a plane must be multiplied by the inverse transposed to transform it. This makes this operation expensive. If the inverse has been already calculated elsewhere then use transformProvidingInverse() instead. See http://www.worldserver.com/turk/computergraphics/NormalTransformations.pdf ");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"Transform the clipping set by provide a pre inverted matrix. ",
|
||||
"see transform for details. ");
|
||||
I_SimpleProperty(osg::Polytope::ClippingMask, CurrentMask,
|
||||
__ClippingMask__getCurrentMask,
|
||||
0);
|
||||
I_SimpleProperty(osg::Polytope::MaskStack &, MaskStack,
|
||||
__MaskStack_R1__getMaskStack,
|
||||
0);
|
||||
I_SimpleProperty(osg::Polytope::PlaneList &, PlaneList,
|
||||
__PlaneList_R1__getPlaneList,
|
||||
0);
|
||||
I_SimpleProperty(osg::Polytope::VertexList &, ReferenceVertexList,
|
||||
__VertexList_R1__getReferenceVertexList,
|
||||
__void__setReferenceVertexList__VertexList_R1);
|
||||
I_SimpleProperty(osg::Polytope::ClippingMask, ResultMask,
|
||||
__ClippingMask__getResultMask,
|
||||
__void__setResultMask__ClippingMask);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::fast_back_stack< osg::Polytope::ClippingMask >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::fast_back_stack< osg::Polytope::ClippingMask > &, fbs);
|
||||
I_Constructor1(IN, const osg::Polytope::ClippingMask &, value);
|
||||
I_Method0(void, clear);
|
||||
I_Method0(bool, empty);
|
||||
I_Method0(unsigned int, size);
|
||||
I_Method0(osg::Polytope::ClippingMask &, back);
|
||||
I_Method0(const osg::Polytope::ClippingMask &, back);
|
||||
I_Method0(void, push_back);
|
||||
I_Method1(void, push_back, IN, const osg::Polytope::ClippingMask &, value);
|
||||
I_Method0(void, pop_back);
|
||||
I_Constructor0(____fast_back_stack,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::fast_back_stack< osg::Polytope::ClippingMask > &, fbs,
|
||||
____fast_back_stack__C5_fast_back_stack_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Polytope::ClippingMask &, value,
|
||||
____fast_back_stack__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
__void__clear,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, empty,
|
||||
__bool__empty,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, size,
|
||||
__unsigned_int__size,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope::ClippingMask &, back,
|
||||
__T_R1__back,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Polytope::ClippingMask &, back,
|
||||
__C5_T_R1__back,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, push_back,
|
||||
__void__push_back,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, push_back, IN, const osg::Polytope::ClippingMask &, value,
|
||||
__void__push_back__C5_T_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pop_back,
|
||||
__void__pop_back,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(osg::Polytope::ClippingMask, _value);
|
||||
I_PublicMemberProperty(std::vector< osg::Polytope::ClippingMask >, _stack);
|
||||
I_PublicMemberProperty(unsigned int, _size);
|
||||
|
||||
@@ -28,29 +28,96 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::PositionAttitudeTransform)
|
||||
I_BaseType(osg::Transform);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::PositionAttitudeTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform);
|
||||
I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform);
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3d &, pos);
|
||||
I_Method0(const osg::Vec3d &, getPosition);
|
||||
I_Method1(void, setAttitude, IN, const osg::Quat &, quat);
|
||||
I_Method0(const osg::Quat &, getAttitude);
|
||||
I_Method1(void, setScale, IN, const osg::Vec3d &, scale);
|
||||
I_Method0(const osg::Vec3d &, getScale);
|
||||
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot);
|
||||
I_Method0(const osg::Vec3d &, getPivotPoint);
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv);
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv);
|
||||
I_Property(const osg::Quat &, Attitude);
|
||||
I_Property(const osg::Vec3d &, PivotPoint);
|
||||
I_Property(const osg::Vec3d &, Position);
|
||||
I_Property(const osg::Vec3d &, Scale);
|
||||
I_Constructor0(____PositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PositionAttitudeTransform &, pat, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PositionAttitudeTransform__C5_PositionAttitudeTransform_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method0(osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
__PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::PositionAttitudeTransform *, asPositionAttitudeTransform,
|
||||
__C5_PositionAttitudeTransform_P1__asPositionAttitudeTransform,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPosition, IN, const osg::Vec3d &, pos,
|
||||
__void__setPosition__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPosition,
|
||||
__C5_Vec3d_R1__getPosition,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setAttitude, IN, const osg::Quat &, quat,
|
||||
__void__setAttitude__C5_Quat_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Quat &, getAttitude,
|
||||
__C5_Quat_R1__getAttitude,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale, IN, const osg::Vec3d &, scale,
|
||||
__void__setScale__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getScale,
|
||||
__C5_Vec3d_R1__getScale,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPivotPoint, IN, const osg::Vec3d &, pivot,
|
||||
__void__setPivotPoint__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec3d &, getPivotPoint,
|
||||
__C5_Vec3d_R1__getPivotPoint,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeLocalToWorldMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
__bool__computeLocalToWorldMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, computeWorldToLocalMatrix, IN, osg::Matrix &, matrix, IN, osg::NodeVisitor *, nv,
|
||||
__bool__computeWorldToLocalMatrix__Matrix_R1__NodeVisitor_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Quat &, Attitude,
|
||||
__C5_Quat_R1__getAttitude,
|
||||
__void__setAttitude__C5_Quat_R1);
|
||||
I_SimpleProperty(const osg::Vec3d &, PivotPoint,
|
||||
__C5_Vec3d_R1__getPivotPoint,
|
||||
__void__setPivotPoint__C5_Vec3d_R1);
|
||||
I_SimpleProperty(const osg::Vec3d &, Position,
|
||||
__C5_Vec3d_R1__getPosition,
|
||||
__void__setPosition__C5_Vec3d_R1);
|
||||
I_SimpleProperty(const osg::Vec3d &, Scale,
|
||||
__C5_Vec3d_R1__getScale,
|
||||
__void__setScale__C5_Vec3d_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,51 +31,171 @@ TYPE_NAME_ALIAS(osg::VectorGLsizei, osg::DrawArrayLengths::vector_type);
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DrawArrayLengths)
|
||||
I_BaseType(osg::PrimitiveSet);
|
||||
I_BaseType(osg::VectorGLsizei);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0);
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawArrayLengths &, dal, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Constructor4(IN, GLenum, mode, IN, GLint, first, IN, unsigned int, no, IN, GLsizei *, ptr);
|
||||
I_Constructor3(IN, GLenum, mode, IN, GLint, first, IN, unsigned int, no);
|
||||
I_Constructor2(IN, GLenum, mode, IN, GLint, first);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(void, setFirst, IN, GLint, first);
|
||||
I_Method0(GLint, getFirst);
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor);
|
||||
I_Method0(unsigned int, getNumIndices);
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos);
|
||||
I_Method1(void, offsetIndices, IN, int, offset);
|
||||
I_Method0(unsigned int, getNumPrimitives);
|
||||
I_Property(GLint, First);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0,
|
||||
____DrawArrayLengths__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawArrayLengths &, dal, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DrawArrayLengths__C5_DrawArrayLengths_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, GLenum, mode, IN, GLint, first, IN, unsigned int, no, IN, GLsizei *, ptr,
|
||||
____DrawArrayLengths__GLenum__GLint__unsigned_int__GLsizei_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLenum, mode, IN, GLint, first, IN, unsigned int, no,
|
||||
____DrawArrayLengths__GLenum__GLint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLenum, mode, IN, GLint, first,
|
||||
____DrawArrayLengths__GLenum__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setFirst, IN, GLint, first,
|
||||
__void__setFirst__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getFirst,
|
||||
__GLint__getFirst,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
|
||||
__void__draw__State_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
|
||||
__void__accept__PrimitiveIndexFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumIndices,
|
||||
__unsigned_int__getNumIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos,
|
||||
__unsigned_int__index__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, offsetIndices, IN, int, offset,
|
||||
__void__offsetIndices__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPrimitives,
|
||||
__unsigned_int__getNumPrimitives,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(GLint, First,
|
||||
__GLint__getFirst,
|
||||
__void__setFirst__GLint);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DrawArrays)
|
||||
I_BaseType(osg::PrimitiveSet);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0);
|
||||
I_Constructor3(IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count);
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawArrays &, da, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method3(void, set, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count);
|
||||
I_Method1(void, setFirst, IN, GLint, first);
|
||||
I_Method0(GLint, getFirst);
|
||||
I_Method1(void, setCount, IN, GLsizei, count);
|
||||
I_Method0(GLsizei, getCount);
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor);
|
||||
I_Method0(unsigned int, getNumIndices);
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos);
|
||||
I_Method1(void, offsetIndices, IN, int, offset);
|
||||
I_Property(GLsizei, Count);
|
||||
I_Property(GLint, First);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0,
|
||||
____DrawArrays__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count,
|
||||
____DrawArrays__GLenum__GLint__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawArrays &, da, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DrawArrays__C5_DrawArrays_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method3(void, set, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count,
|
||||
__void__set__GLenum__GLint__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFirst, IN, GLint, first,
|
||||
__void__setFirst__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getFirst,
|
||||
__GLint__getFirst,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCount, IN, GLsizei, count,
|
||||
__void__setCount__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLsizei, getCount,
|
||||
__GLsizei__getCount,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
|
||||
__void__draw__State_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
|
||||
__void__accept__PrimitiveIndexFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumIndices,
|
||||
__unsigned_int__getNumIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos,
|
||||
__unsigned_int__index__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, offsetIndices, IN, int, offset,
|
||||
__void__offsetIndices__int,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(GLsizei, Count,
|
||||
__GLsizei__getCount,
|
||||
__void__setCount__GLsizei);
|
||||
I_SimpleProperty(GLint, First,
|
||||
__GLint__getFirst,
|
||||
__void__setFirst__GLint);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osg::VectorGLubyte, osg::DrawElementsUByte::vector_type);
|
||||
@@ -83,27 +203,88 @@ TYPE_NAME_ALIAS(osg::VectorGLubyte, osg::DrawElementsUByte::vector_type);
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUByte)
|
||||
I_BaseType(osg::PrimitiveSet);
|
||||
I_BaseType(osg::VectorGLubyte);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0);
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawElementsUByte &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, GLubyte *, ptr);
|
||||
I_Constructor2(IN, GLenum, mode, IN, unsigned int, no);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const GLvoid *, getDataPointer);
|
||||
I_Method0(unsigned int, getTotalDataSize);
|
||||
I_Method0(bool, supportsBufferObject);
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor);
|
||||
I_Method0(unsigned int, getNumIndices);
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos);
|
||||
I_Method1(void, offsetIndices, IN, int, offset);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
|
||||
I_ReadOnlyProperty(const GLvoid *, DataPointer);
|
||||
I_ReadOnlyProperty(unsigned int, TotalDataSize);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0,
|
||||
____DrawElementsUByte__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawElementsUByte &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DrawElementsUByte__C5_DrawElementsUByte_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, GLubyte *, ptr,
|
||||
____DrawElementsUByte__GLenum__unsigned_int__GLubyte_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLenum, mode, IN, unsigned int, no,
|
||||
____DrawElementsUByte__GLenum__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(const GLvoid *, getDataPointer,
|
||||
__C5_GLvoid_P1__getDataPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getTotalDataSize,
|
||||
__unsigned_int__getTotalDataSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, supportsBufferObject,
|
||||
__bool__supportsBufferObject,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
|
||||
__void__draw__State_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
|
||||
__void__accept__PrimitiveIndexFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumIndices,
|
||||
__unsigned_int__getNumIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos,
|
||||
__unsigned_int__index__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, offsetIndices, IN, int, offset,
|
||||
__void__offsetIndices__int,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_SimpleProperty(const GLvoid *, DataPointer,
|
||||
__C5_GLvoid_P1__getDataPointer,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, TotalDataSize,
|
||||
__unsigned_int__getTotalDataSize,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osg::VectorGLuint, osg::DrawElementsUInt::vector_type);
|
||||
@@ -111,27 +292,88 @@ TYPE_NAME_ALIAS(osg::VectorGLuint, osg::DrawElementsUInt::vector_type);
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUInt)
|
||||
I_BaseType(osg::PrimitiveSet);
|
||||
I_BaseType(osg::VectorGLuint);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0);
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawElementsUInt &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, GLuint *, ptr);
|
||||
I_Constructor2(IN, GLenum, mode, IN, unsigned int, no);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const GLvoid *, getDataPointer);
|
||||
I_Method0(unsigned int, getTotalDataSize);
|
||||
I_Method0(bool, supportsBufferObject);
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor);
|
||||
I_Method0(unsigned int, getNumIndices);
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos);
|
||||
I_Method1(void, offsetIndices, IN, int, offset);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
|
||||
I_ReadOnlyProperty(const GLvoid *, DataPointer);
|
||||
I_ReadOnlyProperty(unsigned int, TotalDataSize);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0,
|
||||
____DrawElementsUInt__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawElementsUInt &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DrawElementsUInt__C5_DrawElementsUInt_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, GLuint *, ptr,
|
||||
____DrawElementsUInt__GLenum__unsigned_int__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLenum, mode, IN, unsigned int, no,
|
||||
____DrawElementsUInt__GLenum__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(const GLvoid *, getDataPointer,
|
||||
__C5_GLvoid_P1__getDataPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getTotalDataSize,
|
||||
__unsigned_int__getTotalDataSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, supportsBufferObject,
|
||||
__bool__supportsBufferObject,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
|
||||
__void__draw__State_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
|
||||
__void__accept__PrimitiveIndexFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumIndices,
|
||||
__unsigned_int__getNumIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos,
|
||||
__unsigned_int__index__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, offsetIndices, IN, int, offset,
|
||||
__void__offsetIndices__int,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_SimpleProperty(const GLvoid *, DataPointer,
|
||||
__C5_GLvoid_P1__getDataPointer,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, TotalDataSize,
|
||||
__unsigned_int__getTotalDataSize,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(osg::VectorGLushort, osg::DrawElementsUShort::vector_type);
|
||||
@@ -139,60 +381,200 @@ TYPE_NAME_ALIAS(osg::VectorGLushort, osg::DrawElementsUShort::vector_type);
|
||||
BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUShort)
|
||||
I_BaseType(osg::PrimitiveSet);
|
||||
I_BaseType(osg::VectorGLushort);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0);
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawElementsUShort &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, GLushort *, ptr);
|
||||
I_Constructor2(IN, GLenum, mode, IN, unsigned int, no);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const GLvoid *, getDataPointer);
|
||||
I_Method0(unsigned int, getTotalDataSize);
|
||||
I_Method0(bool, supportsBufferObject);
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor);
|
||||
I_Method0(unsigned int, getNumIndices);
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos);
|
||||
I_Method1(void, offsetIndices, IN, int, offset);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
|
||||
I_ReadOnlyProperty(const GLvoid *, DataPointer);
|
||||
I_ReadOnlyProperty(unsigned int, TotalDataSize);
|
||||
I_ConstructorWithDefaults1(IN, GLenum, mode, 0,
|
||||
____DrawElementsUShort__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::DrawElementsUShort &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____DrawElementsUShort__C5_DrawElementsUShort_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, GLushort *, ptr,
|
||||
____DrawElementsUShort__GLenum__unsigned_int__GLushort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLenum, mode, IN, unsigned int, no,
|
||||
____DrawElementsUShort__GLenum__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(const GLvoid *, getDataPointer,
|
||||
__C5_GLvoid_P1__getDataPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getTotalDataSize,
|
||||
__unsigned_int__getTotalDataSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, supportsBufferObject,
|
||||
__bool__supportsBufferObject,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
|
||||
__void__draw__State_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
|
||||
__void__accept__PrimitiveIndexFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumIndices,
|
||||
__unsigned_int__getNumIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos,
|
||||
__unsigned_int__index__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, offsetIndices, IN, int, offset,
|
||||
__void__offsetIndices__int,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_SimpleProperty(const GLvoid *, DataPointer,
|
||||
__C5_GLvoid_P1__getDataPointer,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, TotalDataSize,
|
||||
__unsigned_int__getTotalDataSize,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveFunctor)
|
||||
I_Constructor0();
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices);
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices);
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices);
|
||||
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count);
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices);
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices);
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices);
|
||||
I_Method1(void, begin, IN, GLenum, mode);
|
||||
I_Method1(void, vertex, IN, const osg::Vec2 &, vert);
|
||||
I_Method1(void, vertex, IN, const osg::Vec3 &, vert);
|
||||
I_Method1(void, vertex, IN, const osg::Vec4 &, vert);
|
||||
I_Method2(void, vertex, IN, float, x, IN, float, y);
|
||||
I_Method3(void, vertex, IN, float, x, IN, float, y, IN, float, z);
|
||||
I_Method4(void, vertex, IN, float, x, IN, float, y, IN, float, z, IN, float, w);
|
||||
I_Method0(void, end);
|
||||
I_Constructor0(____PrimitiveFunctor,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices,
|
||||
__void__setVertexArray__unsigned_int__C5_Vec2_P1,
|
||||
"Sets the array of vertices used to describe the primitives. ",
|
||||
"Somehow mimics the OpenGL glVertexPointer() function.");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices,
|
||||
__void__setVertexArray__unsigned_int__C5_Vec3_P1,
|
||||
"Sets the array of vertices used to describe the primitives. ",
|
||||
"Somehow mimics the OpenGL glVertexPointer() function.");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices,
|
||||
__void__setVertexArray__unsigned_int__C5_Vec4_P1,
|
||||
"Sets the array of vertices used to describe the primitives. ",
|
||||
"Somehow mimics the OpenGL glVertexPointer() function.");
|
||||
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count,
|
||||
__void__drawArrays__GLenum__GLint__GLsizei,
|
||||
"Mimics the OpenGL glDrawArrays() function. ",
|
||||
"");
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices,
|
||||
__void__drawElements__GLenum__GLsizei__C5_GLubyte_P1,
|
||||
"Mimics the OpenGL glDrawElements() function. ",
|
||||
"");
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices,
|
||||
__void__drawElements__GLenum__GLsizei__C5_GLushort_P1,
|
||||
"Mimics the OpenGL glDrawElements() function. ",
|
||||
"");
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices,
|
||||
__void__drawElements__GLenum__GLsizei__C5_GLuint_P1,
|
||||
"Mimics the OpenGL glDrawElements() function. ",
|
||||
"");
|
||||
I_Method1(void, begin, IN, GLenum, mode,
|
||||
__void__begin__GLenum,
|
||||
"Mimics the OpenGL glBegin() function. ",
|
||||
"");
|
||||
I_Method1(void, vertex, IN, const osg::Vec2 &, vert,
|
||||
__void__vertex__C5_Vec2_R1,
|
||||
"Mimics the OpenGL glVertex() \"family of functions\". ",
|
||||
"");
|
||||
I_Method1(void, vertex, IN, const osg::Vec3 &, vert,
|
||||
__void__vertex__C5_Vec3_R1,
|
||||
"Mimics the OpenGL glVertex() \"family of functions\". ",
|
||||
"");
|
||||
I_Method1(void, vertex, IN, const osg::Vec4 &, vert,
|
||||
__void__vertex__C5_Vec4_R1,
|
||||
"Mimics the OpenGL glVertex() \"family of functions\". ",
|
||||
"");
|
||||
I_Method2(void, vertex, IN, float, x, IN, float, y,
|
||||
__void__vertex__float__float,
|
||||
"Mimics the OpenGL glVertex() \"family of functions\". ",
|
||||
"");
|
||||
I_Method3(void, vertex, IN, float, x, IN, float, y, IN, float, z,
|
||||
__void__vertex__float__float__float,
|
||||
"Mimics the OpenGL glVertex() \"family of functions\". ",
|
||||
"");
|
||||
I_Method4(void, vertex, IN, float, x, IN, float, y, IN, float, z, IN, float, w,
|
||||
__void__vertex__float__float__float__float,
|
||||
"Mimics the OpenGL glVertex() \"family of functions\". ",
|
||||
"");
|
||||
I_Method0(void, end,
|
||||
__void__end,
|
||||
"Mimics the OpenGL glEnd() function. ",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveIndexFunctor)
|
||||
I_Constructor0();
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices);
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices);
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices);
|
||||
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count);
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices);
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices);
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices);
|
||||
I_Method1(void, begin, IN, GLenum, mode);
|
||||
I_Method1(void, vertex, IN, unsigned int, pos);
|
||||
I_Method0(void, end);
|
||||
I_Constructor0(____PrimitiveIndexFunctor,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices,
|
||||
__void__setVertexArray__unsigned_int__C5_Vec2_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices,
|
||||
__void__setVertexArray__unsigned_int__C5_Vec3_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices,
|
||||
__void__setVertexArray__unsigned_int__C5_Vec4_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count,
|
||||
__void__drawArrays__GLenum__GLint__GLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices,
|
||||
__void__drawElements__GLenum__GLsizei__C5_GLubyte_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices,
|
||||
__void__drawElements__GLenum__GLsizei__C5_GLushort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices,
|
||||
__void__drawElements__GLenum__GLsizei__C5_GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, begin, IN, GLenum, mode,
|
||||
__void__begin__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, vertex, IN, unsigned int, pos,
|
||||
__void__vertex__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, end,
|
||||
__void__end,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::PrimitiveSet::Type)
|
||||
@@ -219,64 +601,184 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveSet)
|
||||
I_BaseType(osg::Object);
|
||||
I_ConstructorWithDefaults2(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0);
|
||||
I_ConstructorWithDefaults2(IN, const osg::PrimitiveSet &, prim, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::PrimitiveSet::Type, getType);
|
||||
I_Method0(const GLvoid *, getDataPointer);
|
||||
I_Method0(unsigned int, getTotalDataSize);
|
||||
I_Method0(bool, supportsBufferObject);
|
||||
I_Method1(void, setMode, IN, GLenum, mode);
|
||||
I_Method0(GLenum, getMode);
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor);
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos);
|
||||
I_Method0(unsigned int, getNumIndices);
|
||||
I_Method1(void, offsetIndices, IN, int, offset);
|
||||
I_Method0(unsigned int, getNumPrimitives);
|
||||
I_Method0(void, dirty);
|
||||
I_Method1(void, setModifiedCount, IN, unsigned int, value);
|
||||
I_Method0(unsigned int, getModifiedCount);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0);
|
||||
I_ReadOnlyProperty(const GLvoid *, DataPointer);
|
||||
I_Property(GLenum, Mode);
|
||||
I_Property(unsigned int, ModifiedCount);
|
||||
I_ReadOnlyProperty(unsigned int, TotalDataSize);
|
||||
I_ReadOnlyProperty(osg::PrimitiveSet::Type, Type);
|
||||
I_ConstructorWithDefaults2(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0,
|
||||
____PrimitiveSet__Type__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::PrimitiveSet &, prim, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____PrimitiveSet__C5_PrimitiveSet_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method0(osg::PrimitiveSet::Type, getType,
|
||||
__Type__getType,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const GLvoid *, getDataPointer,
|
||||
__C5_GLvoid_P1__getDataPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getTotalDataSize,
|
||||
__unsigned_int__getTotalDataSize,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, supportsBufferObject,
|
||||
__bool__supportsBufferObject,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, GLenum, mode,
|
||||
__void__setMode__GLenum,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLenum, getMode,
|
||||
__GLenum__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
|
||||
__void__draw__State_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
|
||||
__void__accept__PrimitiveIndexFunctor_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(unsigned int, index, IN, unsigned int, pos,
|
||||
__unsigned_int__index__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumIndices,
|
||||
__unsigned_int__getNumIndices,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, offsetIndices, IN, int, offset,
|
||||
__void__offsetIndices__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumPrimitives,
|
||||
__unsigned_int__getNumPrimitives,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, dirty,
|
||||
__void__dirty,
|
||||
"Dirty the primitive, which increments the modified count, to force buffer objects to update. ",
|
||||
"");
|
||||
I_Method1(void, setModifiedCount, IN, unsigned int, value,
|
||||
__void__setModifiedCount__unsigned_int,
|
||||
"Set the modified count value. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getModifiedCount,
|
||||
__unsigned_int__getModifiedCount,
|
||||
"Get modified count value. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
|
||||
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
|
||||
I_SimpleProperty(const GLvoid *, DataPointer,
|
||||
__C5_GLvoid_P1__getDataPointer,
|
||||
0);
|
||||
I_SimpleProperty(GLenum, Mode,
|
||||
__GLenum__getMode,
|
||||
__void__setMode__GLenum);
|
||||
I_SimpleProperty(unsigned int, ModifiedCount,
|
||||
__unsigned_int__getModifiedCount,
|
||||
__void__setModifiedCount__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, TotalDataSize,
|
||||
__unsigned_int__getTotalDataSize,
|
||||
0);
|
||||
I_SimpleProperty(osg::PrimitiveSet::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VectorGLsizei)
|
||||
I_BaseType(std::vector<GLsizei>);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::VectorGLsizei &, copy);
|
||||
I_Constructor2(IN, GLsizei *, beg, IN, GLsizei *, end);
|
||||
I_Constructor1(IN, unsigned int, n);
|
||||
I_Constructor0(____VectorGLsizei,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::VectorGLsizei &, copy,
|
||||
____VectorGLsizei__C5_VectorGLsizei_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLsizei *, beg, IN, GLsizei *, end,
|
||||
____VectorGLsizei__GLsizei_P1__GLsizei_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, n,
|
||||
____VectorGLsizei__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VectorGLubyte)
|
||||
I_BaseType(std::vector<GLubyte>);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::VectorGLubyte &, copy);
|
||||
I_Constructor2(IN, GLubyte *, beg, IN, GLubyte *, end);
|
||||
I_Constructor1(IN, unsigned int, n);
|
||||
I_Constructor0(____VectorGLubyte,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::VectorGLubyte &, copy,
|
||||
____VectorGLubyte__C5_VectorGLubyte_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLubyte *, beg, IN, GLubyte *, end,
|
||||
____VectorGLubyte__GLubyte_P1__GLubyte_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, n,
|
||||
____VectorGLubyte__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VectorGLuint)
|
||||
I_BaseType(std::vector<GLuint>);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::VectorGLuint &, copy);
|
||||
I_Constructor2(IN, GLuint *, beg, IN, GLuint *, end);
|
||||
I_Constructor1(IN, unsigned int, n);
|
||||
I_Constructor0(____VectorGLuint,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::VectorGLuint &, copy,
|
||||
____VectorGLuint__C5_VectorGLuint_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLuint *, beg, IN, GLuint *, end,
|
||||
____VectorGLuint__GLuint_P1__GLuint_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, n,
|
||||
____VectorGLuint__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::VectorGLushort)
|
||||
I_BaseType(std::vector<GLushort>);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::VectorGLushort &, copy);
|
||||
I_Constructor2(IN, GLushort *, beg, IN, GLushort *, end);
|
||||
I_Constructor1(IN, unsigned int, n);
|
||||
I_Constructor0(____VectorGLushort,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::VectorGLushort &, copy,
|
||||
____VectorGLushort__C5_VectorGLushort_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, GLushort *, beg, IN, GLushort *, end,
|
||||
____VectorGLushort__GLushort_P1__GLushort_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned int, n,
|
||||
____VectorGLushort__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -32,42 +32,140 @@ TYPE_NAME_ALIAS(std::map< std::string COMMA osg::Program::ActiveVarInfo >, osg:
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Program)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Program &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
|
||||
I_Method0(void, dirtyProgram);
|
||||
I_Method1(bool, addShader, IN, osg::Shader *, shader);
|
||||
I_Method0(unsigned int, getNumShaders);
|
||||
I_Method1(osg::Shader *, getShader, IN, unsigned int, i);
|
||||
I_Method1(const osg::Shader *, getShader, IN, unsigned int, i);
|
||||
I_Method1(bool, removeShader, IN, osg::Shader *, shader);
|
||||
I_Method2(void, addBindAttribLocation, IN, const std::string &, name, IN, GLuint, index);
|
||||
I_Method1(void, removeBindAttribLocation, IN, const std::string &, name);
|
||||
I_Method0(const osg::Program::AttribBindingList &, getAttribBindingList);
|
||||
I_Method0(bool, isFixedFunction);
|
||||
I_Method2(bool, getGlProgramInfoLog, IN, unsigned int, contextID, IN, std::string &, log);
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveUniforms, IN, unsigned int, contextID);
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveAttribs, IN, unsigned int, contextID);
|
||||
I_Method1(osg::Program::PerContextProgram *, getPCP, IN, unsigned int, contextID);
|
||||
I_StaticMethod2(void, deleteGlProgram, IN, unsigned int, contextID, IN, GLuint, program);
|
||||
I_StaticMethod3(void, flushDeletedGlPrograms, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime);
|
||||
I_ReadOnlyProperty(const osg::Program::AttribBindingList &, AttribBindingList);
|
||||
I_ArrayProperty_GA(osg::Shader *, Shader, Shaders, unsigned int, bool);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____Program,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Program &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Program__C5_Program_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_osg_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__osg_State_R1,
|
||||
"If enabled, activate our program in the GL pipeline, performing any rebuild operations that might be pending. ",
|
||||
"");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
__void__compileGLObjects__osg_State_R1,
|
||||
"default to nothing to compile - all state is applied immediately. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Method0(void, dirtyProgram,
|
||||
__void__dirtyProgram,
|
||||
"Mark our PCSOs as needing relink. ",
|
||||
"");
|
||||
I_Method1(bool, addShader, IN, osg::Shader *, shader,
|
||||
__bool__addShader__Shader_P1,
|
||||
"Attach an osg::Shader to this osg::Program. ",
|
||||
"Mark Program as needing relink. Return true for success ");
|
||||
I_Method0(unsigned int, getNumShaders,
|
||||
__unsigned_int__getNumShaders,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Shader *, getShader, IN, unsigned int, i,
|
||||
__Shader_P1__getShader__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Shader *, getShader, IN, unsigned int, i,
|
||||
__C5_Shader_P1__getShader__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, removeShader, IN, osg::Shader *, shader,
|
||||
__bool__removeShader__Shader_P1,
|
||||
"Remove osg::Shader from this osg::Program. ",
|
||||
"Mark Program as needing relink. Return true for success ");
|
||||
I_Method2(void, addBindAttribLocation, IN, const std::string &, name, IN, GLuint, index,
|
||||
__void__addBindAttribLocation__C5_std_string_R1__GLuint,
|
||||
"Add an attribute location binding. ",
|
||||
"");
|
||||
I_Method1(void, removeBindAttribLocation, IN, const std::string &, name,
|
||||
__void__removeBindAttribLocation__C5_std_string_R1,
|
||||
"Add an attribute location binding. ",
|
||||
"");
|
||||
I_Method0(const osg::Program::AttribBindingList &, getAttribBindingList,
|
||||
__C5_AttribBindingList_R1__getAttribBindingList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFixedFunction,
|
||||
__bool__isFixedFunction,
|
||||
"Return true if this Program represents \"fixed-functionality\" rendering. ",
|
||||
"");
|
||||
I_Method2(bool, getGlProgramInfoLog, IN, unsigned int, contextID, IN, std::string &, log,
|
||||
__bool__getGlProgramInfoLog__unsigned_int__std_string_R1,
|
||||
"Query InfoLog from a glProgram. ",
|
||||
"");
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveUniforms, IN, unsigned int, contextID,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Program::ActiveVarInfoMap &, getActiveAttribs, IN, unsigned int, contextID,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Program::PerContextProgram *, getPCP, IN, unsigned int, contextID,
|
||||
__PerContextProgram_P1__getPCP__unsigned_int,
|
||||
"Get the PCP for a particular GL context. ",
|
||||
"");
|
||||
I_StaticMethod2(void, deleteGlProgram, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__deleteGlProgram__unsigned_int__GLuint_S,
|
||||
"Mark internal glProgram for deletion. ",
|
||||
"Deletion requests are queued until they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedGlPrograms, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedGlPrograms__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached glPrograms which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Program::AttribBindingList &, AttribBindingList,
|
||||
__C5_AttribBindingList_R1__getAttribBindingList,
|
||||
0);
|
||||
I_ArrayProperty(osg::Shader *, Shader,
|
||||
__Shader_P1__getShader__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumShaders,
|
||||
__bool__addShader__Shader_P1,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::Program::ActiveVarInfo)
|
||||
I_Constructor0();
|
||||
I_Constructor3(IN, GLint, loc, IN, GLenum, type, IN, GLint, size);
|
||||
I_Constructor0(____ActiveVarInfo,
|
||||
"",
|
||||
"");
|
||||
I_Constructor3(IN, GLint, loc, IN, GLenum, type, IN, GLint, size,
|
||||
____ActiveVarInfo__GLint__GLenum__GLint,
|
||||
"",
|
||||
"");
|
||||
I_PublicMemberProperty(GLint, _location);
|
||||
I_PublicMemberProperty(GLenum, _type);
|
||||
I_PublicMemberProperty(GLint, _size);
|
||||
@@ -75,24 +173,75 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Program::PerContextProgram)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor2(IN, const osg::Program *, program, IN, unsigned int, contextID);
|
||||
I_Method0(GLuint, getHandle);
|
||||
I_Method0(void, requestLink);
|
||||
I_Method0(void, linkProgram);
|
||||
I_Method0(bool, validateProgram);
|
||||
I_Method0(bool, needsLink);
|
||||
I_Method0(bool, isLinked);
|
||||
I_Method1(bool, getInfoLog, IN, std::string &, infoLog);
|
||||
I_Method0(void, useProgram);
|
||||
I_Method0(void, resetAppliedUniforms);
|
||||
I_Method1(void, apply, IN, const osg::Uniform &, uniform);
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveUniforms);
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveAttribs);
|
||||
I_Method1(GLint, getUniformLocation, IN, const std::string &, name);
|
||||
I_Method1(GLint, getAttribLocation, IN, const std::string &, name);
|
||||
I_ReadOnlyProperty(const osg::Program::ActiveVarInfoMap &, ActiveAttribs);
|
||||
I_ReadOnlyProperty(const osg::Program::ActiveVarInfoMap &, ActiveUniforms);
|
||||
I_ReadOnlyProperty(GLuint, Handle);
|
||||
I_Constructor2(IN, const osg::Program *, program, IN, unsigned int, contextID,
|
||||
____PerContextProgram__C5_Program_P1__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLuint, getHandle,
|
||||
__GLuint__getHandle,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, requestLink,
|
||||
__void__requestLink,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, linkProgram,
|
||||
__void__linkProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, validateProgram,
|
||||
__bool__validateProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, needsLink,
|
||||
__bool__needsLink,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isLinked,
|
||||
__bool__isLinked,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getInfoLog, IN, std::string &, infoLog,
|
||||
__bool__getInfoLog__std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, useProgram,
|
||||
__void__useProgram,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, resetAppliedUniforms,
|
||||
__void__resetAppliedUniforms,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, const osg::Uniform &, uniform,
|
||||
__void__apply__C5_Uniform_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveUniforms,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::ActiveVarInfoMap &, getActiveAttribs,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getUniformLocation, IN, const std::string &, name,
|
||||
__GLint__getUniformLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getAttribLocation, IN, const std::string &, name,
|
||||
__GLint__getAttribLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Program::ActiveVarInfoMap &, ActiveAttribs,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveAttribs,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Program::ActiveVarInfoMap &, ActiveUniforms,
|
||||
__C5_ActiveVarInfoMap_R1__getActiveUniforms,
|
||||
0);
|
||||
I_SimpleProperty(GLuint, Handle,
|
||||
__GLuint__getHandle,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR(std::map< std::string COMMA GLuint >);
|
||||
|
||||
@@ -26,19 +26,59 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Projection)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Projection &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Constructor1(IN, const osg::Matrix &, matix);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, mat);
|
||||
I_Method0(const osg::Matrix &, getMatrix);
|
||||
I_Method1(void, preMult, IN, const osg::Matrix &, mat);
|
||||
I_Method1(void, postMult, IN, const osg::Matrix &, mat);
|
||||
I_Property(const osg::Matrix &, Matrix);
|
||||
I_Constructor0(____Projection,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Projection &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Projection__C5_Projection_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Matrix &, matix,
|
||||
____Projection__C5_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setMatrix, IN, const osg::Matrix &, mat,
|
||||
__void__setMatrix__C5_Matrix_R1,
|
||||
"Set the transform's matrix. ",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getMatrix,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
"Get the transform's matrix. ",
|
||||
"");
|
||||
I_Method1(void, preMult, IN, const osg::Matrix &, mat,
|
||||
__void__preMult__C5_Matrix_R1,
|
||||
"preMult transform. ",
|
||||
"");
|
||||
I_Method1(void, postMult, IN, const osg::Matrix &, mat,
|
||||
__void__postMult__C5_Matrix_R1,
|
||||
"postMult transform. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Matrix &, Matrix,
|
||||
__C5_Matrix_R1__getMatrix,
|
||||
__void__setMatrix__C5_Matrix_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -35,34 +35,119 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ProxyNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::ProxyNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child);
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, const std::string &, filename);
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove);
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path);
|
||||
I_Method0(const std::string &, getDatabasePath);
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename);
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo);
|
||||
I_Method0(unsigned int, getNumFileNames);
|
||||
I_Method1(void, setCenterMode, IN, osg::ProxyNode::CenterMode, mode);
|
||||
I_Method0(osg::ProxyNode::CenterMode, getCenterMode);
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, center);
|
||||
I_Method0(const osg::Vec3 &, getCenter);
|
||||
I_Method1(void, setRadius, IN, float, radius);
|
||||
I_Method0(float, getRadius);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_Property(const osg::Vec3 &, Center);
|
||||
I_Property(osg::ProxyNode::CenterMode, CenterMode);
|
||||
I_Property(const std::string &, DatabasePath);
|
||||
I_ArrayProperty_G(const std::string &, FileName, FileNames, unsigned int, void);
|
||||
I_Property(float, Radius);
|
||||
I_Constructor0(____ProxyNode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ProxyNode &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ProxyNode__C5_ProxyNode_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__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,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
__bool__addChild__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, addChild, IN, osg::Node *, child, IN, const std::string &, filename,
|
||||
__bool__addChild__Node_P1__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"Remove children from Group. ",
|
||||
"Note, must be override by subclasses of Group which add per child attributes. ");
|
||||
I_Method1(void, setDatabasePath, IN, const std::string &, path,
|
||||
__void__setDatabasePath__C5_std_string_R1,
|
||||
"Set the database path to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getDatabasePath,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
"Get the database path used to prepend to children's filenames. ",
|
||||
"");
|
||||
I_Method2(void, setFileName, IN, unsigned int, childNo, IN, const std::string &, filename,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const std::string &, getFileName, IN, unsigned int, childNo,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFileNames,
|
||||
__unsigned_int__getNumFileNames,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCenterMode, IN, osg::ProxyNode::CenterMode, mode,
|
||||
__void__setCenterMode__CenterMode,
|
||||
"Set how the center of object should be determined when computed which child is active. ",
|
||||
"");
|
||||
I_Method0(osg::ProxyNode::CenterMode, getCenterMode,
|
||||
__CenterMode__getCenterMode,
|
||||
"Get how the center of object should be determined when computed which child is active. ",
|
||||
"");
|
||||
I_Method1(void, setCenter, IN, const osg::Vec3 &, center,
|
||||
__void__setCenter__C5_Vec3_R1,
|
||||
"Sets the object-space point which defines the center of the osg::ProxyNode. ",
|
||||
"center is affected by any transforms in the hierarchy above the osg::ProxyNode. ");
|
||||
I_Method0(const osg::Vec3 &, getCenter,
|
||||
__C5_Vec3_R1__getCenter,
|
||||
"return the ProxyNode center point. ",
|
||||
"");
|
||||
I_Method1(void, setRadius, IN, float, radius,
|
||||
__void__setRadius__float,
|
||||
"Set the object-space reference radius of the volume enclosed by the ProxyNode. ",
|
||||
"Used to detmine the bounding sphere of the ProxyNode in the absense of any children. ");
|
||||
I_Method0(float, getRadius,
|
||||
__float__getRadius,
|
||||
"Get the object-space radius of the volume enclosed by the ProxyNode. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__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(const osg::Vec3 &, Center,
|
||||
__C5_Vec3_R1__getCenter,
|
||||
__void__setCenter__C5_Vec3_R1);
|
||||
I_SimpleProperty(osg::ProxyNode::CenterMode, CenterMode,
|
||||
__CenterMode__getCenterMode,
|
||||
__void__setCenterMode__CenterMode);
|
||||
I_SimpleProperty(const std::string &, DatabasePath,
|
||||
__C5_std_string_R1__getDatabasePath,
|
||||
__void__setDatabasePath__C5_std_string_R1);
|
||||
I_ArrayProperty(const std::string &, FileName,
|
||||
__C5_std_string_R1__getFileName__unsigned_int,
|
||||
__void__setFileName__unsigned_int__C5_std_string_R1,
|
||||
__unsigned_int__getNumFileNames,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(float, Radius,
|
||||
__float__getRadius,
|
||||
__void__setRadius__float);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -33,48 +33,172 @@ TYPE_NAME_ALIAS(double, osg::Quat::value_type);
|
||||
BEGIN_VALUE_REFLECTOR(osg::Quat)
|
||||
I_ReaderWriter(osgIntrospection::StdReaderWriter<reflected_type>); // user-defined
|
||||
I_Comparator(osgIntrospection::PartialOrderComparator<reflected_type>); // user-defined
|
||||
I_Constructor0();
|
||||
I_Constructor4(IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w);
|
||||
I_Constructor1(IN, const osg::Vec4f &, v);
|
||||
I_Constructor1(IN, const osg::Vec4d &, v);
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, axis);
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, axis);
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3);
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3);
|
||||
I_Method0(osg::Vec4d, asVec4);
|
||||
I_Method0(osg::Vec3d, asVec3);
|
||||
I_Method4(void, set, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w);
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, v);
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, v);
|
||||
I_Method1(void, set, IN, const osg::Matrixf &, matrix);
|
||||
I_Method1(void, set, IN, const osg::Matrixd &, matrix);
|
||||
I_Method1(void, get, IN, osg::Matrixf &, matrix);
|
||||
I_Method1(void, get, IN, osg::Matrixd &, matrix);
|
||||
I_Method0(osg::Quat::value_type &, x);
|
||||
I_Method0(osg::Quat::value_type &, y);
|
||||
I_Method0(osg::Quat::value_type &, z);
|
||||
I_Method0(osg::Quat::value_type &, w);
|
||||
I_Method0(osg::Quat::value_type, x);
|
||||
I_Method0(osg::Quat::value_type, y);
|
||||
I_Method0(osg::Quat::value_type, z);
|
||||
I_Method0(osg::Quat::value_type, w);
|
||||
I_Method0(bool, zeroRotation);
|
||||
I_Method0(osg::Quat::value_type, length);
|
||||
I_Method0(osg::Quat::value_type, length2);
|
||||
I_Method0(osg::Quat, conj);
|
||||
I_Method0(const osg::Quat, inverse);
|
||||
I_Method4(void, makeRotate, IN, osg::Quat::value_type, angle, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z);
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, vec);
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, vec);
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3);
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3);
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3f &, vec1, IN, const osg::Vec3f &, vec2);
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2);
|
||||
I_Method2(void, makeRotate_original, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2);
|
||||
I_Method4(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Quat::value_type &, x, IN, osg::Quat::value_type &, y, IN, osg::Quat::value_type &, z);
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3f &, vec);
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3d &, vec);
|
||||
I_Method3(void, slerp, IN, osg::Quat::value_type, t, IN, const osg::Quat &, from, IN, const osg::Quat &, to);
|
||||
I_WriteOnlyProperty(const osg::Vec4f &, );
|
||||
I_Constructor0(____Quat,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w,
|
||||
____Quat__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4f &, v,
|
||||
____Quat__C5_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Vec4d &, v,
|
||||
____Quat__C5_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, axis,
|
||||
____Quat__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, axis,
|
||||
____Quat__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
____Quat__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor6(IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
____Quat__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4d, asVec4,
|
||||
__Vec4d__asVec4,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec3d, asVec3,
|
||||
__Vec3d__asVec3,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, set, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z, IN, osg::Quat::value_type, w,
|
||||
__void__set__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4f &, v,
|
||||
__void__set__C5_osg_Vec4f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Vec4d &, v,
|
||||
__void__set__C5_osg_Vec4d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixf &, matrix,
|
||||
__void__set__C5_Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, set, IN, const osg::Matrixd &, matrix,
|
||||
__void__set__C5_Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Matrixf &, matrix,
|
||||
__void__get__Matrixf_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, get, IN, osg::Matrixd &, matrix,
|
||||
__void__get__Matrixd_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, x,
|
||||
__value_type_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, y,
|
||||
__value_type_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, z,
|
||||
__value_type_R1__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type &, w,
|
||||
__value_type_R1__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, x,
|
||||
__value_type__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, y,
|
||||
__value_type__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, z,
|
||||
__value_type__z,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, w,
|
||||
__value_type__w,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, zeroRotation,
|
||||
__bool__zeroRotation,
|
||||
"return true if the Quat represents a zero rotation, and therefore can be ignored in computations. ",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, length,
|
||||
__value_type__length,
|
||||
"Length of the quaternion = sqrt( vec . vec ). ",
|
||||
"");
|
||||
I_Method0(osg::Quat::value_type, length2,
|
||||
__value_type__length2,
|
||||
"Length of the quaternion = vec . vec. ",
|
||||
"");
|
||||
I_Method0(osg::Quat, conj,
|
||||
__Quat__conj,
|
||||
"Conjugate. ",
|
||||
"");
|
||||
I_Method0(const osg::Quat, inverse,
|
||||
__C5_Quat__inverse,
|
||||
"Multiplicative inverse method: q^(-1) = q^*/(q.q^*). ",
|
||||
"");
|
||||
I_Method4(void, makeRotate, IN, osg::Quat::value_type, angle, IN, osg::Quat::value_type, x, IN, osg::Quat::value_type, y, IN, osg::Quat::value_type, z,
|
||||
__void__makeRotate__value_type__value_type__value_type__value_type,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3f &, vec,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, osg::Quat::value_type, angle, IN, const osg::Vec3d &, vec,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3f &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3f &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3f &, axis3,
|
||||
__void__makeRotate__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1__value_type__C5_Vec3f_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method6(void, makeRotate, IN, osg::Quat::value_type, angle1, IN, const osg::Vec3d &, axis1, IN, osg::Quat::value_type, angle2, IN, const osg::Vec3d &, axis2, IN, osg::Quat::value_type, angle3, IN, const osg::Vec3d &, axis3,
|
||||
__void__makeRotate__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1__value_type__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3f &, vec1, IN, const osg::Vec3f &, vec2,
|
||||
__void__makeRotate__C5_Vec3f_R1__C5_Vec3f_R1,
|
||||
"Make a rotation Quat which will rotate vec1 to vec2. ",
|
||||
"Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases when the vectors are co-incident or opposite in direction. ");
|
||||
I_Method2(void, makeRotate, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2,
|
||||
__void__makeRotate__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"Make a rotation Quat which will rotate vec1 to vec2. ",
|
||||
"Generally take a dot product to get the angle between these and then use a cross product to get the rotation axis Watch out for the two special cases of when the vectors are co-incident or opposite in direction. ");
|
||||
I_Method2(void, makeRotate_original, IN, const osg::Vec3d &, vec1, IN, const osg::Vec3d &, vec2,
|
||||
__void__makeRotate_original__C5_Vec3d_R1__C5_Vec3d_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Quat::value_type &, x, IN, osg::Quat::value_type &, y, IN, osg::Quat::value_type &, z,
|
||||
__void__getRotate__value_type_R1__value_type_R1__value_type_R1__value_type_R1,
|
||||
"Return the angle and vector components represented by the quaternion. ",
|
||||
"");
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3f &, vec,
|
||||
__void__getRotate__value_type_R1__Vec3f_R1,
|
||||
"Return the angle and vector represented by the quaternion. ",
|
||||
"");
|
||||
I_Method2(void, getRotate, IN, osg::Quat::value_type &, angle, IN, osg::Vec3d &, vec,
|
||||
__void__getRotate__value_type_R1__Vec3d_R1,
|
||||
"Return the angle and vector represented by the quaternion. ",
|
||||
"");
|
||||
I_Method3(void, slerp, IN, osg::Quat::value_type, t, IN, const osg::Quat &, from, IN, const osg::Quat &, to,
|
||||
__void__slerp__value_type__C5_Quat_R1__C5_Quat_R1,
|
||||
"Spherical Linear Interpolation. ",
|
||||
"As t goes from 0 to 1, the Quat object goes from \"from\" to \"to\". ");
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -22,28 +22,85 @@
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::DeleteHandler)
|
||||
I_Constructor0();
|
||||
I_Method0(void, flush);
|
||||
I_Method1(void, doDelete, IN, const osg::Referenced *, object);
|
||||
I_Method1(void, requestDelete, IN, const osg::Referenced *, object);
|
||||
I_Constructor0(____DeleteHandler,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, flush,
|
||||
__void__flush,
|
||||
"flush any cache of objects that need to be deleted by doing an actual delete. ",
|
||||
"");
|
||||
I_Method1(void, doDelete, IN, const osg::Referenced *, object,
|
||||
__void__doDelete__C5_Referenced_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, requestDelete, IN, const osg::Referenced *, object,
|
||||
__void__requestDelete__C5_Referenced_P1,
|
||||
"Request the deletion of an object. ",
|
||||
"Depending on users implementation of DeleteHandler, the delete of the object may occur straight away or be delayed until doDelete is called. The default implementation does a delete straight away. ");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Referenced)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, bool, threadSafeRefUnref);
|
||||
I_Constructor1(IN, const osg::Referenced &, x);
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe);
|
||||
I_Method0(bool, getThreadSafeRefUnref);
|
||||
I_Method0(void, ref);
|
||||
I_Method0(void, unref);
|
||||
I_Method0(void, unref_nodelete);
|
||||
I_Method0(int, referenceCount);
|
||||
I_Method1(void, addObserver, IN, osg::Observer *, observer);
|
||||
I_Method1(void, removeObserver, IN, osg::Observer *, observer);
|
||||
I_StaticMethod1(void, setThreadSafeReferenceCounting, IN, bool, enableThreadSafeReferenceCounting);
|
||||
I_StaticMethod0(bool, getThreadSafeReferenceCounting);
|
||||
I_StaticMethod1(void, setDeleteHandler, IN, osg::DeleteHandler *, handler);
|
||||
I_StaticMethod0(osg::DeleteHandler *, getDeleteHandler);
|
||||
I_Property(bool, ThreadSafeRefUnref);
|
||||
I_Constructor0(____Referenced,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, bool, threadSafeRefUnref,
|
||||
____Referenced__bool,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::Referenced &, x,
|
||||
____Referenced__C5_Referenced_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadSafeRefUnref, IN, bool, threadSafe,
|
||||
__void__setThreadSafeRefUnref__bool,
|
||||
"Set whether to use a mutex to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method0(bool, getThreadSafeRefUnref,
|
||||
__bool__getThreadSafeRefUnref,
|
||||
"Get whether a mutex is used to ensure ref() and unref() are thread safe. ",
|
||||
"");
|
||||
I_Method0(void, ref,
|
||||
__void__ref,
|
||||
"Increment the reference count by one, indicating that this object has another pointer which is referencing it. ",
|
||||
"");
|
||||
I_Method0(void, unref,
|
||||
__void__unref,
|
||||
"Decrement the reference count by one, indicating that a pointer to this object is referencing it. ",
|
||||
"If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted. ");
|
||||
I_Method0(void, unref_nodelete,
|
||||
__void__unref_nodelete,
|
||||
"Decrement the reference count by one, indicating that a pointer to this object is referencing it. ",
|
||||
"However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be resonsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks. ");
|
||||
I_Method0(int, referenceCount,
|
||||
__int__referenceCount,
|
||||
"Return the number pointers currently referencing this object. ",
|
||||
"");
|
||||
I_Method1(void, addObserver, IN, osg::Observer *, observer,
|
||||
__void__addObserver__Observer_P1,
|
||||
"Add a Observer that is observering this object, notify the Observer when this object gets deleted. ",
|
||||
"");
|
||||
I_Method1(void, removeObserver, IN, osg::Observer *, observer,
|
||||
__void__removeObserver__Observer_P1,
|
||||
"Add a Observer that is observering this object, notify the Observer when this object gets deleted. ",
|
||||
"");
|
||||
I_StaticMethod1(void, setThreadSafeReferenceCounting, IN, bool, enableThreadSafeReferenceCounting,
|
||||
__void__setThreadSafeReferenceCounting__bool_S,
|
||||
"Set whether reference counting should be use a mutex to create thread reference counting. ",
|
||||
"");
|
||||
I_StaticMethod0(bool, getThreadSafeReferenceCounting,
|
||||
__bool__getThreadSafeReferenceCounting_S,
|
||||
"Get whether reference counting is active. ",
|
||||
"");
|
||||
I_StaticMethod1(void, setDeleteHandler, IN, osg::DeleteHandler *, handler,
|
||||
__void__setDeleteHandler__DeleteHandler_P1_S,
|
||||
"Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. ",
|
||||
"");
|
||||
I_StaticMethod0(osg::DeleteHandler *, getDeleteHandler,
|
||||
__DeleteHandler_P1__getDeleteHandler_S,
|
||||
"Get a DeleteHandler. ",
|
||||
"");
|
||||
I_SimpleProperty(bool, ThreadSafeRefUnref,
|
||||
__bool__getThreadSafeRefUnref,
|
||||
__void__setThreadSafeRefUnref__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -24,22 +24,68 @@
|
||||
#endif
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::RenderInfo)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, const osg::RenderInfo &, rhs);
|
||||
I_Constructor2(IN, osg::State *, state, IN, osg::View *, view);
|
||||
I_Method0(unsigned int, getContextID);
|
||||
I_Method1(void, setState, IN, osg::State *, state);
|
||||
I_Method0(osg::State *, getState);
|
||||
I_Method0(const osg::State *, getState);
|
||||
I_Method1(void, setView, IN, osg::View *, view);
|
||||
I_Method0(osg::View *, getView);
|
||||
I_Method0(const osg::View *, getView);
|
||||
I_Method1(void, setUserData, IN, osg::Referenced *, userData);
|
||||
I_Method0(osg::Referenced *, getUserData);
|
||||
I_Method0(const osg::Referenced *, getUserData);
|
||||
I_ReadOnlyProperty(unsigned int, ContextID);
|
||||
I_Property(osg::State *, State);
|
||||
I_Property(osg::Referenced *, UserData);
|
||||
I_Property(osg::View *, View);
|
||||
I_Constructor0(____RenderInfo,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::RenderInfo &, rhs,
|
||||
____RenderInfo__C5_RenderInfo_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::State *, state, IN, osg::View *, view,
|
||||
____RenderInfo__State_P1__View_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getContextID,
|
||||
__unsigned_int__getContextID,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setState, IN, osg::State *, state,
|
||||
__void__setState__State_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::State *, getState,
|
||||
__State_P1__getState,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::State *, getState,
|
||||
__C5_State_P1__getState,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setView, IN, osg::View *, view,
|
||||
__void__setView__View_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::View *, getView,
|
||||
__View_P1__getView,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::View *, getView,
|
||||
__C5_View_P1__getView,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setUserData, IN, osg::Referenced *, userData,
|
||||
__void__setUserData__Referenced_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Referenced *, getUserData,
|
||||
__Referenced_P1__getUserData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Referenced *, getUserData,
|
||||
__C5_Referenced_P1__getUserData,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(unsigned int, ContextID,
|
||||
__unsigned_int__getContextID,
|
||||
0);
|
||||
I_SimpleProperty(osg::State *, State,
|
||||
__State_P1__getState,
|
||||
__void__setState__State_P1);
|
||||
I_SimpleProperty(osg::Referenced *, UserData,
|
||||
__Referenced_P1__getUserData,
|
||||
__void__setUserData__Referenced_P1);
|
||||
I_SimpleProperty(osg::View *, View,
|
||||
__View_P1__getView,
|
||||
__void__setView__View_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,28 +26,95 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Scissor)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height);
|
||||
I_ConstructorWithDefaults2(IN, const osg::Scissor &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method4(void, setScissor, IN, int, x, IN, int, y, IN, int, width, IN, int, height);
|
||||
I_Method4(void, getScissor, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height);
|
||||
I_Method0(int &, x);
|
||||
I_Method0(int, x);
|
||||
I_Method0(int &, y);
|
||||
I_Method0(int, y);
|
||||
I_Method0(int &, width);
|
||||
I_Method0(int, width);
|
||||
I_Method0(int &, height);
|
||||
I_Method0(int, height);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____Scissor,
|
||||
"",
|
||||
"");
|
||||
I_Constructor4(IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
____Scissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Scissor &, vp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Scissor__C5_Scissor_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setScissor, IN, int, x, IN, int, y, IN, int, width, IN, int, height,
|
||||
__void__setScissor__int__int__int__int,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, getScissor, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height,
|
||||
__void__getScissor__int_R1__int_R1__int_R1__int_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, x,
|
||||
__int_R1__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, x,
|
||||
__int__x,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, y,
|
||||
__int_R1__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, y,
|
||||
__int__y,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, width,
|
||||
__int_R1__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, width,
|
||||
__int__width,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int &, height,
|
||||
__int_R1__height,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, height,
|
||||
__int__height,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -37,28 +37,94 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Sequence)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Sequence &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setValue, IN, int, value);
|
||||
I_Method0(int, getValue);
|
||||
I_Method2(void, setTime, IN, int, frame, IN, float, t);
|
||||
I_Method1(float, getTime, IN, int, frame);
|
||||
I_Method0(unsigned int, getNumFrames);
|
||||
I_Method3(void, setInterval, IN, osg::Sequence::LoopMode, mode, IN, int, begin, IN, int, end);
|
||||
I_Method3(void, getInterval, IN, osg::Sequence::LoopMode &, mode, IN, int &, begin, IN, int &, end);
|
||||
I_MethodWithDefaults2(void, setDuration, IN, float, speed, , IN, int, nreps, -1);
|
||||
I_Method2(void, getDuration, IN, float &, speed, IN, int &, nreps);
|
||||
I_Method1(void, setMode, IN, osg::Sequence::SequenceMode, mode);
|
||||
I_Method0(osg::Sequence::SequenceMode, getMode);
|
||||
I_Property(osg::Sequence::SequenceMode, Mode);
|
||||
I_IndexedProperty1(float, Time, int, frame);
|
||||
I_Property(int, Value);
|
||||
I_Constructor0(____Sequence,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Sequence &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Sequence__C5_Sequence_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__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,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, setValue, IN, int, value,
|
||||
__void__setValue__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getValue,
|
||||
__int__getValue,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setTime, IN, int, frame, IN, float, t,
|
||||
__void__setTime__int__float,
|
||||
"Set time in seconds for child. ",
|
||||
"");
|
||||
I_Method1(float, getTime, IN, int, frame,
|
||||
__float__getTime__int,
|
||||
"Get time for child. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumFrames,
|
||||
__unsigned_int__getNumFrames,
|
||||
"Get number of frames. ",
|
||||
"");
|
||||
I_Method3(void, setInterval, IN, osg::Sequence::LoopMode, mode, IN, int, begin, IN, int, end,
|
||||
__void__setInterval__LoopMode__int__int,
|
||||
"Set sequence mode & interval (range of children to be displayed). ",
|
||||
"");
|
||||
I_Method3(void, getInterval, IN, osg::Sequence::LoopMode &, mode, IN, int &, begin, IN, int &, end,
|
||||
__void__getInterval__LoopMode_R1__int_R1__int_R1,
|
||||
"Get sequence mode & interval. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setDuration, IN, float, speed, , IN, int, nreps, -1,
|
||||
__void__setDuration__float__int,
|
||||
"Set duration: speed-up & number of repeats. ",
|
||||
"");
|
||||
I_Method2(void, getDuration, IN, float &, speed, IN, int &, nreps,
|
||||
__void__getDuration__float_R1__int_R1,
|
||||
"Get duration & number of repeats. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::Sequence::SequenceMode, mode,
|
||||
__void__setMode__SequenceMode,
|
||||
"Set sequence mode. ",
|
||||
"Start/stop & pause/resume. ");
|
||||
I_Method0(osg::Sequence::SequenceMode, getMode,
|
||||
__SequenceMode__getMode,
|
||||
"Get sequence mode. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Sequence::SequenceMode, Mode,
|
||||
__SequenceMode__getMode,
|
||||
__void__setMode__SequenceMode);
|
||||
I_IndexedProperty(float, Time,
|
||||
__float__getTime__int,
|
||||
__void__setTime__int__float,
|
||||
0);
|
||||
I_SimpleProperty(int, Value,
|
||||
__int__getValue,
|
||||
__void__setValue__int);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,19 +31,58 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ShadeModel)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShadeModel &, sm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, setMode, IN, osg::ShadeModel::Mode, mode);
|
||||
I_Method0(osg::ShadeModel::Mode, getMode);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(osg::ShadeModel::Mode, Mode);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____ShadeModel,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShadeModel &, sm, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShadeModel__C5_ShadeModel_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::ShadeModel::Mode, mode,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ShadeModel::Mode, getMode,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::ShadeModel::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,32 +31,110 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Shader)
|
||||
I_BaseType(osg::Object);
|
||||
I_ConstructorWithDefaults1(IN, osg::Shader::Type, type, osg::Shader::UNDEFINED);
|
||||
I_Constructor2(IN, osg::Shader::Type, type, IN, const std::string &, source);
|
||||
I_ConstructorWithDefaults2(IN, const osg::Shader &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(int, compare, IN, const osg::Shader &, rhs);
|
||||
I_Method1(bool, setType, IN, osg::Shader::Type, t);
|
||||
I_Method1(void, setShaderSource, IN, const std::string &, sourceText);
|
||||
I_Method1(bool, loadShaderSourceFromFile, IN, const std::string &, fileName);
|
||||
I_Method0(const std::string &, getShaderSource);
|
||||
I_Method0(osg::Shader::Type, getType);
|
||||
I_Method0(const char *, getTypename);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
|
||||
I_Method0(void, dirtyShader);
|
||||
I_Method1(void, compileShader, IN, unsigned int, contextID);
|
||||
I_Method2(void, attachShader, IN, unsigned int, contextID, IN, GLuint, program);
|
||||
I_Method2(bool, getGlShaderInfoLog, IN, unsigned int, contextID, IN, std::string &, log);
|
||||
I_StaticMethod2(osg::Shader *, readShaderFile, IN, osg::Shader::Type, type, IN, const std::string &, fileName);
|
||||
I_StaticMethod2(void, deleteGlShader, IN, unsigned int, contextID, IN, GLuint, shader);
|
||||
I_StaticMethod3(void, flushDeletedGlShaders, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime);
|
||||
I_StaticMethod1(osg::Shader::Type, getTypeId, IN, const std::string &, tname);
|
||||
I_Property(const std::string &, ShaderSource);
|
||||
I_PropertyWithReturnType(osg::Shader::Type, Type, bool);
|
||||
I_ReadOnlyProperty(const char *, Typename);
|
||||
I_ConstructorWithDefaults1(IN, osg::Shader::Type, type, osg::Shader::UNDEFINED,
|
||||
____Shader__Type,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, osg::Shader::Type, type, IN, const std::string &, source,
|
||||
____Shader__Type__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Shader &, rhs, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Shader__C5_Shader_R1__C5_osg_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(int, compare, IN, const osg::Shader &, rhs,
|
||||
__int__compare__C5_Shader_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setType, IN, osg::Shader::Type, t,
|
||||
__bool__setType__Type,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setShaderSource, IN, const std::string &, sourceText,
|
||||
__void__setShaderSource__C5_std_string_R1,
|
||||
"Load the Shader's source code text from a string. ",
|
||||
"");
|
||||
I_Method1(bool, loadShaderSourceFromFile, IN, const std::string &, fileName,
|
||||
__bool__loadShaderSourceFromFile__C5_std_string_R1,
|
||||
"Load the Shader's source code text from a file. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getShaderSource,
|
||||
__C5_std_string_R1__getShaderSource,
|
||||
"Query the shader's source code text. ",
|
||||
"");
|
||||
I_Method0(osg::Shader::Type, getType,
|
||||
__Type__getType,
|
||||
"Get the Shader type as an enum. ",
|
||||
"");
|
||||
I_Method0(const char *, getTypename,
|
||||
__C5_char_P1__getTypename,
|
||||
"Get the Shader type as a descriptive string. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
__void__releaseGLObjects__osg_State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objects for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_Method0(void, dirtyShader,
|
||||
__void__dirtyShader,
|
||||
"Mark our PCSs as needing recompilation. ",
|
||||
"Also mark Programs that depend on us as needing relink ");
|
||||
I_Method1(void, compileShader, IN, unsigned int, contextID,
|
||||
__void__compileShader__unsigned_int,
|
||||
"If needed, compile the PCS's glShader. ",
|
||||
"");
|
||||
I_Method2(void, attachShader, IN, unsigned int, contextID, IN, GLuint, program,
|
||||
__void__attachShader__unsigned_int__GLuint,
|
||||
"For a given GL context, attach a glShader to a glProgram. ",
|
||||
"");
|
||||
I_Method2(bool, getGlShaderInfoLog, IN, unsigned int, contextID, IN, std::string &, log,
|
||||
__bool__getGlShaderInfoLog__unsigned_int__std_string_R1,
|
||||
"Query InfoLog from a glShader. ",
|
||||
"");
|
||||
I_StaticMethod2(osg::Shader *, readShaderFile, IN, osg::Shader::Type, type, IN, const std::string &, fileName,
|
||||
__Shader_P1__readShaderFile__Type__C5_std_string_R1_S,
|
||||
"Read shader source from file and then constructor shader of specified type. ",
|
||||
"Return the resulting Shader or 0 if no valid shader source code be read. ");
|
||||
I_StaticMethod2(void, deleteGlShader, IN, unsigned int, contextID, IN, GLuint, shader,
|
||||
__void__deleteGlShader__unsigned_int__GLuint_S,
|
||||
"Mark internal glShader for deletion. ",
|
||||
"Deletion requests are queued tuntil they can be executed in the proper GL context. ");
|
||||
I_StaticMethod3(void, flushDeletedGlShaders, IN, unsigned int, contextID, IN, double, currentTime, IN, double &, availableTime,
|
||||
__void__flushDeletedGlShaders__unsigned_int__double__double_R1_S,
|
||||
"flush all the cached glShaders which need to be deleted in the OpenGL context related to contextID. ",
|
||||
"");
|
||||
I_StaticMethod1(osg::Shader::Type, getTypeId, IN, const std::string &, tname,
|
||||
__Shader_Type__getTypeId__C5_std_string_R1_S,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(const std::string &, ShaderSource,
|
||||
__C5_std_string_R1__getShaderSource,
|
||||
__void__setShaderSource__C5_std_string_R1);
|
||||
I_SimpleProperty(osg::Shader::Type, Type,
|
||||
__Type__getType,
|
||||
__bool__setType__Type);
|
||||
I_SimpleProperty(const char *, Typename,
|
||||
__C5_char_P1__getTypename,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,29 +31,93 @@
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Polytope >, osg::ShadowVolumeOccluder::HoleList);
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ShadowVolumeOccluder)
|
||||
I_Constructor1(IN, const osg::ShadowVolumeOccluder &, svo);
|
||||
I_Constructor0();
|
||||
I_MethodWithDefaults4(bool, computeOccluder, IN, const osg::NodePath &, nodePath, , IN, const osg::ConvexPlanarOccluder &, occluder, , IN, osg::CullStack &, cullStack, , IN, bool, createDrawables, false);
|
||||
I_Method0(void, disableResultMasks);
|
||||
I_Method0(void, pushCurrentMask);
|
||||
I_Method0(void, popCurrentMask);
|
||||
I_Method1(bool, matchProjectionMatrix, IN, const osg::Matrix &, matrix);
|
||||
I_Method1(void, setNodePath, IN, osg::NodePath &, nodePath);
|
||||
I_Method0(osg::NodePath &, getNodePath);
|
||||
I_Method0(const osg::NodePath &, getNodePath);
|
||||
I_Method0(float, getVolume);
|
||||
I_Method0(osg::Polytope &, getOccluder);
|
||||
I_Method0(const osg::Polytope &, getOccluder);
|
||||
I_Method0(osg::ShadowVolumeOccluder::HoleList &, getHoleList);
|
||||
I_Method0(const osg::ShadowVolumeOccluder::HoleList &, getHoleList);
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices);
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bound);
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bound);
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix);
|
||||
I_ReadOnlyProperty(osg::ShadowVolumeOccluder::HoleList &, HoleList);
|
||||
I_Property(osg::NodePath &, NodePath);
|
||||
I_ReadOnlyProperty(osg::Polytope &, Occluder);
|
||||
I_ReadOnlyProperty(float, Volume);
|
||||
I_Constructor1(IN, const osg::ShadowVolumeOccluder &, svo,
|
||||
____ShadowVolumeOccluder__C5_ShadowVolumeOccluder_R1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____ShadowVolumeOccluder,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults4(bool, computeOccluder, IN, const osg::NodePath &, nodePath, , IN, const osg::ConvexPlanarOccluder &, occluder, , IN, osg::CullStack &, cullStack, , IN, bool, createDrawables, false,
|
||||
__bool__computeOccluder__C5_NodePath_R1__C5_ConvexPlanarOccluder_R1__CullStack_R1__bool,
|
||||
"compute the shadow volume occluder. ",
|
||||
"");
|
||||
I_Method0(void, disableResultMasks,
|
||||
__void__disableResultMasks,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, pushCurrentMask,
|
||||
__void__pushCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, popCurrentMask,
|
||||
__void__popCurrentMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, matchProjectionMatrix, IN, const osg::Matrix &, matrix,
|
||||
__bool__matchProjectionMatrix__C5_osg_Matrix_R1,
|
||||
"return true if the matrix passed in matches the projection matrix that this ShadowVolumeOccluder is associated with. ",
|
||||
"");
|
||||
I_Method1(void, setNodePath, IN, osg::NodePath &, nodePath,
|
||||
__void__setNodePath__NodePath_R1,
|
||||
"Set the NodePath which describes which node in the scene graph that this occluder is attached to. ",
|
||||
"");
|
||||
I_Method0(osg::NodePath &, getNodePath,
|
||||
__NodePath_R1__getNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::NodePath &, getNodePath,
|
||||
__C5_NodePath_R1__getNodePath,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getVolume,
|
||||
__float__getVolume,
|
||||
"get the volume of the occluder minus its holes, in eye coords, the volume is normalized by dividing by the volume of the view frustum in eye coords. ",
|
||||
"");
|
||||
I_Method0(osg::Polytope &, getOccluder,
|
||||
__Polytope_R1__getOccluder,
|
||||
"return the occluder polytope. ",
|
||||
"");
|
||||
I_Method0(const osg::Polytope &, getOccluder,
|
||||
__C5_Polytope_R1__getOccluder,
|
||||
"return the const occluder polytope. ",
|
||||
"");
|
||||
I_Method0(osg::ShadowVolumeOccluder::HoleList &, getHoleList,
|
||||
__HoleList_R1__getHoleList,
|
||||
"return the list of holes. ",
|
||||
"");
|
||||
I_Method0(const osg::ShadowVolumeOccluder::HoleList &, getHoleList,
|
||||
__C5_HoleList_R1__getHoleList,
|
||||
"return the const list of holes. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const std::vector< osg::Vec3 > &, vertices,
|
||||
__bool__contains__C5_std_vectorT1_Vec3__R1,
|
||||
"return true if the specified vertex list is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingSphere &, bound,
|
||||
__bool__contains__C5_BoundingSphere_R1,
|
||||
"return true if the specified bounding sphere is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(bool, contains, IN, const osg::BoundingBox &, bound,
|
||||
__bool__contains__C5_BoundingBox_R1,
|
||||
"return true if the specified bounding box is contained entirely within this shadow occluder volume. ",
|
||||
"");
|
||||
I_Method1(void, transformProvidingInverse, IN, const osg::Matrix &, matrix,
|
||||
__void__transformProvidingInverse__C5_osg_Matrix_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::ShadowVolumeOccluder::HoleList &, HoleList,
|
||||
__HoleList_R1__getHoleList,
|
||||
0);
|
||||
I_SimpleProperty(osg::NodePath &, NodePath,
|
||||
__NodePath_R1__getNodePath,
|
||||
__void__setNodePath__NodePath_R1);
|
||||
I_SimpleProperty(osg::Polytope &, Occluder,
|
||||
__Polytope_R1__getOccluder,
|
||||
0);
|
||||
I_SimpleProperty(float, Volume,
|
||||
__float__getVolume,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::ShadowVolumeOccluder >, osg::ShadowVolumeOccluderList);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -30,28 +30,91 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ShapeDrawable)
|
||||
I_BaseType(osg::Drawable);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0);
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color);
|
||||
I_Method0(const osg::Vec4 &, getColor);
|
||||
I_Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints);
|
||||
I_Method0(osg::TessellationHints *, getTessellationHints);
|
||||
I_Method0(const osg::TessellationHints *, getTessellationHints);
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state);
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x);
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x);
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af);
|
||||
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x);
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf);
|
||||
I_Method0(osg::BoundingBox, computeBound);
|
||||
I_Property(const osg::Vec4 &, Color);
|
||||
I_Property(osg::TessellationHints *, TessellationHints);
|
||||
I_Constructor0(____ShapeDrawable,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, osg::Shape *, shape, , IN, osg::TessellationHints *, hints, 0,
|
||||
____ShapeDrawable__Shape_P1__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::ShapeDrawable &, pg, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____ShapeDrawable__C5_ShapeDrawable_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"Set the color of the shape. ",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"Get the color of the shape. ",
|
||||
"");
|
||||
I_Method1(void, setTessellationHints, IN, osg::TessellationHints *, hints,
|
||||
__void__setTessellationHints__TessellationHints_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints *, getTessellationHints,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::TessellationHints *, getTessellationHints,
|
||||
__C5_TessellationHints_P1__getTessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, drawImplementation, IN, osg::State &, state,
|
||||
__void__drawImplementation__State_R1,
|
||||
"Draw ShapeDrawable directly ignoring an OpenGL display list which could be attached. ",
|
||||
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from ShapeDrawable for user-drawn objects.");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
|
||||
__bool__supports__C5_AttributeFunctor_R1,
|
||||
"Return false, osg::ShapeDrawable does not support accept(AttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
|
||||
__bool__supports__C5_ConstAttributeFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(ConstAttributeFunctor&). ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
|
||||
__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,
|
||||
__bool__supports__C5_PrimitiveFunctor_R1,
|
||||
"Return true, osg::ShapeDrawable does support accept(PrimitiveFunctor&) . ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
|
||||
__void__accept__PrimitiveFunctor_R1,
|
||||
"Accept a PrimitiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. ",
|
||||
"");
|
||||
I_Method0(osg::BoundingBox, computeBound,
|
||||
__BoundingBox__computeBound,
|
||||
"Compute the bounding box around Drawables's geometry. ",
|
||||
"");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::TessellationHints *, TessellationHints,
|
||||
__TessellationHints_P1__getTessellationHints,
|
||||
__void__setTessellationHints__TessellationHints_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osg::TessellationHints::TessellationMode)
|
||||
@@ -61,42 +124,142 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TessellationHints)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::TessellationHints &, tess, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method1(void, setTessellationMode, IN, osg::TessellationHints::TessellationMode, mode);
|
||||
I_Method0(osg::TessellationHints::TessellationMode, getTessellationMode);
|
||||
I_Method1(void, setDetailRatio, IN, float, ratio);
|
||||
I_Method0(float, getDetailRatio);
|
||||
I_Method1(void, setTargetNumFaces, IN, unsigned int, target);
|
||||
I_Method0(unsigned int, getTargetNumFaces);
|
||||
I_Method1(void, setCreateFrontFace, IN, bool, on);
|
||||
I_Method0(bool, getCreateFrontFace);
|
||||
I_Method1(void, setCreateBackFace, IN, bool, on);
|
||||
I_Method0(bool, getCreateBackFace);
|
||||
I_Method1(void, setCreateNormals, IN, bool, on);
|
||||
I_Method0(bool, getCreateNormals);
|
||||
I_Method1(void, setCreateTextureCoords, IN, bool, on);
|
||||
I_Method0(bool, getCreateTextureCoords);
|
||||
I_Method1(void, setCreateTop, IN, bool, on);
|
||||
I_Method0(bool, getCreateTop);
|
||||
I_Method1(void, setCreateBody, IN, bool, on);
|
||||
I_Method0(bool, getCreateBody);
|
||||
I_Method1(void, setCreateBottom, IN, bool, on);
|
||||
I_Method0(bool, getCreateBottom);
|
||||
I_Property(bool, CreateBackFace);
|
||||
I_Property(bool, CreateBody);
|
||||
I_Property(bool, CreateBottom);
|
||||
I_Property(bool, CreateFrontFace);
|
||||
I_Property(bool, CreateNormals);
|
||||
I_Property(bool, CreateTextureCoords);
|
||||
I_Property(bool, CreateTop);
|
||||
I_Property(float, DetailRatio);
|
||||
I_Property(unsigned int, TargetNumFaces);
|
||||
I_Property(osg::TessellationHints::TessellationMode, TessellationMode);
|
||||
I_Constructor0(____TessellationHints,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TessellationHints &, tess, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TessellationHints__C5_TessellationHints_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(void, setTessellationMode, IN, osg::TessellationHints::TessellationMode, mode,
|
||||
__void__setTessellationMode__TessellationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TessellationHints::TessellationMode, getTessellationMode,
|
||||
__TessellationMode__getTessellationMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDetailRatio, IN, float, ratio,
|
||||
__void__setDetailRatio__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getDetailRatio,
|
||||
__float__getDetailRatio,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTargetNumFaces, IN, unsigned int, target,
|
||||
__void__setTargetNumFaces__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getTargetNumFaces,
|
||||
__unsigned_int__getTargetNumFaces,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateFrontFace, IN, bool, on,
|
||||
__void__setCreateFrontFace__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateFrontFace,
|
||||
__bool__getCreateFrontFace,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBackFace, IN, bool, on,
|
||||
__void__setCreateBackFace__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBackFace,
|
||||
__bool__getCreateBackFace,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateNormals, IN, bool, on,
|
||||
__void__setCreateNormals__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateNormals,
|
||||
__bool__getCreateNormals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateTextureCoords, IN, bool, on,
|
||||
__void__setCreateTextureCoords__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateTextureCoords,
|
||||
__bool__getCreateTextureCoords,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateTop, IN, bool, on,
|
||||
__void__setCreateTop__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateTop,
|
||||
__bool__getCreateTop,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBody, IN, bool, on,
|
||||
__void__setCreateBody__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBody,
|
||||
__bool__getCreateBody,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCreateBottom, IN, bool, on,
|
||||
__void__setCreateBottom__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getCreateBottom,
|
||||
__bool__getCreateBottom,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, CreateBackFace,
|
||||
__bool__getCreateBackFace,
|
||||
__void__setCreateBackFace__bool);
|
||||
I_SimpleProperty(bool, CreateBody,
|
||||
__bool__getCreateBody,
|
||||
__void__setCreateBody__bool);
|
||||
I_SimpleProperty(bool, CreateBottom,
|
||||
__bool__getCreateBottom,
|
||||
__void__setCreateBottom__bool);
|
||||
I_SimpleProperty(bool, CreateFrontFace,
|
||||
__bool__getCreateFrontFace,
|
||||
__void__setCreateFrontFace__bool);
|
||||
I_SimpleProperty(bool, CreateNormals,
|
||||
__bool__getCreateNormals,
|
||||
__void__setCreateNormals__bool);
|
||||
I_SimpleProperty(bool, CreateTextureCoords,
|
||||
__bool__getCreateTextureCoords,
|
||||
__void__setCreateTextureCoords__bool);
|
||||
I_SimpleProperty(bool, CreateTop,
|
||||
__bool__getCreateTop,
|
||||
__void__setCreateTop__bool);
|
||||
I_SimpleProperty(float, DetailRatio,
|
||||
__float__getDetailRatio,
|
||||
__void__setDetailRatio__float);
|
||||
I_SimpleProperty(unsigned int, TargetNumFaces,
|
||||
__unsigned_int__getTargetNumFaces,
|
||||
__void__setTargetNumFaces__unsigned_int);
|
||||
I_SimpleProperty(osg::TessellationHints::TessellationMode, TessellationMode,
|
||||
__TessellationMode__getTessellationMode,
|
||||
__void__setTessellationMode__TessellationMode);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -37,127 +37,475 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::State)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0();
|
||||
I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context);
|
||||
I_Method0(osg::GraphicsContext *, getGraphicsContext);
|
||||
I_Method0(const osg::GraphicsContext *, getGraphicsContext);
|
||||
I_Method1(void, setContextID, IN, unsigned int, contextID);
|
||||
I_Method0(unsigned int, getContextID);
|
||||
I_Method1(void, pushStateSet, IN, const osg::StateSet *, dstate);
|
||||
I_Method0(void, popStateSet);
|
||||
I_Method0(void, popAllStateSets);
|
||||
I_Method1(void, captureCurrentState, IN, osg::StateSet &, stateset);
|
||||
I_Method0(void, reset);
|
||||
I_Method0(const osg::Viewport *, getCurrentViewport);
|
||||
I_Method1(void, setInitialViewMatrix, IN, const osg::RefMatrix *, matrix);
|
||||
I_Method0(const osg::Matrix &, getInitialViewMatrix);
|
||||
I_Method0(const osg::Matrix &, getInitialInverseViewMatrix);
|
||||
I_Method1(void, applyProjectionMatrix, IN, const osg::RefMatrix *, matrix);
|
||||
I_Method0(const osg::Matrix &, getProjectionMatrix);
|
||||
I_Method1(void, applyModelViewMatrix, IN, const osg::RefMatrix *, matrix);
|
||||
I_Method0(const osg::Matrix &, getModelViewMatrix);
|
||||
I_Method0(osg::Polytope, getViewFrustum);
|
||||
I_Method1(void, apply, IN, const osg::StateSet *, dstate);
|
||||
I_Method0(void, apply);
|
||||
I_Method2(void, setModeValidity, IN, osg::StateAttribute::GLMode, mode, IN, bool, valid);
|
||||
I_Method1(bool, getModeValidity, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method2(void, setGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
I_Method1(bool, getGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method2(bool, applyMode, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
I_Method3(void, setGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
I_Method2(bool, getGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method3(bool, applyTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled);
|
||||
I_Method1(void, setGlobalDefaultAttribute, IN, const osg::StateAttribute *, attribute);
|
||||
I_MethodWithDefaults2(const osg::StateAttribute *, getGlobalDefaultAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method1(bool, applyAttribute, IN, const osg::StateAttribute *, attribute);
|
||||
I_Method2(void, setGlobalDefaultTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute);
|
||||
I_MethodWithDefaults3(const osg::StateAttribute *, getGlobalDefaultTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method2(bool, applyTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute);
|
||||
I_Method2(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
|
||||
I_Method1(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method1(void, haveAppliedAttribute, IN, const osg::StateAttribute *, attribute);
|
||||
I_MethodWithDefaults2(void, haveAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method1(bool, getLastAppliedMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_MethodWithDefaults2(const osg::StateAttribute *, getLastAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method3(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
|
||||
I_Method2(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method2(void, haveAppliedTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute);
|
||||
I_MethodWithDefaults3(void, haveAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method2(bool, getLastAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_MethodWithDefaults3(const osg::StateAttribute *, getLastAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method0(void, dirtyAllModes);
|
||||
I_Method0(void, dirtyAllAttributes);
|
||||
I_Method0(void, disableAllVertexArrays);
|
||||
I_Method0(void, dirtyAllVertexArrays);
|
||||
I_Method3(void, setInterleavedArrays, IN, GLenum, format, IN, GLsizei, stride, IN, const GLvoid *, pointer);
|
||||
I_Method4(void, setVertexPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableVertexPointer);
|
||||
I_Method0(void, dirtyVertexPointer);
|
||||
I_Method3(void, setNormalPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableNormalPointer);
|
||||
I_Method0(void, dirtyNormalPointer);
|
||||
I_Method4(void, setColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableColorPointer);
|
||||
I_Method0(void, dirtyColorPointer);
|
||||
I_Method0(bool, isSecondaryColorSupported);
|
||||
I_Method4(void, setSecondaryColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableSecondaryColorPointer);
|
||||
I_Method0(void, dirtySecondaryColorPointer);
|
||||
I_Method3(void, setIndexPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableIndexPointer);
|
||||
I_Method0(void, dirtyIndexPointer);
|
||||
I_Method0(bool, isFogCoordSupported);
|
||||
I_Method3(void, setFogCoordPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method0(void, disableFogCoordPointer);
|
||||
I_Method0(void, dirtyFogCoordPointer);
|
||||
I_Method5(void, setTexCoordPointer, IN, unsigned int, unit, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method1(void, disableTexCoordPointer, IN, unsigned int, unit);
|
||||
I_Method1(void, dirtyTexCoordPointer, IN, unsigned int, unit);
|
||||
I_Method1(void, disableTexCoordPointersAboveAndIncluding, IN, unsigned int, unit);
|
||||
I_Method1(void, dirtyTexCoordPointersAboveAndIncluding, IN, unsigned int, unit);
|
||||
I_Method1(bool, setActiveTextureUnit, IN, unsigned int, unit);
|
||||
I_Method0(unsigned int, getActiveTextureUnit);
|
||||
I_Method1(bool, setClientActiveTextureUnit, IN, unsigned int, unit);
|
||||
I_Method0(unsigned int, getClientActiveTextureUnit);
|
||||
I_Method6(void, setVertexAttribPointer, IN, unsigned int, index, IN, GLint, size, IN, GLenum, type, IN, GLboolean, normalized, IN, GLsizei, stride, IN, const GLvoid *, ptr);
|
||||
I_Method1(void, disableVertexAttribPointer, IN, unsigned int, index);
|
||||
I_Method1(void, disableVertexAttribPointersAboveAndIncluding, IN, unsigned int, index);
|
||||
I_Method1(void, dirtyVertexAttribPointersAboveAndIncluding, IN, unsigned int, index);
|
||||
I_Method0(bool, isVertexBufferObjectSupported);
|
||||
I_Method1(void, setLastAppliedProgramObject, IN, const osg::Program::PerContextProgram *, program);
|
||||
I_Method0(const osg::Program::PerContextProgram *, getLastAppliedProgramObject);
|
||||
I_Method1(GLint, getUniformLocation, IN, const std::string &, name);
|
||||
I_Method1(GLint, getAttribLocation, IN, const std::string &, name);
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs);
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp);
|
||||
I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, vs);
|
||||
I_Method0(const osg::DisplaySettings *, getDisplaySettings);
|
||||
I_Method1(void, setAbortRenderingPtr, IN, bool *, abortPtr);
|
||||
I_Method0(bool, getAbortRendering);
|
||||
I_Method1(void, setCheckForGLErrors, IN, osg::State::CheckForGLErrors, check);
|
||||
I_Method0(osg::State::CheckForGLErrors, getCheckForGLErrors);
|
||||
I_Method1(bool, checkGLErrors, IN, const char *, str);
|
||||
I_Method1(bool, checkGLErrors, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method1(bool, checkGLErrors, IN, const osg::StateAttribute *, attribute);
|
||||
I_ReadOnlyProperty(bool, AbortRendering);
|
||||
I_WriteOnlyProperty(bool *, AbortRenderingPtr);
|
||||
I_PropertyWithReturnType(unsigned int, ActiveTextureUnit, bool);
|
||||
I_Property(osg::State::CheckForGLErrors, CheckForGLErrors);
|
||||
I_PropertyWithReturnType(unsigned int, ClientActiveTextureUnit, bool);
|
||||
I_Property(unsigned int, ContextID);
|
||||
I_ReadOnlyProperty(const osg::Viewport *, CurrentViewport);
|
||||
I_WriteOnlyProperty(osg::DisplaySettings *, DisplaySettings);
|
||||
I_WriteOnlyProperty(osg::FrameStamp *, FrameStamp);
|
||||
I_WriteOnlyProperty(const osg::StateAttribute *, GlobalDefaultAttribute);
|
||||
I_IndexedProperty1(bool, GlobalDefaultModeValue, osg::StateAttribute::GLMode, mode);
|
||||
I_IndexedProperty2(bool, GlobalDefaultTextureModeValue, unsigned int, unit, osg::StateAttribute::GLMode, mode);
|
||||
I_Property(osg::GraphicsContext *, GraphicsContext);
|
||||
I_ReadOnlyProperty(const osg::Matrix &, InitialInverseViewMatrix);
|
||||
I_WriteOnlyProperty(const osg::RefMatrix *, InitialViewMatrix);
|
||||
I_Property(const osg::Program::PerContextProgram *, LastAppliedProgramObject);
|
||||
I_IndexedProperty1(bool, ModeValidity, osg::StateAttribute::GLMode, mode);
|
||||
I_ReadOnlyProperty(const osg::Matrix &, ModelViewMatrix);
|
||||
I_ReadOnlyProperty(const osg::Matrix &, ProjectionMatrix);
|
||||
I_ReadOnlyProperty(osg::Polytope, ViewFrustum);
|
||||
I_Constructor0(____State,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setGraphicsContext, IN, osg::GraphicsContext *, context,
|
||||
__void__setGraphicsContext__GraphicsContext_P1,
|
||||
"Set the graphics context associated with that owns this State object. ",
|
||||
"");
|
||||
I_Method0(osg::GraphicsContext *, getGraphicsContext,
|
||||
__GraphicsContext_P1__getGraphicsContext,
|
||||
"Get the graphics context associated with that owns this State object. ",
|
||||
"");
|
||||
I_Method0(const osg::GraphicsContext *, getGraphicsContext,
|
||||
__C5_GraphicsContext_P1__getGraphicsContext,
|
||||
"Get the const graphics context associated with that owns this State object. ",
|
||||
"");
|
||||
I_Method1(void, setContextID, IN, unsigned int, contextID,
|
||||
__void__setContextID__unsigned_int,
|
||||
"Set the current OpenGL context uniqueID. ",
|
||||
"Note, it is the application developers responsibility to set up unique ID for each OpenGL context. This value is then used by osg::StateAttribute's and osg::Drawable's to help manage OpenGL display list and texture binds appropriate for each context, the contextID simply acts as an index in local arrays that they maintain for the purpose. Typical settings for contextID are 0,1,2,3... up to the maximum number of graphics contexts you have set up. By default contextID is 0. ");
|
||||
I_Method0(unsigned int, getContextID,
|
||||
__unsigned_int__getContextID,
|
||||
"Get the current OpenGL context unique ID. ",
|
||||
"");
|
||||
I_Method1(void, pushStateSet, IN, const osg::StateSet *, dstate,
|
||||
__void__pushStateSet__C5_StateSet_P1,
|
||||
"Push stateset onto state stack. ",
|
||||
"");
|
||||
I_Method0(void, popStateSet,
|
||||
__void__popStateSet,
|
||||
"Pop stateset off state stack. ",
|
||||
"");
|
||||
I_Method0(void, popAllStateSets,
|
||||
__void__popAllStateSets,
|
||||
"pop all statesets off state stack, ensuring it is empty ready for the next frame. ",
|
||||
"Note, to return OpenGL to default state, one should do any state.popAllStatSets(); state.apply(). ");
|
||||
I_Method1(void, captureCurrentState, IN, osg::StateSet &, stateset,
|
||||
__void__captureCurrentState__StateSet_R1,
|
||||
"Copy the modes and attributes which capture the current state. ",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
__void__reset,
|
||||
"reset the state object to an empty stack. ",
|
||||
"");
|
||||
I_Method0(const osg::Viewport *, getCurrentViewport,
|
||||
__C5_Viewport_P1__getCurrentViewport,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setInitialViewMatrix, IN, const osg::RefMatrix *, matrix,
|
||||
__void__setInitialViewMatrix__C5_osg_RefMatrix_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getInitialViewMatrix,
|
||||
__C5_osg_Matrix_R1__getInitialViewMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getInitialInverseViewMatrix,
|
||||
__C5_osg_Matrix_R1__getInitialInverseViewMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, applyProjectionMatrix, IN, const osg::RefMatrix *, matrix,
|
||||
__void__applyProjectionMatrix__C5_osg_RefMatrix_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getProjectionMatrix,
|
||||
__C5_osg_Matrix_R1__getProjectionMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, applyModelViewMatrix, IN, const osg::RefMatrix *, matrix,
|
||||
__void__applyModelViewMatrix__C5_osg_RefMatrix_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Matrix &, getModelViewMatrix,
|
||||
__C5_osg_Matrix_R1__getModelViewMatrix,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Polytope, getViewFrustum,
|
||||
__Polytope__getViewFrustum,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, const osg::StateSet *, dstate,
|
||||
__void__apply__C5_StateSet_P1,
|
||||
"Apply stateset. ",
|
||||
"");
|
||||
I_Method0(void, apply,
|
||||
__void__apply,
|
||||
"Updates the OpenGL state so that it matches the StateSet at the top of the stack of StateSets maintained internally by a State. ",
|
||||
"");
|
||||
I_Method2(void, setModeValidity, IN, osg::StateAttribute::GLMode, mode, IN, bool, valid,
|
||||
__void__setModeValidity__StateAttribute_GLMode__bool,
|
||||
"Set whether a particular OpenGL mode is valid in the current graphics context. ",
|
||||
"Use to disable OpenGL modes that are not supported by current graphics drivers/context. ");
|
||||
I_Method1(bool, getModeValidity, IN, osg::StateAttribute::GLMode, mode,
|
||||
__bool__getModeValidity__StateAttribute_GLMode,
|
||||
"Get whether a particular OpenGL mode is valid in the current graphics context. ",
|
||||
"Use to disable OpenGL modes that are not supported by current graphics drivers/context. ");
|
||||
I_Method2(void, setGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
|
||||
__void__setGlobalDefaultModeValue__StateAttribute_GLMode__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getGlobalDefaultModeValue, IN, osg::StateAttribute::GLMode, mode,
|
||||
__bool__getGlobalDefaultModeValue__StateAttribute_GLMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyMode, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
|
||||
__bool__applyMode__StateAttribute_GLMode__bool,
|
||||
"Apply an OpenGL mode if required. ",
|
||||
"This is a wrapper around glEnable() and glDisable(), that just actually calls these functions if the enabled flag is different than the current state. true if the state was actually changed. false otherwise. Notice that a false return does not indicate an error, it just means that the mode was already set to the same value as the enabled parameter. ");
|
||||
I_Method3(void, setGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
|
||||
__void__setGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, getGlobalDefaultTextureModeValue, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
|
||||
__bool__getGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode,
|
||||
"",
|
||||
"");
|
||||
I_Method3(bool, applyTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, bool, enabled,
|
||||
__bool__applyTextureMode__unsigned_int__StateAttribute_GLMode__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setGlobalDefaultAttribute, IN, const osg::StateAttribute *, attribute,
|
||||
__void__setGlobalDefaultAttribute__C5_StateAttribute_P1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(const osg::StateAttribute *, getGlobalDefaultAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__C5_StateAttribute_P1__getGlobalDefaultAttribute__StateAttribute_Type__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, applyAttribute, IN, const osg::StateAttribute *, attribute,
|
||||
__bool__applyAttribute__C5_StateAttribute_P1,
|
||||
"Apply an attribute if required. ",
|
||||
"");
|
||||
I_Method2(void, setGlobalDefaultTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute,
|
||||
__void__setGlobalDefaultTextureAttribute__unsigned_int__C5_StateAttribute_P1,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults3(const osg::StateAttribute *, getGlobalDefaultTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__C5_StateAttribute_P1__getGlobalDefaultTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, applyTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute,
|
||||
__bool__applyTextureAttribute__unsigned_int__C5_StateAttribute_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
|
||||
__void__haveAppliedMode__StateAttribute_GLMode__StateAttribute_GLModeValue,
|
||||
"Mode has been set externally, update state to reflect this setting. ",
|
||||
"");
|
||||
I_Method1(void, haveAppliedMode, IN, osg::StateAttribute::GLMode, mode,
|
||||
__void__haveAppliedMode__StateAttribute_GLMode,
|
||||
"Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply(. ",
|
||||
".) ");
|
||||
I_Method1(void, haveAppliedAttribute, IN, const osg::StateAttribute *, attribute,
|
||||
__void__haveAppliedAttribute__C5_StateAttribute_P1,
|
||||
"Attribute has been applied externally, update state to reflect this setting. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, haveAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__void__haveAppliedAttribute__StateAttribute_Type__unsigned_int,
|
||||
"Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-applied on next osg::State.apply(. ",
|
||||
".). note, if you have an osg::StateAttribute which you have applied externally then use the have_applied(attribute) method as this will cause the osg::State to track the current state more accurately and enable lazy state updating such that only changed state will be applied. ");
|
||||
I_Method1(bool, getLastAppliedMode, IN, osg::StateAttribute::GLMode, mode,
|
||||
__bool__getLastAppliedMode__StateAttribute_GLMode,
|
||||
"Get whether the current specified mode is enabled (true) or disabled (false). ",
|
||||
"");
|
||||
I_MethodWithDefaults2(const osg::StateAttribute *, getLastAppliedAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__C5_StateAttribute_P1__getLastAppliedAttribute__StateAttribute_Type__unsigned_int,
|
||||
"Get the current specified attribute, return NULL if one has not yet been applied. ",
|
||||
"");
|
||||
I_Method3(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
|
||||
__void__haveAppliedTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue,
|
||||
"texture Mode has been set externally, update state to reflect this setting. ",
|
||||
"");
|
||||
I_Method2(void, haveAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
|
||||
__void__haveAppliedTextureMode__unsigned_int__StateAttribute_GLMode,
|
||||
"texture Mode has been set externally, therefore dirty the associated mode in osg::State so it is applied on next call to osg::State::apply(. ",
|
||||
".) ");
|
||||
I_Method2(void, haveAppliedTextureAttribute, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute,
|
||||
__void__haveAppliedTextureAttribute__unsigned_int__C5_StateAttribute_P1,
|
||||
"texture Attribute has been applied externally, update state to reflect this setting. ",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, haveAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__void__haveAppliedTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int,
|
||||
"texture Attribute has been applied externally, and therefore this attribute type has been dirtied and will need to be re-appplied on next osg::State.apply(. ",
|
||||
".). note, if you have an osg::StateAttribute which you have applied externally then use the have_applied(attribute) method as this will the osg::State to track the current state more accurately and enable lazy state updating such that only changed state will be applied. ");
|
||||
I_Method2(bool, getLastAppliedTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
|
||||
__bool__getLastAppliedTextureMode__unsigned_int__StateAttribute_GLMode,
|
||||
"Get whether the current specified texture mode is enabled (true) or disabled (false). ",
|
||||
"");
|
||||
I_MethodWithDefaults3(const osg::StateAttribute *, getLastAppliedTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__C5_StateAttribute_P1__getLastAppliedTextureAttribute__unsigned_int__StateAttribute_Type__unsigned_int,
|
||||
"Get the current specified texture attribute, return NULL if one has not yet been applied. ",
|
||||
"");
|
||||
I_Method0(void, dirtyAllModes,
|
||||
__void__dirtyAllModes,
|
||||
"Dirty the modes previously applied in osg::State. ",
|
||||
"");
|
||||
I_Method0(void, dirtyAllAttributes,
|
||||
__void__dirtyAllAttributes,
|
||||
"Dirty the modes attributes previously applied in osg::State. ",
|
||||
"");
|
||||
I_Method0(void, disableAllVertexArrays,
|
||||
__void__disableAllVertexArrays,
|
||||
"disable the vertex, normal, color, tex coords, secondary color, fog coord and index arrays. ",
|
||||
"");
|
||||
I_Method0(void, dirtyAllVertexArrays,
|
||||
__void__dirtyAllVertexArrays,
|
||||
"dirty the vertex, normal, color, tex coords, secondary color, fog coord and index arrays. ",
|
||||
"");
|
||||
I_Method3(void, setInterleavedArrays, IN, GLenum, format, IN, GLsizei, stride, IN, const GLvoid *, pointer,
|
||||
__void__setInterleavedArrays__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"Wrapper around glInterleavedArrays(. ",
|
||||
".). also resets the internal array points and modes within osg::State to keep the other vertex array operations consistent. ");
|
||||
I_Method4(void, setVertexPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
|
||||
__void__setVertexPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"wrapper around glEnableClientState(GL_VERTEX_ARRAY);glVertexPointer(. ",
|
||||
".); note, only updates values that change. ");
|
||||
I_Method0(void, disableVertexPointer,
|
||||
__void__disableVertexPointer,
|
||||
"wrapper around glDisableClientState(GL_VERTEX_ARRAY). ",
|
||||
"note, only updates values that change. ");
|
||||
I_Method0(void, dirtyVertexPointer,
|
||||
__void__dirtyVertexPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setNormalPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
|
||||
__void__setNormalPointer__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"wrapper around glEnableClientState(GL_NORMAL_ARRAY);glNormalPointer(. ",
|
||||
".); note, only updates values that change. ");
|
||||
I_Method0(void, disableNormalPointer,
|
||||
__void__disableNormalPointer,
|
||||
"wrapper around glDisableClientState(GL_NORMAL_ARRAY); note, only updates values that change. ",
|
||||
"");
|
||||
I_Method0(void, dirtyNormalPointer,
|
||||
__void__dirtyNormalPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
|
||||
__void__setColorPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"wrapper around glEnableClientState(GL_COLOR_ARRAY);glColorPointer(. ",
|
||||
".); note, only updates values that change. ");
|
||||
I_Method0(void, disableColorPointer,
|
||||
__void__disableColorPointer,
|
||||
"wrapper around glDisableClientState(GL_COLOR_ARRAY); note, only updates values that change. ",
|
||||
"");
|
||||
I_Method0(void, dirtyColorPointer,
|
||||
__void__dirtyColorPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isSecondaryColorSupported,
|
||||
__bool__isSecondaryColorSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method4(void, setSecondaryColorPointer, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
|
||||
__void__setSecondaryColorPointer__GLint__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"wrapper around glEnableClientState(GL_SECONDARY_COLOR_ARRAY);glSecondayColorPointer(. ",
|
||||
".); note, only updates values that change. ");
|
||||
I_Method0(void, disableSecondaryColorPointer,
|
||||
__void__disableSecondaryColorPointer,
|
||||
"wrapper around glDisableClientState(GL_SECONDARY_COLOR_ARRAY); note, only updates values that change. ",
|
||||
"");
|
||||
I_Method0(void, dirtySecondaryColorPointer,
|
||||
__void__dirtySecondaryColorPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setIndexPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
|
||||
__void__setIndexPointer__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"wrapper around glEnableClientState(GL_INDEX_ARRAY);glIndexPointer(. ",
|
||||
".); note, only updates values that change. ");
|
||||
I_Method0(void, disableIndexPointer,
|
||||
__void__disableIndexPointer,
|
||||
"wrapper around glDisableClientState(GL_INDEX_ARRAY); note, only updates values that change. ",
|
||||
"");
|
||||
I_Method0(void, dirtyIndexPointer,
|
||||
__void__dirtyIndexPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isFogCoordSupported,
|
||||
__bool__isFogCoordSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setFogCoordPointer, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
|
||||
__void__setFogCoordPointer__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"wrapper around glEnableClientState(GL_FOG_COORDINATE_ARRAY);glFogCoordPointer(. ",
|
||||
".); note, only updates values that change. ");
|
||||
I_Method0(void, disableFogCoordPointer,
|
||||
__void__disableFogCoordPointer,
|
||||
"wrapper around glDisableClientState(GL_FOG_COORDINATE_ARRAY); note, only updates values that change. ",
|
||||
"");
|
||||
I_Method0(void, dirtyFogCoordPointer,
|
||||
__void__dirtyFogCoordPointer,
|
||||
"",
|
||||
"");
|
||||
I_Method5(void, setTexCoordPointer, IN, unsigned int, unit, IN, GLint, size, IN, GLenum, type, IN, GLsizei, stride, IN, const GLvoid *, ptr,
|
||||
__void__setTexCoordPointer__unsigned_int__GLint__GLenum__GLsizei__C5_GLvoid_P1,
|
||||
"wrapper around glEnableClientState(GL_TEXTURE_COORD_ARRAY);glTexCoordPointer(. ",
|
||||
".); note, only updates values that change. ");
|
||||
I_Method1(void, disableTexCoordPointer, IN, unsigned int, unit,
|
||||
__void__disableTexCoordPointer__unsigned_int,
|
||||
"wrapper around glDisableClientState(GL_TEXTURE_COORD_ARRAY); note, only updates values that change. ",
|
||||
"");
|
||||
I_Method1(void, dirtyTexCoordPointer, IN, unsigned int, unit,
|
||||
__void__dirtyTexCoordPointer__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, disableTexCoordPointersAboveAndIncluding, IN, unsigned int, unit,
|
||||
__void__disableTexCoordPointersAboveAndIncluding__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, dirtyTexCoordPointersAboveAndIncluding, IN, unsigned int, unit,
|
||||
__void__dirtyTexCoordPointersAboveAndIncluding__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, setActiveTextureUnit, IN, unsigned int, unit,
|
||||
__bool__setActiveTextureUnit__unsigned_int,
|
||||
"Set the current texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. ",
|
||||
"note, only updates values that change. ");
|
||||
I_Method0(unsigned int, getActiveTextureUnit,
|
||||
__unsigned_int__getActiveTextureUnit,
|
||||
"Get the current texture unit. ",
|
||||
"");
|
||||
I_Method1(bool, setClientActiveTextureUnit, IN, unsigned int, unit,
|
||||
__bool__setClientActiveTextureUnit__unsigned_int,
|
||||
"Set the current tex coord array texture unit, return true if selected, false if selection failed such as when multitexturing is not supported. ",
|
||||
"note, only updates values that change. ");
|
||||
I_Method0(unsigned int, getClientActiveTextureUnit,
|
||||
__unsigned_int__getClientActiveTextureUnit,
|
||||
"Get the current tex coord array texture unit. ",
|
||||
"");
|
||||
I_Method6(void, setVertexAttribPointer, IN, unsigned int, index, IN, GLint, size, IN, GLenum, type, IN, GLboolean, normalized, IN, GLsizei, stride, IN, const GLvoid *, ptr,
|
||||
__void__setVertexAttribPointer__unsigned_int__GLint__GLenum__GLboolean__GLsizei__C5_GLvoid_P1,
|
||||
"wrapper around glEnableVertexAttribArrayARB(index);glVertexAttribPointerARB(. ",
|
||||
".); note, only updates values that change. ");
|
||||
I_Method1(void, disableVertexAttribPointer, IN, unsigned int, index,
|
||||
__void__disableVertexAttribPointer__unsigned_int,
|
||||
"wrapper around DisableVertexAttribArrayARB(index); note, only updates values that change. ",
|
||||
"");
|
||||
I_Method1(void, disableVertexAttribPointersAboveAndIncluding, IN, unsigned int, index,
|
||||
__void__disableVertexAttribPointersAboveAndIncluding__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, dirtyVertexAttribPointersAboveAndIncluding, IN, unsigned int, index,
|
||||
__void__dirtyVertexAttribPointersAboveAndIncluding__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isVertexBufferObjectSupported,
|
||||
__bool__isVertexBufferObjectSupported,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setLastAppliedProgramObject, IN, const osg::Program::PerContextProgram *, program,
|
||||
__void__setLastAppliedProgramObject__C5_Program_PerContextProgram_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Program::PerContextProgram *, getLastAppliedProgramObject,
|
||||
__C5_Program_PerContextProgram_P1__getLastAppliedProgramObject,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getUniformLocation, IN, const std::string &, name,
|
||||
__GLint__getUniformLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(GLint, getAttribLocation, IN, const std::string &, name,
|
||||
__GLint__getAttribLocation__C5_std_string_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,
|
||||
__void__setFrameStamp__FrameStamp_P1,
|
||||
"Set the frame stamp for the current frame. ",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
__C5_FrameStamp_P1__getFrameStamp,
|
||||
"Get the frame stamp for the current frame. ",
|
||||
"");
|
||||
I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, vs,
|
||||
__void__setDisplaySettings__DisplaySettings_P1,
|
||||
"Set the DisplaySettings. ",
|
||||
"Note, nothing is applied, the visual settings are just used in the State object to pass the current visual settings to Drawables during rendering. ");
|
||||
I_Method0(const osg::DisplaySettings *, getDisplaySettings,
|
||||
__C5_DisplaySettings_P1__getDisplaySettings,
|
||||
"Get the DisplaySettings. ",
|
||||
"");
|
||||
I_Method1(void, setAbortRenderingPtr, IN, bool *, abortPtr,
|
||||
__void__setAbortRenderingPtr__bool_P1,
|
||||
"Set flag for early termination of the draw traversal. ",
|
||||
"");
|
||||
I_Method0(bool, getAbortRendering,
|
||||
__bool__getAbortRendering,
|
||||
"Get flag for early termination of the draw traversal, if true steps should be taken to complete rendering early. ",
|
||||
"");
|
||||
I_Method1(void, setCheckForGLErrors, IN, osg::State::CheckForGLErrors, check,
|
||||
__void__setCheckForGLErrors__CheckForGLErrors,
|
||||
"Set whether and how often OpenGL errors should be checked for. ",
|
||||
"");
|
||||
I_Method0(osg::State::CheckForGLErrors, getCheckForGLErrors,
|
||||
__CheckForGLErrors__getCheckForGLErrors,
|
||||
"Get whether and how often OpenGL errors should be checked for. ",
|
||||
"");
|
||||
I_Method1(bool, checkGLErrors, IN, const char *, str,
|
||||
__bool__checkGLErrors__C5_char_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, checkGLErrors, IN, osg::StateAttribute::GLMode, mode,
|
||||
__bool__checkGLErrors__StateAttribute_GLMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, checkGLErrors, IN, const osg::StateAttribute *, attribute,
|
||||
__bool__checkGLErrors__C5_StateAttribute_P1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(bool, AbortRendering,
|
||||
__bool__getAbortRendering,
|
||||
0);
|
||||
I_SimpleProperty(bool *, AbortRenderingPtr,
|
||||
0,
|
||||
__void__setAbortRenderingPtr__bool_P1);
|
||||
I_SimpleProperty(unsigned int, ActiveTextureUnit,
|
||||
__unsigned_int__getActiveTextureUnit,
|
||||
__bool__setActiveTextureUnit__unsigned_int);
|
||||
I_SimpleProperty(osg::State::CheckForGLErrors, CheckForGLErrors,
|
||||
__CheckForGLErrors__getCheckForGLErrors,
|
||||
__void__setCheckForGLErrors__CheckForGLErrors);
|
||||
I_SimpleProperty(unsigned int, ClientActiveTextureUnit,
|
||||
__unsigned_int__getClientActiveTextureUnit,
|
||||
__bool__setClientActiveTextureUnit__unsigned_int);
|
||||
I_SimpleProperty(unsigned int, ContextID,
|
||||
__unsigned_int__getContextID,
|
||||
__void__setContextID__unsigned_int);
|
||||
I_SimpleProperty(const osg::Viewport *, CurrentViewport,
|
||||
__C5_Viewport_P1__getCurrentViewport,
|
||||
0);
|
||||
I_SimpleProperty(osg::DisplaySettings *, DisplaySettings,
|
||||
0,
|
||||
__void__setDisplaySettings__DisplaySettings_P1);
|
||||
I_SimpleProperty(osg::FrameStamp *, FrameStamp,
|
||||
0,
|
||||
__void__setFrameStamp__FrameStamp_P1);
|
||||
I_SimpleProperty(const osg::StateAttribute *, GlobalDefaultAttribute,
|
||||
0,
|
||||
__void__setGlobalDefaultAttribute__C5_StateAttribute_P1);
|
||||
I_IndexedProperty(bool, GlobalDefaultModeValue,
|
||||
__bool__getGlobalDefaultModeValue__StateAttribute_GLMode,
|
||||
__void__setGlobalDefaultModeValue__StateAttribute_GLMode__bool,
|
||||
0);
|
||||
I_IndexedProperty(bool, GlobalDefaultTextureModeValue,
|
||||
__bool__getGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode,
|
||||
__void__setGlobalDefaultTextureModeValue__unsigned_int__StateAttribute_GLMode__bool,
|
||||
0);
|
||||
I_SimpleProperty(osg::GraphicsContext *, GraphicsContext,
|
||||
__GraphicsContext_P1__getGraphicsContext,
|
||||
__void__setGraphicsContext__GraphicsContext_P1);
|
||||
I_SimpleProperty(const osg::Matrix &, InitialInverseViewMatrix,
|
||||
__C5_osg_Matrix_R1__getInitialInverseViewMatrix,
|
||||
0);
|
||||
I_SimpleProperty(const osg::RefMatrix *, InitialViewMatrix,
|
||||
0,
|
||||
__void__setInitialViewMatrix__C5_osg_RefMatrix_P1);
|
||||
I_SimpleProperty(const osg::Program::PerContextProgram *, LastAppliedProgramObject,
|
||||
__C5_Program_PerContextProgram_P1__getLastAppliedProgramObject,
|
||||
__void__setLastAppliedProgramObject__C5_Program_PerContextProgram_P1);
|
||||
I_IndexedProperty(bool, ModeValidity,
|
||||
__bool__getModeValidity__StateAttribute_GLMode,
|
||||
__void__setModeValidity__StateAttribute_GLMode__bool,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrix &, ModelViewMatrix,
|
||||
__C5_osg_Matrix_R1__getModelViewMatrix,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrix &, ProjectionMatrix,
|
||||
__C5_osg_Matrix_R1__getProjectionMatrix,
|
||||
0);
|
||||
I_SimpleProperty(osg::Polytope, ViewFrustum,
|
||||
__Polytope__getViewFrustum,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -95,57 +95,183 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::StateAttribute &, sa, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method0(unsigned int, getMember);
|
||||
I_Method0(osg::StateAttribute::TypeMemberPair, getTypeMemberPair);
|
||||
I_Method0(bool, isTextureAttribute);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method0(const osg::StateAttribute::ParentList &, getParents);
|
||||
I_Method1(osg::StateSet *, getParent, IN, unsigned int, i);
|
||||
I_Method1(const osg::StateSet *, getParent, IN, unsigned int, i);
|
||||
I_Method0(unsigned int, getNumParents);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x);
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x);
|
||||
I_Method1(void, setUpdateCallback, IN, osg::StateAttribute::Callback *, uc);
|
||||
I_Method0(osg::StateAttribute::Callback *, getUpdateCallback);
|
||||
I_Method0(const osg::StateAttribute::Callback *, getUpdateCallback);
|
||||
I_Method1(void, setEventCallback, IN, osg::StateAttribute::Callback *, ec);
|
||||
I_Method0(osg::StateAttribute::Callback *, getEventCallback);
|
||||
I_Method0(const osg::StateAttribute::Callback *, getEventCallback);
|
||||
I_Method1(void, apply, IN, osg::State &, x);
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, x);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0);
|
||||
I_Property(osg::StateAttribute::Callback *, EventCallback);
|
||||
I_ReadOnlyProperty(unsigned int, Member);
|
||||
I_ArrayProperty_G(osg::StateSet *, Parent, Parents, unsigned int, void);
|
||||
I_ReadOnlyProperty(const osg::StateAttribute::ParentList &, Parents);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::TypeMemberPair, TypeMemberPair);
|
||||
I_Property(osg::StateAttribute::Callback *, UpdateCallback);
|
||||
I_Constructor0(____StateAttribute,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::StateAttribute &, sa, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____StateAttribute__C5_StateAttribute_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getMember,
|
||||
__unsigned_int__getMember,
|
||||
"Return the member identifier within the attribute's class type. ",
|
||||
"Used for light number/clip plane number etc. ");
|
||||
I_Method0(osg::StateAttribute::TypeMemberPair, getTypeMemberPair,
|
||||
__TypeMemberPair__getTypeMemberPair,
|
||||
"Return the TypeMemberPair that uniquely identifies this type member. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(const osg::StateAttribute::ParentList &, getParents,
|
||||
__C5_ParentList_R1__getParents,
|
||||
"Get the parent list of this StateAttribute. ",
|
||||
"");
|
||||
I_Method1(osg::StateSet *, getParent, IN, unsigned int, i,
|
||||
__StateSet_P1__getParent__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::StateSet *, getParent, IN, unsigned int, i,
|
||||
__C5_StateSet_P1__getParent__unsigned_int,
|
||||
"Get a single const parent of this StateAttribute. ",
|
||||
" param i index of the parent to get. return the parent i.");
|
||||
I_Method0(unsigned int, getNumParents,
|
||||
__unsigned_int__getNumParents,
|
||||
"Get the number of parents of this StateAttribute. ",
|
||||
"the number of parents of this StateAttribute. ");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, x,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"Return the modes associated with this StateAttribute. ",
|
||||
"");
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, x,
|
||||
__bool__checkValidityOfAssociatedModes__osg_State_R1,
|
||||
"Check the modes associated with this StateAttribute are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ",
|
||||
"Return true if all associated modes are valid. ");
|
||||
I_Method1(void, setUpdateCallback, IN, osg::StateAttribute::Callback *, uc,
|
||||
__void__setUpdateCallback__Callback_P1,
|
||||
"Set the UpdateCallback which allows users to attach customize the updating of an object during the update traversal. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Callback *, getUpdateCallback,
|
||||
__Callback_P1__getUpdateCallback,
|
||||
"Get the non const UpdateCallback. ",
|
||||
"");
|
||||
I_Method0(const osg::StateAttribute::Callback *, getUpdateCallback,
|
||||
__C5_Callback_P1__getUpdateCallback,
|
||||
"Get the const UpdateCallback. ",
|
||||
"");
|
||||
I_Method1(void, setEventCallback, IN, osg::StateAttribute::Callback *, ec,
|
||||
__void__setEventCallback__Callback_P1,
|
||||
"Set the EventCallback which allows users to attach customize the updating of an object during the Event traversal. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Callback *, getEventCallback,
|
||||
__Callback_P1__getEventCallback,
|
||||
"Get the non const EventCallback. ",
|
||||
"");
|
||||
I_Method0(const osg::StateAttribute::Callback *, getEventCallback,
|
||||
__C5_Callback_P1__getEventCallback,
|
||||
"Get the const EventCallback. ",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, x,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, x,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"default to nothing to compile - all state is applied immediately. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"release OpenGL objects in specified graphics context if State object is passed, otherwise release OpenGL objexts for all graphics context if State object pointer NULL. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::StateAttribute::Callback *, EventCallback,
|
||||
__Callback_P1__getEventCallback,
|
||||
__void__setEventCallback__Callback_P1);
|
||||
I_SimpleProperty(unsigned int, Member,
|
||||
__unsigned_int__getMember,
|
||||
0);
|
||||
I_ArrayProperty(osg::StateSet *, Parent,
|
||||
__StateSet_P1__getParent__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumParents,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(const osg::StateAttribute::ParentList &, Parents,
|
||||
__C5_ParentList_R1__getParents,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::TypeMemberPair, TypeMemberPair,
|
||||
__TypeMemberPair__getTypeMemberPair,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateAttribute::Callback *, UpdateCallback,
|
||||
__Callback_P1__getUpdateCallback,
|
||||
__void__setUpdateCallback__Callback_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StateAttribute::Callback)
|
||||
I_VirtualBaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, const osg::StateAttribute::Callback &, x, IN, const osg::CopyOp &, x);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Constructor0(____Callback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::StateAttribute::Callback &, x, IN, const osg::CopyOp &, x,
|
||||
____Callback__C5_Callback_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::StateAttribute::ModeUsage)
|
||||
I_Constructor0();
|
||||
I_Method1(void, usesMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method1(void, usesTextureMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Constructor0(____ModeUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, usesMode, IN, osg::StateAttribute::GLMode, mode,
|
||||
__void__usesMode__GLMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, usesTextureMode, IN, osg::StateAttribute::GLMode, mode,
|
||||
__void__usesTextureMode__GLMode,
|
||||
"",
|
||||
"");
|
||||
END_REFLECTOR
|
||||
|
||||
STD_PAIR_REFLECTOR(std::pair< osg::StateAttribute::Type COMMA unsigned int >);
|
||||
|
||||
@@ -56,140 +56,494 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StateSet)
|
||||
I_BaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::StateSet &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_MethodWithDefaults2(int, compare, IN, const osg::StateSet &, rhs, , IN, bool, compareAttributeContents, false);
|
||||
I_Method0(const osg::StateSet::ParentList &, getParents);
|
||||
I_Method0(osg::StateSet::ParentList, getParents);
|
||||
I_Method1(osg::Object *, getParent, IN, unsigned int, i);
|
||||
I_Method1(const osg::Object *, getParent, IN, unsigned int, i);
|
||||
I_Method0(unsigned int, getNumParents);
|
||||
I_Method0(void, setGlobalDefaults);
|
||||
I_Method0(void, clear);
|
||||
I_Method1(void, merge, IN, const osg::StateSet &, rhs);
|
||||
I_Method2(void, setMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
|
||||
I_Method1(void, removeMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method1(osg::StateAttribute::GLModeValue, getMode, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method1(void, setModeList, IN, osg::StateSet::ModeList &, ml);
|
||||
I_Method0(osg::StateSet::ModeList &, getModeList);
|
||||
I_Method0(const osg::StateSet::ModeList &, getModeList);
|
||||
I_MethodWithDefaults2(void, setAttribute, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF);
|
||||
I_MethodWithDefaults2(void, setAttributeAndModes, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON);
|
||||
I_MethodWithDefaults2(void, removeAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method1(void, removeAttribute, IN, osg::StateAttribute *, attribute);
|
||||
I_MethodWithDefaults2(osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_MethodWithDefaults2(const osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_MethodWithDefaults2(const osg::StateSet::RefAttributePair *, getAttributePair, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0);
|
||||
I_Method1(void, setAttributeList, IN, osg::StateSet::AttributeList &, al);
|
||||
I_Method0(osg::StateSet::AttributeList &, getAttributeList);
|
||||
I_Method0(const osg::StateSet::AttributeList &, getAttributeList);
|
||||
I_Method3(void, setTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value);
|
||||
I_Method2(void, removeTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method2(osg::StateAttribute::GLModeValue, getTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode);
|
||||
I_Method1(void, setTextureModeList, IN, osg::StateSet::TextureModeList &, tml);
|
||||
I_Method0(osg::StateSet::TextureModeList &, getTextureModeList);
|
||||
I_Method0(const osg::StateSet::TextureModeList &, getTextureModeList);
|
||||
I_MethodWithDefaults3(void, setTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF);
|
||||
I_MethodWithDefaults3(void, setTextureAttributeAndModes, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON);
|
||||
I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type);
|
||||
I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute *, attribute);
|
||||
I_Method2(osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type);
|
||||
I_Method2(const osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type);
|
||||
I_Method2(const osg::StateSet::RefAttributePair *, getTextureAttributePair, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type);
|
||||
I_Method1(void, setTextureAttributeList, IN, osg::StateSet::TextureAttributeList &, tal);
|
||||
I_Method0(osg::StateSet::TextureAttributeList &, getTextureAttributeList);
|
||||
I_Method0(const osg::StateSet::TextureAttributeList &, getTextureAttributeList);
|
||||
I_Method2(void, setAssociatedModes, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value);
|
||||
I_Method3(void, setAssociatedTextureModes, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value);
|
||||
I_MethodWithDefaults2(void, addUniform, IN, osg::Uniform *, uniform, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::ON);
|
||||
I_Method1(void, removeUniform, IN, const std::string &, name);
|
||||
I_Method1(void, removeUniform, IN, osg::Uniform *, uniform);
|
||||
I_Method1(osg::Uniform *, getUniform, IN, const std::string &, name);
|
||||
I_MethodWithDefaults3(osg::Uniform *, getOrCreateUniform, IN, const std::string &, name, , IN, osg::Uniform::Type, type, , IN, unsigned int, numElements, 1);
|
||||
I_Method1(const osg::Uniform *, getUniform, IN, const std::string &, name);
|
||||
I_Method1(const osg::StateSet::RefUniformPair *, getUniformPair, IN, const std::string &, name);
|
||||
I_Method1(void, setUniformList, IN, osg::StateSet::UniformList &, al);
|
||||
I_Method0(osg::StateSet::UniformList &, getUniformList);
|
||||
I_Method0(const osg::StateSet::UniformList &, getUniformList);
|
||||
I_Method1(void, setRenderingHint, IN, int, hint);
|
||||
I_Method0(int, getRenderingHint);
|
||||
I_MethodWithDefaults3(void, setRenderBinDetails, IN, int, binNum, , IN, const std::string &, binName, , IN, osg::StateSet::RenderBinMode, mode, osg::StateSet::USE_RENDERBIN_DETAILS);
|
||||
I_Method0(void, setRenderBinToInherit);
|
||||
I_Method0(bool, useRenderBinDetails);
|
||||
I_Method1(void, setRenderBinMode, IN, osg::StateSet::RenderBinMode, mode);
|
||||
I_Method0(osg::StateSet::RenderBinMode, getRenderBinMode);
|
||||
I_Method1(void, setBinNumber, IN, int, num);
|
||||
I_Method0(int, getBinNumber);
|
||||
I_Method1(void, setBinName, IN, const std::string &, name);
|
||||
I_Method0(const std::string &, getBinName);
|
||||
I_Method1(void, setUpdateCallback, IN, osg::StateSet::Callback *, ac);
|
||||
I_Method0(osg::StateSet::Callback *, getUpdateCallback);
|
||||
I_Method0(const osg::StateSet::Callback *, getUpdateCallback);
|
||||
I_Method0(bool, requiresUpdateTraversal);
|
||||
I_Method0(unsigned int, getNumChildrenRequiringUpdateTraversal);
|
||||
I_Method1(void, runUpdateCallbacks, IN, osg::NodeVisitor *, nv);
|
||||
I_Method1(void, setEventCallback, IN, osg::StateSet::Callback *, ac);
|
||||
I_Method0(osg::StateSet::Callback *, getEventCallback);
|
||||
I_Method0(const osg::StateSet::Callback *, getEventCallback);
|
||||
I_Method0(bool, requiresEventTraversal);
|
||||
I_Method0(unsigned int, getNumChildrenRequiringEventTraversal);
|
||||
I_Method1(void, runEventCallbacks, IN, osg::NodeVisitor *, nv);
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, state);
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state);
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0);
|
||||
I_Property(osg::StateSet::AttributeList &, AttributeList);
|
||||
I_Property(const std::string &, BinName);
|
||||
I_Property(int, BinNumber);
|
||||
I_Property(osg::StateSet::Callback *, EventCallback);
|
||||
I_Constructor0(____StateSet,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::StateSet &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____StateSet__C5_StateSet_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__Object_P1__clone__C5_CopyOp_R1,
|
||||
"Clone an object, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_MethodWithDefaults2(int, compare, IN, const osg::StateSet &, rhs, , IN, bool, compareAttributeContents, false,
|
||||
__int__compare__C5_StateSet_R1__bool,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet::ParentList &, getParents,
|
||||
__C5_ParentList_R1__getParents,
|
||||
"Get the parent list of this StateSet. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet::ParentList, getParents,
|
||||
__ParentList__getParents,
|
||||
"Get the a copy of parent list of node. ",
|
||||
"A copy is returned to prevent modification of the parent list. ");
|
||||
I_Method1(osg::Object *, getParent, IN, unsigned int, i,
|
||||
__Object_P1__getParent__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Object *, getParent, IN, unsigned int, i,
|
||||
__C5_Object_P1__getParent__unsigned_int,
|
||||
"Get a single const parent of this StateSet. ",
|
||||
" param i index of the parent to get. return the parent i.");
|
||||
I_Method0(unsigned int, getNumParents,
|
||||
__unsigned_int__getNumParents,
|
||||
"Get the number of parents of this StateSet. ",
|
||||
"the number of parents of this StateSet. ");
|
||||
I_Method0(void, setGlobalDefaults,
|
||||
__void__setGlobalDefaults,
|
||||
"Set all the modes to on or off so that it defines a complete state, typically used for a default global state. ",
|
||||
"");
|
||||
I_Method0(void, clear,
|
||||
__void__clear,
|
||||
"Clear the StateSet of all modes and attributes. ",
|
||||
"");
|
||||
I_Method1(void, merge, IN, const osg::StateSet &, rhs,
|
||||
__void__merge__C5_StateSet_R1,
|
||||
"Merge this StateSet with the StateSet passed as parameter. ",
|
||||
"Every mode and attribute in this StateSet that is marked with StateAttribute::OVERRIDE is replaced with the equivalent mode or attribute from rhs.");
|
||||
I_Method2(void, setMode, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
|
||||
__void__setMode__StateAttribute_GLMode__StateAttribute_GLModeValue,
|
||||
"Set this StateSet to contain the specified GLMode with a given value. ",
|
||||
"Don't use this method to set modes related to textures. For this purpose, use setTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
|
||||
I_Method1(void, removeMode, IN, osg::StateAttribute::GLMode, mode,
|
||||
__void__removeMode__StateAttribute_GLMode,
|
||||
"Remove mode from this StateSet. ",
|
||||
"Don't use this method to remove modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call. ");
|
||||
I_Method1(osg::StateAttribute::GLModeValue, getMode, IN, osg::StateAttribute::GLMode, mode,
|
||||
__StateAttribute_GLModeValue__getMode__StateAttribute_GLMode,
|
||||
"Get the value for a given GLMode. ",
|
||||
" param mode The GLMode whose value is desired. return If mode is contained within this StateSet, returns the value associated with it. Otherwise, returns StateAttribute::INHERIT. note Don't use this method to get the value of modes related to textures. For this purpose, use removeTextureMode(), that accepts an extra parameter specifying which texture unit shall be affected by the call.");
|
||||
I_Method1(void, setModeList, IN, osg::StateSet::ModeList &, ml,
|
||||
__void__setModeList__ModeList_R1,
|
||||
"Set the list of all GLModes contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet::ModeList &, getModeList,
|
||||
__ModeList_R1__getModeList,
|
||||
"Return the list of all GLModes contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet::ModeList &, getModeList,
|
||||
__C5_ModeList_R1__getModeList,
|
||||
"Return the const list of all GLModes contained in this const StateSet. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setAttribute, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF,
|
||||
__void__setAttribute__StateAttribute_P1__StateAttribute_OverrideValue,
|
||||
"Set this StateSet to contain specified attribute and override flag. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, setAttributeAndModes, IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON,
|
||||
__void__setAttributeAndModes__StateAttribute_P1__StateAttribute_GLModeValue,
|
||||
"Set this StateSet to contain specified attribute and set the associated GLMode's to specified value. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, removeAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__void__removeAttribute__StateAttribute_Type__unsigned_int,
|
||||
"remove attribute of specified type from StateSet. ",
|
||||
"");
|
||||
I_Method1(void, removeAttribute, IN, osg::StateAttribute *, attribute,
|
||||
__void__removeAttribute__StateAttribute_P1,
|
||||
"remove attribute from StateSet. ",
|
||||
"");
|
||||
I_MethodWithDefaults2(osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__StateAttribute_P1__getAttribute__StateAttribute_Type__unsigned_int,
|
||||
"Get specified StateAttribute for specified type. ",
|
||||
"Returns NULL if no type is contained within StateSet. ");
|
||||
I_MethodWithDefaults2(const osg::StateAttribute *, getAttribute, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__C5_StateAttribute_P1__getAttribute__StateAttribute_Type__unsigned_int,
|
||||
"Get specified const StateAttribute for specified type. ",
|
||||
"Returns NULL if no type is contained within const StateSet. ");
|
||||
I_MethodWithDefaults2(const osg::StateSet::RefAttributePair *, getAttributePair, IN, osg::StateAttribute::Type, type, , IN, unsigned int, member, 0,
|
||||
__C5_RefAttributePair_P1__getAttributePair__StateAttribute_Type__unsigned_int,
|
||||
"Get specified RefAttributePair for specified type. ",
|
||||
"Returns NULL if no type is contained within StateSet. ");
|
||||
I_Method1(void, setAttributeList, IN, osg::StateSet::AttributeList &, al,
|
||||
__void__setAttributeList__AttributeList_R1,
|
||||
"set the list of all StateAttributes contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet::AttributeList &, getAttributeList,
|
||||
__AttributeList_R1__getAttributeList,
|
||||
"return the list of all StateAttributes contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet::AttributeList &, getAttributeList,
|
||||
__C5_AttributeList_R1__getAttributeList,
|
||||
"return the const list of all StateAttributes contained in this const StateSet. ",
|
||||
"");
|
||||
I_Method3(void, setTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode, IN, osg::StateAttribute::GLModeValue, value,
|
||||
__void__setTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue,
|
||||
"Set this StateSet to contain specified GLMode with a given value. ",
|
||||
" param unit The texture unit to be affected (used with multi-texturing). mode The OpenGL mode to be added to the StateSet. value The value to be assigned to mode. ");
|
||||
I_Method2(void, removeTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
|
||||
__void__removeTextureMode__unsigned_int__StateAttribute_GLMode,
|
||||
"Remove texture mode from StateSet. ",
|
||||
"");
|
||||
I_Method2(osg::StateAttribute::GLModeValue, getTextureMode, IN, unsigned int, unit, IN, osg::StateAttribute::GLMode, mode,
|
||||
__StateAttribute_GLModeValue__getTextureMode__unsigned_int__StateAttribute_GLMode,
|
||||
"Get specified GLModeValue for specified GLMode. ",
|
||||
"returns INHERIT if no GLModeValue is contained within StateSet. ");
|
||||
I_Method1(void, setTextureModeList, IN, osg::StateSet::TextureModeList &, tml,
|
||||
__void__setTextureModeList__TextureModeList_R1,
|
||||
"set the list of all Texture related GLModes contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet::TextureModeList &, getTextureModeList,
|
||||
__TextureModeList_R1__getTextureModeList,
|
||||
"return the list of all Texture related GLModes contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet::TextureModeList &, getTextureModeList,
|
||||
__C5_TextureModeList_R1__getTextureModeList,
|
||||
"return the const list of all Texture related GLModes contained in this const StateSet. ",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, setTextureAttribute, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::OFF,
|
||||
__void__setTextureAttribute__unsigned_int__StateAttribute_P1__StateAttribute_OverrideValue,
|
||||
"Set this StateSet to contain specified attribute and override flag. ",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, setTextureAttributeAndModes, IN, unsigned int, unit, , IN, osg::StateAttribute *, attribute, , IN, osg::StateAttribute::GLModeValue, value, osg::StateAttribute::ON,
|
||||
__void__setTextureAttributeAndModes__unsigned_int__StateAttribute_P1__StateAttribute_GLModeValue,
|
||||
"Set this StateSet to contain specified attribute and set the associated GLMode's to specified value. ",
|
||||
"");
|
||||
I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type,
|
||||
__void__removeTextureAttribute__unsigned_int__StateAttribute_Type,
|
||||
"remove texture attribute of specified type from StateSet. ",
|
||||
"");
|
||||
I_Method2(void, removeTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute *, attribute,
|
||||
__void__removeTextureAttribute__unsigned_int__StateAttribute_P1,
|
||||
"remove texture attribute from StateSet. ",
|
||||
"");
|
||||
I_Method2(osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type,
|
||||
__StateAttribute_P1__getTextureAttribute__unsigned_int__StateAttribute_Type,
|
||||
"Get specified Texture related StateAttribute for specified type. ",
|
||||
"Returns NULL if no type is contained within StateSet. ");
|
||||
I_Method2(const osg::StateAttribute *, getTextureAttribute, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type,
|
||||
__C5_StateAttribute_P1__getTextureAttribute__unsigned_int__StateAttribute_Type,
|
||||
"Get specified Texture related const StateAttribute for specified type. ",
|
||||
"Returns NULL if no type is contained within const StateSet. ");
|
||||
I_Method2(const osg::StateSet::RefAttributePair *, getTextureAttributePair, IN, unsigned int, unit, IN, osg::StateAttribute::Type, type,
|
||||
__C5_RefAttributePair_P1__getTextureAttributePair__unsigned_int__StateAttribute_Type,
|
||||
"Get specified Texture related RefAttributePair for specified type. ",
|
||||
"Returns NULL if no type is contained within StateSet. ");
|
||||
I_Method1(void, setTextureAttributeList, IN, osg::StateSet::TextureAttributeList &, tal,
|
||||
__void__setTextureAttributeList__TextureAttributeList_R1,
|
||||
"Set the list of all Texture related StateAttributes contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet::TextureAttributeList &, getTextureAttributeList,
|
||||
__TextureAttributeList_R1__getTextureAttributeList,
|
||||
"Return the list of all Texture related StateAttributes contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet::TextureAttributeList &, getTextureAttributeList,
|
||||
__C5_TextureAttributeList_R1__getTextureAttributeList,
|
||||
"Return the const list of all Texture related StateAttributes contained in this const StateSet. ",
|
||||
"");
|
||||
I_Method2(void, setAssociatedModes, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value,
|
||||
__void__setAssociatedModes__C5_StateAttribute_P1__StateAttribute_GLModeValue,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setAssociatedTextureModes, IN, unsigned int, unit, IN, const osg::StateAttribute *, attribute, IN, osg::StateAttribute::GLModeValue, value,
|
||||
__void__setAssociatedTextureModes__unsigned_int__C5_StateAttribute_P1__StateAttribute_GLModeValue,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, addUniform, IN, osg::Uniform *, uniform, , IN, osg::StateAttribute::OverrideValue, value, osg::StateAttribute::ON,
|
||||
__void__addUniform__Uniform_P1__StateAttribute_OverrideValue,
|
||||
"Set this StateSet to contain specified uniform and override flag. ",
|
||||
"");
|
||||
I_Method1(void, removeUniform, IN, const std::string &, name,
|
||||
__void__removeUniform__C5_std_string_R1,
|
||||
"remove uniform of specified name from StateSet. ",
|
||||
"");
|
||||
I_Method1(void, removeUniform, IN, osg::Uniform *, uniform,
|
||||
__void__removeUniform__Uniform_P1,
|
||||
"remove Uniform from StateSet. ",
|
||||
"");
|
||||
I_Method1(osg::Uniform *, getUniform, IN, const std::string &, name,
|
||||
__Uniform_P1__getUniform__C5_std_string_R1,
|
||||
"Get Uniform for specified name. ",
|
||||
"Returns NULL if no matching Uniform is contained within StateSet. ");
|
||||
I_MethodWithDefaults3(osg::Uniform *, getOrCreateUniform, IN, const std::string &, name, , IN, osg::Uniform::Type, type, , IN, unsigned int, numElements, 1,
|
||||
__Uniform_P1__getOrCreateUniform__C5_std_string_R1__Uniform_Type__unsigned_int,
|
||||
"Get Uniform for specified name, if one is not available create it, add it to this StateSet and return a pointer to it. ",
|
||||
"");
|
||||
I_Method1(const osg::Uniform *, getUniform, IN, const std::string &, name,
|
||||
__C5_Uniform_P1__getUniform__C5_std_string_R1,
|
||||
"Get const Uniform for specified name. ",
|
||||
"Returns NULL if no matching Uniform is contained within StateSet. ");
|
||||
I_Method1(const osg::StateSet::RefUniformPair *, getUniformPair, IN, const std::string &, name,
|
||||
__C5_RefUniformPair_P1__getUniformPair__C5_std_string_R1,
|
||||
"Get specified RefUniformPair for specified Uniform name. ",
|
||||
"Returns NULL if no Uniform is contained within StateSet. ");
|
||||
I_Method1(void, setUniformList, IN, osg::StateSet::UniformList &, al,
|
||||
__void__setUniformList__UniformList_R1,
|
||||
"set the list of all Uniforms contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet::UniformList &, getUniformList,
|
||||
__UniformList_R1__getUniformList,
|
||||
"return the list of all Uniforms contained in this StateSet. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet::UniformList &, getUniformList,
|
||||
__C5_UniformList_R1__getUniformList,
|
||||
"return the const list of all Uniforms contained in this const StateSet. ",
|
||||
"");
|
||||
I_Method1(void, setRenderingHint, IN, int, hint,
|
||||
__void__setRenderingHint__int,
|
||||
"Set the RenderingHint of this StateSet. ",
|
||||
"RenderingHint is used by the renderer to determine which draw bin to drop associated osg::Drawables in. Typically, users will set this to either StateSet::OPAQUE_BIN or StateSet::TRANSPARENT_BIN. Drawables in the opaque bin are sorted by their StateSet, so that the number of expensive changes in the OpenGL state is minimized. Drawables in the transparent bin are sorted by depth, so that objects farther from the viewer are rendered first (and hence alpha blending works nicely for translucent objects).");
|
||||
I_Method0(int, getRenderingHint,
|
||||
__int__getRenderingHint,
|
||||
"Get the RenderingHint of this StateSet. ",
|
||||
"");
|
||||
I_MethodWithDefaults3(void, setRenderBinDetails, IN, int, binNum, , IN, const std::string &, binName, , IN, osg::StateSet::RenderBinMode, mode, osg::StateSet::USE_RENDERBIN_DETAILS,
|
||||
__void__setRenderBinDetails__int__C5_std_string_R1__RenderBinMode,
|
||||
"Set the render bin details. ",
|
||||
"");
|
||||
I_Method0(void, setRenderBinToInherit,
|
||||
__void__setRenderBinToInherit,
|
||||
"Set the render bin details to inherit. ",
|
||||
"");
|
||||
I_Method0(bool, useRenderBinDetails,
|
||||
__bool__useRenderBinDetails,
|
||||
"Get whether the render bin details are set and should be used. ",
|
||||
"");
|
||||
I_Method1(void, setRenderBinMode, IN, osg::StateSet::RenderBinMode, mode,
|
||||
__void__setRenderBinMode__RenderBinMode,
|
||||
"Set the render bin mode. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet::RenderBinMode, getRenderBinMode,
|
||||
__RenderBinMode__getRenderBinMode,
|
||||
"Get the render bin mode. ",
|
||||
"");
|
||||
I_Method1(void, setBinNumber, IN, int, num,
|
||||
__void__setBinNumber__int,
|
||||
"Set the render bin number. ",
|
||||
"");
|
||||
I_Method0(int, getBinNumber,
|
||||
__int__getBinNumber,
|
||||
"Get the render bin number. ",
|
||||
"");
|
||||
I_Method1(void, setBinName, IN, const std::string &, name,
|
||||
__void__setBinName__C5_std_string_R1,
|
||||
"Set the render bin name. ",
|
||||
"");
|
||||
I_Method0(const std::string &, getBinName,
|
||||
__C5_std_string_R1__getBinName,
|
||||
"Get the render bin name. ",
|
||||
"");
|
||||
I_Method1(void, setUpdateCallback, IN, osg::StateSet::Callback *, ac,
|
||||
__void__setUpdateCallback__Callback_P1,
|
||||
"Set the Update Callback which allows users to attach customize the updating of an object during the update traversal. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet::Callback *, getUpdateCallback,
|
||||
__Callback_P1__getUpdateCallback,
|
||||
"Get the non const Update Callback. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet::Callback *, getUpdateCallback,
|
||||
__C5_Callback_P1__getUpdateCallback,
|
||||
"Get the const Update Callback. ",
|
||||
"");
|
||||
I_Method0(bool, requiresUpdateTraversal,
|
||||
__bool__requiresUpdateTraversal,
|
||||
"Return whether this StateSet has update callbacks associated with it, and therefore must be traversed. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumChildrenRequiringUpdateTraversal,
|
||||
__unsigned_int__getNumChildrenRequiringUpdateTraversal,
|
||||
"Get the number of Objects of this StateSet which require Update traversal, since they have an Update Callback attached to them or their children. ",
|
||||
"");
|
||||
I_Method1(void, runUpdateCallbacks, IN, osg::NodeVisitor *, nv,
|
||||
__void__runUpdateCallbacks__osg_NodeVisitor_P1,
|
||||
"Run the update callbacks attached directly to this StateSet or to its children. ",
|
||||
"");
|
||||
I_Method1(void, setEventCallback, IN, osg::StateSet::Callback *, ac,
|
||||
__void__setEventCallback__Callback_P1,
|
||||
"Set the Event Callback which allows users to attach customize the updating of an object during the event traversal. ",
|
||||
"");
|
||||
I_Method0(osg::StateSet::Callback *, getEventCallback,
|
||||
__Callback_P1__getEventCallback,
|
||||
"Get the non const Event Callback. ",
|
||||
"");
|
||||
I_Method0(const osg::StateSet::Callback *, getEventCallback,
|
||||
__C5_Callback_P1__getEventCallback,
|
||||
"Get the const Event Callback. ",
|
||||
"");
|
||||
I_Method0(bool, requiresEventTraversal,
|
||||
__bool__requiresEventTraversal,
|
||||
"Return whether this StateSet has event callbacks associated with it, and therefore must be traversed. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumChildrenRequiringEventTraversal,
|
||||
__unsigned_int__getNumChildrenRequiringEventTraversal,
|
||||
"Get the number of Objects of this StateSet which require Event traversal, since they have an Eevnt Callback attached to them or their children. ",
|
||||
"");
|
||||
I_Method1(void, runEventCallbacks, IN, osg::NodeVisitor *, nv,
|
||||
__void__runEventCallbacks__osg_NodeVisitor_P1,
|
||||
"Run the event callbacks attached directly to this StateSet or to its children. ",
|
||||
"");
|
||||
I_Method1(bool, checkValidityOfAssociatedModes, IN, osg::State &, state,
|
||||
__bool__checkValidityOfAssociatedModes__State_R1,
|
||||
"Check the modes associated with this StateSet are supported by current OpenGL drivers, and if not set the associated mode in osg::State to be black listed/invalid. ",
|
||||
"Return true if all associated modes are valid. ");
|
||||
I_Method1(void, compileGLObjects, IN, osg::State &, state,
|
||||
__void__compileGLObjects__State_R1,
|
||||
"call compile on all StateAttributes contained within this StateSet. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
|
||||
__void__releaseGLObjects__State_P1,
|
||||
"call release on all StateAttributes contained within this StateSet. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::StateSet::AttributeList &, AttributeList,
|
||||
__AttributeList_R1__getAttributeList,
|
||||
__void__setAttributeList__AttributeList_R1);
|
||||
I_SimpleProperty(const std::string &, BinName,
|
||||
__C5_std_string_R1__getBinName,
|
||||
__void__setBinName__C5_std_string_R1);
|
||||
I_SimpleProperty(int, BinNumber,
|
||||
__int__getBinNumber,
|
||||
__void__setBinNumber__int);
|
||||
I_SimpleProperty(osg::StateSet::Callback *, EventCallback,
|
||||
__Callback_P1__getEventCallback,
|
||||
__void__setEventCallback__Callback_P1);
|
||||
|
||||
I_Property(osg::StateSet::ModeList &, ModeList);
|
||||
I_ArrayProperty_G(osg::Object *, Parent, Parents, unsigned int, void);
|
||||
I_ReadOnlyProperty(osg::StateSet::ParentList, Parents);
|
||||
I_Property(osg::StateSet::RenderBinMode, RenderBinMode);
|
||||
I_Property(int, RenderingHint);
|
||||
I_Property(osg::StateSet::TextureAttributeList &, TextureAttributeList);
|
||||
I_IndexedProperty2(osg::StateAttribute::GLModeValue, TextureMode, unsigned int, unit, osg::StateAttribute::GLMode, mode);
|
||||
I_Property(osg::StateSet::TextureModeList &, TextureModeList);
|
||||
I_Property(osg::StateSet::UniformList &, UniformList);
|
||||
I_Property(osg::StateSet::Callback *, UpdateCallback);
|
||||
I_SimpleProperty(osg::StateSet::ModeList &, ModeList,
|
||||
__ModeList_R1__getModeList,
|
||||
__void__setModeList__ModeList_R1);
|
||||
I_ArrayProperty(osg::Object *, Parent,
|
||||
__Object_P1__getParent__unsigned_int,
|
||||
0,
|
||||
__unsigned_int__getNumParents,
|
||||
0,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateSet::ParentList, Parents,
|
||||
__ParentList__getParents,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateSet::RenderBinMode, RenderBinMode,
|
||||
__RenderBinMode__getRenderBinMode,
|
||||
__void__setRenderBinMode__RenderBinMode);
|
||||
I_SimpleProperty(int, RenderingHint,
|
||||
__int__getRenderingHint,
|
||||
__void__setRenderingHint__int);
|
||||
I_SimpleProperty(osg::StateSet::TextureAttributeList &, TextureAttributeList,
|
||||
__TextureAttributeList_R1__getTextureAttributeList,
|
||||
__void__setTextureAttributeList__TextureAttributeList_R1);
|
||||
I_IndexedProperty(osg::StateAttribute::GLModeValue, TextureMode,
|
||||
__StateAttribute_GLModeValue__getTextureMode__unsigned_int__StateAttribute_GLMode,
|
||||
__void__setTextureMode__unsigned_int__StateAttribute_GLMode__StateAttribute_GLModeValue,
|
||||
0);
|
||||
I_SimpleProperty(osg::StateSet::TextureModeList &, TextureModeList,
|
||||
__TextureModeList_R1__getTextureModeList,
|
||||
__void__setTextureModeList__TextureModeList_R1);
|
||||
I_SimpleProperty(osg::StateSet::UniformList &, UniformList,
|
||||
__UniformList_R1__getUniformList,
|
||||
__void__setUniformList__UniformList_R1);
|
||||
I_SimpleProperty(osg::StateSet::Callback *, UpdateCallback,
|
||||
__Callback_P1__getUpdateCallback,
|
||||
__void__setUpdateCallback__Callback_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::StateSet::Callback)
|
||||
I_VirtualBaseType(osg::Object);
|
||||
I_Constructor0();
|
||||
I_Constructor2(IN, const osg::StateSet::Callback &, x, IN, const osg::CopyOp &, x);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Constructor0(____Callback,
|
||||
"",
|
||||
"");
|
||||
I_Constructor2(IN, const osg::StateSet::Callback &, x, IN, const osg::CopyOp &, x,
|
||||
____Callback__C5_Callback_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__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,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__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,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the object's class type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateAttribute >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::StateAttribute *, ptr);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::StateAttribute > &, rp);
|
||||
I_Method0(osg::StateAttribute *, get);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::StateAttribute *, release);
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::StateAttribute > &, rp);
|
||||
I_ReadOnlyProperty(osg::StateAttribute *, );
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::StateAttribute *, ptr,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::StateAttribute > &, rp,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute *, release,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::StateAttribute > &, rp,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::StateAttribute *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Uniform >)
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::Uniform *, ptr);
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Uniform > &, rp);
|
||||
I_Method0(osg::Uniform *, get);
|
||||
I_Method0(bool, valid);
|
||||
I_Method0(osg::Uniform *, release);
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Uniform > &, rp);
|
||||
I_ReadOnlyProperty(osg::Uniform *, );
|
||||
I_Constructor0(____ref_ptr,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::Uniform *, ptr,
|
||||
____ref_ptr__T_P1,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, const osg::ref_ptr< osg::Uniform > &, rp,
|
||||
____ref_ptr__C5_ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Uniform *, get,
|
||||
__T_P1__get,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
__bool__valid,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Uniform *, release,
|
||||
__T_P1__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, swap, IN, osg::ref_ptr< osg::Uniform > &, rp,
|
||||
__void__swap__ref_ptr_R1,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Uniform *, ,
|
||||
__T_P1__get,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_MAP_REFLECTOR_WITH_TYPES(std::map< osg::StateAttribute::GLMode COMMA osg::StateAttribute::GLModeValue >, osg::StateAttribute::GLMode, osg::StateAttribute::Values);
|
||||
|
||||
@@ -46,40 +46,136 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Stencil)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Stencil &, stencil, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method3(void, setFunction, IN, osg::Stencil::Function, func, IN, int, ref, IN, unsigned int, mask);
|
||||
I_Method1(void, setFunction, IN, osg::Stencil::Function, func);
|
||||
I_Method0(osg::Stencil::Function, getFunction);
|
||||
I_Method1(void, setFunctionRef, IN, int, ref);
|
||||
I_Method0(int, getFunctionRef);
|
||||
I_Method1(void, setFunctionMask, IN, unsigned int, mask);
|
||||
I_Method0(unsigned int, getFunctionMask);
|
||||
I_Method3(void, setOperation, IN, osg::Stencil::Operation, sfail, IN, osg::Stencil::Operation, zfail, IN, osg::Stencil::Operation, zpass);
|
||||
I_Method1(void, setStencilFailOperation, IN, osg::Stencil::Operation, sfail);
|
||||
I_Method0(osg::Stencil::Operation, getStencilFailOperation);
|
||||
I_Method1(void, setStencilPassAndDepthFailOperation, IN, osg::Stencil::Operation, zfail);
|
||||
I_Method0(osg::Stencil::Operation, getStencilPassAndDepthFailOperation);
|
||||
I_Method1(void, setStencilPassAndDepthPassOperation, IN, osg::Stencil::Operation, zpass);
|
||||
I_Method0(osg::Stencil::Operation, getStencilPassAndDepthPassOperation);
|
||||
I_Method1(void, setWriteMask, IN, unsigned int, mask);
|
||||
I_Method0(unsigned int, getWriteMask);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(osg::Stencil::Function, Function);
|
||||
I_Property(unsigned int, FunctionMask);
|
||||
I_Property(int, FunctionRef);
|
||||
I_Property(osg::Stencil::Operation, StencilFailOperation);
|
||||
I_Property(osg::Stencil::Operation, StencilPassAndDepthFailOperation);
|
||||
I_Property(osg::Stencil::Operation, StencilPassAndDepthPassOperation);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Property(unsigned int, WriteMask);
|
||||
I_Constructor0(____Stencil,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Stencil &, stencil, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Stencil__C5_Stencil_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setFunction, IN, osg::Stencil::Function, func, IN, int, ref, IN, unsigned int, mask,
|
||||
__void__setFunction__Function__int__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFunction, IN, osg::Stencil::Function, func,
|
||||
__void__setFunction__Function,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Stencil::Function, getFunction,
|
||||
__Function__getFunction,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFunctionRef, IN, int, ref,
|
||||
__void__setFunctionRef__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getFunctionRef,
|
||||
__int__getFunctionRef,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFunctionMask, IN, unsigned int, mask,
|
||||
__void__setFunctionMask__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getFunctionMask,
|
||||
__unsigned_int__getFunctionMask,
|
||||
"",
|
||||
"");
|
||||
I_Method3(void, setOperation, IN, osg::Stencil::Operation, sfail, IN, osg::Stencil::Operation, zfail, IN, osg::Stencil::Operation, zpass,
|
||||
__void__setOperation__Operation__Operation__Operation,
|
||||
"set the operations to apply when the various stencil and depth tests fail or pass. ",
|
||||
"First parameter is to control the operation when the stencil test fails. The second parameter is to control the operation when the stencil test passes, but depth test fails. The third parameter controls the operation when both the stencil test and depth pass. Ordering of parameter is the same as if using glStencilOp(,,). ");
|
||||
I_Method1(void, setStencilFailOperation, IN, osg::Stencil::Operation, sfail,
|
||||
__void__setStencilFailOperation__Operation,
|
||||
"set the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method0(osg::Stencil::Operation, getStencilFailOperation,
|
||||
__Operation__getStencilFailOperation,
|
||||
"get the operation when the stencil test fails. ",
|
||||
"");
|
||||
I_Method1(void, setStencilPassAndDepthFailOperation, IN, osg::Stencil::Operation, zfail,
|
||||
__void__setStencilPassAndDepthFailOperation__Operation,
|
||||
"set the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method0(osg::Stencil::Operation, getStencilPassAndDepthFailOperation,
|
||||
__Operation__getStencilPassAndDepthFailOperation,
|
||||
"get the operation when the stencil test passes but the depth test fails. ",
|
||||
"");
|
||||
I_Method1(void, setStencilPassAndDepthPassOperation, IN, osg::Stencil::Operation, zpass,
|
||||
__void__setStencilPassAndDepthPassOperation__Operation,
|
||||
"set the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method0(osg::Stencil::Operation, getStencilPassAndDepthPassOperation,
|
||||
__Operation__getStencilPassAndDepthPassOperation,
|
||||
"get the operation when both the stencil test and the depth test pass. ",
|
||||
"");
|
||||
I_Method1(void, setWriteMask, IN, unsigned int, mask,
|
||||
__void__setWriteMask__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getWriteMask,
|
||||
__unsigned_int__getWriteMask,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(osg::Stencil::Function, Function,
|
||||
__Function__getFunction,
|
||||
__void__setFunction__Function);
|
||||
I_SimpleProperty(unsigned int, FunctionMask,
|
||||
__unsigned_int__getFunctionMask,
|
||||
__void__setFunctionMask__unsigned_int);
|
||||
I_SimpleProperty(int, FunctionRef,
|
||||
__int__getFunctionRef,
|
||||
__void__setFunctionRef__int);
|
||||
I_SimpleProperty(osg::Stencil::Operation, StencilFailOperation,
|
||||
__Operation__getStencilFailOperation,
|
||||
__void__setStencilFailOperation__Operation);
|
||||
I_SimpleProperty(osg::Stencil::Operation, StencilPassAndDepthFailOperation,
|
||||
__Operation__getStencilPassAndDepthFailOperation,
|
||||
__void__setStencilPassAndDepthFailOperation__Operation);
|
||||
I_SimpleProperty(osg::Stencil::Operation, StencilPassAndDepthPassOperation,
|
||||
__Operation__getStencilPassAndDepthPassOperation,
|
||||
__void__setStencilPassAndDepthPassOperation__Operation);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
I_SimpleProperty(unsigned int, WriteMask,
|
||||
__unsigned_int__getWriteMask,
|
||||
__void__setWriteMask__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -29,37 +29,126 @@ TYPE_NAME_ALIAS(std::vector< bool >, osg::Switch::ValueList);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::Switch)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::Switch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, traverse, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value);
|
||||
I_Method0(bool, getNewChildDefaultValue);
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child);
|
||||
I_Method2(bool, addChild, IN, osg::Node *, child, IN, bool, value);
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child);
|
||||
I_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, bool, value);
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove);
|
||||
I_Method2(void, setValue, IN, unsigned int, pos, IN, bool, value);
|
||||
I_Method1(bool, getValue, IN, unsigned int, pos);
|
||||
I_Method2(void, setChildValue, IN, const osg::Node *, child, IN, bool, value);
|
||||
I_Method1(bool, getChildValue, IN, const osg::Node *, child);
|
||||
I_Method0(bool, setAllChildrenOff);
|
||||
I_Method0(bool, setAllChildrenOn);
|
||||
I_Method1(bool, setSingleChildOn, IN, unsigned int, pos);
|
||||
I_Method1(void, setValueList, IN, const osg::Switch::ValueList &, values);
|
||||
I_Method0(const osg::Switch::ValueList &, getValueList);
|
||||
I_Method0(osg::BoundingSphere, computeBound);
|
||||
I_IndexedProperty1(bool, ChildValue, const osg::Node *, child);
|
||||
I_Property(bool, NewChildDefaultValue);
|
||||
I_WriteOnlyPropertyWithReturnType(unsigned int, SingleChildOn, bool);
|
||||
I_IndexedProperty1(bool, Value, unsigned int, pos);
|
||||
I_Property(const osg::Switch::ValueList &, ValueList);
|
||||
I_Constructor0(____Switch,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::Switch &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____Switch__C5_Switch_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__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,
|
||||
__void__traverse__NodeVisitor_R1,
|
||||
"Traverse downwards : calls children's accept method with NodeVisitor. ",
|
||||
"");
|
||||
I_Method1(void, setNewChildDefaultValue, IN, bool, value,
|
||||
__void__setNewChildDefaultValue__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, getNewChildDefaultValue,
|
||||
__bool__getNewChildDefaultValue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, addChild, IN, osg::Node *, child,
|
||||
__bool__addChild__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, addChild, IN, osg::Node *, child, IN, bool, value,
|
||||
__bool__addChild__Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child,
|
||||
__bool__insertChild__unsigned_int__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_Method3(bool, insertChild, IN, unsigned int, index, IN, osg::Node *, child, IN, bool, value,
|
||||
__bool__insertChild__unsigned_int__Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, removeChildren, IN, unsigned int, pos, IN, unsigned int, numChildrenToRemove,
|
||||
__bool__removeChildren__unsigned_int__unsigned_int,
|
||||
"Remove children from Group. ",
|
||||
"Note, must be override by subclasses of Group which add per child attributes. ");
|
||||
I_Method2(void, setValue, IN, unsigned int, pos, IN, bool, value,
|
||||
__void__setValue__unsigned_int__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getValue, IN, unsigned int, pos,
|
||||
__bool__getValue__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setChildValue, IN, const osg::Node *, child, IN, bool, value,
|
||||
__void__setChildValue__C5_Node_P1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(bool, getChildValue, IN, const osg::Node *, child,
|
||||
__bool__getChildValue__C5_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, setAllChildrenOff,
|
||||
__bool__setAllChildrenOff,
|
||||
"Set all the children off (false), and set the new default child value to off (false). ",
|
||||
"");
|
||||
I_Method0(bool, setAllChildrenOn,
|
||||
__bool__setAllChildrenOn,
|
||||
"Set all the children on (true), and set the new default child value to on (true). ",
|
||||
"");
|
||||
I_Method1(bool, setSingleChildOn, IN, unsigned int, pos,
|
||||
__bool__setSingleChildOn__unsigned_int,
|
||||
"Set a single child on, switch off all other children. ",
|
||||
"");
|
||||
I_Method1(void, setValueList, IN, const osg::Switch::ValueList &, values,
|
||||
__void__setValueList__C5_ValueList_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Switch::ValueList &, getValueList,
|
||||
__C5_ValueList_R1__getValueList,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::BoundingSphere, computeBound,
|
||||
__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_IndexedProperty(bool, ChildValue,
|
||||
__bool__getChildValue__C5_Node_P1,
|
||||
__void__setChildValue__C5_Node_P1__bool,
|
||||
0);
|
||||
I_SimpleProperty(bool, NewChildDefaultValue,
|
||||
__bool__getNewChildDefaultValue,
|
||||
__void__setNewChildDefaultValue__bool);
|
||||
I_SimpleProperty(unsigned int, SingleChildOn,
|
||||
0,
|
||||
__bool__setSingleChildOn__unsigned_int);
|
||||
I_IndexedProperty(bool, Value,
|
||||
__bool__getValue__unsigned_int,
|
||||
__void__setValue__unsigned_int__bool,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Switch::ValueList &, ValueList,
|
||||
__C5_ValueList_R1__getValueList,
|
||||
__void__setValueList__C5_ValueList_R1);
|
||||
END_REFLECTOR
|
||||
|
||||
STD_VECTOR_REFLECTOR(std::vector< bool >);
|
||||
|
||||
@@ -35,24 +35,78 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnv)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE);
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnv &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method0(bool, isTextureAttribute);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, setMode, IN, osg::TexEnv::Mode, mode);
|
||||
I_Method0(osg::TexEnv::Mode, getMode);
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color);
|
||||
I_Method0(osg::Vec4 &, getColor);
|
||||
I_Method0(const osg::Vec4 &, getColor);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(const osg::Vec4 &, Color);
|
||||
I_Property(osg::TexEnv::Mode, Mode);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_ConstructorWithDefaults1(IN, osg::TexEnv::Mode, mode, osg::TexEnv::MODULATE,
|
||||
____TexEnv__Mode,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnv &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnv__C5_TexEnv_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setMode, IN, osg::TexEnv::Mode, mode,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexEnv::Mode, getMode,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setColor, IN, const osg::Vec4 &, color,
|
||||
__void__setColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Vec4 &, getColor,
|
||||
__Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getColor,
|
||||
__C5_Vec4_R1__getColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(const osg::Vec4 &, Color,
|
||||
__C5_Vec4_R1__getColor,
|
||||
__void__setColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::TexEnv::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -61,71 +61,249 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnvCombine)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvCombine &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method0(bool, isTextureAttribute);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, setCombine_RGB, IN, GLint, cm);
|
||||
I_Method1(void, setCombine_Alpha, IN, GLint, cm);
|
||||
I_Method0(GLint, getCombine_RGB);
|
||||
I_Method0(GLint, getCombine_Alpha);
|
||||
I_Method1(void, setSource0_RGB, IN, GLint, sp);
|
||||
I_Method1(void, setSource1_RGB, IN, GLint, sp);
|
||||
I_Method1(void, setSource2_RGB, IN, GLint, sp);
|
||||
I_Method1(void, setSource0_Alpha, IN, GLint, sp);
|
||||
I_Method1(void, setSource1_Alpha, IN, GLint, sp);
|
||||
I_Method1(void, setSource2_Alpha, IN, GLint, sp);
|
||||
I_Method0(GLint, getSource0_RGB);
|
||||
I_Method0(GLint, getSource1_RGB);
|
||||
I_Method0(GLint, getSource2_RGB);
|
||||
I_Method0(GLint, getSource0_Alpha);
|
||||
I_Method0(GLint, getSource1_Alpha);
|
||||
I_Method0(GLint, getSource2_Alpha);
|
||||
I_Method1(void, setOperand0_RGB, IN, GLint, op);
|
||||
I_Method1(void, setOperand1_RGB, IN, GLint, op);
|
||||
I_Method1(void, setOperand2_RGB, IN, GLint, op);
|
||||
I_Method1(void, setOperand0_Alpha, IN, GLint, op);
|
||||
I_Method1(void, setOperand1_Alpha, IN, GLint, op);
|
||||
I_Method1(void, setOperand2_Alpha, IN, GLint, op);
|
||||
I_Method0(GLint, getOperand0_RGB);
|
||||
I_Method0(GLint, getOperand1_RGB);
|
||||
I_Method0(GLint, getOperand2_RGB);
|
||||
I_Method0(GLint, getOperand0_Alpha);
|
||||
I_Method0(GLint, getOperand1_Alpha);
|
||||
I_Method0(GLint, getOperand2_Alpha);
|
||||
I_Method1(void, setScale_RGB, IN, float, scale);
|
||||
I_Method1(void, setScale_Alpha, IN, float, scale);
|
||||
I_Method0(float, getScale_RGB);
|
||||
I_Method0(float, getScale_Alpha);
|
||||
I_Method1(void, setConstantColor, IN, const osg::Vec4 &, color);
|
||||
I_Method0(const osg::Vec4 &, getConstantColor);
|
||||
I_Method1(void, setConstantColorAsLightDirection, IN, const osg::Vec3 &, direction);
|
||||
I_Method0(osg::Vec3, getConstantColorAsLightDirection);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(GLint, Combine_Alpha);
|
||||
I_Property(GLint, Combine_RGB);
|
||||
I_Property(const osg::Vec4 &, ConstantColor);
|
||||
I_ReadOnlyProperty(osg::Vec3, ConstantColorAsLightDirection);
|
||||
I_Property(GLint, Operand0_Alpha);
|
||||
I_Property(GLint, Operand0_RGB);
|
||||
I_Property(GLint, Operand1_Alpha);
|
||||
I_Property(GLint, Operand1_RGB);
|
||||
I_Property(GLint, Operand2_Alpha);
|
||||
I_Property(GLint, Operand2_RGB);
|
||||
I_Property(float, Scale_Alpha);
|
||||
I_Property(float, Scale_RGB);
|
||||
I_Property(GLint, Source0_Alpha);
|
||||
I_Property(GLint, Source0_RGB);
|
||||
I_Property(GLint, Source1_Alpha);
|
||||
I_Property(GLint, Source1_RGB);
|
||||
I_Property(GLint, Source2_Alpha);
|
||||
I_Property(GLint, Source2_RGB);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____TexEnvCombine,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvCombine &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnvCombine__C5_TexEnvCombine_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setCombine_RGB, IN, GLint, cm,
|
||||
__void__setCombine_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCombine_Alpha, IN, GLint, cm,
|
||||
__void__setCombine_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getCombine_RGB,
|
||||
__GLint__getCombine_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getCombine_Alpha,
|
||||
__GLint__getCombine_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource0_RGB, IN, GLint, sp,
|
||||
__void__setSource0_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource1_RGB, IN, GLint, sp,
|
||||
__void__setSource1_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource2_RGB, IN, GLint, sp,
|
||||
__void__setSource2_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource0_Alpha, IN, GLint, sp,
|
||||
__void__setSource0_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource1_Alpha, IN, GLint, sp,
|
||||
__void__setSource1_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSource2_Alpha, IN, GLint, sp,
|
||||
__void__setSource2_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource0_RGB,
|
||||
__GLint__getSource0_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource1_RGB,
|
||||
__GLint__getSource1_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource2_RGB,
|
||||
__GLint__getSource2_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource0_Alpha,
|
||||
__GLint__getSource0_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource1_Alpha,
|
||||
__GLint__getSource1_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getSource2_Alpha,
|
||||
__GLint__getSource2_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand0_RGB, IN, GLint, op,
|
||||
__void__setOperand0_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand1_RGB, IN, GLint, op,
|
||||
__void__setOperand1_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand2_RGB, IN, GLint, op,
|
||||
__void__setOperand2_RGB__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand0_Alpha, IN, GLint, op,
|
||||
__void__setOperand0_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand1_Alpha, IN, GLint, op,
|
||||
__void__setOperand1_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setOperand2_Alpha, IN, GLint, op,
|
||||
__void__setOperand2_Alpha__GLint,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand0_RGB,
|
||||
__GLint__getOperand0_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand1_RGB,
|
||||
__GLint__getOperand1_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand2_RGB,
|
||||
__GLint__getOperand2_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand0_Alpha,
|
||||
__GLint__getOperand0_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand1_Alpha,
|
||||
__GLint__getOperand1_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method0(GLint, getOperand2_Alpha,
|
||||
__GLint__getOperand2_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale_RGB, IN, float, scale,
|
||||
__void__setScale_RGB__float,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setScale_Alpha, IN, float, scale,
|
||||
__void__setScale_Alpha__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale_RGB,
|
||||
__float__getScale_RGB,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getScale_Alpha,
|
||||
__float__getScale_Alpha,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setConstantColor, IN, const osg::Vec4 &, color,
|
||||
__void__setConstantColor__C5_Vec4_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Vec4 &, getConstantColor,
|
||||
__C5_Vec4_R1__getConstantColor,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setConstantColorAsLightDirection, IN, const osg::Vec3 &, direction,
|
||||
__void__setConstantColorAsLightDirection__C5_Vec3_R1,
|
||||
"Set the constant color attribute to the given light direction for use with DOT3 combine operation. ",
|
||||
"");
|
||||
I_Method0(osg::Vec3, getConstantColorAsLightDirection,
|
||||
__Vec3__getConstantColorAsLightDirection,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(GLint, Combine_Alpha,
|
||||
__GLint__getCombine_Alpha,
|
||||
__void__setCombine_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Combine_RGB,
|
||||
__GLint__getCombine_RGB,
|
||||
__void__setCombine_RGB__GLint);
|
||||
I_SimpleProperty(const osg::Vec4 &, ConstantColor,
|
||||
__C5_Vec4_R1__getConstantColor,
|
||||
__void__setConstantColor__C5_Vec4_R1);
|
||||
I_SimpleProperty(osg::Vec3, ConstantColorAsLightDirection,
|
||||
__Vec3__getConstantColorAsLightDirection,
|
||||
__void__setConstantColorAsLightDirection__C5_Vec3_R1);
|
||||
I_SimpleProperty(GLint, Operand0_Alpha,
|
||||
__GLint__getOperand0_Alpha,
|
||||
__void__setOperand0_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Operand0_RGB,
|
||||
__GLint__getOperand0_RGB,
|
||||
__void__setOperand0_RGB__GLint);
|
||||
I_SimpleProperty(GLint, Operand1_Alpha,
|
||||
__GLint__getOperand1_Alpha,
|
||||
__void__setOperand1_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Operand1_RGB,
|
||||
__GLint__getOperand1_RGB,
|
||||
__void__setOperand1_RGB__GLint);
|
||||
I_SimpleProperty(GLint, Operand2_Alpha,
|
||||
__GLint__getOperand2_Alpha,
|
||||
__void__setOperand2_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Operand2_RGB,
|
||||
__GLint__getOperand2_RGB,
|
||||
__void__setOperand2_RGB__GLint);
|
||||
I_SimpleProperty(float, Scale_Alpha,
|
||||
__float__getScale_Alpha,
|
||||
__void__setScale_Alpha__float);
|
||||
I_SimpleProperty(float, Scale_RGB,
|
||||
__float__getScale_RGB,
|
||||
__void__setScale_RGB__float);
|
||||
I_SimpleProperty(GLint, Source0_Alpha,
|
||||
__GLint__getSource0_Alpha,
|
||||
__void__setSource0_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Source0_RGB,
|
||||
__GLint__getSource0_RGB,
|
||||
__void__setSource0_RGB__GLint);
|
||||
I_SimpleProperty(GLint, Source1_Alpha,
|
||||
__GLint__getSource1_Alpha,
|
||||
__void__setSource1_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Source1_RGB,
|
||||
__GLint__getSource1_RGB,
|
||||
__void__setSource1_RGB__GLint);
|
||||
I_SimpleProperty(GLint, Source2_Alpha,
|
||||
__GLint__getSource2_Alpha,
|
||||
__void__setSource2_Alpha__GLint);
|
||||
I_SimpleProperty(GLint, Source2_RGB,
|
||||
__GLint__getSource2_RGB,
|
||||
__void__setSource2_RGB__GLint);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -26,20 +26,63 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexEnvFilter)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_ConstructorWithDefaults1(IN, float, lodBias, 0.0f);
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvFilter &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method0(bool, isTextureAttribute);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(void, setLodBias, IN, float, lodBias);
|
||||
I_Method0(float, getLodBias);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Property(float, LodBias);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_ConstructorWithDefaults1(IN, float, lodBias, 0.0f,
|
||||
____TexEnvFilter__float,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexEnvFilter &, texenv, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexEnvFilter__C5_TexEnvFilter_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(void, setLodBias, IN, float, lodBias,
|
||||
__void__setLodBias__float,
|
||||
"",
|
||||
"");
|
||||
I_Method0(float, getLodBias,
|
||||
__float__getLodBias,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_SimpleProperty(float, LodBias,
|
||||
__float__getLodBias,
|
||||
__void__setLodBias__float);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -43,27 +43,89 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGen)
|
||||
I_BaseType(osg::StateAttribute);
|
||||
I_Constructor0();
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGen &, texgen, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(osg::StateAttribute::Type, getType);
|
||||
I_Method0(bool, isTextureAttribute);
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa);
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage);
|
||||
I_Method1(void, apply, IN, osg::State &, state);
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode);
|
||||
I_Method0(osg::TexGen::Mode, getMode);
|
||||
I_Method2(void, setPlane, IN, osg::TexGen::Coord, which, IN, const osg::Plane &, plane);
|
||||
I_Method1(osg::Plane &, getPlane, IN, osg::TexGen::Coord, which);
|
||||
I_Method1(const osg::Plane &, getPlane, IN, osg::TexGen::Coord, which);
|
||||
I_Method1(void, setPlanesFromMatrix, IN, const osg::Matrixd &, matrix);
|
||||
I_Property(osg::TexGen::Mode, Mode);
|
||||
I_IndexedProperty1(const osg::Plane &, Plane, osg::TexGen::Coord, which);
|
||||
I_WriteOnlyProperty(const osg::Matrixd &, PlanesFromMatrix);
|
||||
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
|
||||
I_Constructor0(____TexGen,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGen &, texgen, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGen__C5_TexGen_R1__C5_CopyOp_R1,
|
||||
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"Clone the type of an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
|
||||
"Clone an attribute, with Object* return type. ",
|
||||
"Must be defined by derived classes. ");
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"Return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"Return the name of the attribute's library. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"Return the name of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(osg::StateAttribute::Type, getType,
|
||||
__Type__getType,
|
||||
"Return the Type identifier of the attribute's class type. ",
|
||||
"");
|
||||
I_Method0(bool, isTextureAttribute,
|
||||
__bool__isTextureAttribute,
|
||||
"Return true if StateAttribute is a type which controls texturing and needs to be issued w.r.t to specific texture unit. ",
|
||||
"");
|
||||
I_Method1(int, compare, IN, const osg::StateAttribute &, sa,
|
||||
__int__compare__C5_StateAttribute_R1,
|
||||
"Return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs. ",
|
||||
"");
|
||||
I_Method1(bool, getModeUsage, IN, osg::StateAttribute::ModeUsage &, usage,
|
||||
__bool__getModeUsage__ModeUsage_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, apply, IN, osg::State &, state,
|
||||
__void__apply__State_R1,
|
||||
"apply the OpenGL state attributes. ",
|
||||
"The render info for the current OpenGL context is passed in to allow the StateAttribute to obtain details on the the current context and state.");
|
||||
I_Method1(void, setMode, IN, osg::TexGen::Mode, mode,
|
||||
__void__setMode__Mode,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::TexGen::Mode, getMode,
|
||||
__Mode__getMode,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, setPlane, IN, osg::TexGen::Coord, which, IN, const osg::Plane &, plane,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
__Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osg::Plane &, getPlane, IN, osg::TexGen::Coord, which,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setPlanesFromMatrix, IN, const osg::Matrixd &, matrix,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1,
|
||||
"Set the tex gen planes from specified matrix. ",
|
||||
"Typical usage would be to pass in a projection matrix to set up projective texturing.");
|
||||
I_SimpleProperty(osg::TexGen::Mode, Mode,
|
||||
__Mode__getMode,
|
||||
__void__setMode__Mode);
|
||||
I_IndexedProperty(const osg::Plane &, Plane,
|
||||
__C5_Plane_R1__getPlane__Coord,
|
||||
__void__setPlane__Coord__C5_Plane_R1,
|
||||
0);
|
||||
I_SimpleProperty(const osg::Matrixd &, PlanesFromMatrix,
|
||||
0,
|
||||
__void__setPlanesFromMatrix__C5_Matrixd_R1);
|
||||
I_SimpleProperty(osg::StateAttribute::Type, Type,
|
||||
__Type__getType,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -31,24 +31,77 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osg::TexGenNode)
|
||||
I_BaseType(osg::Group);
|
||||
I_Constructor0();
|
||||
I_Constructor1(IN, osg::TexGen *, texgen);
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
|
||||
I_Method0(osg::Object *, cloneType);
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop);
|
||||
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj);
|
||||
I_Method0(const char *, className);
|
||||
I_Method0(const char *, libraryName);
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv);
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf);
|
||||
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame);
|
||||
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit);
|
||||
I_Method0(unsigned int, getTextureUnit);
|
||||
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen);
|
||||
I_Method0(osg::TexGen *, getTexGen);
|
||||
I_Method0(const osg::TexGen *, getTexGen);
|
||||
I_Property(osg::TexGenNode::ReferenceFrame, ReferenceFrame);
|
||||
I_Property(osg::TexGen *, TexGen);
|
||||
I_Property(unsigned int, TextureUnit);
|
||||
I_Constructor0(____TexGenNode,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, osg::TexGen *, texgen,
|
||||
____TexGenNode__TexGen_P1,
|
||||
"",
|
||||
"");
|
||||
I_ConstructorWithDefaults2(IN, const osg::TexGenNode &, tgb, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
|
||||
____TexGenNode__C5_TexGenNode_R1__C5_CopyOp_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Object *, cloneType,
|
||||
__osg_Object_P1__cloneType,
|
||||
"clone an object of the same type as the node. ",
|
||||
"");
|
||||
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
|
||||
__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,
|
||||
__bool__isSameKindAs__C5_osg_Object_P1,
|
||||
"return true if this and obj are of the same kind of object. ",
|
||||
"");
|
||||
I_Method0(const char *, className,
|
||||
__C5_char_P1__className,
|
||||
"return the name of the node's class type. ",
|
||||
"");
|
||||
I_Method0(const char *, libraryName,
|
||||
__C5_char_P1__libraryName,
|
||||
"return the name of the node's library. ",
|
||||
"");
|
||||
I_Method1(void, accept, IN, osg::NodeVisitor &, nv,
|
||||
__void__accept__osg_NodeVisitor_R1,
|
||||
"Visitor Pattern : calls the apply method of a NodeVisitor with this node's type. ",
|
||||
"");
|
||||
I_Method1(void, setReferenceFrame, IN, osg::TexGenNode::ReferenceFrame, rf,
|
||||
__void__setReferenceFrame__ReferenceFrame,
|
||||
"Set the TexGenNode's ReferenceFrame, either to be relative to its parent reference frame. ",
|
||||
"");
|
||||
I_Method0(osg::TexGenNode::ReferenceFrame, getReferenceFrame,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
"Ge thte TexGenNode's ReferenceFrame. ",
|
||||
"");
|
||||
I_Method1(void, setTextureUnit, IN, unsigned int, textureUnit,
|
||||
__void__setTextureUnit__unsigned_int,
|
||||
"Set the texture unit that this TexGenNode is associated with. ",
|
||||
"");
|
||||
I_Method0(unsigned int, getTextureUnit,
|
||||
__unsigned_int__getTextureUnit,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setTexGen, IN, osg::TexGen *, texgen,
|
||||
__void__setTexGen__TexGen_P1,
|
||||
"Set the TexGen. ",
|
||||
"");
|
||||
I_Method0(osg::TexGen *, getTexGen,
|
||||
__TexGen_P1__getTexGen,
|
||||
"Get the TexGen. ",
|
||||
"");
|
||||
I_Method0(const osg::TexGen *, getTexGen,
|
||||
__C5_TexGen_P1__getTexGen,
|
||||
"Get the const TexGen. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::TexGenNode::ReferenceFrame, ReferenceFrame,
|
||||
__ReferenceFrame__getReferenceFrame,
|
||||
__void__setReferenceFrame__ReferenceFrame);
|
||||
I_SimpleProperty(osg::TexGen *, TexGen,
|
||||
__TexGen_P1__getTexGen,
|
||||
__void__setTexGen__TexGen_P1);
|
||||
I_SimpleProperty(unsigned int, TextureUnit,
|
||||
__unsigned_int__getTextureUnit,
|
||||
__void__setTextureUnit__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user