primitiveset.cpp
来自「最新osg包」· C++ 代码 · 共 561 行 · 第 1/2 页
CPP
561 行
// ***************************************************************************//// Generated automatically by genwrapper.// Please DO NOT EDIT this file!//// ***************************************************************************#include <osgIntrospection/ReflectionMacros>#include <osgIntrospection/TypedMethodInfo>#include <osgIntrospection/StaticMethodInfo>#include <osgIntrospection/Attributes>#include <osg/BufferObject>#include <osg/CopyOp>#include <osg/Object>#include <osg/PrimitiveSet>#include <osg/State>#include <osg/Vec2>#include <osg/Vec2d>#include <osg/Vec3>#include <osg/Vec3d>#include <osg/Vec4>#include <osg/Vec4d>// Must undefine IN and OUT macros defined in Windows headers#ifdef IN#undef IN#endif#ifdef OUT#undef OUT#endifTYPE_NAME_ALIAS(osg::VectorGLsizei, osg::DrawArrayLengths::vector_type)BEGIN_OBJECT_REFLECTOR(osg::DrawArrays) I_DeclaringFile("osg/PrimitiveSet"); I_BaseType(osg::PrimitiveSet); I_ConstructorWithDefaults1(IN, GLenum, mode, 0, Properties::NON_EXPLICIT, ____DrawArrays__GLenum, "", ""); I_Constructor3(IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, ____DrawArrays__GLenum__GLint__GLsizei, "", ""); I_ConstructorWithDefaults2(IN, const osg::DrawArrays &, da, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____DrawArrays__C5_DrawArrays_R1__C5_CopyOp_R1, "", ""); 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_Method3(void, set, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, Properties::NON_VIRTUAL, __void__set__GLenum__GLint__GLsizei, "", ""); I_Method1(void, setFirst, IN, GLint, first, Properties::NON_VIRTUAL, __void__setFirst__GLint, "", ""); I_Method0(GLint, getFirst, Properties::NON_VIRTUAL, __GLint__getFirst, "", ""); I_Method1(void, setCount, IN, GLsizei, count, Properties::NON_VIRTUAL, __void__setCount__GLsizei, "", ""); I_Method0(GLsizei, getCount, Properties::NON_VIRTUAL, __GLsizei__getCount, "", ""); I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects, Properties::VIRTUAL, __void__draw__State_R1__bool, "", ""); I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor, Properties::VIRTUAL, __void__accept__PrimitiveFunctor_R1, "", ""); I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor, Properties::VIRTUAL, __void__accept__PrimitiveIndexFunctor_R1, "", ""); I_Method0(unsigned int, getNumIndices, Properties::VIRTUAL, __unsigned_int__getNumIndices, "", ""); I_Method1(unsigned int, index, IN, unsigned int, pos, Properties::VIRTUAL, __unsigned_int__index__unsigned_int, "", ""); I_Method1(void, offsetIndices, IN, int, offset, Properties::VIRTUAL, __void__offsetIndices__int, "", ""); I_SimpleProperty(GLsizei, Count, __GLsizei__getCount, __void__setCount__GLsizei); I_SimpleProperty(GLint, First, __GLint__getFirst, __void__setFirst__GLint);END_REFLECTORBEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::DrawElements) I_DeclaringFile("osg/PrimitiveSet"); I_BaseType(osg::PrimitiveSet); I_ConstructorWithDefaults2(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0, ____DrawElements__Type__GLenum, "", ""); I_ConstructorWithDefaults2(IN, const osg::DrawElements &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____DrawElements__C5_DrawElements_R1__C5_CopyOp_R1, "", ""); I_Method0(osg::DrawElements *, getDrawElements, Properties::VIRTUAL, __DrawElements_P1__getDrawElements, "", ""); I_Method0(const osg::DrawElements *, getDrawElements, Properties::VIRTUAL, __C5_DrawElements_P1__getDrawElements, "", ""); 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, setElementBufferObject, IN, osg::ElementBufferObject *, ebo, Properties::NON_VIRTUAL, __void__setElementBufferObject__osg_ElementBufferObject_P1, "Set the ElementBufferObject. ", ""); I_Method0(osg::ElementBufferObject *, getElementBufferObject, Properties::NON_VIRTUAL, __osg_ElementBufferObject_P1__getElementBufferObject, "Get the ElementBufferObject. ", "If no EBO is assigned returns NULL "); I_Method0(const osg::ElementBufferObject *, getElementBufferObject, Properties::NON_VIRTUAL, __C5_osg_ElementBufferObject_P1__getElementBufferObject, "Get the const ElementBufferObject. ", "If no EBO is assigned returns NULL "); I_Method1(void, setElementBufferObjectOffset, IN, const GLvoid *, offset, Properties::NON_VIRTUAL, __void__setElementBufferObjectOffset__C5_GLvoid_P1, "Set the offset into the ElementBufferObject, if used. ", ""); I_Method0(const GLvoid *, getElementBufferObjectOffset, Properties::NON_VIRTUAL, __C5_GLvoid_P1__getElementBufferObjectOffset, "Get the offset into the ElementBufferOffset, if used. ", ""); 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_SimpleProperty(osg::DrawElements *, DrawElements, __DrawElements_P1__getDrawElements, 0); I_SimpleProperty(osg::ElementBufferObject *, ElementBufferObject, __osg_ElementBufferObject_P1__getElementBufferObject, __void__setElementBufferObject__osg_ElementBufferObject_P1); I_SimpleProperty(const GLvoid *, ElementBufferObjectOffset, __C5_GLvoid_P1__getElementBufferObjectOffset, __void__setElementBufferObjectOffset__C5_GLvoid_P1);END_REFLECTORTYPE_NAME_ALIAS(osg::VectorGLubyte, osg::DrawElementsUByte::vector_type)TYPE_NAME_ALIAS(osg::VectorGLuint, osg::DrawElementsUInt::vector_type)TYPE_NAME_ALIAS(osg::VectorGLushort, osg::DrawElementsUShort::vector_type)BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveFunctor) I_DeclaringFile("osg/PrimitiveSet"); I_Constructor0(____PrimitiveFunctor, "", ""); I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices, Properties::PURE_VIRTUAL, __void__setVertexArray__unsigned_int__C5_Vec2_P1, "Sets the array of vertices used to describe the primitives. ", "Somehow mimics the OpenGL glVertexPointer() function. "); I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices, Properties::PURE_VIRTUAL, __void__setVertexArray__unsigned_int__C5_Vec3_P1, "Sets the array of vertices used to describe the primitives. ", "Somehow mimics the OpenGL glVertexPointer() function. "); I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices, Properties::PURE_VIRTUAL, __void__setVertexArray__unsigned_int__C5_Vec4_P1, "Sets the array of vertices used to describe the primitives. ", "Somehow mimics the OpenGL glVertexPointer() function. "); I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2d *, vertices, Properties::PURE_VIRTUAL, __void__setVertexArray__unsigned_int__C5_Vec2d_P1, "Sets the array of vertices used to describe the primitives. ", "Somehow mimics the OpenGL glVertexPointer() function. "); I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3d *, vertices, Properties::PURE_VIRTUAL, __void__setVertexArray__unsigned_int__C5_Vec3d_P1, "Sets the array of vertices used to describe the primitives. ", "Somehow mimics the OpenGL glVertexPointer() function. "); I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4d *, vertices, Properties::PURE_VIRTUAL, __void__setVertexArray__unsigned_int__C5_Vec4d_P1, "Sets the array of vertices used to describe the primitives. ", "Somehow mimics the OpenGL glVertexPointer() function. "); I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, Properties::PURE_VIRTUAL, __void__drawArrays__GLenum__GLint__GLsizei, "Mimics the OpenGL glDrawArrays() function. ", ""); I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices, Properties::PURE_VIRTUAL, __void__drawElements__GLenum__GLsizei__C5_GLubyte_P1, "Mimics the OpenGL glDrawElements() function. ", ""); I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices, Properties::PURE_VIRTUAL, __void__drawElements__GLenum__GLsizei__C5_GLushort_P1, "Mimics the OpenGL glDrawElements() function. ", ""); I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices, Properties::PURE_VIRTUAL, __void__drawElements__GLenum__GLsizei__C5_GLuint_P1, "Mimics the OpenGL glDrawElements() function. ", ""); I_Method1(void, begin, IN, GLenum, mode, Properties::PURE_VIRTUAL, __void__begin__GLenum, "Mimics the OpenGL glBegin() function. ", ""); I_Method1(void, vertex, IN, const osg::Vec2 &, vert, Properties::PURE_VIRTUAL, __void__vertex__C5_Vec2_R1, "Mimics the OpenGL glVertex() \"family of functions\". ", "");
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?