Updated wrappers

This commit is contained in:
Robert Osfield
2006-06-29 10:19:44 +00:00
parent a6fbb7a044
commit ee72373bfa
38 changed files with 324 additions and 133 deletions

View File

@@ -155,6 +155,10 @@ SOURCE=..\..\..\src\osgWrappers\osg\CameraNode.cpp
SOURCE=..\..\..\src\osgWrappers\osg\CameraView.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgWrappers\osg\ClampColor.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgWrappers\osg\ClearNode.cpp
# End Source File
@@ -279,6 +283,10 @@ SOURCE=..\..\..\src\osgWrappers\osg\GraphicsThread.cpp
SOURCE=..\..\..\src\osgWrappers\osg\Group.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgWrappers\osg\Group.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgWrappers\osg\Image.cpp
# End Source File

View File

@@ -70,6 +70,7 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Array)
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
I_Method0(void, trim);
I_Method0(void, dirty);
I_Method1(void, setModifiedCount, IN, unsigned int, value);
I_Method0(unsigned int, getModifiedCount);
@@ -223,6 +224,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< GLfloat COMMA osg::Array::FloatArray
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -244,6 +246,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec2 COMMA osg::Array::Vec2Arra
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -265,6 +268,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec2b COMMA osg::Array::Vec2bAr
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -286,6 +290,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec2s COMMA osg::Array::Vec2sAr
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -307,6 +312,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec3 COMMA osg::Array::Vec3Arra
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -328,6 +334,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec3b COMMA osg::Array::Vec3bAr
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -349,6 +356,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec3s COMMA osg::Array::Vec3sAr
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -370,6 +378,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec4 COMMA osg::Array::Vec4Arra
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -391,6 +400,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec4b COMMA osg::Array::Vec4bAr
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -412,6 +422,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec4s COMMA osg::Array::Vec4sAr
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -433,6 +444,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec4ub COMMA osg::Array::Vec4ub
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -454,6 +466,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLbyte COMMA osg::Array::ByteAr
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -476,6 +489,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLint COMMA osg::Array::IntArra
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -498,6 +512,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLshort COMMA osg::Array::Short
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -520,6 +535,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLubyte COMMA osg::Array::UByte
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -542,6 +558,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLuint COMMA osg::Array::UIntAr
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);
@@ -564,6 +581,7 @@ BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLushort COMMA osg::Array::USho
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv);
I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv);
I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs);
I_Method0(void, trim);
I_Method0(const GLvoid *, getDataPointer);
I_Method0(unsigned int, getTotalDataSize);
I_Method0(unsigned int, getNumElements);

View File

@@ -0,0 +1,74 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/ClampColor>
#include <osg/CopyOp>
#include <osg/Object>
#include <osg/State>
#include <osg/StateAttribute>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_ENUM_REFLECTOR(osg::ClampColor::Target)
I_EnumLabel(osg::ClampColor::CLAMP_VERTEX_COLOR);
I_EnumLabel(osg::ClampColor::CLAMP_FRAGMENT_COLOR);
I_EnumLabel(osg::ClampColor::CLAMP_READ_COLOR);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osg::ClampColor::Mode)
I_EnumLabel(osg::ClampColor::FIXED_ONLY);
I_EnumLabel(osg::ClampColor::FALSE);
I_EnumLabel(osg::ClampColor::TRUE);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::ClampColor)
I_BaseType(osg::StateAttribute);
I_Constructor0();
I_Constructor2(IN, osg::ClampColor::Target, target, IN, osg::ClampColor::Mode, mode);
I_ConstructorWithDefaults2(IN, const osg::ClampColor &, 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(void, setTarget, IN, osg::ClampColor::Target, target);
I_Method0(osg::ClampColor::Target, getTarget);
I_Method1(void, setMode, IN, osg::ClampColor::Mode, mode);
I_Method0(osg::ClampColor::Mode, getMode);
I_Method1(void, apply, IN, osg::State &, state);
I_Property(osg::ClampColor::Mode, Mode);
I_Property(osg::ClampColor::Target, Target);
I_ReadOnlyProperty(osg::StateAttribute::Type, Type);
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);
END_REFLECTOR

View File

@@ -59,13 +59,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::ClipPlane >)
I_Constructor0();
I_Constructor1(IN, osg::ClipPlane *, t);
I_Constructor1(IN, osg::ClipPlane *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::ClipPlane > &, rp);
I_Method0(bool, valid);
I_Method0(osg::ClipPlane *, get);
I_Method0(const osg::ClipPlane *, get);
I_Method0(osg::ClipPlane *, take);
I_Method0(bool, valid);
I_Method0(osg::ClipPlane *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::ClipPlane > &, rp);
I_ReadOnlyProperty(osg::ClipPlane *, );
END_REFLECTOR

View File

@@ -91,13 +91,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateSet >)
I_Constructor0();
I_Constructor1(IN, osg::StateSet *, t);
I_Constructor1(IN, osg::StateSet *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::StateSet > &, rp);
I_Method0(bool, valid);
I_Method0(osg::StateSet *, get);
I_Method0(const osg::StateSet *, get);
I_Method0(osg::StateSet *, take);
I_Method0(bool, valid);
I_Method0(osg::StateSet *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::StateSet > &, rp);
I_ReadOnlyProperty(osg::StateSet *, );
END_REFLECTOR

View File

@@ -17,6 +17,7 @@ CXXFILES =\
BufferObject.cpp\
CameraNode.cpp\
CameraView.cpp\
ClampColor.cpp\
ClearNode.cpp\
ClipNode.cpp\
ClipPlane.cpp\
@@ -48,6 +49,7 @@ CXXFILES =\
GraphicsContext.cpp\
GraphicsThread.cpp\
Group.cpp\
Group.cpp\
Image.cpp\
ImageStream.cpp\
LOD.cpp\

View File

@@ -60,13 +60,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Drawable >)
I_Constructor0();
I_Constructor1(IN, osg::Drawable *, t);
I_Constructor1(IN, osg::Drawable *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::Drawable > &, rp);
I_Method0(bool, valid);
I_Method0(osg::Drawable *, get);
I_Method0(const osg::Drawable *, get);
I_Method0(osg::Drawable *, take);
I_Method0(bool, valid);
I_Method0(osg::Drawable *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::Drawable > &, rp);
I_ReadOnlyProperty(osg::Drawable *, );
END_REFLECTOR

View File

@@ -218,13 +218,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::PrimitiveSet >)
I_Constructor0();
I_Constructor1(IN, osg::PrimitiveSet *, t);
I_Constructor1(IN, osg::PrimitiveSet *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::PrimitiveSet > &, rp);
I_Method0(bool, valid);
I_Method0(osg::PrimitiveSet *, get);
I_Method0(const osg::PrimitiveSet *, get);
I_Method0(osg::PrimitiveSet *, take);
I_Method0(bool, valid);
I_Method0(osg::PrimitiveSet *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::PrimitiveSet > &, rp);
I_ReadOnlyProperty(osg::PrimitiveSet *, );
END_REFLECTOR

View File

@@ -84,13 +84,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::GraphicsThread::Operation >)
I_Constructor0();
I_Constructor1(IN, osg::GraphicsThread::Operation *, t);
I_Constructor1(IN, osg::GraphicsThread::Operation *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::GraphicsThread::Operation > &, rp);
I_Method0(bool, valid);
I_Method0(osg::GraphicsThread::Operation *, get);
I_Method0(const osg::GraphicsThread::Operation *, get);
I_Method0(osg::GraphicsThread::Operation *, take);
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 *, );
END_REFLECTOR

View File

@@ -11,7 +11,7 @@
#include <osg/BoundingSphere>
#include <osg/CopyOp>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/Node>
#include <osg/NodeVisitor>
#include <osg/Object>
@@ -26,6 +26,7 @@
#endif
BEGIN_OBJECT_REFLECTOR(osg::Group)
I_BaseType(osg::Node);
I_BaseType(osg::Node);
I_Constructor0();
I_ConstructorWithDefaults2(IN, const osg::Group &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY);
@@ -52,22 +53,87 @@ BEGIN_OBJECT_REFLECTOR(osg::Group)
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_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_Method1(bool, removeChild, IN, unsigned int, pos);
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);
END_REFLECTOR
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::Node > >, osg::NodeList);
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Node >)
BEGIN_OBJECT_REFLECTOR(osg::Group)
I_BaseType(osg::Node);
I_BaseType(osg::Node);
I_Constructor0();
I_Constructor1(IN, osg::Node *, t);
I_Constructor1(IN, const osg::ref_ptr< osg::Node > &, rp);
I_Method0(bool, valid);
I_Method0(osg::Node *, get);
I_Method0(const osg::Node *, get);
I_Method0(osg::Node *, take);
I_Method0(osg::Node *, release);
I_ReadOnlyProperty(osg::Node *, );
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_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_Method1(bool, removeChild, IN, unsigned int, pos);
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);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::Node > >);

View File

@@ -11,7 +11,7 @@
#include <osg/BoundingSphere>
#include <osg/CopyOp>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/Node>
#include <osg/NodeCallback>
#include <osg/NodeVisitor>

View File

@@ -17,7 +17,7 @@
#include <osg/CoordinateSystemNode>
#include <osg/FrameStamp>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/LOD>
#include <osg/LightSource>
#include <osg/MatrixTransform>

View File

@@ -337,13 +337,12 @@ TYPE_NAME_ALIAS(osg::HeightField, osg::Grid);
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Shape >)
I_Constructor0();
I_Constructor1(IN, osg::Shape *, t);
I_Constructor1(IN, osg::Shape *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::Shape > &, rp);
I_Method0(bool, valid);
I_Method0(osg::Shape *, get);
I_Method0(const osg::Shape *, get);
I_Method0(osg::Shape *, take);
I_Method0(bool, valid);
I_Method0(osg::Shape *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::Shape > &, rp);
I_ReadOnlyProperty(osg::Shape *, );
END_REFLECTOR

View File

@@ -80,6 +80,7 @@ BEGIN_ENUM_REFLECTOR(osg::StateAttribute::Type)
I_EnumLabel(osg::StateAttribute::FRAGMENTPROGRAM);
I_EnumLabel(osg::StateAttribute::POINTSPRITE);
I_EnumLabel(osg::StateAttribute::PROGRAM);
I_EnumLabel(osg::StateAttribute::CLAMPCOLOR);
I_EnumLabel(osg::StateAttribute::VALIDATOR);
I_EnumLabel(osg::StateAttribute::VIEWMATRIXEXTRACTOR);
I_EnumLabel(osg::StateAttribute::OSGNV_PARAMETER_BLOCK);

View File

@@ -172,25 +172,23 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::StateAttribute >)
I_Constructor0();
I_Constructor1(IN, osg::StateAttribute *, t);
I_Constructor1(IN, osg::StateAttribute *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::StateAttribute > &, rp);
I_Method0(bool, valid);
I_Method0(osg::StateAttribute *, get);
I_Method0(const osg::StateAttribute *, get);
I_Method0(osg::StateAttribute *, take);
I_Method0(bool, valid);
I_Method0(osg::StateAttribute *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::StateAttribute > &, rp);
I_ReadOnlyProperty(osg::StateAttribute *, );
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Uniform >)
I_Constructor0();
I_Constructor1(IN, osg::Uniform *, t);
I_Constructor1(IN, osg::Uniform *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::Uniform > &, rp);
I_Method0(bool, valid);
I_Method0(osg::Uniform *, get);
I_Method0(const osg::Uniform *, get);
I_Method0(osg::Uniform *, take);
I_Method0(bool, valid);
I_Method0(osg::Uniform *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::Uniform > &, rp);
I_ReadOnlyProperty(osg::Uniform *, );
END_REFLECTOR

View File

@@ -237,13 +237,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Texture::TextureObject >)
I_Constructor0();
I_Constructor1(IN, osg::Texture::TextureObject *, t);
I_Constructor1(IN, osg::Texture::TextureObject *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::Texture::TextureObject > &, rp);
I_Method0(bool, valid);
I_Method0(osg::Texture::TextureObject *, get);
I_Method0(const osg::Texture::TextureObject *, get);
I_Method0(osg::Texture::TextureObject *, take);
I_Method0(bool, valid);
I_Method0(osg::Texture::TextureObject *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::Texture::TextureObject > &, rp);
I_ReadOnlyProperty(osg::Texture::TextureObject *, );
END_REFLECTOR

View File

@@ -11,7 +11,7 @@
#include <osg/FrameStamp>
#include <osg/GraphicsThread>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/Node>
#include <osg/PagedLOD>
#include <osg/State>
@@ -114,13 +114,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::PagedLOD >)
I_Constructor0();
I_Constructor1(IN, osg::PagedLOD *, t);
I_Constructor1(IN, osg::PagedLOD *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::PagedLOD > &, rp);
I_Method0(bool, valid);
I_Method0(osg::PagedLOD *, get);
I_Method0(const osg::PagedLOD *, get);
I_Method0(osg::PagedLOD *, take);
I_Method0(bool, valid);
I_Method0(osg::PagedLOD *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::PagedLOD > &, rp);
I_ReadOnlyProperty(osg::PagedLOD *, );
END_REFLECTOR

View File

@@ -54,13 +54,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::GUIEventAdapter >)
I_Constructor0();
I_Constructor1(IN, osgGA::GUIEventAdapter *, t);
I_Constructor1(IN, osgGA::GUIEventAdapter *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgGA::GUIEventAdapter > &, rp);
I_Method0(bool, valid);
I_Method0(osgGA::GUIEventAdapter *, get);
I_Method0(const osgGA::GUIEventAdapter *, get);
I_Method0(osgGA::GUIEventAdapter *, take);
I_Method0(bool, valid);
I_Method0(osgGA::GUIEventAdapter *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgGA::GUIEventAdapter > &, rp);
I_ReadOnlyProperty(osgGA::GUIEventAdapter *, );
END_REFLECTOR

View File

@@ -11,7 +11,7 @@
#include <osg/Billboard>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/LOD>
#include <osg/LightSource>
#include <osg/Node>

View File

@@ -72,13 +72,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::GUIEventHandler >)
I_Constructor0();
I_Constructor1(IN, osgGA::GUIEventHandler *, t);
I_Constructor1(IN, osgGA::GUIEventHandler *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgGA::GUIEventHandler > &, rp);
I_Method0(bool, valid);
I_Method0(osgGA::GUIEventHandler *, get);
I_Method0(const osgGA::GUIEventHandler *, get);
I_Method0(osgGA::GUIEventHandler *, take);
I_Method0(bool, valid);
I_Method0(osgGA::GUIEventHandler *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgGA::GUIEventHandler > &, rp);
I_ReadOnlyProperty(osgGA::GUIEventHandler *, );
END_REFLECTOR

View File

@@ -81,13 +81,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgGA::MatrixManipulator >)
I_Constructor0();
I_Constructor1(IN, osgGA::MatrixManipulator *, t);
I_Constructor1(IN, osgGA::MatrixManipulator *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgGA::MatrixManipulator > &, rp);
I_Method0(bool, valid);
I_Method0(osgGA::MatrixManipulator *, get);
I_Method0(const osgGA::MatrixManipulator *, get);
I_Method0(osgGA::MatrixManipulator *, take);
I_Method0(bool, valid);
I_Method0(osgGA::MatrixManipulator *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgGA::MatrixManipulator > &, rp);
I_ReadOnlyProperty(osgGA::MatrixManipulator *, );
END_REFLECTOR

View File

@@ -14,7 +14,7 @@
#include <osg/CullSettings>
#include <osg/DisplaySettings>
#include <osg/FrameStamp>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/Matrixd>
#include <osg/Node>
#include <osg/StateSet>
@@ -115,13 +115,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgProducer::GraphicsContextImplementation >)
I_Constructor0();
I_Constructor1(IN, osgProducer::GraphicsContextImplementation *, t);
I_Constructor1(IN, osgProducer::GraphicsContextImplementation *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgProducer::GraphicsContextImplementation > &, rp);
I_Method0(bool, valid);
I_Method0(osgProducer::GraphicsContextImplementation *, get);
I_Method0(const osgProducer::GraphicsContextImplementation *, get);
I_Method0(osgProducer::GraphicsContextImplementation *, take);
I_Method0(bool, valid);
I_Method0(osgProducer::GraphicsContextImplementation *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgProducer::GraphicsContextImplementation > &, rp);
I_ReadOnlyProperty(osgProducer::GraphicsContextImplementation *, );
END_REFLECTOR

View File

@@ -52,13 +52,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgSim::ImpostorSprite >)
I_Constructor0();
I_Constructor1(IN, osgSim::ImpostorSprite *, t);
I_Constructor1(IN, osgSim::ImpostorSprite *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgSim::ImpostorSprite > &, rp);
I_Method0(bool, valid);
I_Method0(osgSim::ImpostorSprite *, get);
I_Method0(const osgSim::ImpostorSprite *, get);
I_Method0(osgSim::ImpostorSprite *, take);
I_Method0(bool, valid);
I_Method0(osgSim::ImpostorSprite *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgSim::ImpostorSprite > &, rp);
I_ReadOnlyProperty(osgSim::ImpostorSprite *, );
END_REFLECTOR

View File

@@ -9,7 +9,7 @@
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/LOD>
#include <osg/Node>
#include <osgSim/InsertImpostorsVisitor>

View File

@@ -54,6 +54,8 @@ BEGIN_OBJECT_REFLECTOR(osgSim::LightPointNode)
I_Method0(float, getMaxVisibleDistance2);
I_Method1(void, setLightPointSystem, IN, osgSim::LightPointSystem *, lps);
I_Method0(osgSim::LightPointSystem *, getLightPointSystem);
I_MethodWithDefaults1(void, setPointSprite, IN, bool, enable, true);
I_Method0(bool, getPointSprite);
I_Method0(osg::BoundingSphere, computeBound);
I_ArrayProperty_GA(const osgSim::LightPoint &, LightPoint, LightPoints, unsigned int, unsigned int);
I_Property(const osgSim::LightPointNode::LightPointList &, LightPointList);
@@ -61,6 +63,7 @@ BEGIN_OBJECT_REFLECTOR(osgSim::LightPointNode)
I_Property(float, MaxPixelSize);
I_Property(float, MaxVisibleDistance2);
I_Property(float, MinPixelSize);
I_Property(bool, PointSprite);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osgSim::LightPoint >);

View File

@@ -10,7 +10,7 @@
#include <osgIntrospection/Attributes>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/Node>
#include <osgSim/OpenFlightOptimizer>

View File

@@ -88,13 +88,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Vec3Array >)
I_Constructor0();
I_Constructor1(IN, osg::Vec3Array *, t);
I_Constructor1(IN, osg::Vec3Array *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::Vec3Array > &, rp);
I_Method0(bool, valid);
I_Method0(osg::Vec3Array *, get);
I_Method0(const osg::Vec3Array *, get);
I_Method0(osg::Vec3Array *, take);
I_Method0(bool, valid);
I_Method0(osg::Vec3Array *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::Vec3Array > &, rp);
I_ReadOnlyProperty(osg::Vec3Array *, );
END_REFLECTOR

View File

@@ -443,61 +443,56 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::Image >)
I_Constructor0();
I_Constructor1(IN, osg::Image *, t);
I_Constructor1(IN, osg::Image *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::Image > &, rp);
I_Method0(bool, valid);
I_Method0(osg::Image *, get);
I_Method0(const osg::Image *, get);
I_Method0(osg::Image *, take);
I_Method0(bool, valid);
I_Method0(osg::Image *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::Image > &, rp);
I_ReadOnlyProperty(osg::Image *, );
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgTerrain::DataSet::CompositeDestination >)
I_Constructor0();
I_Constructor1(IN, osgTerrain::DataSet::CompositeDestination *, t);
I_Constructor1(IN, osgTerrain::DataSet::CompositeDestination *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgTerrain::DataSet::CompositeDestination > &, rp);
I_Method0(bool, valid);
I_Method0(osgTerrain::DataSet::CompositeDestination *, get);
I_Method0(const osgTerrain::DataSet::CompositeDestination *, get);
I_Method0(osgTerrain::DataSet::CompositeDestination *, take);
I_Method0(bool, valid);
I_Method0(osgTerrain::DataSet::CompositeDestination *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgTerrain::DataSet::CompositeDestination > &, rp);
I_ReadOnlyProperty(osgTerrain::DataSet::CompositeDestination *, );
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgTerrain::DataSet::CompositeSource >)
I_Constructor0();
I_Constructor1(IN, osgTerrain::DataSet::CompositeSource *, t);
I_Constructor1(IN, osgTerrain::DataSet::CompositeSource *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgTerrain::DataSet::CompositeSource > &, rp);
I_Method0(bool, valid);
I_Method0(osgTerrain::DataSet::CompositeSource *, get);
I_Method0(const osgTerrain::DataSet::CompositeSource *, get);
I_Method0(osgTerrain::DataSet::CompositeSource *, take);
I_Method0(bool, valid);
I_Method0(osgTerrain::DataSet::CompositeSource *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgTerrain::DataSet::CompositeSource > &, rp);
I_ReadOnlyProperty(osgTerrain::DataSet::CompositeSource *, );
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgTerrain::DataSet::DestinationTile >)
I_Constructor0();
I_Constructor1(IN, osgTerrain::DataSet::DestinationTile *, t);
I_Constructor1(IN, osgTerrain::DataSet::DestinationTile *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgTerrain::DataSet::DestinationTile > &, rp);
I_Method0(bool, valid);
I_Method0(osgTerrain::DataSet::DestinationTile *, get);
I_Method0(const osgTerrain::DataSet::DestinationTile *, get);
I_Method0(osgTerrain::DataSet::DestinationTile *, take);
I_Method0(bool, valid);
I_Method0(osgTerrain::DataSet::DestinationTile *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgTerrain::DataSet::DestinationTile > &, rp);
I_ReadOnlyProperty(osgTerrain::DataSet::DestinationTile *, );
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgTerrain::DataSet::Source >)
I_Constructor0();
I_Constructor1(IN, osgTerrain::DataSet::Source *, t);
I_Constructor1(IN, osgTerrain::DataSet::Source *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgTerrain::DataSet::Source > &, rp);
I_Method0(bool, valid);
I_Method0(osgTerrain::DataSet::Source *, get);
I_Method0(const osgTerrain::DataSet::Source *, get);
I_Method0(osgTerrain::DataSet::Source *, take);
I_Method0(bool, valid);
I_Method0(osgTerrain::DataSet::Source *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgTerrain::DataSet::Source > &, rp);
I_ReadOnlyProperty(osgTerrain::DataSet::Source *, );
END_REFLECTOR

View File

@@ -80,6 +80,25 @@ BEGIN_ENUM_REFLECTOR(osgText::Text::DrawModeMask)
I_EnumLabel(osgText::Text::ALIGNMENT);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgText::Text::BackdropType)
I_EnumLabel(osgText::Text::DROP_SHADOW_BOTTOM_RIGHT);
I_EnumLabel(osgText::Text::DROP_SHADOW_CENTER_RIGHT);
I_EnumLabel(osgText::Text::DROP_SHADOW_TOP_RIGHT);
I_EnumLabel(osgText::Text::DROP_SHADOW_BOTTOM_CENTER);
I_EnumLabel(osgText::Text::DROP_SHADOW_TOP_CENTER);
I_EnumLabel(osgText::Text::DROP_SHADOW_BOTTOM_LEFT);
I_EnumLabel(osgText::Text::DROP_SHADOW_CENTER_LEFT);
I_EnumLabel(osgText::Text::DROP_SHADOW_TOP_LEFT);
I_EnumLabel(osgText::Text::OUTLINE);
I_EnumLabel(osgText::Text::NONE);
END_REFLECTOR
BEGIN_ENUM_REFLECTOR(osgText::Text::ColorGradientMode)
I_EnumLabel(osgText::Text::SOLID);
I_EnumLabel(osgText::Text::PER_CHARACTER);
I_EnumLabel(osgText::Text::OVERALL);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgText::Text)
I_BaseType(osg::Drawable);
I_Constructor0();
@@ -126,6 +145,21 @@ BEGIN_OBJECT_REFLECTOR(osgText::Text)
I_Method0(const osg::Vec4 &, getColor);
I_Method1(void, setDrawMode, IN, unsigned int, mode);
I_Method0(unsigned int, getDrawMode);
I_Method1(void, setBackdropType, IN, osgText::Text::BackdropType, type);
I_Method0(osgText::Text::BackdropType, getBackdropType);
I_MethodWithDefaults1(void, setBackdropOffset, IN, float, offset, 0.07f);
I_Method2(void, setBackdropOffset, IN, float, horizontal, IN, float, vertical);
I_Method0(float, getBackdropHorizontalOffet);
I_Method0(float, getBackdropVerticalOffset);
I_Method1(void, setBackdropColor, IN, const osg::Vec4 &, color);
I_Method0(const osg::Vec4 &, getBackdropColor);
I_Method1(void, setColorGradientMode, IN, osgText::Text::ColorGradientMode, mode);
I_Method0(osgText::Text::ColorGradientMode, getColorGradientMode);
I_Method4(void, setColorGradientCorners, IN, const osg::Vec4 &, topLeft, IN, const osg::Vec4 &, bottomLeft, IN, const osg::Vec4 &, bottomRight, IN, const osg::Vec4 &, topRight);
I_Method0(const osg::Vec4 &, getColorGradientTopLeft);
I_Method0(const osg::Vec4 &, getColorGradientBottomLeft);
I_Method0(const osg::Vec4 &, getColorGradientBottomRight);
I_Method0(const osg::Vec4 &, getColorGradientTopRight);
I_Method1(void, setKerningType, IN, osgText::KerningType, kerningType);
I_Method0(osgText::KerningType, getKerningType);
I_Method0(unsigned int, getLineCount);
@@ -142,10 +176,20 @@ BEGIN_OBJECT_REFLECTOR(osgText::Text)
I_Property(osgText::Text::AlignmentType, Alignment);
I_Property(bool, AutoRotateToScreen);
I_WriteOnlyProperty(osgText::Text::AxisAlignment, AxisAlignment);
I_Property(const osg::Vec4 &, BackdropColor);
I_ReadOnlyProperty(float, BackdropHorizontalOffet);
I_WriteOnlyProperty(float, BackdropOffset);
I_Property(osgText::Text::BackdropType, BackdropType);
I_ReadOnlyProperty(float, BackdropVerticalOffset);
I_ReadOnlyProperty(float, CharacterAspectRatio);
I_ReadOnlyProperty(float, CharacterHeight);
I_Property(osgText::Text::CharacterSizeMode, CharacterSizeMode);
I_Property(const osg::Vec4 &, Color);
I_ReadOnlyProperty(const osg::Vec4 &, ColorGradientBottomLeft);
I_ReadOnlyProperty(const osg::Vec4 &, ColorGradientBottomRight);
I_Property(osgText::Text::ColorGradientMode, ColorGradientMode);
I_ReadOnlyProperty(const osg::Vec4 &, ColorGradientTopLeft);
I_ReadOnlyProperty(const osg::Vec4 &, ColorGradientTopRight);
I_Property(unsigned int, DrawMode);
I_WriteOnlyProperty(osgText::Font *, Font);
I_ReadOnlyProperty(unsigned int, FontHeight);
@@ -171,6 +215,8 @@ TYPE_NAME_ALIAS(std::vector< osg::Vec3 >, osgText::Text::GlyphQuads::Coords3);
TYPE_NAME_ALIAS(std::vector< osg::Vec2 >, osgText::Text::GlyphQuads::TexCoords);
TYPE_NAME_ALIAS(std::vector< osg::Vec4 >, osgText::Text::GlyphQuads::ColorCoords);
BEGIN_VALUE_REFLECTOR(osgText::Text::GlyphQuads)
I_Constructor0();
I_Method0(osgText::Text::GlyphQuads::Glyphs, getGlyphs);

View File

@@ -16,7 +16,7 @@
#include <osg/ClipNode>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/LOD>
#include <osg/LightSource>
#include <osg/Matrix>

View File

@@ -65,13 +65,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::DelaunayConstraint >)
I_Constructor0();
I_Constructor1(IN, osgUtil::DelaunayConstraint *, t);
I_Constructor1(IN, osgUtil::DelaunayConstraint *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgUtil::DelaunayConstraint > &, rp);
I_Method0(bool, valid);
I_Method0(osgUtil::DelaunayConstraint *, get);
I_Method0(const osgUtil::DelaunayConstraint *, get);
I_Method0(osgUtil::DelaunayConstraint *, take);
I_Method0(bool, valid);
I_Method0(osgUtil::DelaunayConstraint *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::DelaunayConstraint > &, rp);
I_ReadOnlyProperty(osgUtil::DelaunayConstraint *, );
END_REFLECTOR

View File

@@ -13,7 +13,7 @@
#include <osg/CameraNode>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/LOD>
#include <osg/LineSegment>
#include <osg/Matrix>

View File

@@ -12,7 +12,7 @@
#include <osg/Billboard>
#include <osg/Drawable>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/LOD>
#include <osg/MatrixTransform>
#include <osg/Node>

View File

@@ -47,13 +47,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::RefMatrix >)
I_Constructor0();
I_Constructor1(IN, osg::RefMatrix *, t);
I_Constructor1(IN, osg::RefMatrix *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osg::RefMatrix > &, rp);
I_Method0(bool, valid);
I_Method0(osg::RefMatrix *, get);
I_Method0(const osg::RefMatrix *, get);
I_Method0(osg::RefMatrix *, take);
I_Method0(bool, valid);
I_Method0(osg::RefMatrix *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osg::RefMatrix > &, rp);
I_ReadOnlyProperty(osg::RefMatrix *, );
END_REFLECTOR

View File

@@ -110,13 +110,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::RenderBin >)
I_Constructor0();
I_Constructor1(IN, osgUtil::RenderBin *, t);
I_Constructor1(IN, osgUtil::RenderBin *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgUtil::RenderBin > &, rp);
I_Method0(bool, valid);
I_Method0(osgUtil::RenderBin *, get);
I_Method0(const osgUtil::RenderBin *, get);
I_Method0(osgUtil::RenderBin *, take);
I_Method0(bool, valid);
I_Method0(osgUtil::RenderBin *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::RenderBin > &, rp);
I_ReadOnlyProperty(osgUtil::RenderBin *, );
END_REFLECTOR

View File

@@ -55,25 +55,23 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::RenderLeaf >)
I_Constructor0();
I_Constructor1(IN, osgUtil::RenderLeaf *, t);
I_Constructor1(IN, osgUtil::RenderLeaf *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgUtil::RenderLeaf > &, rp);
I_Method0(bool, valid);
I_Method0(osgUtil::RenderLeaf *, get);
I_Method0(const osgUtil::RenderLeaf *, get);
I_Method0(osgUtil::RenderLeaf *, take);
I_Method0(bool, valid);
I_Method0(osgUtil::RenderLeaf *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::RenderLeaf > &, rp);
I_ReadOnlyProperty(osgUtil::RenderLeaf *, );
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::StateGraph >)
I_Constructor0();
I_Constructor1(IN, osgUtil::StateGraph *, t);
I_Constructor1(IN, osgUtil::StateGraph *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgUtil::StateGraph > &, rp);
I_Method0(bool, valid);
I_Method0(osgUtil::StateGraph *, get);
I_Method0(const osgUtil::StateGraph *, get);
I_Method0(osgUtil::StateGraph *, take);
I_Method0(bool, valid);
I_Method0(osgUtil::StateGraph *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::StateGraph > &, rp);
I_ReadOnlyProperty(osgUtil::StateGraph *, );
END_REFLECTOR

View File

@@ -75,13 +75,12 @@ END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgUtil::Tesselator::Prim >)
I_Constructor0();
I_Constructor1(IN, osgUtil::Tesselator::Prim *, t);
I_Constructor1(IN, osgUtil::Tesselator::Prim *, ptr);
I_Constructor1(IN, const osg::ref_ptr< osgUtil::Tesselator::Prim > &, rp);
I_Method0(bool, valid);
I_Method0(osgUtil::Tesselator::Prim *, get);
I_Method0(const osgUtil::Tesselator::Prim *, get);
I_Method0(osgUtil::Tesselator::Prim *, take);
I_Method0(bool, valid);
I_Method0(osgUtil::Tesselator::Prim *, release);
I_Method1(void, swap, IN, osg::ref_ptr< osgUtil::Tesselator::Prim > &, rp);
I_ReadOnlyProperty(osgUtil::Tesselator::Prim *, );
END_REFLECTOR

View File

@@ -11,7 +11,7 @@
#include <osg/Billboard>
#include <osg/Geode>
#include <osg/Group>
#include <osg/Group.bkp>
#include <osg/LOD>
#include <osg/LightSource>
#include <osg/Node>