📄 array.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/Object>#include <osg/Vec2>#include <osg/Vec2b>#include <osg/Vec2d>#include <osg/Vec2s>#include <osg/Vec3>#include <osg/Vec3b>#include <osg/Vec3d>#include <osg/Vec3s>#include <osg/Vec4>#include <osg/Vec4b>#include <osg/Vec4d>#include <osg/Vec4s>#include <osg/Vec4ub>// Must undefine IN and OUT macros defined in Windows headers#ifdef IN#undef IN#endif#ifdef OUT#undef OUT#endifBEGIN_ENUM_REFLECTOR(osg::Array::Type) I_DeclaringFile("osg/Array"); I_EnumLabel(osg::Array::ArrayType); I_EnumLabel(osg::Array::ByteArrayType); I_EnumLabel(osg::Array::ShortArrayType); I_EnumLabel(osg::Array::IntArrayType); I_EnumLabel(osg::Array::UByteArrayType); I_EnumLabel(osg::Array::UShortArrayType); I_EnumLabel(osg::Array::UIntArrayType); I_EnumLabel(osg::Array::Vec4ubArrayType); I_EnumLabel(osg::Array::FloatArrayType); I_EnumLabel(osg::Array::Vec2ArrayType); I_EnumLabel(osg::Array::Vec3ArrayType); I_EnumLabel(osg::Array::Vec4ArrayType); I_EnumLabel(osg::Array::Vec2sArrayType); I_EnumLabel(osg::Array::Vec3sArrayType); I_EnumLabel(osg::Array::Vec4sArrayType); I_EnumLabel(osg::Array::Vec2bArrayType); I_EnumLabel(osg::Array::Vec3bArrayType); I_EnumLabel(osg::Array::Vec4bArrayType); I_EnumLabel(osg::Array::DoubleArrayType); I_EnumLabel(osg::Array::Vec2dArrayType); I_EnumLabel(osg::Array::Vec3dArrayType); I_EnumLabel(osg::Array::Vec4dArrayType);END_REFLECTORBEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::Array) I_DeclaringFile("osg/Array"); I_BaseType(osg::Object); I_ConstructorWithDefaults3(IN, osg::Array::Type, arrayType, osg::Array::ArrayType, IN, GLint, dataSize, 0, IN, GLenum, dataType, 0, ____Array__Type__GLint__GLenum, "", ""); I_ConstructorWithDefaults2(IN, const osg::Array &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, ____Array__C5_Array_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_Method1(void, accept, IN, osg::ArrayVisitor &, x, Properties::PURE_VIRTUAL, __void__accept__ArrayVisitor_R1, "", ""); I_Method1(void, accept, IN, osg::ConstArrayVisitor &, x, Properties::PURE_VIRTUAL, __void__accept__ConstArrayVisitor_R1, "", ""); I_Method2(void, accept, IN, unsigned int, index, IN, osg::ValueVisitor &, x, Properties::PURE_VIRTUAL, __void__accept__unsigned_int__ValueVisitor_R1, "", ""); I_Method2(void, accept, IN, unsigned int, index, IN, osg::ConstValueVisitor &, x, Properties::PURE_VIRTUAL, __void__accept__unsigned_int__ConstValueVisitor_R1, "", ""); I_Method2(int, compare, IN, unsigned int, lhs, IN, unsigned int, rhs, Properties::PURE_VIRTUAL, __int__compare__unsigned_int__unsigned_int, "Return -1 if lhs element is less than rhs element, 0 if equal, 1 if lhs element is greater than rhs element. ", ""); I_Method0(osg::Array::Type, getType, Properties::NON_VIRTUAL, __Type__getType, "", ""); I_Method0(GLint, getDataSize, Properties::NON_VIRTUAL, __GLint__getDataSize, "", ""); I_Method0(GLenum, getDataType, Properties::NON_VIRTUAL, __GLenum__getDataType, "", ""); I_Method0(const GLvoid *, getDataPointer, Properties::PURE_VIRTUAL, __C5_GLvoid_P1__getDataPointer, "", ""); I_Method0(unsigned int, getTotalDataSize, Properties::PURE_VIRTUAL, __unsigned_int__getTotalDataSize, "", ""); I_Method0(unsigned int, getNumElements, Properties::PURE_VIRTUAL, __unsigned_int__getNumElements, "", ""); I_Method0(void, trim, Properties::VIRTUAL, __void__trim, "Frees unused space on this vector - i.e. ", "the difference between size() and max_size() of the underlying vector. "); I_Method0(void, dirty, Properties::NON_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, setVertexBufferObject, IN, osg::VertexBufferObject *, vbo, Properties::NON_VIRTUAL, __void__setVertexBufferObject__osg_VertexBufferObject_P1, "Set the VertexBufferObject. ", ""); I_Method0(osg::VertexBufferObject *, getVertexBufferObject, Properties::NON_VIRTUAL, __osg_VertexBufferObject_P1__getVertexBufferObject, "Get the VertexBufferObject. ", "If no VBO is assigned returns NULL "); I_Method0(const osg::VertexBufferObject *, getVertexBufferObject, Properties::NON_VIRTUAL, __C5_osg_VertexBufferObject_P1__getVertexBufferObject, "Get the const VertexBufferObject. ", "If no VBO is assigned returns NULL "); I_Method1(void, setVertexBufferObjectOffset, IN, const GLvoid *, offset, Properties::NON_VIRTUAL, __void__setVertexBufferObjectOffset__C5_GLvoid_P1, "Set the offset into the VertexBufferObject, if used. ", ""); I_Method0(const GLvoid *, getVertexBufferObjectOffset, Properties::NON_VIRTUAL, __C5_GLvoid_P1__getVertexBufferObjectOffset, "Get the offset into the VertexBufferObject, if used. ", ""); I_SimpleProperty(const GLvoid *, DataPointer, __C5_GLvoid_P1__getDataPointer, 0); I_SimpleProperty(GLint, DataSize, __GLint__getDataSize, 0); I_SimpleProperty(GLenum, DataType, __GLenum__getDataType, 0); I_SimpleProperty(unsigned int, ModifiedCount, __unsigned_int__getModifiedCount, __void__setModifiedCount__unsigned_int); I_SimpleProperty(unsigned int, TotalDataSize, __unsigned_int__getTotalDataSize, 0); I_SimpleProperty(osg::Array::Type, Type, __Type__getType, 0); I_SimpleProperty(osg::VertexBufferObject *, VertexBufferObject, __osg_VertexBufferObject_P1__getVertexBufferObject, __void__setVertexBufferObject__osg_VertexBufferObject_P1); I_SimpleProperty(const GLvoid *, VertexBufferObjectOffset, __C5_GLvoid_P1__getVertexBufferObjectOffset, __void__setVertexBufferObjectOffset__C5_GLvoid_P1);END_REFLECTORBEGIN_VALUE_REFLECTOR(osg::ArrayVisitor) I_DeclaringFile("osg/Array"); I_Constructor0(____ArrayVisitor, "", ""); I_Method1(void, apply, IN, osg::Array &, x, Properties::VIRTUAL, __void__apply__Array_R1, "", ""); I_Method1(void, apply, IN, osg::ByteArray &, x, Properties::VIRTUAL, __void__apply__ByteArray_R1, "", ""); I_Method1(void, apply, IN, osg::ShortArray &, x, Properties::VIRTUAL, __void__apply__ShortArray_R1, "", ""); I_Method1(void, apply, IN, osg::IntArray &, x, Properties::VIRTUAL, __void__apply__IntArray_R1, "", ""); I_Method1(void, apply, IN, osg::UByteArray &, x, Properties::VIRTUAL, __void__apply__UByteArray_R1, "", ""); I_Method1(void, apply, IN, osg::UShortArray &, x, Properties::VIRTUAL, __void__apply__UShortArray_R1, "", ""); I_Method1(void, apply, IN, osg::UIntArray &, x, Properties::VIRTUAL, __void__apply__UIntArray_R1, "", ""); I_Method1(void, apply, IN, osg::FloatArray &, x, Properties::VIRTUAL, __void__apply__FloatArray_R1, "", ""); I_Method1(void, apply, IN, osg::DoubleArray &, x, Properties::VIRTUAL, __void__apply__DoubleArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec2Array &, x, Properties::VIRTUAL, __void__apply__Vec2Array_R1, "", ""); I_Method1(void, apply, IN, osg::Vec3Array &, x, Properties::VIRTUAL, __void__apply__Vec3Array_R1, "", ""); I_Method1(void, apply, IN, osg::Vec4Array &, x, Properties::VIRTUAL, __void__apply__Vec4Array_R1, "", ""); I_Method1(void, apply, IN, osg::Vec4ubArray &, x, Properties::VIRTUAL, __void__apply__Vec4ubArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec2bArray &, x, Properties::VIRTUAL, __void__apply__Vec2bArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec3bArray &, x, Properties::VIRTUAL, __void__apply__Vec3bArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec4bArray &, x, Properties::VIRTUAL, __void__apply__Vec4bArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec2sArray &, x, Properties::VIRTUAL, __void__apply__Vec2sArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec3sArray &, x, Properties::VIRTUAL, __void__apply__Vec3sArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec4sArray &, x, Properties::VIRTUAL, __void__apply__Vec4sArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec2dArray &, x, Properties::VIRTUAL, __void__apply__Vec2dArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec3dArray &, x, Properties::VIRTUAL, __void__apply__Vec3dArray_R1, "", ""); I_Method1(void, apply, IN, osg::Vec4dArray &, x, Properties::VIRTUAL, __void__apply__Vec4dArray_R1, "", "");END_REFLECTORBEGIN_VALUE_REFLECTOR(osg::ConstArrayVisitor) I_DeclaringFile("osg/Array"); I_Constructor0(____ConstArrayVisitor, "", ""); I_Method1(void, apply, IN, const osg::Array &, x, Properties::VIRTUAL, __void__apply__C5_Array_R1, "", ""); I_Method1(void, apply, IN, const osg::ByteArray &, x, Properties::VIRTUAL, __void__apply__C5_ByteArray_R1, "", ""); I_Method1(void, apply, IN, const osg::ShortArray &, x, Properties::VIRTUAL, __void__apply__C5_ShortArray_R1, "", ""); I_Method1(void, apply, IN, const osg::IntArray &, x, Properties::VIRTUAL, __void__apply__C5_IntArray_R1, "", ""); I_Method1(void, apply, IN, const osg::UByteArray &, x, Properties::VIRTUAL, __void__apply__C5_UByteArray_R1, "", ""); I_Method1(void, apply, IN, const osg::UShortArray &, x, Properties::VIRTUAL, __void__apply__C5_UShortArray_R1, "", ""); I_Method1(void, apply, IN, const osg::UIntArray &, x, Properties::VIRTUAL,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -