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