Files
OpenSceneGraph/src/osgWrappers/osg/Geometry.cpp
Robert Osfield 0e475106dc Updated wrappers
2007-08-10 17:44:54 +00:00

996 lines
42 KiB
C++

// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Array>
#include <osg/BufferObject>
#include <osg/CopyOp>
#include <osg/Drawable>
#include <osg/Geometry>
#include <osg/Object>
#include <osg/PrimitiveSet>
#include <osg/RenderInfo>
#include <osg/State>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
TYPE_NAME_ALIAS(std::vector< osg::Geometry::ArrayData >, osg::Geometry::ArrayDataList)
TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osg::PrimitiveSet > >, osg::Geometry::PrimitiveSetList)
TYPE_NAME_ALIAS(std::vector< osg::Array * >, osg::Geometry::ArrayList)
TYPE_NAME_ALIAS(std::vector< osg::DrawElements * >, osg::Geometry::DrawElementsList)
BEGIN_ENUM_REFLECTOR(osg::Geometry::AttributeBinding)
I_DeclaringFile("osg/Geometry");
I_EnumLabel(osg::Geometry::BIND_OFF);
I_EnumLabel(osg::Geometry::BIND_OVERALL);
I_EnumLabel(osg::Geometry::BIND_PER_PRIMITIVE_SET);
I_EnumLabel(osg::Geometry::BIND_PER_PRIMITIVE);
I_EnumLabel(osg::Geometry::BIND_PER_VERTEX);
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osg::Geometry)
I_DeclaringFile("osg/Geometry");
I_BaseType(osg::Drawable);
I_Constructor0(____Geometry,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Geometry &, geometry, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Geometry__C5_Geometry_R1__C5_CopyOp_R1,
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
"");
I_Method0(osg::Object *, cloneType,
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(osg::Geometry *, asGeometry,
Properties::VIRTUAL,
__Geometry_P1__asGeometry,
"Convert 'this' into a Geometry pointer if Drawable is a Geometry, otherwise return 0. ",
"Equivalent to dynamic_cast<Geometry*>(this). ");
I_Method0(const osg::Geometry *, asGeometry,
Properties::VIRTUAL,
__C5_Geometry_P1__asGeometry,
"Convert 'const this' into a const Geometry pointer if Drawable is a Geometry, otherwise return 0. ",
"Equivalent to dynamic_cast<const Geometry*>(this). ");
I_Method0(bool, empty,
Properties::NON_VIRTUAL,
__bool__empty,
"",
"");
I_Method1(void, setVertexArray, IN, osg::Array *, array,
Properties::NON_VIRTUAL,
__void__setVertexArray__Array_P1,
"",
"");
I_Method0(osg::Array *, getVertexArray,
Properties::NON_VIRTUAL,
__Array_P1__getVertexArray,
"",
"");
I_Method0(const osg::Array *, getVertexArray,
Properties::NON_VIRTUAL,
__C5_Array_P1__getVertexArray,
"",
"");
I_Method1(void, setVertexIndices, IN, osg::IndexArray *, array,
Properties::NON_VIRTUAL,
__void__setVertexIndices__IndexArray_P1,
"",
"");
I_Method0(osg::IndexArray *, getVertexIndices,
Properties::NON_VIRTUAL,
__IndexArray_P1__getVertexIndices,
"",
"");
I_Method0(const osg::IndexArray *, getVertexIndices,
Properties::NON_VIRTUAL,
__C5_IndexArray_P1__getVertexIndices,
"",
"");
I_Method1(void, setVertexData, IN, const osg::Geometry::ArrayData &, arrayData,
Properties::NON_VIRTUAL,
__void__setVertexData__C5_ArrayData_R1,
"",
"");
I_Method0(osg::Geometry::ArrayData &, getVertexData,
Properties::NON_VIRTUAL,
__ArrayData_R1__getVertexData,
"",
"");
I_Method0(const osg::Geometry::ArrayData &, getVertexData,
Properties::NON_VIRTUAL,
__C5_ArrayData_R1__getVertexData,
"",
"");
I_Method1(void, setNormalBinding, IN, osg::Geometry::AttributeBinding, ab,
Properties::NON_VIRTUAL,
__void__setNormalBinding__AttributeBinding,
"",
"");
I_Method0(osg::Geometry::AttributeBinding, getNormalBinding,
Properties::NON_VIRTUAL,
__AttributeBinding__getNormalBinding,
"",
"");
I_Method1(void, setNormalArray, IN, osg::Array *, array,
Properties::NON_VIRTUAL,
__void__setNormalArray__Array_P1,
"",
"");
I_Method0(osg::Array *, getNormalArray,
Properties::NON_VIRTUAL,
__Array_P1__getNormalArray,
"",
"");
I_Method0(const osg::Array *, getNormalArray,
Properties::NON_VIRTUAL,
__C5_Array_P1__getNormalArray,
"",
"");
I_Method1(void, setNormalIndices, IN, osg::IndexArray *, array,
Properties::NON_VIRTUAL,
__void__setNormalIndices__IndexArray_P1,
"",
"");
I_Method0(osg::IndexArray *, getNormalIndices,
Properties::NON_VIRTUAL,
__IndexArray_P1__getNormalIndices,
"",
"");
I_Method0(const osg::IndexArray *, getNormalIndices,
Properties::NON_VIRTUAL,
__C5_IndexArray_P1__getNormalIndices,
"",
"");
I_Method1(void, setNormalData, IN, const osg::Geometry::ArrayData &, arrayData,
Properties::NON_VIRTUAL,
__void__setNormalData__C5_ArrayData_R1,
"",
"");
I_Method0(osg::Geometry::ArrayData &, getNormalData,
Properties::NON_VIRTUAL,
__ArrayData_R1__getNormalData,
"",
"");
I_Method0(const osg::Geometry::ArrayData &, getNormalData,
Properties::NON_VIRTUAL,
__C5_ArrayData_R1__getNormalData,
"",
"");
I_Method1(void, setColorBinding, IN, osg::Geometry::AttributeBinding, ab,
Properties::NON_VIRTUAL,
__void__setColorBinding__AttributeBinding,
"",
"");
I_Method0(osg::Geometry::AttributeBinding, getColorBinding,
Properties::NON_VIRTUAL,
__AttributeBinding__getColorBinding,
"",
"");
I_Method1(void, setColorArray, IN, osg::Array *, array,
Properties::NON_VIRTUAL,
__void__setColorArray__Array_P1,
"",
"");
I_Method0(osg::Array *, getColorArray,
Properties::NON_VIRTUAL,
__Array_P1__getColorArray,
"",
"");
I_Method0(const osg::Array *, getColorArray,
Properties::NON_VIRTUAL,
__C5_Array_P1__getColorArray,
"",
"");
I_Method1(void, setColorIndices, IN, osg::IndexArray *, array,
Properties::NON_VIRTUAL,
__void__setColorIndices__IndexArray_P1,
"",
"");
I_Method0(osg::IndexArray *, getColorIndices,
Properties::NON_VIRTUAL,
__IndexArray_P1__getColorIndices,
"",
"");
I_Method0(const osg::IndexArray *, getColorIndices,
Properties::NON_VIRTUAL,
__C5_IndexArray_P1__getColorIndices,
"",
"");
I_Method1(void, setColorData, IN, const osg::Geometry::ArrayData &, arrayData,
Properties::NON_VIRTUAL,
__void__setColorData__C5_ArrayData_R1,
"",
"");
I_Method0(osg::Geometry::ArrayData &, getColorData,
Properties::NON_VIRTUAL,
__ArrayData_R1__getColorData,
"",
"");
I_Method0(const osg::Geometry::ArrayData &, getColorData,
Properties::NON_VIRTUAL,
__C5_ArrayData_R1__getColorData,
"",
"");
I_Method1(void, setSecondaryColorBinding, IN, osg::Geometry::AttributeBinding, ab,
Properties::NON_VIRTUAL,
__void__setSecondaryColorBinding__AttributeBinding,
"",
"");
I_Method0(osg::Geometry::AttributeBinding, getSecondaryColorBinding,
Properties::NON_VIRTUAL,
__AttributeBinding__getSecondaryColorBinding,
"",
"");
I_Method1(void, setSecondaryColorArray, IN, osg::Array *, array,
Properties::NON_VIRTUAL,
__void__setSecondaryColorArray__Array_P1,
"",
"");
I_Method0(osg::Array *, getSecondaryColorArray,
Properties::NON_VIRTUAL,
__Array_P1__getSecondaryColorArray,
"",
"");
I_Method0(const osg::Array *, getSecondaryColorArray,
Properties::NON_VIRTUAL,
__C5_Array_P1__getSecondaryColorArray,
"",
"");
I_Method1(void, setSecondaryColorIndices, IN, osg::IndexArray *, array,
Properties::NON_VIRTUAL,
__void__setSecondaryColorIndices__IndexArray_P1,
"",
"");
I_Method0(osg::IndexArray *, getSecondaryColorIndices,
Properties::NON_VIRTUAL,
__IndexArray_P1__getSecondaryColorIndices,
"",
"");
I_Method0(const osg::IndexArray *, getSecondaryColorIndices,
Properties::NON_VIRTUAL,
__C5_IndexArray_P1__getSecondaryColorIndices,
"",
"");
I_Method1(void, setSecondaryColorData, IN, const osg::Geometry::ArrayData &, arrayData,
Properties::NON_VIRTUAL,
__void__setSecondaryColorData__C5_ArrayData_R1,
"",
"");
I_Method0(osg::Geometry::ArrayData &, getSecondaryColorData,
Properties::NON_VIRTUAL,
__ArrayData_R1__getSecondaryColorData,
"",
"");
I_Method0(const osg::Geometry::ArrayData &, getSecondaryColorData,
Properties::NON_VIRTUAL,
__C5_ArrayData_R1__getSecondaryColorData,
"",
"");
I_Method1(void, setFogCoordBinding, IN, osg::Geometry::AttributeBinding, ab,
Properties::NON_VIRTUAL,
__void__setFogCoordBinding__AttributeBinding,
"",
"");
I_Method0(osg::Geometry::AttributeBinding, getFogCoordBinding,
Properties::NON_VIRTUAL,
__AttributeBinding__getFogCoordBinding,
"",
"");
I_Method1(void, setFogCoordArray, IN, osg::Array *, array,
Properties::NON_VIRTUAL,
__void__setFogCoordArray__Array_P1,
"",
"");
I_Method0(osg::Array *, getFogCoordArray,
Properties::NON_VIRTUAL,
__Array_P1__getFogCoordArray,
"",
"");
I_Method0(const osg::Array *, getFogCoordArray,
Properties::NON_VIRTUAL,
__C5_Array_P1__getFogCoordArray,
"",
"");
I_Method1(void, setFogCoordIndices, IN, osg::IndexArray *, array,
Properties::NON_VIRTUAL,
__void__setFogCoordIndices__IndexArray_P1,
"",
"");
I_Method0(osg::IndexArray *, getFogCoordIndices,
Properties::NON_VIRTUAL,
__IndexArray_P1__getFogCoordIndices,
"",
"");
I_Method0(const osg::IndexArray *, getFogCoordIndices,
Properties::NON_VIRTUAL,
__C5_IndexArray_P1__getFogCoordIndices,
"",
"");
I_Method1(void, setFogCoordData, IN, const osg::Geometry::ArrayData &, arrayData,
Properties::NON_VIRTUAL,
__void__setFogCoordData__C5_ArrayData_R1,
"",
"");
I_Method0(osg::Geometry::ArrayData &, getFogCoordData,
Properties::NON_VIRTUAL,
__ArrayData_R1__getFogCoordData,
"",
"");
I_Method0(const osg::Geometry::ArrayData &, getFogCoordData,
Properties::NON_VIRTUAL,
__C5_ArrayData_R1__getFogCoordData,
"",
"");
I_Method2(void, setTexCoordArray, IN, unsigned int, unit, IN, osg::Array *, x,
Properties::NON_VIRTUAL,
__void__setTexCoordArray__unsigned_int__Array_P1,
"",
"");
I_Method1(osg::Array *, getTexCoordArray, IN, unsigned int, unit,
Properties::NON_VIRTUAL,
__Array_P1__getTexCoordArray__unsigned_int,
"",
"");
I_Method1(const osg::Array *, getTexCoordArray, IN, unsigned int, unit,
Properties::NON_VIRTUAL,
__C5_Array_P1__getTexCoordArray__unsigned_int,
"",
"");
I_Method2(void, setTexCoordIndices, IN, unsigned int, unit, IN, osg::IndexArray *, x,
Properties::NON_VIRTUAL,
__void__setTexCoordIndices__unsigned_int__IndexArray_P1,
"",
"");
I_Method1(osg::IndexArray *, getTexCoordIndices, IN, unsigned int, unit,
Properties::NON_VIRTUAL,
__IndexArray_P1__getTexCoordIndices__unsigned_int,
"",
"");
I_Method1(const osg::IndexArray *, getTexCoordIndices, IN, unsigned int, unit,
Properties::NON_VIRTUAL,
__C5_IndexArray_P1__getTexCoordIndices__unsigned_int,
"",
"");
I_Method2(void, setTexCoordData, IN, unsigned int, index, IN, const osg::Geometry::ArrayData &, arrayData,
Properties::NON_VIRTUAL,
__void__setTexCoordData__unsigned_int__C5_ArrayData_R1,
"",
"");
I_Method1(osg::Geometry::ArrayData &, getTexCoordData, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__ArrayData_R1__getTexCoordData__unsigned_int,
"",
"");
I_Method1(const osg::Geometry::ArrayData &, getTexCoordData, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__C5_ArrayData_R1__getTexCoordData__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumTexCoordArrays,
Properties::NON_VIRTUAL,
__unsigned_int__getNumTexCoordArrays,
"",
"");
I_Method0(osg::Geometry::ArrayDataList &, getTexCoordArrayList,
Properties::NON_VIRTUAL,
__ArrayDataList_R1__getTexCoordArrayList,
"",
"");
I_Method0(const osg::Geometry::ArrayDataList &, getTexCoordArrayList,
Properties::NON_VIRTUAL,
__C5_ArrayDataList_R1__getTexCoordArrayList,
"",
"");
I_Method2(void, setVertexAttribArray, IN, unsigned int, index, IN, osg::Array *, array,
Properties::NON_VIRTUAL,
__void__setVertexAttribArray__unsigned_int__Array_P1,
"",
"");
I_Method1(osg::Array *, getVertexAttribArray, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__Array_P1__getVertexAttribArray__unsigned_int,
"",
"");
I_Method1(const osg::Array *, getVertexAttribArray, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__C5_Array_P1__getVertexAttribArray__unsigned_int,
"",
"");
I_Method2(void, setVertexAttribIndices, IN, unsigned int, index, IN, osg::IndexArray *, array,
Properties::NON_VIRTUAL,
__void__setVertexAttribIndices__unsigned_int__IndexArray_P1,
"",
"");
I_Method1(osg::IndexArray *, getVertexAttribIndices, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__IndexArray_P1__getVertexAttribIndices__unsigned_int,
"",
"");
I_Method1(const osg::IndexArray *, getVertexAttribIndices, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__C5_IndexArray_P1__getVertexAttribIndices__unsigned_int,
"",
"");
I_Method2(void, setVertexAttribBinding, IN, unsigned int, index, IN, osg::Geometry::AttributeBinding, ab,
Properties::NON_VIRTUAL,
__void__setVertexAttribBinding__unsigned_int__AttributeBinding,
"",
"");
I_Method1(osg::Geometry::AttributeBinding, getVertexAttribBinding, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__AttributeBinding__getVertexAttribBinding__unsigned_int,
"",
"");
I_Method2(void, setVertexAttribNormalize, IN, unsigned int, index, IN, GLboolean, norm,
Properties::NON_VIRTUAL,
__void__setVertexAttribNormalize__unsigned_int__GLboolean,
"",
"");
I_Method1(GLboolean, getVertexAttribNormalize, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__GLboolean__getVertexAttribNormalize__unsigned_int,
"",
"");
I_Method2(void, setVertexAttribData, IN, unsigned int, index, IN, const osg::Geometry::ArrayData &, arrayData,
Properties::NON_VIRTUAL,
__void__setVertexAttribData__unsigned_int__C5_ArrayData_R1,
"",
"");
I_Method1(osg::Geometry::ArrayData &, getVertexAttribData, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__ArrayData_R1__getVertexAttribData__unsigned_int,
"",
"");
I_Method1(const osg::Geometry::ArrayData &, getVertexAttribData, IN, unsigned int, index,
Properties::NON_VIRTUAL,
__C5_ArrayData_R1__getVertexAttribData__unsigned_int,
"",
"");
I_Method0(unsigned int, getNumVertexAttribArrays,
Properties::NON_VIRTUAL,
__unsigned_int__getNumVertexAttribArrays,
"",
"");
I_Method0(osg::Geometry::ArrayDataList &, getVertexAttribArrayList,
Properties::NON_VIRTUAL,
__ArrayDataList_R1__getVertexAttribArrayList,
"",
"");
I_Method0(const osg::Geometry::ArrayDataList &, getVertexAttribArrayList,
Properties::NON_VIRTUAL,
__C5_ArrayDataList_R1__getVertexAttribArrayList,
"",
"");
I_Method1(void, setPrimitiveSetList, IN, const osg::Geometry::PrimitiveSetList &, primitives,
Properties::NON_VIRTUAL,
__void__setPrimitiveSetList__C5_PrimitiveSetList_R1,
"",
"");
I_Method0(osg::Geometry::PrimitiveSetList &, getPrimitiveSetList,
Properties::NON_VIRTUAL,
__PrimitiveSetList_R1__getPrimitiveSetList,
"",
"");
I_Method0(const osg::Geometry::PrimitiveSetList &, getPrimitiveSetList,
Properties::NON_VIRTUAL,
__C5_PrimitiveSetList_R1__getPrimitiveSetList,
"",
"");
I_Method0(unsigned int, getNumPrimitiveSets,
Properties::NON_VIRTUAL,
__unsigned_int__getNumPrimitiveSets,
"",
"");
I_Method1(osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, pos,
Properties::NON_VIRTUAL,
__PrimitiveSet_P1__getPrimitiveSet__unsigned_int,
"",
"");
I_Method1(const osg::PrimitiveSet *, getPrimitiveSet, IN, unsigned int, pos,
Properties::NON_VIRTUAL,
__C5_PrimitiveSet_P1__getPrimitiveSet__unsigned_int,
"",
"");
I_Method1(bool, addPrimitiveSet, IN, osg::PrimitiveSet *, primitiveset,
Properties::NON_VIRTUAL,
__bool__addPrimitiveSet__PrimitiveSet_P1,
"Add a primitive set to the geometry. ",
"");
I_Method2(bool, setPrimitiveSet, IN, unsigned int, i, IN, osg::PrimitiveSet *, primitiveset,
Properties::NON_VIRTUAL,
__bool__setPrimitiveSet__unsigned_int__PrimitiveSet_P1,
"Set a primitive set to the specified position in geometry's primitive set list. ",
"");
I_Method2(bool, insertPrimitiveSet, IN, unsigned int, i, IN, osg::PrimitiveSet *, primitiveset,
Properties::NON_VIRTUAL,
__bool__insertPrimitiveSet__unsigned_int__PrimitiveSet_P1,
"Insert a primitive set to the specified position in geometry's primitive set list. ",
"");
I_MethodWithDefaults2(bool, removePrimitiveSet, IN, unsigned int, i, , IN, unsigned int, numElementsToRemove, 1,
Properties::NON_VIRTUAL,
__bool__removePrimitiveSet__unsigned_int__unsigned_int,
"Remove primitive set(s) from the specified position in geometry's primitive set list. ",
"");
I_Method1(unsigned int, getPrimitiveSetIndex, IN, const osg::PrimitiveSet *, primitiveset,
Properties::NON_VIRTUAL,
__unsigned_int__getPrimitiveSetIndex__C5_PrimitiveSet_P1,
"Get the index number of a primitive set, return a value between 0 and getNumPrimitiveSet()-1 if found, if not found then return getNumPrimitiveSet(). ",
"When checking for a valid find value use if ((value=geometry->getPrimitiveSetIndex(primitive))!=geometry.getNumPrimitiveSet()) ");
I_Method1(void, setUseVertexBufferObjects, IN, bool, flag,
Properties::VIRTUAL,
__void__setUseVertexBufferObjects__bool,
"When set to true, ignore the setUseDisplayList() settings, and hints to the drawImplementation method to use OpenGL vertex buffer objects for rendering. ",
"");
I_Method0(void, dirtyDisplayList,
Properties::VIRTUAL,
__void__dirtyDisplayList,
"Force a recompile on next draw() of any OpenGL display list associated with this geoset. ",
"");
I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize,
Properties::VIRTUAL,
__void__resizeGLObjectBuffers__unsigned_int,
"Resize any per context GLObject buffers to specified size. ",
"");
I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0,
Properties::VIRTUAL,
__void__releaseGLObjects__State_P1,
"If State is non-zero, this function releases OpenGL objects for the specified graphics context. ",
"Otherwise, releases OpenGL objexts for all graphics contexts. ");
I_Method1(bool, getArrayList, IN, osg::Geometry::ArrayList &, arrayList,
Properties::NON_VIRTUAL,
__bool__getArrayList__ArrayList_R1,
"",
"");
I_Method1(bool, getDrawElementsList, IN, osg::Geometry::DrawElementsList &, drawElementsList,
Properties::NON_VIRTUAL,
__bool__getDrawElementsList__DrawElementsList_R1,
"",
"");
I_Method0(osg::VertexBufferObject *, getOrCreateVertexBufferObject,
Properties::NON_VIRTUAL,
__osg_VertexBufferObject_P1__getOrCreateVertexBufferObject,
"",
"");
I_Method0(osg::ElementBufferObject *, getOrCreateElementBufferObject,
Properties::NON_VIRTUAL,
__osg_ElementBufferObject_P1__getOrCreateElementBufferObject,
"",
"");
I_Method1(void, setFastPathHint, IN, bool, on,
Properties::NON_VIRTUAL,
__void__setFastPathHint__bool,
"Set whether fast paths should be used when supported. ",
"");
I_Method0(bool, getFastPathHint,
Properties::NON_VIRTUAL,
__bool__getFastPathHint,
"Get whether fast paths should be used when supported. ",
"");
I_Method0(bool, areFastPathsUsed,
Properties::NON_VIRTUAL,
__bool__areFastPathsUsed,
"Return true if OpenGL fast paths will be used with drawing this Geometry. ",
"Fast paths use vertex arrays, and glDrawArrays/glDrawElements. Slow paths use glBegin()/glVertex.../glEnd(). Use of per primitive bindings or per vertex indexed arrays will drop the rendering path off the fast path. ");
I_Method0(bool, computeFastPathsUsed,
Properties::NON_VIRTUAL,
__bool__computeFastPathsUsed,
"",
"");
I_Method0(bool, verifyBindings,
Properties::NON_VIRTUAL,
__bool__verifyBindings,
"",
"");
I_Method0(void, computeCorrectBindingsAndArraySizes,
Properties::NON_VIRTUAL,
__void__computeCorrectBindingsAndArraySizes,
"",
"");
I_Method0(bool, suitableForOptimization,
Properties::NON_VIRTUAL,
__bool__suitableForOptimization,
"",
"");
I_Method1(void, copyToAndOptimize, IN, osg::Geometry &, target,
Properties::NON_VIRTUAL,
__void__copyToAndOptimize__Geometry_R1,
"",
"");
I_Method0(void, computeInternalOptimizedGeometry,
Properties::NON_VIRTUAL,
__void__computeInternalOptimizedGeometry,
"",
"");
I_Method0(void, removeInternalOptimizedGeometry,
Properties::NON_VIRTUAL,
__void__removeInternalOptimizedGeometry,
"",
"");
I_Method1(void, setInternalOptimizedGeometry, IN, osg::Geometry *, geometry,
Properties::NON_VIRTUAL,
__void__setInternalOptimizedGeometry__osg_Geometry_P1,
"",
"");
I_Method0(osg::Geometry *, getInternalOptimizedGeometry,
Properties::NON_VIRTUAL,
__osg_Geometry_P1__getInternalOptimizedGeometry,
"",
"");
I_Method0(const osg::Geometry *, getInternalOptimizedGeometry,
Properties::NON_VIRTUAL,
__C5_osg_Geometry_P1__getInternalOptimizedGeometry,
"",
"");
I_Method0(unsigned int, getGLObjectSizeHint,
Properties::VIRTUAL,
__unsigned_int__getGLObjectSizeHint,
"Return the estimated size of GLObjects (display lists/vertex buffer objects) that are associated with this drawable. ",
"This size is used a hint for reuse of deleteed display lists/vertex buffer objects. ");
I_Method1(void, drawImplementation, IN, osg::RenderInfo &, renderInfo,
Properties::VIRTUAL,
__void__drawImplementation__RenderInfo_R1,
"Draw Geometry directly ignoring an OpenGL display list which could be attached. ",
"This is the internal draw method which does the drawing itself, and is the method to override when deriving from Geometry for user-drawn objects. ");
I_Method1(bool, supports, IN, const osg::Drawable::AttributeFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_Drawable_AttributeFunctor_R1,
"Return true, osg::Geometry does support accept(Drawable::AttributeFunctor&). ",
"");
I_Method1(void, accept, IN, osg::Drawable::AttributeFunctor &, af,
Properties::VIRTUAL,
__void__accept__Drawable_AttributeFunctor_R1,
"Accept an Drawable::AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
"");
I_Method1(bool, supports, IN, const osg::Drawable::ConstAttributeFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_Drawable_ConstAttributeFunctor_R1,
"Return true, osg::Geometry does support accept(Drawable::ConstAttributeFunctor&). ",
"");
I_Method1(void, accept, IN, osg::Drawable::ConstAttributeFunctor &, af,
Properties::VIRTUAL,
__void__accept__Drawable_ConstAttributeFunctor_R1,
"Accept a Drawable::ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. ",
"");
I_Method1(bool, supports, IN, const osg::PrimitiveFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_PrimitiveFunctor_R1,
"Return true, osg::Geometry does support accept(PrimitiveFunctor&). ",
"");
I_Method1(void, accept, IN, osg::PrimitiveFunctor &, pf,
Properties::VIRTUAL,
__void__accept__PrimitiveFunctor_R1,
"Accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has. ",
"");
I_Method1(bool, supports, IN, const osg::PrimitiveIndexFunctor &, x,
Properties::VIRTUAL,
__bool__supports__C5_PrimitiveIndexFunctor_R1,
"Return true, osg::Geometry does support accept(PrimitiveIndexFunctor&). ",
"");
I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, pf,
Properties::VIRTUAL,
__void__accept__PrimitiveIndexFunctor_R1,
"Accept a PrimitiveFunctor and call its methods to tell it about the interal primitives that this Drawable has. ",
"");
I_ProtectedMethod1(bool, verifyBindings, IN, const osg::Geometry::ArrayData &, arrayData,
Properties::NON_VIRTUAL,
Properties::CONST,
__bool__verifyBindings__C5_ArrayData_R1,
"",
"");
I_ProtectedMethod1(bool, verifyBindings, IN, const osg::Geometry::Vec3ArrayData &, arrayData,
Properties::NON_VIRTUAL,
Properties::CONST,
__bool__verifyBindings__C5_Vec3ArrayData_R1,
"",
"");
I_ProtectedMethod2(void, computeCorrectBindingsAndArraySizes, IN, osg::Geometry::ArrayData &, arrayData, IN, const char *, arrayName,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__computeCorrectBindingsAndArraySizes__ArrayData_R1__C5_char_P1,
"",
"");
I_ProtectedMethod2(void, computeCorrectBindingsAndArraySizes, IN, osg::Geometry::Vec3ArrayData &, arrayData, IN, const char *, arrayName,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__computeCorrectBindingsAndArraySizes__Vec3ArrayData_R1__C5_char_P1,
"",
"");
I_ProtectedMethod1(void, addVertexBufferObjectIfRequired, IN, osg::Array *, array,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__addVertexBufferObjectIfRequired__osg_Array_P1,
"",
"");
I_ProtectedMethod1(void, addElementBufferObjectIfRequired, IN, osg::PrimitiveSet *, primitiveSet,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__void__addElementBufferObjectIfRequired__osg_PrimitiveSet_P1,
"",
"");
I_SimpleProperty(osg::Array *, ColorArray,
__Array_P1__getColorArray,
__void__setColorArray__Array_P1);
I_SimpleProperty(osg::Geometry::AttributeBinding, ColorBinding,
__AttributeBinding__getColorBinding,
__void__setColorBinding__AttributeBinding);
I_SimpleProperty(const osg::Geometry::ArrayData &, ColorData,
__C5_ArrayData_R1__getColorData,
__void__setColorData__C5_ArrayData_R1);
I_SimpleProperty(osg::IndexArray *, ColorIndices,
__IndexArray_P1__getColorIndices,
__void__setColorIndices__IndexArray_P1);
I_SimpleProperty(bool, FastPathHint,
__bool__getFastPathHint,
__void__setFastPathHint__bool);
I_SimpleProperty(osg::Array *, FogCoordArray,
__Array_P1__getFogCoordArray,
__void__setFogCoordArray__Array_P1);
I_SimpleProperty(osg::Geometry::AttributeBinding, FogCoordBinding,
__AttributeBinding__getFogCoordBinding,
__void__setFogCoordBinding__AttributeBinding);
I_SimpleProperty(const osg::Geometry::ArrayData &, FogCoordData,
__C5_ArrayData_R1__getFogCoordData,
__void__setFogCoordData__C5_ArrayData_R1);
I_SimpleProperty(osg::IndexArray *, FogCoordIndices,
__IndexArray_P1__getFogCoordIndices,
__void__setFogCoordIndices__IndexArray_P1);
I_SimpleProperty(unsigned int, GLObjectSizeHint,
__unsigned_int__getGLObjectSizeHint,
0);
I_SimpleProperty(osg::Geometry *, InternalOptimizedGeometry,
__osg_Geometry_P1__getInternalOptimizedGeometry,
__void__setInternalOptimizedGeometry__osg_Geometry_P1);
I_SimpleProperty(osg::Array *, NormalArray,
__Array_P1__getNormalArray,
__void__setNormalArray__Array_P1);
I_SimpleProperty(osg::Geometry::AttributeBinding, NormalBinding,
__AttributeBinding__getNormalBinding,
__void__setNormalBinding__AttributeBinding);
I_SimpleProperty(const osg::Geometry::ArrayData &, NormalData,
__C5_ArrayData_R1__getNormalData,
__void__setNormalData__C5_ArrayData_R1);
I_SimpleProperty(osg::IndexArray *, NormalIndices,
__IndexArray_P1__getNormalIndices,
__void__setNormalIndices__IndexArray_P1);
I_ArrayProperty(osg::PrimitiveSet *, PrimitiveSet,
__PrimitiveSet_P1__getPrimitiveSet__unsigned_int,
__bool__setPrimitiveSet__unsigned_int__PrimitiveSet_P1,
__unsigned_int__getNumPrimitiveSets,
__bool__addPrimitiveSet__PrimitiveSet_P1,
__bool__insertPrimitiveSet__unsigned_int__PrimitiveSet_P1,
__bool__removePrimitiveSet__unsigned_int__unsigned_int);
I_SimpleProperty(const osg::Geometry::PrimitiveSetList &, PrimitiveSetList,
__C5_PrimitiveSetList_R1__getPrimitiveSetList,
__void__setPrimitiveSetList__C5_PrimitiveSetList_R1);
I_SimpleProperty(osg::Array *, SecondaryColorArray,
__Array_P1__getSecondaryColorArray,
__void__setSecondaryColorArray__Array_P1);
I_SimpleProperty(osg::Geometry::AttributeBinding, SecondaryColorBinding,
__AttributeBinding__getSecondaryColorBinding,
__void__setSecondaryColorBinding__AttributeBinding);
I_SimpleProperty(const osg::Geometry::ArrayData &, SecondaryColorData,
__C5_ArrayData_R1__getSecondaryColorData,
__void__setSecondaryColorData__C5_ArrayData_R1);
I_SimpleProperty(osg::IndexArray *, SecondaryColorIndices,
__IndexArray_P1__getSecondaryColorIndices,
__void__setSecondaryColorIndices__IndexArray_P1);
I_ArrayProperty(osg::Array *, TexCoordArray,
__Array_P1__getTexCoordArray__unsigned_int,
__void__setTexCoordArray__unsigned_int__Array_P1,
__unsigned_int__getNumTexCoordArrays,
0,
0,
0);
I_SimpleProperty(osg::Geometry::ArrayDataList &, TexCoordArrayList,
__ArrayDataList_R1__getTexCoordArrayList,
0);
I_ArrayProperty(const osg::Geometry::ArrayData &, TexCoordData,
__C5_ArrayData_R1__getTexCoordData__unsigned_int,
__void__setTexCoordData__unsigned_int__C5_ArrayData_R1,
__unsigned_int__getNumTexCoordArrays,
0,
0,
0);
I_ArrayProperty(osg::IndexArray *, TexCoordIndices,
__IndexArray_P1__getTexCoordIndices__unsigned_int,
__void__setTexCoordIndices__unsigned_int__IndexArray_P1,
__unsigned_int__getNumTexCoordArrays,
0,
0,
0);
I_SimpleProperty(bool, UseVertexBufferObjects,
0,
__void__setUseVertexBufferObjects__bool);
I_SimpleProperty(osg::Array *, VertexArray,
__Array_P1__getVertexArray,
__void__setVertexArray__Array_P1);
I_ArrayProperty(osg::Array *, VertexAttribArray,
__Array_P1__getVertexAttribArray__unsigned_int,
__void__setVertexAttribArray__unsigned_int__Array_P1,
__unsigned_int__getNumVertexAttribArrays,
0,
0,
0);
I_SimpleProperty(osg::Geometry::ArrayDataList &, VertexAttribArrayList,
__ArrayDataList_R1__getVertexAttribArrayList,
0);
I_ArrayProperty(osg::Geometry::AttributeBinding, VertexAttribBinding,
__AttributeBinding__getVertexAttribBinding__unsigned_int,
__void__setVertexAttribBinding__unsigned_int__AttributeBinding,
__unsigned_int__getNumVertexAttribArrays,
0,
0,
0);
I_ArrayProperty(const osg::Geometry::ArrayData &, VertexAttribData,
__C5_ArrayData_R1__getVertexAttribData__unsigned_int,
__void__setVertexAttribData__unsigned_int__C5_ArrayData_R1,
__unsigned_int__getNumVertexAttribArrays,
0,
0,
0);
I_ArrayProperty(osg::IndexArray *, VertexAttribIndices,
__IndexArray_P1__getVertexAttribIndices__unsigned_int,
__void__setVertexAttribIndices__unsigned_int__IndexArray_P1,
__unsigned_int__getNumVertexAttribArrays,
0,
0,
0);
I_ArrayProperty(GLboolean, VertexAttribNormalize,
__GLboolean__getVertexAttribNormalize__unsigned_int,
__void__setVertexAttribNormalize__unsigned_int__GLboolean,
__unsigned_int__getNumVertexAttribArrays,
0,
0,
0);
I_SimpleProperty(const osg::Geometry::ArrayData &, VertexData,
__C5_ArrayData_R1__getVertexData,
__void__setVertexData__C5_ArrayData_R1);
I_SimpleProperty(osg::IndexArray *, VertexIndices,
__IndexArray_P1__getVertexIndices,
__void__setVertexIndices__IndexArray_P1);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::Geometry::ArrayData)
I_DeclaringFile("osg/Geometry");
I_Constructor0(____ArrayData,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Geometry::ArrayData &, data, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____ArrayData__C5_ArrayData_R1__C5_CopyOp_R1,
"",
"");
I_ConstructorWithDefaults3(IN, osg::Array *, a, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE,
____ArrayData__Array_P1__AttributeBinding__GLboolean,
"",
"");
I_ConstructorWithDefaults4(IN, osg::Array *, a, , IN, osg::IndexArray *, i, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE,
____ArrayData__Array_P1__IndexArray_P1__AttributeBinding__GLboolean,
"",
"");
I_Method0(bool, empty,
Properties::NON_VIRTUAL,
__bool__empty,
"",
"");
I_PublicMemberProperty(osg::ref_ptr< osg::Array >, array);
I_PublicMemberProperty(osg::ref_ptr< osg::IndexArray >, indices);
I_PublicMemberProperty(osg::Geometry::AttributeBinding, binding);
I_PublicMemberProperty(GLboolean, normalize);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::Geometry::Vec3ArrayData)
I_DeclaringFile("osg/Geometry");
I_Constructor0(____Vec3ArrayData,
"",
"");
I_ConstructorWithDefaults2(IN, const osg::Geometry::Vec3ArrayData &, data, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
____Vec3ArrayData__C5_Vec3ArrayData_R1__C5_CopyOp_R1,
"",
"");
I_ConstructorWithDefaults3(IN, osg::Vec3Array *, a, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE,
____Vec3ArrayData__Vec3Array_P1__AttributeBinding__GLboolean,
"",
"");
I_ConstructorWithDefaults4(IN, osg::Vec3Array *, a, , IN, osg::IndexArray *, i, , IN, osg::Geometry::AttributeBinding, b, , IN, GLboolean, n, GL_FALSE,
____Vec3ArrayData__Vec3Array_P1__IndexArray_P1__AttributeBinding__GLboolean,
"",
"");
I_Method0(bool, empty,
Properties::NON_VIRTUAL,
__bool__empty,
"",
"");
I_PublicMemberProperty(osg::ref_ptr< osg::Vec3Array >, array);
I_PublicMemberProperty(osg::ref_ptr< osg::IndexArray >, indices);
I_PublicMemberProperty(osg::Geometry::AttributeBinding, binding);
I_PublicMemberProperty(GLboolean, normalize);
END_REFLECTOR
BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osg::PrimitiveSet >)
I_DeclaringFile("osg/ref_ptr");
I_Constructor0(____ref_ptr,
"",
"");
I_Constructor1(IN, osg::PrimitiveSet *, ptr,
Properties::NON_EXPLICIT,
____ref_ptr__T_P1,
"",
"");
I_Constructor1(IN, const osg::ref_ptr< osg::PrimitiveSet > &, rp,
Properties::NON_EXPLICIT,
____ref_ptr__C5_ref_ptr_R1,
"",
"");
I_Method0(osg::PrimitiveSet *, get,
Properties::NON_VIRTUAL,
__T_P1__get,
"",
"");
I_Method0(bool, valid,
Properties::NON_VIRTUAL,
__bool__valid,
"",
"");
I_Method0(osg::PrimitiveSet *, release,
Properties::NON_VIRTUAL,
__T_P1__release,
"",
"");
I_Method1(void, swap, IN, osg::ref_ptr< osg::PrimitiveSet > &, rp,
Properties::NON_VIRTUAL,
__void__swap__ref_ptr_R1,
"",
"");
I_SimpleProperty(osg::PrimitiveSet *, ,
__T_P1__get,
0);
END_REFLECTOR
STD_VECTOR_REFLECTOR(std::vector< osg::Array * >)
STD_VECTOR_REFLECTOR(std::vector< osg::DrawElements * >)
STD_VECTOR_REFLECTOR(std::vector< osg::Geometry::ArrayData >)
STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osg::PrimitiveSet > >)