📄 geometry.cpp
字号:
// ***************************************************************************//// 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#endifTYPE_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_REFLECTORBEGIN_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, 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, 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, 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, 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, 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, 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, "",
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -