primitiveset.cpp

来自「最新osg包」· C++ 代码 · 共 561 行 · 第 1/2 页

CPP
561
字号
	I_Method1(void, vertex, IN, const osg::Vec3 &, vert,	          Properties::PURE_VIRTUAL,	          __void__vertex__C5_Vec3_R1,	          "Mimics the OpenGL glVertex() \"family of functions\". ",	          "");	I_Method1(void, vertex, IN, const osg::Vec4 &, vert,	          Properties::PURE_VIRTUAL,	          __void__vertex__C5_Vec4_R1,	          "Mimics the OpenGL glVertex() \"family of functions\". ",	          "");	I_Method2(void, vertex, IN, float, x, IN, float, y,	          Properties::PURE_VIRTUAL,	          __void__vertex__float__float,	          "Mimics the OpenGL glVertex() \"family of functions\". ",	          "");	I_Method3(void, vertex, IN, float, x, IN, float, y, IN, float, z,	          Properties::PURE_VIRTUAL,	          __void__vertex__float__float__float,	          "Mimics the OpenGL glVertex() \"family of functions\". ",	          "");	I_Method4(void, vertex, IN, float, x, IN, float, y, IN, float, z, IN, float, w,	          Properties::PURE_VIRTUAL,	          __void__vertex__float__float__float__float,	          "Mimics the OpenGL glVertex() \"family of functions\". ",	          "");	I_Method0(void, end,	          Properties::PURE_VIRTUAL,	          __void__end,	          "Mimics the OpenGL glEnd() function. ",	          "");END_REFLECTORBEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveIndexFunctor)	I_DeclaringFile("osg/PrimitiveSet");	I_Constructor0(____PrimitiveIndexFunctor,	               "",	               "");	I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices,	          Properties::PURE_VIRTUAL,	          __void__setVertexArray__unsigned_int__C5_Vec2_P1,	          "",	          "");	I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices,	          Properties::PURE_VIRTUAL,	          __void__setVertexArray__unsigned_int__C5_Vec3_P1,	          "",	          "");	I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices,	          Properties::PURE_VIRTUAL,	          __void__setVertexArray__unsigned_int__C5_Vec4_P1,	          "",	          "");	I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2d *, vertices,	          Properties::PURE_VIRTUAL,	          __void__setVertexArray__unsigned_int__C5_Vec2d_P1,	          "",	          "");	I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3d *, vertices,	          Properties::PURE_VIRTUAL,	          __void__setVertexArray__unsigned_int__C5_Vec3d_P1,	          "",	          "");	I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4d *, vertices,	          Properties::PURE_VIRTUAL,	          __void__setVertexArray__unsigned_int__C5_Vec4d_P1,	          "",	          "");	I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count,	          Properties::PURE_VIRTUAL,	          __void__drawArrays__GLenum__GLint__GLsizei,	          "",	          "");	I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices,	          Properties::PURE_VIRTUAL,	          __void__drawElements__GLenum__GLsizei__C5_GLubyte_P1,	          "",	          "");	I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices,	          Properties::PURE_VIRTUAL,	          __void__drawElements__GLenum__GLsizei__C5_GLushort_P1,	          "",	          "");	I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices,	          Properties::PURE_VIRTUAL,	          __void__drawElements__GLenum__GLsizei__C5_GLuint_P1,	          "",	          "");	I_Method1(void, begin, IN, GLenum, mode,	          Properties::PURE_VIRTUAL,	          __void__begin__GLenum,	          "",	          "");	I_Method1(void, vertex, IN, unsigned int, pos,	          Properties::PURE_VIRTUAL,	          __void__vertex__unsigned_int,	          "",	          "");	I_Method0(void, end,	          Properties::PURE_VIRTUAL,	          __void__end,	          "",	          "");END_REFLECTORBEGIN_ENUM_REFLECTOR(osg::PrimitiveSet::Type)	I_DeclaringFile("osg/PrimitiveSet");	I_EnumLabel(osg::PrimitiveSet::PrimitiveType);	I_EnumLabel(osg::PrimitiveSet::DrawArraysPrimitiveType);	I_EnumLabel(osg::PrimitiveSet::DrawArrayLengthsPrimitiveType);	I_EnumLabel(osg::PrimitiveSet::DrawElementsUBytePrimitiveType);	I_EnumLabel(osg::PrimitiveSet::DrawElementsUShortPrimitiveType);	I_EnumLabel(osg::PrimitiveSet::DrawElementsUIntPrimitiveType);END_REFLECTORBEGIN_ENUM_REFLECTOR(osg::PrimitiveSet::Mode)	I_DeclaringFile("osg/PrimitiveSet");	I_EnumLabel(osg::PrimitiveSet::POINTS);	I_EnumLabel(osg::PrimitiveSet::LINES);	I_EnumLabel(osg::PrimitiveSet::LINE_STRIP);	I_EnumLabel(osg::PrimitiveSet::LINE_LOOP);	I_EnumLabel(osg::PrimitiveSet::TRIANGLES);	I_EnumLabel(osg::PrimitiveSet::TRIANGLE_STRIP);	I_EnumLabel(osg::PrimitiveSet::TRIANGLE_FAN);	I_EnumLabel(osg::PrimitiveSet::QUADS);	I_EnumLabel(osg::PrimitiveSet::QUAD_STRIP);	I_EnumLabel(osg::PrimitiveSet::POLYGON);END_REFLECTORBEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveSet)	I_DeclaringFile("osg/PrimitiveSet");	I_BaseType(osg::Object);	I_ConstructorWithDefaults2(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0,	                           ____PrimitiveSet__Type__GLenum,	                           "",	                           "");	I_ConstructorWithDefaults2(IN, const osg::PrimitiveSet &, prim, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,	                           ____PrimitiveSet__C5_PrimitiveSet_R1__C5_CopyOp_R1,	                           "",	                           "");	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::PrimitiveSet::Type, getType,	          Properties::NON_VIRTUAL,	          __Type__getType,	          "",	          "");	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_Method0(osg::DrawElements *, getDrawElements,	          Properties::VIRTUAL,	          __DrawElements_P1__getDrawElements,	          "",	          "");	I_Method0(const osg::DrawElements *, getDrawElements,	          Properties::VIRTUAL,	          __C5_DrawElements_P1__getDrawElements,	          "",	          "");	I_Method1(void, setMode, IN, GLenum, mode,	          Properties::NON_VIRTUAL,	          __void__setMode__GLenum,	          "",	          "");	I_Method0(GLenum, getMode,	          Properties::NON_VIRTUAL,	          __GLenum__getMode,	          "",	          "");	I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,	          Properties::PURE_VIRTUAL,	          __void__draw__State_R1__bool,	          "",	          "");	I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,	          Properties::PURE_VIRTUAL,	          __void__accept__PrimitiveFunctor_R1,	          "",	          "");	I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,	          Properties::PURE_VIRTUAL,	          __void__accept__PrimitiveIndexFunctor_R1,	          "",	          "");	I_Method1(unsigned int, index, IN, unsigned int, pos,	          Properties::PURE_VIRTUAL,	          __unsigned_int__index__unsigned_int,	          "",	          "");	I_Method0(unsigned int, getNumIndices,	          Properties::PURE_VIRTUAL,	          __unsigned_int__getNumIndices,	          "",	          "");	I_Method1(void, offsetIndices, IN, int, offset,	          Properties::PURE_VIRTUAL,	          __void__offsetIndices__int,	          "",	          "");	I_Method0(unsigned int, getNumPrimitives,	          Properties::VIRTUAL,	          __unsigned_int__getNumPrimitives,	          "",	          "");	I_Method0(void, dirty,	          Properties::VIRTUAL,	          __void__dirty,	          "Dirty the primitive, which increments the modified count, to force buffer objects to update. ",	          "");	I_Method1(void, setModifiedCount, IN, unsigned int, value,	          Properties::NON_VIRTUAL,	          __void__setModifiedCount__unsigned_int,	          "Set the modified count value. ",	          "");	I_Method0(unsigned int, getModifiedCount,	          Properties::NON_VIRTUAL,	          __unsigned_int__getModifiedCount,	          "Get modified count value. ",	          "");	I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int,	          Properties::VIRTUAL,	          __void__resizeGLObjectBuffers__unsigned,	          "Resize any per context GLObject buffers to specified size. ",	          "");	I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 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_Method0(void, computeRange,	          Properties::VIRTUAL,	          __void__computeRange,	          "",	          "");	I_SimpleProperty(const GLvoid *, DataPointer, 	                 __C5_GLvoid_P1__getDataPointer, 	                 0);	I_SimpleProperty(osg::DrawElements *, DrawElements, 	                 __DrawElements_P1__getDrawElements, 	                 0);	I_SimpleProperty(GLenum, Mode, 	                 __GLenum__getMode, 	                 __void__setMode__GLenum);	I_SimpleProperty(unsigned int, ModifiedCount, 	                 __unsigned_int__getModifiedCount, 	                 __void__setModifiedCount__unsigned_int);	I_SimpleProperty(unsigned int, TotalDataSize, 	                 __unsigned_int__getTotalDataSize, 	                 0);	I_SimpleProperty(osg::PrimitiveSet::Type, Type, 	                 __Type__getType, 	                 0);END_REFLECTOR

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?