From 96a80666c978634c83da8f93b71154e1a90be644 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 19 Jun 2008 20:42:10 +0000 Subject: [PATCH] Updated wrappers --- genwrapper.conf | 138 +- src/osgWrappers/osg/Array.cpp | 1787 ----------------- src/osgWrappers/osg/PrimitiveSet.cpp | 500 ----- .../osgShadow/ParallelSplitShadowMap.cpp | 51 +- src/osgWrappers/osgUtil/SceneView.cpp | 16 +- 5 files changed, 88 insertions(+), 2404 deletions(-) diff --git a/genwrapper.conf b/genwrapper.conf index 065e4e650..f0a957d25 100644 --- a/genwrapper.conf +++ b/genwrapper.conf @@ -90,22 +90,6 @@ end # Doxygen fails to detect that std::vector is a base class for # osg::Vector*, so we need to specify that manually -configure reflector "osg::VectorGLsizei" - add base "std::vector" -end - -configure reflector "osg::VectorGLubyte" - add base "std::vector" -end - -configure reflector "osg::VectorGLushort" - add base "std::vector" -end - -configure reflector "osg::VectorGLuint" - add base "std::vector" -end - configure reflector "osgText::VectorUInt" add base "std::vector" end @@ -113,99 +97,45 @@ end ############################################################################# -# Doxygen fails to detect that std::vector is a base class for -# TemplateArray<> and TemplateIndexArray<> templates, so we need -# to specify that manually +# Doxygen/genwrapper is not coping with the new MixinVector so disable associated wrappers -configure reflector /osg::TemplateIndexArray< GLbyte.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateIndexArray< GLubyte.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateIndexArray< GLshort.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateIndexArray< GLushort.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateIndexArray< GLint.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateIndexArray< GLuint.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateArray< GLfloat.*/ - add base "std::vector" -end +suppress reflector /osg::TemplateIndexArray< GLbyte.*/ +suppress reflector /osg::TemplateIndexArray< GLubyte.*/ +suppress reflector /osg::TemplateIndexArray< GLshort.*/ +suppress reflector /osg::TemplateIndexArray< GLushort.*/ +suppress reflector /osg::TemplateIndexArray< GLint.*/ +suppress reflector /osg::TemplateIndexArray< GLuint.*/ +suppress reflector /osg::TemplateArray< GLfloat.*/ +suppress reflector /osg::TemplateArray< GLdouble.*/ +suppress reflector /osg::TemplateArray< osg::Vec2\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec3\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec4\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec2d\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec3d\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec4d\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec2b\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec3b\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec4b\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec2s\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec3s\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec4s\s*\,.*/ +suppress reflector /osg::TemplateArray< osg::Vec4ub\s*\,.*/ -configure reflector /osg::TemplateArray< osg::Vec2\s*\,.*/ - add base "std::vector" -end +suppress reflector "osg::DrawArrayLengths" +suppress reflector "osg::DrawElementsUByte" +suppress reflector "osg::DrawElementsUShort" +suppress reflector "osg::DrawElementsUInt" -configure reflector /osg::TemplateArray< osg::Vec3\s*\,.*/ - add base "std::vector" -end +suppress reflector "osg::VectorGLsizei" +suppress reflector "osg::VectorGLubyte" +suppress reflector "osg::VectorGLushort" +suppress reflector "osg::VectorGLuint" -configure reflector /osg::TemplateArray< osg::Vec4\s*\,.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateArray< osg::Vec2b\s*\,.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateArray< osg::Vec3b\s*\,.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateArray< osg::Vec4b\s*\,.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateArray< osg::Vec2s\s*\,.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateArray< osg::Vec3s\s*\,.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateArray< osg::Vec4s\s*\,.*/ - add base "std::vector" -end - -configure reflector /osg::TemplateArray< osg::Vec4ub\s*\,.*/ - add base "std::vector" -end - -configure file "osg/Array" - emit after " - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - " -end +suppress reflector "osg::MixinVector< GLsizei >" +suppress reflector "osg::MixinVector< GLubyte >" +suppress reflector "osg::MixinVector< GLushort >" +suppress reflector "osg::MixinVector< GLuint >" ############################################################################# diff --git a/src/osgWrappers/osg/Array.cpp b/src/osgWrappers/osg/Array.cpp index ba1a4b13f..85702b30c 100644 --- a/src/osgWrappers/osg/Array.cpp +++ b/src/osgWrappers/osg/Array.cpp @@ -737,1790 +737,3 @@ TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec3d COMMA osg::Array::Vec3dArrayType TYPE_NAME_ALIAS(osg::TemplateArray< osg::Vec4d COMMA osg::Array::Vec4dArrayType COMMA 4 COMMA GL_DOUBLE >, osg::Vec4dArray) -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< GLdouble COMMA osg::Array::DoubleArrayType COMMA 1 COMMA GL_DOUBLE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< GLdouble COMMA osg::Array::DoubleArrayType COMMA 1 COMMA GL_DOUBLE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, GLdouble *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< GLfloat COMMA osg::Array::FloatArrayType COMMA 1 COMMA GL_FLOAT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< GLfloat COMMA osg::Array::FloatArrayType COMMA 1 COMMA GL_FLOAT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, GLfloat *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec2 COMMA osg::Array::Vec2ArrayType COMMA 2 COMMA GL_FLOAT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec2 COMMA osg::Array::Vec2ArrayType COMMA 2 COMMA GL_FLOAT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec2 *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec2b COMMA osg::Array::Vec2bArrayType COMMA 2 COMMA GL_BYTE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec2b COMMA osg::Array::Vec2bArrayType COMMA 2 COMMA GL_BYTE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec2b *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec2d COMMA osg::Array::Vec2dArrayType COMMA 2 COMMA GL_DOUBLE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec2d COMMA osg::Array::Vec2dArrayType COMMA 2 COMMA GL_DOUBLE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec2d *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec2s COMMA osg::Array::Vec2sArrayType COMMA 2 COMMA GL_SHORT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec2s COMMA osg::Array::Vec2sArrayType COMMA 2 COMMA GL_SHORT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec2s *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec3 COMMA osg::Array::Vec3ArrayType COMMA 3 COMMA GL_FLOAT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec3 COMMA osg::Array::Vec3ArrayType COMMA 3 COMMA GL_FLOAT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec3 *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec3b COMMA osg::Array::Vec3bArrayType COMMA 3 COMMA GL_BYTE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec3b COMMA osg::Array::Vec3bArrayType COMMA 3 COMMA GL_BYTE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec3b *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec3d COMMA osg::Array::Vec3dArrayType COMMA 3 COMMA GL_DOUBLE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec3d COMMA osg::Array::Vec3dArrayType COMMA 3 COMMA GL_DOUBLE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec3d *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec3s COMMA osg::Array::Vec3sArrayType COMMA 3 COMMA GL_SHORT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec3s COMMA osg::Array::Vec3sArrayType COMMA 3 COMMA GL_SHORT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec3s *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec4 COMMA osg::Array::Vec4ArrayType COMMA 4 COMMA GL_FLOAT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec4 COMMA osg::Array::Vec4ArrayType COMMA 4 COMMA GL_FLOAT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec4 *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec4b COMMA osg::Array::Vec4bArrayType COMMA 4 COMMA GL_BYTE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec4b COMMA osg::Array::Vec4bArrayType COMMA 4 COMMA GL_BYTE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec4b *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec4d COMMA osg::Array::Vec4dArrayType COMMA 4 COMMA GL_DOUBLE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec4d COMMA osg::Array::Vec4dArrayType COMMA 4 COMMA GL_DOUBLE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec4d *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec4s COMMA osg::Array::Vec4sArrayType COMMA 4 COMMA GL_SHORT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec4s COMMA osg::Array::Vec4sArrayType COMMA 4 COMMA GL_SHORT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec4s *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateArray< osg::Vec4ub COMMA osg::Array::Vec4ubArrayType COMMA 4 COMMA GL_UNSIGNED_BYTE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::Array); - I_BaseType(std::vector); - I_Constructor0(____TemplateArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateArray< osg::Vec4ub COMMA osg::Array::Vec4ubArrayType COMMA 4 COMMA GL_UNSIGNED_BYTE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateArray__C5_TemplateArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, osg::Vec4ub *, ptr, - ____TemplateArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLbyte COMMA osg::Array::ByteArrayType COMMA 1 COMMA GL_BYTE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::IndexArray); - I_BaseType(std::vector); - I_Constructor0(____TemplateIndexArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateIndexArray< GLbyte COMMA osg::Array::ByteArrayType COMMA 1 COMMA GL_BYTE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateIndexArray__C5_TemplateIndexArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateIndexArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, GLbyte *, ptr, - ____TemplateIndexArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLint COMMA osg::Array::IntArrayType COMMA 1 COMMA GL_INT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::IndexArray); - I_BaseType(std::vector); - I_Constructor0(____TemplateIndexArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateIndexArray< GLint COMMA osg::Array::IntArrayType COMMA 1 COMMA GL_INT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateIndexArray__C5_TemplateIndexArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateIndexArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, GLint *, ptr, - ____TemplateIndexArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLshort COMMA osg::Array::ShortArrayType COMMA 1 COMMA GL_SHORT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::IndexArray); - I_BaseType(std::vector); - I_Constructor0(____TemplateIndexArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateIndexArray< GLshort COMMA osg::Array::ShortArrayType COMMA 1 COMMA GL_SHORT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateIndexArray__C5_TemplateIndexArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateIndexArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, GLshort *, ptr, - ____TemplateIndexArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLubyte COMMA osg::Array::UByteArrayType COMMA 1 COMMA GL_UNSIGNED_BYTE >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::IndexArray); - I_BaseType(std::vector); - I_Constructor0(____TemplateIndexArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateIndexArray< GLubyte COMMA osg::Array::UByteArrayType COMMA 1 COMMA GL_UNSIGNED_BYTE > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateIndexArray__C5_TemplateIndexArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateIndexArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, GLubyte *, ptr, - ____TemplateIndexArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLuint COMMA osg::Array::UIntArrayType COMMA 1 COMMA GL_UNSIGNED_INT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::IndexArray); - I_BaseType(std::vector); - I_Constructor0(____TemplateIndexArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateIndexArray< GLuint COMMA osg::Array::UIntArrayType COMMA 1 COMMA GL_UNSIGNED_INT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateIndexArray__C5_TemplateIndexArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateIndexArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, GLuint *, ptr, - ____TemplateIndexArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::TemplateIndexArray< GLushort COMMA osg::Array::UShortArrayType COMMA 1 COMMA GL_UNSIGNED_SHORT >) - I_DeclaringFile("osg/Array"); - I_BaseType(osg::IndexArray); - I_BaseType(std::vector); - I_Constructor0(____TemplateIndexArray, - "", - ""); - I_ConstructorWithDefaults2(IN, const osg::TemplateIndexArray< GLushort COMMA osg::Array::UShortArrayType COMMA 1 COMMA GL_UNSIGNED_SHORT > &, ta, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, - ____TemplateIndexArray__C5_TemplateIndexArray_R1__C5_CopyOp_R1, - "", - ""); - I_Constructor1(IN, unsigned int, no, - Properties::NON_EXPLICIT, - ____TemplateIndexArray__unsigned_int, - "", - ""); - I_Constructor2(IN, unsigned int, no, IN, GLushort *, ptr, - ____TemplateIndexArray__unsigned_int__T_P1, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __Object_P1__clone__C5_CopyOp_R1, - "Clone an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(void, accept, IN, osg::ArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ArrayVisitor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::ConstArrayVisitor &, av, - Properties::VIRTUAL, - __void__accept__ConstArrayVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ValueVisitor_R1, - "", - ""); - I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, vv, - Properties::VIRTUAL, - __void__accept__unsigned_int__ConstValueVisitor_R1, - "", - ""); - I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, - Properties::VIRTUAL, - __int__compare__unsigned_int__unsigned_int, - "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", - ""); - I_Method0(void, trim, - Properties::VIRTUAL, - __void__trim, - "Frees unused space on this vector - i.e. ", - "the difference between size() and max_size() of the underlying vector. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(unsigned int, getNumElements, - Properties::VIRTUAL, - __unsigned_int__getNumElements, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_SimpleProperty(const GLvoid *, DataPointer, - __C5_GLvoid_P1__getDataPointer, - 0); - I_SimpleProperty(unsigned int, TotalDataSize, - __unsigned_int__getTotalDataSize, - 0); -END_REFLECTOR - - - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - STD_VECTOR_REFLECTOR(std::vector) - diff --git a/src/osgWrappers/osg/PrimitiveSet.cpp b/src/osgWrappers/osg/PrimitiveSet.cpp index 6598e7e53..12e81f54d 100644 --- a/src/osgWrappers/osg/PrimitiveSet.cpp +++ b/src/osgWrappers/osg/PrimitiveSet.cpp @@ -32,106 +32,6 @@ TYPE_NAME_ALIAS(osg::VectorGLsizei, osg::DrawArrayLengths::vector_type) -BEGIN_OBJECT_REFLECTOR(osg::DrawArrayLengths) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(osg::PrimitiveSet); - I_BaseType(osg::VectorGLsizei); - I_ConstructorWithDefaults1(IN, GLenum, mode, 0, - Properties::NON_EXPLICIT, - ____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, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __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, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method1(void, setFirst, IN, GLint, first, - Properties::NON_VIRTUAL, - __void__setFirst__GLint, - "", - ""); - I_Method0(GLint, getFirst, - Properties::NON_VIRTUAL, - __GLint__getFirst, - "", - ""); - I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects, - Properties::VIRTUAL, - __void__draw__State_R1__bool, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveFunctor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveIndexFunctor_R1, - "", - ""); - I_Method0(unsigned int, getNumIndices, - Properties::VIRTUAL, - __unsigned_int__getNumIndices, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_Method1(void, offsetIndices, IN, int, offset, - Properties::VIRTUAL, - __void__offsetIndices__int, - "", - ""); - I_Method0(unsigned int, getNumPrimitives, - Properties::VIRTUAL, - __unsigned_int__getNumPrimitives, - "", - ""); - I_SimpleProperty(GLint, First, - __GLint__getFirst, - __void__setFirst__GLint); -END_REFLECTOR - BEGIN_OBJECT_REFLECTOR(osg::DrawArrays) I_DeclaringFile("osg/PrimitiveSet"); I_BaseType(osg::PrimitiveSet); @@ -310,322 +210,10 @@ END_REFLECTOR TYPE_NAME_ALIAS(osg::VectorGLubyte, osg::DrawElementsUByte::vector_type) -BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUByte) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(osg::DrawElements); - I_BaseType(osg::VectorGLubyte); - I_ConstructorWithDefaults1(IN, GLenum, mode, 0, - Properties::NON_EXPLICIT, - ____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, const GLubyte *, ptr, - ____DrawElementsUByte__GLenum__unsigned_int__C5_GLubyte_P1, - "", - ""); - I_Constructor2(IN, GLenum, mode, IN, unsigned int, no, - ____DrawElementsUByte__GLenum__unsigned_int, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __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, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(bool, supportsBufferObject, - Properties::VIRTUAL, - __bool__supportsBufferObject, - "", - ""); - I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects, - Properties::VIRTUAL, - __void__draw__State_R1__bool, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveFunctor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveIndexFunctor_R1, - "", - ""); - I_Method0(unsigned int, getNumIndices, - Properties::VIRTUAL, - __unsigned_int__getNumIndices, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_Method1(void, offsetIndices, IN, int, offset, - Properties::VIRTUAL, - __void__offsetIndices__int, - "", - ""); - I_Method0(void, computeRange, - Properties::VIRTUAL, - __void__computeRange, - "", - ""); - 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) -BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUInt) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(osg::DrawElements); - I_BaseType(osg::VectorGLuint); - I_ConstructorWithDefaults1(IN, GLenum, mode, 0, - Properties::NON_EXPLICIT, - ____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, const GLuint *, ptr, - ____DrawElementsUInt__GLenum__unsigned_int__C5_GLuint_P1, - "", - ""); - I_Constructor2(IN, GLenum, mode, IN, unsigned int, no, - ____DrawElementsUInt__GLenum__unsigned_int, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __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, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(bool, supportsBufferObject, - Properties::VIRTUAL, - __bool__supportsBufferObject, - "", - ""); - I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects, - Properties::VIRTUAL, - __void__draw__State_R1__bool, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveFunctor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveIndexFunctor_R1, - "", - ""); - I_Method0(unsigned int, getNumIndices, - Properties::VIRTUAL, - __unsigned_int__getNumIndices, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_Method1(void, offsetIndices, IN, int, offset, - Properties::VIRTUAL, - __void__offsetIndices__int, - "", - ""); - I_Method0(void, computeRange, - Properties::VIRTUAL, - __void__computeRange, - "", - ""); - 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) -BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUShort) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(osg::DrawElements); - I_BaseType(osg::VectorGLushort); - I_ConstructorWithDefaults1(IN, GLenum, mode, 0, - Properties::NON_EXPLICIT, - ____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, const GLushort *, ptr, - ____DrawElementsUShort__GLenum__unsigned_int__C5_GLushort_P1, - "", - ""); - I_Constructor2(IN, GLenum, mode, IN, unsigned int, no, - ____DrawElementsUShort__GLenum__unsigned_int, - "", - ""); - I_Method0(osg::Object *, cloneType, - Properties::VIRTUAL, - __Object_P1__cloneType, - "Clone the type of an object, with Object* return type. ", - "Must be defined by derived classes. "); - I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, - Properties::VIRTUAL, - __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, - Properties::VIRTUAL, - __bool__isSameKindAs__C5_Object_P1, - "", - ""); - I_Method0(const char *, libraryName, - Properties::VIRTUAL, - __C5_char_P1__libraryName, - "return the name of the object's library. ", - "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); - I_Method0(const char *, className, - Properties::VIRTUAL, - __C5_char_P1__className, - "return the name of the object's class type. ", - "Must be defined by derived classes. "); - I_Method0(const GLvoid *, getDataPointer, - Properties::VIRTUAL, - __C5_GLvoid_P1__getDataPointer, - "", - ""); - I_Method0(unsigned int, getTotalDataSize, - Properties::VIRTUAL, - __unsigned_int__getTotalDataSize, - "", - ""); - I_Method0(bool, supportsBufferObject, - Properties::VIRTUAL, - __bool__supportsBufferObject, - "", - ""); - I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects, - Properties::VIRTUAL, - __void__draw__State_R1__bool, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveFunctor_R1, - "", - ""); - I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor, - Properties::VIRTUAL, - __void__accept__PrimitiveIndexFunctor_R1, - "", - ""); - I_Method0(unsigned int, getNumIndices, - Properties::VIRTUAL, - __unsigned_int__getNumIndices, - "", - ""); - I_Method1(unsigned int, index, IN, unsigned int, pos, - Properties::VIRTUAL, - __unsigned_int__index__unsigned_int, - "", - ""); - I_Method1(void, offsetIndices, IN, int, offset, - Properties::VIRTUAL, - __void__offsetIndices__int, - "", - ""); - I_Method0(void, computeRange, - Properties::VIRTUAL, - __void__computeRange, - "", - ""); - 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_DeclaringFile("osg/PrimitiveSet"); I_Constructor0(____PrimitiveFunctor, @@ -970,91 +558,3 @@ BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveSet) 0); END_REFLECTOR -BEGIN_OBJECT_REFLECTOR(osg::VectorGLsizei) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(std::vector); - I_Constructor0(____VectorGLsizei, - "", - ""); - I_Constructor1(IN, const osg::VectorGLsizei &, copy, - Properties::NON_EXPLICIT, - ____VectorGLsizei__C5_VectorGLsizei_R1, - "", - ""); - I_Constructor2(IN, GLsizei *, beg, IN, GLsizei *, end, - ____VectorGLsizei__GLsizei_P1__GLsizei_P1, - "", - ""); - I_Constructor1(IN, unsigned int, n, - Properties::EXPLICIT, - ____VectorGLsizei__unsigned_int, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::VectorGLubyte) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(std::vector); - I_Constructor0(____VectorGLubyte, - "", - ""); - I_Constructor1(IN, const osg::VectorGLubyte &, copy, - Properties::NON_EXPLICIT, - ____VectorGLubyte__C5_VectorGLubyte_R1, - "", - ""); - I_Constructor2(IN, const GLubyte *, beg, IN, const GLubyte *, end, - ____VectorGLubyte__C5_GLubyte_P1__C5_GLubyte_P1, - "", - ""); - I_Constructor1(IN, unsigned int, n, - Properties::EXPLICIT, - ____VectorGLubyte__unsigned_int, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::VectorGLuint) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(std::vector); - I_Constructor0(____VectorGLuint, - "", - ""); - I_Constructor1(IN, const osg::VectorGLuint &, copy, - Properties::NON_EXPLICIT, - ____VectorGLuint__C5_VectorGLuint_R1, - "", - ""); - I_Constructor2(IN, const GLuint *, beg, IN, const GLuint *, end, - ____VectorGLuint__C5_GLuint_P1__C5_GLuint_P1, - "", - ""); - I_Constructor1(IN, unsigned int, n, - Properties::EXPLICIT, - ____VectorGLuint__unsigned_int, - "", - ""); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osg::VectorGLushort) - I_DeclaringFile("osg/PrimitiveSet"); - I_BaseType(std::vector); - I_Constructor0(____VectorGLushort, - "", - ""); - I_Constructor1(IN, const osg::VectorGLushort &, copy, - Properties::NON_EXPLICIT, - ____VectorGLushort__C5_VectorGLushort_R1, - "", - ""); - I_Constructor2(IN, const GLushort *, beg, IN, const GLushort *, end, - ____VectorGLushort__C5_GLushort_P1__C5_GLushort_P1, - "", - ""); - I_Constructor1(IN, unsigned int, n, - Properties::EXPLICIT, - ____VectorGLushort__unsigned_int, - "", - ""); -END_REFLECTOR - diff --git a/src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp b/src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp index a23dff26b..34d0f02f7 100644 --- a/src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp +++ b/src/osgWrappers/osgShadow/ParallelSplitShadowMap.cpp @@ -28,6 +28,12 @@ #undef OUT #endif +BEGIN_ENUM_REFLECTOR(osgShadow::ParallelSplitShadowMap::SplitCalcMode) + I_DeclaringFile("osgShadow/ParallelSplitShadowMap"); + I_EnumLabel(osgShadow::ParallelSplitShadowMap::SPLIT_LINEAR); + I_EnumLabel(osgShadow::ParallelSplitShadowMap::SPLIT_EXP); +END_REFLECTOR + BEGIN_OBJECT_REFLECTOR(osgShadow::ParallelSplitShadowMap) I_DeclaringFile("osgShadow/ParallelSplitShadowMap"); I_BaseType(osgShadow::ShadowTechnique); @@ -119,11 +125,6 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ParallelSplitShadowMap) __void__setMinNearDistanceForSplits__double, "Set min near distance for splits. ", ""); - I_Method1(void, useLinearSplit, IN, bool, flag, - Properties::NON_VIRTUAL, - __void__useLinearSplit__bool, - "use linear split (default: linear) ", - ""); I_Method1(void, setUserLight, IN, osg::Light *, light, Properties::NON_VIRTUAL, __void__setUserLight__osg_Light_P1, @@ -134,15 +135,27 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ParallelSplitShadowMap) __void__setAmbientBias__C5_osg_Vec2_R1, "Set the values for the ambient bias the shader will use. ", ""); - I_ProtectedMethod2(std::string, generateGLSL_FragmentShader_BaseTex, IN, bool, debug, IN, unsigned int, splitCount, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __std_string__generateGLSL_FragmentShader_BaseTex__bool__unsigned_int, - "", - ""); + I_Method1(void, setFragmentShaderGenerator, IN, osgShadow::ParallelSplitShadowMap::FragmentShaderGenerator *, fsw, + Properties::NON_VIRTUAL, + __void__setFragmentShaderGenerator__FragmentShaderGenerator_P1, + "set fragment shader generator ", + ""); + I_MethodWithDefaults1(void, enableShadowGLSLFiltering, IN, bool, filtering, true, + Properties::NON_VIRTUAL, + __void__enableShadowGLSLFiltering__bool, + "enable / disable shadow filtering ", + ""); + I_MethodWithDefaults1(void, setSplitCalculationMode, IN, osgShadow::ParallelSplitShadowMap::SplitCalcMode, scm, osgShadow::ParallelSplitShadowMap::SPLIT_EXP, + Properties::NON_VIRTUAL, + __void__setSplitCalculationMode__SplitCalcMode, + "set split calculation mode ", + ""); I_SimpleProperty(const osg::Vec2 &, AmbientBias, 0, __void__setAmbientBias__C5_osg_Vec2_R1); + I_SimpleProperty(osgShadow::ParallelSplitShadowMap::FragmentShaderGenerator *, FragmentShaderGenerator, + 0, + __void__setFragmentShaderGenerator__FragmentShaderGenerator_P1); I_SimpleProperty(double, MaxFarDistance, 0, __void__setMaxFarDistance__double); @@ -155,6 +168,9 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ParallelSplitShadowMap) I_SimpleProperty(const osg::Vec2f &, PolygonOffset, __C5_osg_Vec2f_R1__getPolygonOffset, __void__setPolygonOffset__C5_osg_Vec2f_R1); + I_SimpleProperty(osgShadow::ParallelSplitShadowMap::SplitCalcMode, SplitCalculationMode, + 0, + __void__setSplitCalculationMode__SplitCalcMode); I_SimpleProperty(unsigned int, TextureResolution, 0, __void__setTextureResolution__unsigned_int); @@ -163,3 +179,16 @@ BEGIN_OBJECT_REFLECTOR(osgShadow::ParallelSplitShadowMap) __void__setUserLight__osg_Light_P1); END_REFLECTOR +BEGIN_OBJECT_REFLECTOR(osgShadow::ParallelSplitShadowMap::FragmentShaderGenerator) + I_DeclaringFile("osgShadow/ParallelSplitShadowMap"); + I_BaseType(osg::Referenced); + I_Constructor0(____FragmentShaderGenerator, + "", + ""); + I_Method6(std::string, generateGLSL_FragmentShader_BaseTex, IN, bool, debug, IN, unsigned int, splitCount, IN, double, textureRes, IN, bool, filtered, IN, unsigned int, nbrSplits, IN, unsigned int, textureOffset, + Properties::VIRTUAL, + __std_string__generateGLSL_FragmentShader_BaseTex__bool__unsigned_int__double__bool__unsigned_int__unsigned_int, + "generate the GLSL fragement shader ", + ""); +END_REFLECTOR + diff --git a/src/osgWrappers/osgUtil/SceneView.cpp b/src/osgWrappers/osgUtil/SceneView.cpp index c13f85516..784f1f648 100644 --- a/src/osgWrappers/osgUtil/SceneView.cpp +++ b/src/osgWrappers/osgUtil/SceneView.cpp @@ -761,12 +761,24 @@ BEGIN_OBJECT_REFLECTOR(osgUtil::SceneView) __bool__getStats__Statistics_R1, "Extract stats for current draw list. ", ""); - I_ProtectedMethod5(bool, cullStage, IN, const osg::Matrixd &, projection, IN, const osg::Matrixd &, modelview, IN, osgUtil::CullVisitor *, cullVisitor, IN, osgUtil::StateGraph *, rendergraph, IN, osgUtil::RenderStage *, renderStage, + I_ProtectedMethod6(bool, cullStage, IN, const osg::Matrixd &, projection, IN, const osg::Matrixd &, modelview, IN, osgUtil::CullVisitor *, cullVisitor, IN, osgUtil::StateGraph *, rendergraph, IN, osgUtil::RenderStage *, renderStage, IN, osg::Viewport *, viewport, Properties::VIRTUAL, Properties::NON_CONST, - __bool__cullStage__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__osgUtil_CullVisitor_P1__osgUtil_StateGraph_P1__osgUtil_RenderStage_P1, + __bool__cullStage__C5_osg_Matrixd_R1__C5_osg_Matrixd_R1__osgUtil_CullVisitor_P1__osgUtil_StateGraph_P1__osgUtil_RenderStage_P1__osg_Viewport_P1, "Do cull traversal of attached scene graph using Cull NodeVisitor. ", "Return true if computeNearFar has been done during the cull traversal. "); + I_ProtectedMethod1(void, computeLeftEyeViewport, IN, const osg::Viewport *, viewport, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __void__computeLeftEyeViewport__C5_osg_Viewport_P1, + "", + ""); + I_ProtectedMethod1(void, computeRightEyeViewport, IN, const osg::Viewport *, viewport, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __void__computeRightEyeViewport__C5_osg_Viewport_P1, + "", + ""); I_ProtectedMethod0(const osg::Matrix, computeMVPW, Properties::NON_VIRTUAL, Properties::CONST,