📄 geometry.cpp
字号:
""); 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, 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, setVertexIndices, IN, osg::IndexArray *, array, Properties::NON_VIRTUAL, __void__setVertexIndices__IndexArray_P1, "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", ""); 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, setNormalIndices, IN, osg::IndexArray *, array, Properties::NON_VIRTUAL, __void__setNormalIndices__IndexArray_P1, "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", ""); 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, setColorIndices, IN, osg::IndexArray *, array, Properties::NON_VIRTUAL, __void__setColorIndices__IndexArray_P1, "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", ""); 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, setSecondaryColorIndices, IN, osg::IndexArray *, array, Properties::NON_VIRTUAL, __void__setSecondaryColorIndices__IndexArray_P1, "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", ""); 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, setFogCoordIndices, IN, osg::IndexArray *, array, Properties::NON_VIRTUAL, __void__setFogCoordIndices__IndexArray_P1, "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", ""); 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_Method2(void, setTexCoordIndices, IN, unsigned int, unit, IN, osg::IndexArray *, x, Properties::NON_VIRTUAL, __void__setTexCoordIndices__unsigned_int__IndexArray_P1, "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", ""); 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, setVertexAttribIndices, IN, unsigned int, index, IN, osg::IndexArray *, array, Properties::NON_VIRTUAL, __void__setVertexAttribIndices__unsigned_int__IndexArray_P1, "deprecated - forces OpenGL slow path, just kept for backwards compatibility. ", ""); 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_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 objects 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(bool, containsSharedArrays, Properties::NON_VIRTUAL, __bool__containsSharedArrays, "", ""); I_Method0(void, duplicateSharedArrays, Properties::NON_VIRTUAL, __void__duplicateSharedArrays, "", ""); 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, "", "");
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -