| [3981] | 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | #include <osgIntrospection/ReflectionMacros> |
|---|
| 9 | #include <osgIntrospection/TypedMethodInfo> |
|---|
| [5518] | 10 | #include <osgIntrospection/StaticMethodInfo> |
|---|
| [3981] | 11 | #include <osgIntrospection/Attributes> |
|---|
| 12 | |
|---|
| [6555] | 13 | #include <osg/BufferObject> |
|---|
| [6227] | 14 | #include <osg/CopyOp> |
|---|
| 15 | #include <osg/Object> |
|---|
| [3981] | 16 | #include <osg/PrimitiveSet> |
|---|
| [5332] | 17 | #include <osg/State> |
|---|
| [6227] | 18 | #include <osg/Vec2> |
|---|
| [7632] | 19 | #include <osg/Vec2d> |
|---|
| [6227] | 20 | #include <osg/Vec3> |
|---|
| [7632] | 21 | #include <osg/Vec3d> |
|---|
| [6227] | 22 | #include <osg/Vec4> |
|---|
| [7632] | 23 | #include <osg/Vec4d> |
|---|
| [3981] | 24 | |
|---|
| [4234] | 25 | |
|---|
| 26 | #ifdef IN |
|---|
| 27 | #undef IN |
|---|
| 28 | #endif |
|---|
| 29 | #ifdef OUT |
|---|
| 30 | #undef OUT |
|---|
| 31 | #endif |
|---|
| 32 | |
|---|
| [6460] | 33 | TYPE_NAME_ALIAS(osg::VectorGLsizei, osg::DrawArrayLengths::vector_type) |
|---|
| [4411] | 34 | |
|---|
| [6180] | 35 | BEGIN_OBJECT_REFLECTOR(osg::DrawArrays) |
|---|
| [6903] | 36 | I_DeclaringFile("osg/PrimitiveSet"); |
|---|
| [5332] | 37 | I_BaseType(osg::PrimitiveSet); |
|---|
| [5659] | 38 | I_ConstructorWithDefaults1(IN, GLenum, mode, 0, |
|---|
| [6156] | 39 | Properties::NON_EXPLICIT, |
|---|
| [5659] | 40 | ____DrawArrays__GLenum, |
|---|
| 41 | "", |
|---|
| 42 | ""); |
|---|
| [9449] | 43 | I_ConstructorWithDefaults4(IN, GLenum, mode, , IN, GLint, first, , IN, GLsizei, count, , IN, int, numInstances, 0, |
|---|
| 44 | ____DrawArrays__GLenum__GLint__GLsizei__int, |
|---|
| 45 | "", |
|---|
| 46 | ""); |
|---|
| [5659] | 47 | I_ConstructorWithDefaults2(IN, const osg::DrawArrays &, da, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 48 | ____DrawArrays__C5_DrawArrays_R1__C5_CopyOp_R1, |
|---|
| 49 | "", |
|---|
| 50 | ""); |
|---|
| 51 | I_Method0(osg::Object *, cloneType, |
|---|
| [6156] | 52 | Properties::VIRTUAL, |
|---|
| [5659] | 53 | __Object_P1__cloneType, |
|---|
| [6227] | 54 | "Clone the type of an object, with Object* return type. ", |
|---|
| 55 | "Must be defined by derived classes. "); |
|---|
| [9775] | 56 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, |
|---|
| [6156] | 57 | Properties::VIRTUAL, |
|---|
| [5659] | 58 | __Object_P1__clone__C5_CopyOp_R1, |
|---|
| [6227] | 59 | "Clone an object, with Object* return type. ", |
|---|
| 60 | "Must be defined by derived classes. "); |
|---|
| [5659] | 61 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| [6156] | 62 | Properties::VIRTUAL, |
|---|
| [5659] | 63 | __bool__isSameKindAs__C5_Object_P1, |
|---|
| 64 | "", |
|---|
| 65 | ""); |
|---|
| 66 | I_Method0(const char *, libraryName, |
|---|
| [6156] | 67 | Properties::VIRTUAL, |
|---|
| [5659] | 68 | __C5_char_P1__libraryName, |
|---|
| [6227] | 69 | "return the name of the object's library. ", |
|---|
| 70 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| [5659] | 71 | I_Method0(const char *, className, |
|---|
| [6156] | 72 | Properties::VIRTUAL, |
|---|
| [5659] | 73 | __C5_char_P1__className, |
|---|
| [6227] | 74 | "return the name of the object's class type. ", |
|---|
| 75 | "Must be defined by derived classes. "); |
|---|
| [5659] | 76 | I_Method3(void, set, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, |
|---|
| [6156] | 77 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 78 | __void__set__GLenum__GLint__GLsizei, |
|---|
| 79 | "", |
|---|
| 80 | ""); |
|---|
| 81 | I_Method1(void, setFirst, IN, GLint, first, |
|---|
| [6156] | 82 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 83 | __void__setFirst__GLint, |
|---|
| 84 | "", |
|---|
| 85 | ""); |
|---|
| 86 | I_Method0(GLint, getFirst, |
|---|
| [6156] | 87 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 88 | __GLint__getFirst, |
|---|
| 89 | "", |
|---|
| 90 | ""); |
|---|
| 91 | I_Method1(void, setCount, IN, GLsizei, count, |
|---|
| [6156] | 92 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 93 | __void__setCount__GLsizei, |
|---|
| 94 | "", |
|---|
| 95 | ""); |
|---|
| 96 | I_Method0(GLsizei, getCount, |
|---|
| [6156] | 97 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 98 | __GLsizei__getCount, |
|---|
| 99 | "", |
|---|
| 100 | ""); |
|---|
| 101 | I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects, |
|---|
| [6156] | 102 | Properties::VIRTUAL, |
|---|
| [5659] | 103 | __void__draw__State_R1__bool, |
|---|
| 104 | "", |
|---|
| 105 | ""); |
|---|
| 106 | I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor, |
|---|
| [6156] | 107 | Properties::VIRTUAL, |
|---|
| [5659] | 108 | __void__accept__PrimitiveFunctor_R1, |
|---|
| 109 | "", |
|---|
| 110 | ""); |
|---|
| 111 | I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor, |
|---|
| [6156] | 112 | Properties::VIRTUAL, |
|---|
| [5659] | 113 | __void__accept__PrimitiveIndexFunctor_R1, |
|---|
| 114 | "", |
|---|
| 115 | ""); |
|---|
| 116 | I_Method0(unsigned int, getNumIndices, |
|---|
| [6156] | 117 | Properties::VIRTUAL, |
|---|
| [5659] | 118 | __unsigned_int__getNumIndices, |
|---|
| 119 | "", |
|---|
| 120 | ""); |
|---|
| 121 | I_Method1(unsigned int, index, IN, unsigned int, pos, |
|---|
| [6156] | 122 | Properties::VIRTUAL, |
|---|
| [5659] | 123 | __unsigned_int__index__unsigned_int, |
|---|
| 124 | "", |
|---|
| 125 | ""); |
|---|
| 126 | I_Method1(void, offsetIndices, IN, int, offset, |
|---|
| [6156] | 127 | Properties::VIRTUAL, |
|---|
| [5659] | 128 | __void__offsetIndices__int, |
|---|
| 129 | "", |
|---|
| 130 | ""); |
|---|
| 131 | I_SimpleProperty(GLsizei, Count, |
|---|
| 132 | __GLsizei__getCount, |
|---|
| 133 | __void__setCount__GLsizei); |
|---|
| 134 | I_SimpleProperty(GLint, First, |
|---|
| 135 | __GLint__getFirst, |
|---|
| 136 | __void__setFirst__GLint); |
|---|
| [5332] | 137 | END_REFLECTOR |
|---|
| [3981] | 138 | |
|---|
| [6555] | 139 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::DrawElements) |
|---|
| [6903] | 140 | I_DeclaringFile("osg/PrimitiveSet"); |
|---|
| [6555] | 141 | I_BaseType(osg::PrimitiveSet); |
|---|
| [9449] | 142 | I_ConstructorWithDefaults3(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0, IN, int, numInstances, 0, |
|---|
| 143 | ____DrawElements__Type__GLenum__int, |
|---|
| [6555] | 144 | "", |
|---|
| 145 | ""); |
|---|
| 146 | I_ConstructorWithDefaults2(IN, const osg::DrawElements &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 147 | ____DrawElements__C5_DrawElements_R1__C5_CopyOp_R1, |
|---|
| 148 | "", |
|---|
| 149 | ""); |
|---|
| [6563] | 150 | I_Method0(osg::DrawElements *, getDrawElements, |
|---|
| 151 | Properties::VIRTUAL, |
|---|
| 152 | __DrawElements_P1__getDrawElements, |
|---|
| 153 | "", |
|---|
| 154 | ""); |
|---|
| 155 | I_Method0(const osg::DrawElements *, getDrawElements, |
|---|
| 156 | Properties::VIRTUAL, |
|---|
| 157 | __C5_DrawElements_P1__getDrawElements, |
|---|
| 158 | "", |
|---|
| 159 | ""); |
|---|
| [6574] | 160 | I_Method0(void, dirty, |
|---|
| 161 | Properties::VIRTUAL, |
|---|
| 162 | __void__dirty, |
|---|
| 163 | "Dirty the primitive, which increments the modified count, to force buffer objects to update. ", |
|---|
| 164 | ""); |
|---|
| [6580] | 165 | I_Method1(void, setElementBufferObject, IN, osg::ElementBufferObject *, ebo, |
|---|
| [6555] | 166 | Properties::NON_VIRTUAL, |
|---|
| [6580] | 167 | __void__setElementBufferObject__osg_ElementBufferObject_P1, |
|---|
| 168 | "Set the ElementBufferObject. ", |
|---|
| [6555] | 169 | ""); |
|---|
| [6580] | 170 | I_Method0(osg::ElementBufferObject *, getElementBufferObject, |
|---|
| [6555] | 171 | Properties::NON_VIRTUAL, |
|---|
| [6580] | 172 | __osg_ElementBufferObject_P1__getElementBufferObject, |
|---|
| 173 | "Get the ElementBufferObject. ", |
|---|
| [6555] | 174 | "If no EBO is assigned returns NULL "); |
|---|
| [6580] | 175 | I_Method0(const osg::ElementBufferObject *, getElementBufferObject, |
|---|
| [6555] | 176 | Properties::NON_VIRTUAL, |
|---|
| [6580] | 177 | __C5_osg_ElementBufferObject_P1__getElementBufferObject, |
|---|
| 178 | "Get the const ElementBufferObject. ", |
|---|
| [6555] | 179 | "If no EBO is assigned returns NULL "); |
|---|
| [6582] | 180 | I_Method1(void, setElementBufferObjectOffset, IN, const GLvoid *, offset, |
|---|
| [6555] | 181 | Properties::NON_VIRTUAL, |
|---|
| [6582] | 182 | __void__setElementBufferObjectOffset__C5_GLvoid_P1, |
|---|
| 183 | "Set the offset into the ElementBufferObject, if used. ", |
|---|
| [6555] | 184 | ""); |
|---|
| [6582] | 185 | I_Method0(const GLvoid *, getElementBufferObjectOffset, |
|---|
| [6555] | 186 | Properties::NON_VIRTUAL, |
|---|
| [6582] | 187 | __C5_GLvoid_P1__getElementBufferObjectOffset, |
|---|
| 188 | "Get the offset into the ElementBufferOffset, if used. ", |
|---|
| [6555] | 189 | ""); |
|---|
| [6582] | 190 | I_Method1(void, resizeGLObjectBuffers, IN, unsigned int, maxSize, |
|---|
| 191 | Properties::VIRTUAL, |
|---|
| 192 | __void__resizeGLObjectBuffers__unsigned_int, |
|---|
| 193 | "Resize any per context GLObject buffers to specified size. ", |
|---|
| 194 | ""); |
|---|
| 195 | I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, state, 0, |
|---|
| 196 | Properties::VIRTUAL, |
|---|
| 197 | __void__releaseGLObjects__State_P1, |
|---|
| 198 | "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", |
|---|
| [7654] | 199 | "Otherwise, releases OpenGL objects for all graphics contexts. "); |
|---|
| [9969] | 200 | I_Method1(void, reserveElements, IN, unsigned int, numIndices, |
|---|
| 201 | Properties::PURE_VIRTUAL, |
|---|
| 202 | __void__reserveElements__unsigned_int, |
|---|
| 203 | "", |
|---|
| 204 | ""); |
|---|
| 205 | I_Method2(void, setElement, IN, unsigned, int, IN, unsigned, int, |
|---|
| 206 | Properties::PURE_VIRTUAL, |
|---|
| 207 | __void__setElement__unsigned__unsigned, |
|---|
| 208 | "", |
|---|
| 209 | ""); |
|---|
| 210 | I_Method1(unsigned int, getElement, IN, unsigned, int, |
|---|
| 211 | Properties::PURE_VIRTUAL, |
|---|
| 212 | __unsigned_int__getElement__unsigned, |
|---|
| 213 | "", |
|---|
| 214 | ""); |
|---|
| 215 | I_Method1(void, addElement, IN, unsigned, int, |
|---|
| 216 | Properties::PURE_VIRTUAL, |
|---|
| 217 | __void__addElement__unsigned, |
|---|
| 218 | "", |
|---|
| 219 | ""); |
|---|
| [6563] | 220 | I_SimpleProperty(osg::DrawElements *, DrawElements, |
|---|
| 221 | __DrawElements_P1__getDrawElements, |
|---|
| 222 | 0); |
|---|
| [6580] | 223 | I_SimpleProperty(osg::ElementBufferObject *, ElementBufferObject, |
|---|
| 224 | __osg_ElementBufferObject_P1__getElementBufferObject, |
|---|
| 225 | __void__setElementBufferObject__osg_ElementBufferObject_P1); |
|---|
| [6582] | 226 | I_SimpleProperty(const GLvoid *, ElementBufferObjectOffset, |
|---|
| 227 | __C5_GLvoid_P1__getElementBufferObjectOffset, |
|---|
| 228 | __void__setElementBufferObjectOffset__C5_GLvoid_P1); |
|---|
| [6555] | 229 | END_REFLECTOR |
|---|
| 230 | |
|---|
| [6460] | 231 | TYPE_NAME_ALIAS(osg::VectorGLubyte, osg::DrawElementsUByte::vector_type) |
|---|
| [4401] | 232 | |
|---|
| [6460] | 233 | TYPE_NAME_ALIAS(osg::VectorGLuint, osg::DrawElementsUInt::vector_type) |
|---|
| [4401] | 234 | |
|---|
| [6460] | 235 | TYPE_NAME_ALIAS(osg::VectorGLushort, osg::DrawElementsUShort::vector_type) |
|---|
| [4401] | 236 | |
|---|
| [5332] | 237 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveFunctor) |
|---|
| [6903] | 238 | I_DeclaringFile("osg/PrimitiveSet"); |
|---|
| [5659] | 239 | I_Constructor0(____PrimitiveFunctor, |
|---|
| 240 | "", |
|---|
| 241 | ""); |
|---|
| 242 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices, |
|---|
| [6156] | 243 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 244 | __void__setVertexArray__unsigned_int__C5_Vec2_P1, |
|---|
| 245 | "Sets the array of vertices used to describe the primitives. ", |
|---|
| [7212] | 246 | "Somehow mimics the OpenGL glVertexPointer() function. "); |
|---|
| [5659] | 247 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices, |
|---|
| [6156] | 248 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 249 | __void__setVertexArray__unsigned_int__C5_Vec3_P1, |
|---|
| 250 | "Sets the array of vertices used to describe the primitives. ", |
|---|
| [7212] | 251 | "Somehow mimics the OpenGL glVertexPointer() function. "); |
|---|
| [5659] | 252 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices, |
|---|
| [6156] | 253 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 254 | __void__setVertexArray__unsigned_int__C5_Vec4_P1, |
|---|
| 255 | "Sets the array of vertices used to describe the primitives. ", |
|---|
| [7212] | 256 | "Somehow mimics the OpenGL glVertexPointer() function. "); |
|---|
| [7632] | 257 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2d *, vertices, |
|---|
| 258 | Properties::PURE_VIRTUAL, |
|---|
| 259 | __void__setVertexArray__unsigned_int__C5_Vec2d_P1, |
|---|
| 260 | "Sets the array of vertices used to describe the primitives. ", |
|---|
| 261 | "Somehow mimics the OpenGL glVertexPointer() function. "); |
|---|
| 262 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3d *, vertices, |
|---|
| 263 | Properties::PURE_VIRTUAL, |
|---|
| 264 | __void__setVertexArray__unsigned_int__C5_Vec3d_P1, |
|---|
| 265 | "Sets the array of vertices used to describe the primitives. ", |
|---|
| 266 | "Somehow mimics the OpenGL glVertexPointer() function. "); |
|---|
| 267 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4d *, vertices, |
|---|
| 268 | Properties::PURE_VIRTUAL, |
|---|
| 269 | __void__setVertexArray__unsigned_int__C5_Vec4d_P1, |
|---|
| 270 | "Sets the array of vertices used to describe the primitives. ", |
|---|
| 271 | "Somehow mimics the OpenGL glVertexPointer() function. "); |
|---|
| [5659] | 272 | I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, |
|---|
| [6156] | 273 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 274 | __void__drawArrays__GLenum__GLint__GLsizei, |
|---|
| 275 | "Mimics the OpenGL glDrawArrays() function. ", |
|---|
| 276 | ""); |
|---|
| 277 | I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices, |
|---|
| [6156] | 278 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 279 | __void__drawElements__GLenum__GLsizei__C5_GLubyte_P1, |
|---|
| 280 | "Mimics the OpenGL glDrawElements() function. ", |
|---|
| 281 | ""); |
|---|
| 282 | I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices, |
|---|
| [6156] | 283 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 284 | __void__drawElements__GLenum__GLsizei__C5_GLushort_P1, |
|---|
| 285 | "Mimics the OpenGL glDrawElements() function. ", |
|---|
| 286 | ""); |
|---|
| 287 | I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices, |
|---|
| [6156] | 288 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 289 | __void__drawElements__GLenum__GLsizei__C5_GLuint_P1, |
|---|
| 290 | "Mimics the OpenGL glDrawElements() function. ", |
|---|
| 291 | ""); |
|---|
| 292 | I_Method1(void, begin, IN, GLenum, mode, |
|---|
| [6156] | 293 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 294 | __void__begin__GLenum, |
|---|
| 295 | "Mimics the OpenGL glBegin() function. ", |
|---|
| 296 | ""); |
|---|
| 297 | I_Method1(void, vertex, IN, const osg::Vec2 &, vert, |
|---|
| [6156] | 298 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 299 | __void__vertex__C5_Vec2_R1, |
|---|
| 300 | "Mimics the OpenGL glVertex() \"family of functions\". ", |
|---|
| 301 | ""); |
|---|
| 302 | I_Method1(void, vertex, IN, const osg::Vec3 &, vert, |
|---|
| [6156] | 303 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 304 | __void__vertex__C5_Vec3_R1, |
|---|
| 305 | "Mimics the OpenGL glVertex() \"family of functions\". ", |
|---|
| 306 | ""); |
|---|
| 307 | I_Method1(void, vertex, IN, const osg::Vec4 &, vert, |
|---|
| [6156] | 308 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 309 | __void__vertex__C5_Vec4_R1, |
|---|
| 310 | "Mimics the OpenGL glVertex() \"family of functions\". ", |
|---|
| 311 | ""); |
|---|
| 312 | I_Method2(void, vertex, IN, float, x, IN, float, y, |
|---|
| [6156] | 313 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 314 | __void__vertex__float__float, |
|---|
| 315 | "Mimics the OpenGL glVertex() \"family of functions\". ", |
|---|
| 316 | ""); |
|---|
| 317 | I_Method3(void, vertex, IN, float, x, IN, float, y, IN, float, z, |
|---|
| [6156] | 318 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 319 | __void__vertex__float__float__float, |
|---|
| 320 | "Mimics the OpenGL glVertex() \"family of functions\". ", |
|---|
| 321 | ""); |
|---|
| 322 | I_Method4(void, vertex, IN, float, x, IN, float, y, IN, float, z, IN, float, w, |
|---|
| [6156] | 323 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 324 | __void__vertex__float__float__float__float, |
|---|
| 325 | "Mimics the OpenGL glVertex() \"family of functions\". ", |
|---|
| 326 | ""); |
|---|
| 327 | I_Method0(void, end, |
|---|
| [6156] | 328 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 329 | __void__end, |
|---|
| 330 | "Mimics the OpenGL glEnd() function. ", |
|---|
| 331 | ""); |
|---|
| [3981] | 332 | END_REFLECTOR |
|---|
| 333 | |
|---|
| [5332] | 334 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveIndexFunctor) |
|---|
| [6903] | 335 | I_DeclaringFile("osg/PrimitiveSet"); |
|---|
| [5659] | 336 | I_Constructor0(____PrimitiveIndexFunctor, |
|---|
| 337 | "", |
|---|
| 338 | ""); |
|---|
| 339 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2 *, vertices, |
|---|
| [6156] | 340 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 341 | __void__setVertexArray__unsigned_int__C5_Vec2_P1, |
|---|
| 342 | "", |
|---|
| 343 | ""); |
|---|
| 344 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3 *, vertices, |
|---|
| [6156] | 345 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 346 | __void__setVertexArray__unsigned_int__C5_Vec3_P1, |
|---|
| 347 | "", |
|---|
| 348 | ""); |
|---|
| 349 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4 *, vertices, |
|---|
| [6156] | 350 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 351 | __void__setVertexArray__unsigned_int__C5_Vec4_P1, |
|---|
| 352 | "", |
|---|
| 353 | ""); |
|---|
| [7632] | 354 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec2d *, vertices, |
|---|
| 355 | Properties::PURE_VIRTUAL, |
|---|
| 356 | __void__setVertexArray__unsigned_int__C5_Vec2d_P1, |
|---|
| 357 | "", |
|---|
| 358 | ""); |
|---|
| 359 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec3d *, vertices, |
|---|
| 360 | Properties::PURE_VIRTUAL, |
|---|
| 361 | __void__setVertexArray__unsigned_int__C5_Vec3d_P1, |
|---|
| 362 | "", |
|---|
| 363 | ""); |
|---|
| 364 | I_Method2(void, setVertexArray, IN, unsigned int, count, IN, const osg::Vec4d *, vertices, |
|---|
| 365 | Properties::PURE_VIRTUAL, |
|---|
| 366 | __void__setVertexArray__unsigned_int__C5_Vec4d_P1, |
|---|
| 367 | "", |
|---|
| 368 | ""); |
|---|
| [5659] | 369 | I_Method3(void, drawArrays, IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count, |
|---|
| [6156] | 370 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 371 | __void__drawArrays__GLenum__GLint__GLsizei, |
|---|
| 372 | "", |
|---|
| 373 | ""); |
|---|
| 374 | I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLubyte *, indices, |
|---|
| [6156] | 375 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 376 | __void__drawElements__GLenum__GLsizei__C5_GLubyte_P1, |
|---|
| 377 | "", |
|---|
| 378 | ""); |
|---|
| 379 | I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLushort *, indices, |
|---|
| [6156] | 380 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 381 | __void__drawElements__GLenum__GLsizei__C5_GLushort_P1, |
|---|
| 382 | "", |
|---|
| 383 | ""); |
|---|
| 384 | I_Method3(void, drawElements, IN, GLenum, mode, IN, GLsizei, count, IN, const GLuint *, indices, |
|---|
| [6156] | 385 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 386 | __void__drawElements__GLenum__GLsizei__C5_GLuint_P1, |
|---|
| 387 | "", |
|---|
| 388 | ""); |
|---|
| 389 | I_Method1(void, begin, IN, GLenum, mode, |
|---|
| [6156] | 390 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 391 | __void__begin__GLenum, |
|---|
| 392 | "", |
|---|
| 393 | ""); |
|---|
| 394 | I_Method1(void, vertex, IN, unsigned int, pos, |
|---|
| [6156] | 395 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 396 | __void__vertex__unsigned_int, |
|---|
| 397 | "", |
|---|
| 398 | ""); |
|---|
| 399 | I_Method0(void, end, |
|---|
| [6156] | 400 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 401 | __void__end, |
|---|
| 402 | "", |
|---|
| 403 | ""); |
|---|
| [5332] | 404 | END_REFLECTOR |
|---|
| 405 | |
|---|
| [3981] | 406 | BEGIN_ENUM_REFLECTOR(osg::PrimitiveSet::Type) |
|---|
| [6903] | 407 | I_DeclaringFile("osg/PrimitiveSet"); |
|---|
| [4234] | 408 | I_EnumLabel(osg::PrimitiveSet::PrimitiveType); |
|---|
| 409 | I_EnumLabel(osg::PrimitiveSet::DrawArraysPrimitiveType); |
|---|
| 410 | I_EnumLabel(osg::PrimitiveSet::DrawArrayLengthsPrimitiveType); |
|---|
| 411 | I_EnumLabel(osg::PrimitiveSet::DrawElementsUBytePrimitiveType); |
|---|
| 412 | I_EnumLabel(osg::PrimitiveSet::DrawElementsUShortPrimitiveType); |
|---|
| 413 | I_EnumLabel(osg::PrimitiveSet::DrawElementsUIntPrimitiveType); |
|---|
| [3981] | 414 | END_REFLECTOR |
|---|
| 415 | |
|---|
| 416 | BEGIN_ENUM_REFLECTOR(osg::PrimitiveSet::Mode) |
|---|
| [6903] | 417 | I_DeclaringFile("osg/PrimitiveSet"); |
|---|
| [4234] | 418 | I_EnumLabel(osg::PrimitiveSet::POINTS); |
|---|
| 419 | I_EnumLabel(osg::PrimitiveSet::LINES); |
|---|
| 420 | I_EnumLabel(osg::PrimitiveSet::LINE_STRIP); |
|---|
| 421 | I_EnumLabel(osg::PrimitiveSet::LINE_LOOP); |
|---|
| 422 | I_EnumLabel(osg::PrimitiveSet::TRIANGLES); |
|---|
| 423 | I_EnumLabel(osg::PrimitiveSet::TRIANGLE_STRIP); |
|---|
| 424 | I_EnumLabel(osg::PrimitiveSet::TRIANGLE_FAN); |
|---|
| 425 | I_EnumLabel(osg::PrimitiveSet::QUADS); |
|---|
| 426 | I_EnumLabel(osg::PrimitiveSet::QUAD_STRIP); |
|---|
| 427 | I_EnumLabel(osg::PrimitiveSet::POLYGON); |
|---|
| [3981] | 428 | END_REFLECTOR |
|---|
| 429 | |
|---|
| [5332] | 430 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveSet) |
|---|
| [6903] | 431 | I_DeclaringFile("osg/PrimitiveSet"); |
|---|
| [5332] | 432 | I_BaseType(osg::Object); |
|---|
| [9449] | 433 | I_ConstructorWithDefaults3(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0, IN, int, numInstances, 0, |
|---|
| 434 | ____PrimitiveSet__Type__GLenum__int, |
|---|
| [5659] | 435 | "", |
|---|
| 436 | ""); |
|---|
| 437 | I_ConstructorWithDefaults2(IN, const osg::PrimitiveSet &, prim, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 438 | ____PrimitiveSet__C5_PrimitiveSet_R1__C5_CopyOp_R1, |
|---|
| 439 | "", |
|---|
| 440 | ""); |
|---|
| 441 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| [6156] | 442 | Properties::VIRTUAL, |
|---|
| [5659] | 443 | __bool__isSameKindAs__C5_Object_P1, |
|---|
| 444 | "", |
|---|
| 445 | ""); |
|---|
| 446 | I_Method0(const char *, libraryName, |
|---|
| [6156] | 447 | Properties::VIRTUAL, |
|---|
| [5659] | 448 | __C5_char_P1__libraryName, |
|---|
| [6227] | 449 | "return the name of the object's library. ", |
|---|
| 450 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| [5659] | 451 | I_Method0(const char *, className, |
|---|
| [6156] | 452 | Properties::VIRTUAL, |
|---|
| [5659] | 453 | __C5_char_P1__className, |
|---|
| [6227] | 454 | "return the name of the object's class type. ", |
|---|
| 455 | "Must be defined by derived classes. "); |
|---|
| [5659] | 456 | I_Method0(osg::PrimitiveSet::Type, getType, |
|---|
| [6156] | 457 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 458 | __Type__getType, |
|---|
| 459 | "", |
|---|
| 460 | ""); |
|---|
| 461 | I_Method0(const GLvoid *, getDataPointer, |
|---|
| [6156] | 462 | Properties::VIRTUAL, |
|---|
| [5659] | 463 | __C5_GLvoid_P1__getDataPointer, |
|---|
| 464 | "", |
|---|
| 465 | ""); |
|---|
| 466 | I_Method0(unsigned int, getTotalDataSize, |
|---|
| [6156] | 467 | Properties::VIRTUAL, |
|---|
| [5659] | 468 | __unsigned_int__getTotalDataSize, |
|---|
| 469 | "", |
|---|
| 470 | ""); |
|---|
| 471 | I_Method0(bool, supportsBufferObject, |
|---|
| [6156] | 472 | Properties::VIRTUAL, |
|---|
| [5659] | 473 | __bool__supportsBufferObject, |
|---|
| 474 | "", |
|---|
| 475 | ""); |
|---|
| [6563] | 476 | I_Method0(osg::DrawElements *, getDrawElements, |
|---|
| 477 | Properties::VIRTUAL, |
|---|
| 478 | __DrawElements_P1__getDrawElements, |
|---|
| 479 | "", |
|---|
| 480 | ""); |
|---|
| 481 | I_Method0(const osg::DrawElements *, getDrawElements, |
|---|
| 482 | Properties::VIRTUAL, |
|---|
| 483 | __C5_DrawElements_P1__getDrawElements, |
|---|
| 484 | "", |
|---|
| 485 | ""); |
|---|
| [9449] | 486 | I_Method1(void, setNumInstances, IN, int, n, |
|---|
| 487 | Properties::NON_VIRTUAL, |
|---|
| 488 | __void__setNumInstances__int, |
|---|
| 489 | "", |
|---|
| 490 | ""); |
|---|
| 491 | I_Method0(int, getNumInstances, |
|---|
| 492 | Properties::NON_VIRTUAL, |
|---|
| 493 | __int__getNumInstances, |
|---|
| 494 | "", |
|---|
| 495 | ""); |
|---|
| [5659] | 496 | I_Method1(void, setMode, IN, GLenum, mode, |
|---|
| [6156] | 497 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 498 | __void__setMode__GLenum, |
|---|
| 499 | "", |
|---|
| 500 | ""); |
|---|
| 501 | I_Method0(GLenum, getMode, |
|---|
| [6156] | 502 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 503 | __GLenum__getMode, |
|---|
| 504 | "", |
|---|
| 505 | ""); |
|---|
| 506 | I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects, |
|---|
| [6156] | 507 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 508 | __void__draw__State_R1__bool, |
|---|
| 509 | "", |
|---|
| 510 | ""); |
|---|
| 511 | I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor, |
|---|
| [6156] | 512 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 513 | __void__accept__PrimitiveFunctor_R1, |
|---|
| 514 | "", |
|---|
| 515 | ""); |
|---|
| 516 | I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor, |
|---|
| [6156] | 517 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 518 | __void__accept__PrimitiveIndexFunctor_R1, |
|---|
| 519 | "", |
|---|
| 520 | ""); |
|---|
| 521 | I_Method1(unsigned int, index, IN, unsigned int, pos, |
|---|
| [6156] | 522 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 523 | __unsigned_int__index__unsigned_int, |
|---|
| 524 | "", |
|---|
| 525 | ""); |
|---|
| 526 | I_Method0(unsigned int, getNumIndices, |
|---|
| [6156] | 527 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 528 | __unsigned_int__getNumIndices, |
|---|
| 529 | "", |
|---|
| 530 | ""); |
|---|
| 531 | I_Method1(void, offsetIndices, IN, int, offset, |
|---|
| [6156] | 532 | Properties::PURE_VIRTUAL, |
|---|
| [5659] | 533 | __void__offsetIndices__int, |
|---|
| 534 | "", |
|---|
| 535 | ""); |
|---|
| 536 | I_Method0(unsigned int, getNumPrimitives, |
|---|
| [6156] | 537 | Properties::VIRTUAL, |
|---|
| [5659] | 538 | __unsigned_int__getNumPrimitives, |
|---|
| 539 | "", |
|---|
| 540 | ""); |
|---|
| 541 | I_Method0(void, dirty, |
|---|
| [6574] | 542 | Properties::VIRTUAL, |
|---|
| [5659] | 543 | __void__dirty, |
|---|
| 544 | "Dirty the primitive, which increments the modified count, to force buffer objects to update. ", |
|---|
| 545 | ""); |
|---|
| 546 | I_Method1(void, setModifiedCount, IN, unsigned int, value, |
|---|
| [6156] | 547 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 548 | __void__setModifiedCount__unsigned_int, |
|---|
| 549 | "Set the modified count value. ", |
|---|
| 550 | ""); |
|---|
| 551 | I_Method0(unsigned int, getModifiedCount, |
|---|
| [6156] | 552 | Properties::NON_VIRTUAL, |
|---|
| [5659] | 553 | __unsigned_int__getModifiedCount, |
|---|
| 554 | "Get modified count value. ", |
|---|
| 555 | ""); |
|---|
| [5918] | 556 | I_Method1(void, resizeGLObjectBuffers, IN, unsigned, int, |
|---|
| [6156] | 557 | Properties::VIRTUAL, |
|---|
| [5918] | 558 | __void__resizeGLObjectBuffers__unsigned, |
|---|
| 559 | "Resize any per context GLObject buffers to specified size. ", |
|---|
| 560 | ""); |
|---|
| [5659] | 561 | I_MethodWithDefaults1(void, releaseGLObjects, IN, osg::State *, x, 0, |
|---|
| [6156] | 562 | Properties::VIRTUAL, |
|---|
| [5659] | 563 | __void__releaseGLObjects__State_P1, |
|---|
| 564 | "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", |
|---|
| [7654] | 565 | "Otherwise, releases OpenGL objects for all graphics contexts. "); |
|---|
| [5918] | 566 | I_Method0(void, computeRange, |
|---|
| [6156] | 567 | Properties::VIRTUAL, |
|---|
| [5918] | 568 | __void__computeRange, |
|---|
| 569 | "", |
|---|
| 570 | ""); |
|---|
| [5659] | 571 | I_SimpleProperty(const GLvoid *, DataPointer, |
|---|
| 572 | __C5_GLvoid_P1__getDataPointer, |
|---|
| 573 | 0); |
|---|
| [6563] | 574 | I_SimpleProperty(osg::DrawElements *, DrawElements, |
|---|
| 575 | __DrawElements_P1__getDrawElements, |
|---|
| 576 | 0); |
|---|
| [5659] | 577 | I_SimpleProperty(GLenum, Mode, |
|---|
| 578 | __GLenum__getMode, |
|---|
| 579 | __void__setMode__GLenum); |
|---|
| 580 | I_SimpleProperty(unsigned int, ModifiedCount, |
|---|
| 581 | __unsigned_int__getModifiedCount, |
|---|
| 582 | __void__setModifiedCount__unsigned_int); |
|---|
| [9449] | 583 | I_SimpleProperty(int, NumInstances, |
|---|
| 584 | 0, |
|---|
| 585 | __void__setNumInstances__int); |
|---|
| [5659] | 586 | I_SimpleProperty(unsigned int, TotalDataSize, |
|---|
| 587 | __unsigned_int__getTotalDataSize, |
|---|
| 588 | 0); |
|---|
| 589 | I_SimpleProperty(osg::PrimitiveSet::Type, Type, |
|---|
| 590 | __Type__getType, |
|---|
| 591 | 0); |
|---|
| [5332] | 592 | END_REFLECTOR |
|---|