~saiarcot895/ubuntu/trusty/openscenegraph/armhf-support

« back to all changes in this revision

Viewing changes to OpenSceneGraph/src/osgWrappers/osg/PrimitiveSet.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Loic Dachary (OuoU)
  • Date: 2009-03-23 14:08:20 UTC
  • mfrom: (1.1.7 upstream) (2.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090323140820-i4j3jozdlhyn4lre
rules prevent lib64 with -D LIB_POSTFIX="" (Closes: #517671)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
TYPE_NAME_ALIAS(osg::VectorGLsizei, osg::DrawArrayLengths::vector_type)
34
34
 
35
 
BEGIN_OBJECT_REFLECTOR(osg::DrawArrayLengths)
36
 
        I_DeclaringFile("osg/PrimitiveSet");
37
 
        I_BaseType(osg::PrimitiveSet);
38
 
        I_BaseType(osg::VectorGLsizei);
39
 
        I_ConstructorWithDefaults1(IN, GLenum, mode, 0,
40
 
                                   Properties::NON_EXPLICIT,
41
 
                                   ____DrawArrayLengths__GLenum,
42
 
                                   "",
43
 
                                   "");
44
 
        I_ConstructorWithDefaults2(IN, const osg::DrawArrayLengths &, dal, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
45
 
                                   ____DrawArrayLengths__C5_DrawArrayLengths_R1__C5_CopyOp_R1,
46
 
                                   "",
47
 
                                   "");
48
 
        I_Constructor4(IN, GLenum, mode, IN, GLint, first, IN, unsigned int, no, IN, GLsizei *, ptr,
49
 
                       ____DrawArrayLengths__GLenum__GLint__unsigned_int__GLsizei_P1,
50
 
                       "",
51
 
                       "");
52
 
        I_Constructor3(IN, GLenum, mode, IN, GLint, first, IN, unsigned int, no,
53
 
                       ____DrawArrayLengths__GLenum__GLint__unsigned_int,
54
 
                       "",
55
 
                       "");
56
 
        I_Constructor2(IN, GLenum, mode, IN, GLint, first,
57
 
                       ____DrawArrayLengths__GLenum__GLint,
58
 
                       "",
59
 
                       "");
60
 
        I_Method0(osg::Object *, cloneType,
61
 
                  Properties::VIRTUAL,
62
 
                  __Object_P1__cloneType,
63
 
                  "Clone the type of an object, with Object* return type. ",
64
 
                  "Must be defined by derived classes. ");
65
 
        I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
66
 
                  Properties::VIRTUAL,
67
 
                  __Object_P1__clone__C5_CopyOp_R1,
68
 
                  "Clone an object, with Object* return type. ",
69
 
                  "Must be defined by derived classes. ");
70
 
        I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
71
 
                  Properties::VIRTUAL,
72
 
                  __bool__isSameKindAs__C5_Object_P1,
73
 
                  "",
74
 
                  "");
75
 
        I_Method0(const char *, libraryName,
76
 
                  Properties::VIRTUAL,
77
 
                  __C5_char_P1__libraryName,
78
 
                  "return the name of the object's library. ",
79
 
                  "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
80
 
        I_Method0(const char *, className,
81
 
                  Properties::VIRTUAL,
82
 
                  __C5_char_P1__className,
83
 
                  "return the name of the object's class type. ",
84
 
                  "Must be defined by derived classes. ");
85
 
        I_Method1(void, setFirst, IN, GLint, first,
86
 
                  Properties::NON_VIRTUAL,
87
 
                  __void__setFirst__GLint,
88
 
                  "",
89
 
                  "");
90
 
        I_Method0(GLint, getFirst,
91
 
                  Properties::NON_VIRTUAL,
92
 
                  __GLint__getFirst,
93
 
                  "",
94
 
                  "");
95
 
        I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
96
 
                  Properties::VIRTUAL,
97
 
                  __void__draw__State_R1__bool,
98
 
                  "",
99
 
                  "");
100
 
        I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
101
 
                  Properties::VIRTUAL,
102
 
                  __void__accept__PrimitiveFunctor_R1,
103
 
                  "",
104
 
                  "");
105
 
        I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
106
 
                  Properties::VIRTUAL,
107
 
                  __void__accept__PrimitiveIndexFunctor_R1,
108
 
                  "",
109
 
                  "");
110
 
        I_Method0(unsigned int, getNumIndices,
111
 
                  Properties::VIRTUAL,
112
 
                  __unsigned_int__getNumIndices,
113
 
                  "",
114
 
                  "");
115
 
        I_Method1(unsigned int, index, IN, unsigned int, pos,
116
 
                  Properties::VIRTUAL,
117
 
                  __unsigned_int__index__unsigned_int,
118
 
                  "",
119
 
                  "");
120
 
        I_Method1(void, offsetIndices, IN, int, offset,
121
 
                  Properties::VIRTUAL,
122
 
                  __void__offsetIndices__int,
123
 
                  "",
124
 
                  "");
125
 
        I_Method0(unsigned int, getNumPrimitives,
126
 
                  Properties::VIRTUAL,
127
 
                  __unsigned_int__getNumPrimitives,
128
 
                  "",
129
 
                  "");
130
 
        I_SimpleProperty(GLint, First, 
131
 
                         __GLint__getFirst, 
132
 
                         __void__setFirst__GLint);
133
 
END_REFLECTOR
134
 
 
135
35
BEGIN_OBJECT_REFLECTOR(osg::DrawArrays)
136
36
        I_DeclaringFile("osg/PrimitiveSet");
137
37
        I_BaseType(osg::PrimitiveSet);
140
40
                                   ____DrawArrays__GLenum,
141
41
                                   "",
142
42
                                   "");
143
 
        I_Constructor3(IN, GLenum, mode, IN, GLint, first, IN, GLsizei, count,
144
 
                       ____DrawArrays__GLenum__GLint__GLsizei,
145
 
                       "",
146
 
                       "");
 
43
        I_ConstructorWithDefaults4(IN, GLenum, mode, , IN, GLint, first, , IN, GLsizei, count, , IN, int, numInstances, 0,
 
44
                                   ____DrawArrays__GLenum__GLint__GLsizei__int,
 
45
                                   "",
 
46
                                   "");
147
47
        I_ConstructorWithDefaults2(IN, const osg::DrawArrays &, da, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
148
48
                                   ____DrawArrays__C5_DrawArrays_R1__C5_CopyOp_R1,
149
49
                                   "",
153
53
                  __Object_P1__cloneType,
154
54
                  "Clone the type of an object, with Object* return type. ",
155
55
                  "Must be defined by derived classes. ");
156
 
        I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
 
56
        I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x,
157
57
                  Properties::VIRTUAL,
158
58
                  __Object_P1__clone__C5_CopyOp_R1,
159
59
                  "Clone an object, with Object* return type. ",
239
139
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::DrawElements)
240
140
        I_DeclaringFile("osg/PrimitiveSet");
241
141
        I_BaseType(osg::PrimitiveSet);
242
 
        I_ConstructorWithDefaults2(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0,
243
 
                                   ____DrawElements__Type__GLenum,
 
142
        I_ConstructorWithDefaults3(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0, IN, int, numInstances, 0,
 
143
                                   ____DrawElements__Type__GLenum__int,
244
144
                                   "",
245
145
                                   "");
246
146
        I_ConstructorWithDefaults2(IN, const osg::DrawElements &, copy, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
310
210
 
311
211
TYPE_NAME_ALIAS(osg::VectorGLubyte, osg::DrawElementsUByte::vector_type)
312
212
 
313
 
BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUByte)
314
 
        I_DeclaringFile("osg/PrimitiveSet");
315
 
        I_BaseType(osg::DrawElements);
316
 
        I_BaseType(osg::VectorGLubyte);
317
 
        I_ConstructorWithDefaults1(IN, GLenum, mode, 0,
318
 
                                   Properties::NON_EXPLICIT,
319
 
                                   ____DrawElementsUByte__GLenum,
320
 
                                   "",
321
 
                                   "");
322
 
        I_ConstructorWithDefaults2(IN, const osg::DrawElementsUByte &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
323
 
                                   ____DrawElementsUByte__C5_DrawElementsUByte_R1__C5_CopyOp_R1,
324
 
                                   "",
325
 
                                   "");
326
 
        I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, const GLubyte *, ptr,
327
 
                       ____DrawElementsUByte__GLenum__unsigned_int__C5_GLubyte_P1,
328
 
                       "",
329
 
                       "");
330
 
        I_Constructor2(IN, GLenum, mode, IN, unsigned int, no,
331
 
                       ____DrawElementsUByte__GLenum__unsigned_int,
332
 
                       "",
333
 
                       "");
334
 
        I_Method0(osg::Object *, cloneType,
335
 
                  Properties::VIRTUAL,
336
 
                  __Object_P1__cloneType,
337
 
                  "Clone the type of an object, with Object* return type. ",
338
 
                  "Must be defined by derived classes. ");
339
 
        I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
340
 
                  Properties::VIRTUAL,
341
 
                  __Object_P1__clone__C5_CopyOp_R1,
342
 
                  "Clone an object, with Object* return type. ",
343
 
                  "Must be defined by derived classes. ");
344
 
        I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
345
 
                  Properties::VIRTUAL,
346
 
                  __bool__isSameKindAs__C5_Object_P1,
347
 
                  "",
348
 
                  "");
349
 
        I_Method0(const char *, libraryName,
350
 
                  Properties::VIRTUAL,
351
 
                  __C5_char_P1__libraryName,
352
 
                  "return the name of the object's library. ",
353
 
                  "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
354
 
        I_Method0(const char *, className,
355
 
                  Properties::VIRTUAL,
356
 
                  __C5_char_P1__className,
357
 
                  "return the name of the object's class type. ",
358
 
                  "Must be defined by derived classes. ");
359
 
        I_Method0(const GLvoid *, getDataPointer,
360
 
                  Properties::VIRTUAL,
361
 
                  __C5_GLvoid_P1__getDataPointer,
362
 
                  "",
363
 
                  "");
364
 
        I_Method0(unsigned int, getTotalDataSize,
365
 
                  Properties::VIRTUAL,
366
 
                  __unsigned_int__getTotalDataSize,
367
 
                  "",
368
 
                  "");
369
 
        I_Method0(bool, supportsBufferObject,
370
 
                  Properties::VIRTUAL,
371
 
                  __bool__supportsBufferObject,
372
 
                  "",
373
 
                  "");
374
 
        I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
375
 
                  Properties::VIRTUAL,
376
 
                  __void__draw__State_R1__bool,
377
 
                  "",
378
 
                  "");
379
 
        I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
380
 
                  Properties::VIRTUAL,
381
 
                  __void__accept__PrimitiveFunctor_R1,
382
 
                  "",
383
 
                  "");
384
 
        I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
385
 
                  Properties::VIRTUAL,
386
 
                  __void__accept__PrimitiveIndexFunctor_R1,
387
 
                  "",
388
 
                  "");
389
 
        I_Method0(unsigned int, getNumIndices,
390
 
                  Properties::VIRTUAL,
391
 
                  __unsigned_int__getNumIndices,
392
 
                  "",
393
 
                  "");
394
 
        I_Method1(unsigned int, index, IN, unsigned int, pos,
395
 
                  Properties::VIRTUAL,
396
 
                  __unsigned_int__index__unsigned_int,
397
 
                  "",
398
 
                  "");
399
 
        I_Method1(void, offsetIndices, IN, int, offset,
400
 
                  Properties::VIRTUAL,
401
 
                  __void__offsetIndices__int,
402
 
                  "",
403
 
                  "");
404
 
        I_Method0(void, computeRange,
405
 
                  Properties::VIRTUAL,
406
 
                  __void__computeRange,
407
 
                  "",
408
 
                  "");
409
 
        I_SimpleProperty(const GLvoid *, DataPointer, 
410
 
                         __C5_GLvoid_P1__getDataPointer, 
411
 
                         0);
412
 
        I_SimpleProperty(unsigned int, TotalDataSize, 
413
 
                         __unsigned_int__getTotalDataSize, 
414
 
                         0);
415
 
END_REFLECTOR
416
 
 
417
213
TYPE_NAME_ALIAS(osg::VectorGLuint, osg::DrawElementsUInt::vector_type)
418
214
 
419
 
BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUInt)
420
 
        I_DeclaringFile("osg/PrimitiveSet");
421
 
        I_BaseType(osg::DrawElements);
422
 
        I_BaseType(osg::VectorGLuint);
423
 
        I_ConstructorWithDefaults1(IN, GLenum, mode, 0,
424
 
                                   Properties::NON_EXPLICIT,
425
 
                                   ____DrawElementsUInt__GLenum,
426
 
                                   "",
427
 
                                   "");
428
 
        I_ConstructorWithDefaults2(IN, const osg::DrawElementsUInt &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
429
 
                                   ____DrawElementsUInt__C5_DrawElementsUInt_R1__C5_CopyOp_R1,
430
 
                                   "",
431
 
                                   "");
432
 
        I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, const GLuint *, ptr,
433
 
                       ____DrawElementsUInt__GLenum__unsigned_int__C5_GLuint_P1,
434
 
                       "",
435
 
                       "");
436
 
        I_Constructor2(IN, GLenum, mode, IN, unsigned int, no,
437
 
                       ____DrawElementsUInt__GLenum__unsigned_int,
438
 
                       "",
439
 
                       "");
440
 
        I_Method0(osg::Object *, cloneType,
441
 
                  Properties::VIRTUAL,
442
 
                  __Object_P1__cloneType,
443
 
                  "Clone the type of an object, with Object* return type. ",
444
 
                  "Must be defined by derived classes. ");
445
 
        I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
446
 
                  Properties::VIRTUAL,
447
 
                  __Object_P1__clone__C5_CopyOp_R1,
448
 
                  "Clone an object, with Object* return type. ",
449
 
                  "Must be defined by derived classes. ");
450
 
        I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
451
 
                  Properties::VIRTUAL,
452
 
                  __bool__isSameKindAs__C5_Object_P1,
453
 
                  "",
454
 
                  "");
455
 
        I_Method0(const char *, libraryName,
456
 
                  Properties::VIRTUAL,
457
 
                  __C5_char_P1__libraryName,
458
 
                  "return the name of the object's library. ",
459
 
                  "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
460
 
        I_Method0(const char *, className,
461
 
                  Properties::VIRTUAL,
462
 
                  __C5_char_P1__className,
463
 
                  "return the name of the object's class type. ",
464
 
                  "Must be defined by derived classes. ");
465
 
        I_Method0(const GLvoid *, getDataPointer,
466
 
                  Properties::VIRTUAL,
467
 
                  __C5_GLvoid_P1__getDataPointer,
468
 
                  "",
469
 
                  "");
470
 
        I_Method0(unsigned int, getTotalDataSize,
471
 
                  Properties::VIRTUAL,
472
 
                  __unsigned_int__getTotalDataSize,
473
 
                  "",
474
 
                  "");
475
 
        I_Method0(bool, supportsBufferObject,
476
 
                  Properties::VIRTUAL,
477
 
                  __bool__supportsBufferObject,
478
 
                  "",
479
 
                  "");
480
 
        I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
481
 
                  Properties::VIRTUAL,
482
 
                  __void__draw__State_R1__bool,
483
 
                  "",
484
 
                  "");
485
 
        I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
486
 
                  Properties::VIRTUAL,
487
 
                  __void__accept__PrimitiveFunctor_R1,
488
 
                  "",
489
 
                  "");
490
 
        I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
491
 
                  Properties::VIRTUAL,
492
 
                  __void__accept__PrimitiveIndexFunctor_R1,
493
 
                  "",
494
 
                  "");
495
 
        I_Method0(unsigned int, getNumIndices,
496
 
                  Properties::VIRTUAL,
497
 
                  __unsigned_int__getNumIndices,
498
 
                  "",
499
 
                  "");
500
 
        I_Method1(unsigned int, index, IN, unsigned int, pos,
501
 
                  Properties::VIRTUAL,
502
 
                  __unsigned_int__index__unsigned_int,
503
 
                  "",
504
 
                  "");
505
 
        I_Method1(void, offsetIndices, IN, int, offset,
506
 
                  Properties::VIRTUAL,
507
 
                  __void__offsetIndices__int,
508
 
                  "",
509
 
                  "");
510
 
        I_Method0(void, computeRange,
511
 
                  Properties::VIRTUAL,
512
 
                  __void__computeRange,
513
 
                  "",
514
 
                  "");
515
 
        I_SimpleProperty(const GLvoid *, DataPointer, 
516
 
                         __C5_GLvoid_P1__getDataPointer, 
517
 
                         0);
518
 
        I_SimpleProperty(unsigned int, TotalDataSize, 
519
 
                         __unsigned_int__getTotalDataSize, 
520
 
                         0);
521
 
END_REFLECTOR
522
 
 
523
215
TYPE_NAME_ALIAS(osg::VectorGLushort, osg::DrawElementsUShort::vector_type)
524
216
 
525
 
BEGIN_OBJECT_REFLECTOR(osg::DrawElementsUShort)
526
 
        I_DeclaringFile("osg/PrimitiveSet");
527
 
        I_BaseType(osg::DrawElements);
528
 
        I_BaseType(osg::VectorGLushort);
529
 
        I_ConstructorWithDefaults1(IN, GLenum, mode, 0,
530
 
                                   Properties::NON_EXPLICIT,
531
 
                                   ____DrawElementsUShort__GLenum,
532
 
                                   "",
533
 
                                   "");
534
 
        I_ConstructorWithDefaults2(IN, const osg::DrawElementsUShort &, array, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
535
 
                                   ____DrawElementsUShort__C5_DrawElementsUShort_R1__C5_CopyOp_R1,
536
 
                                   "",
537
 
                                   "");
538
 
        I_Constructor3(IN, GLenum, mode, IN, unsigned int, no, IN, const GLushort *, ptr,
539
 
                       ____DrawElementsUShort__GLenum__unsigned_int__C5_GLushort_P1,
540
 
                       "",
541
 
                       "");
542
 
        I_Constructor2(IN, GLenum, mode, IN, unsigned int, no,
543
 
                       ____DrawElementsUShort__GLenum__unsigned_int,
544
 
                       "",
545
 
                       "");
546
 
        I_Method0(osg::Object *, cloneType,
547
 
                  Properties::VIRTUAL,
548
 
                  __Object_P1__cloneType,
549
 
                  "Clone the type of an object, with Object* return type. ",
550
 
                  "Must be defined by derived classes. ");
551
 
        I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
552
 
                  Properties::VIRTUAL,
553
 
                  __Object_P1__clone__C5_CopyOp_R1,
554
 
                  "Clone an object, with Object* return type. ",
555
 
                  "Must be defined by derived classes. ");
556
 
        I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
557
 
                  Properties::VIRTUAL,
558
 
                  __bool__isSameKindAs__C5_Object_P1,
559
 
                  "",
560
 
                  "");
561
 
        I_Method0(const char *, libraryName,
562
 
                  Properties::VIRTUAL,
563
 
                  __C5_char_P1__libraryName,
564
 
                  "return the name of the object's library. ",
565
 
                  "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
566
 
        I_Method0(const char *, className,
567
 
                  Properties::VIRTUAL,
568
 
                  __C5_char_P1__className,
569
 
                  "return the name of the object's class type. ",
570
 
                  "Must be defined by derived classes. ");
571
 
        I_Method0(const GLvoid *, getDataPointer,
572
 
                  Properties::VIRTUAL,
573
 
                  __C5_GLvoid_P1__getDataPointer,
574
 
                  "",
575
 
                  "");
576
 
        I_Method0(unsigned int, getTotalDataSize,
577
 
                  Properties::VIRTUAL,
578
 
                  __unsigned_int__getTotalDataSize,
579
 
                  "",
580
 
                  "");
581
 
        I_Method0(bool, supportsBufferObject,
582
 
                  Properties::VIRTUAL,
583
 
                  __bool__supportsBufferObject,
584
 
                  "",
585
 
                  "");
586
 
        I_Method2(void, draw, IN, osg::State &, state, IN, bool, useVertexBufferObjects,
587
 
                  Properties::VIRTUAL,
588
 
                  __void__draw__State_R1__bool,
589
 
                  "",
590
 
                  "");
591
 
        I_Method1(void, accept, IN, osg::PrimitiveFunctor &, functor,
592
 
                  Properties::VIRTUAL,
593
 
                  __void__accept__PrimitiveFunctor_R1,
594
 
                  "",
595
 
                  "");
596
 
        I_Method1(void, accept, IN, osg::PrimitiveIndexFunctor &, functor,
597
 
                  Properties::VIRTUAL,
598
 
                  __void__accept__PrimitiveIndexFunctor_R1,
599
 
                  "",
600
 
                  "");
601
 
        I_Method0(unsigned int, getNumIndices,
602
 
                  Properties::VIRTUAL,
603
 
                  __unsigned_int__getNumIndices,
604
 
                  "",
605
 
                  "");
606
 
        I_Method1(unsigned int, index, IN, unsigned int, pos,
607
 
                  Properties::VIRTUAL,
608
 
                  __unsigned_int__index__unsigned_int,
609
 
                  "",
610
 
                  "");
611
 
        I_Method1(void, offsetIndices, IN, int, offset,
612
 
                  Properties::VIRTUAL,
613
 
                  __void__offsetIndices__int,
614
 
                  "",
615
 
                  "");
616
 
        I_Method0(void, computeRange,
617
 
                  Properties::VIRTUAL,
618
 
                  __void__computeRange,
619
 
                  "",
620
 
                  "");
621
 
        I_SimpleProperty(const GLvoid *, DataPointer, 
622
 
                         __C5_GLvoid_P1__getDataPointer, 
623
 
                         0);
624
 
        I_SimpleProperty(unsigned int, TotalDataSize, 
625
 
                         __unsigned_int__getTotalDataSize, 
626
 
                         0);
627
 
END_REFLECTOR
628
 
 
629
217
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveFunctor)
630
218
        I_DeclaringFile("osg/PrimitiveSet");
631
219
        I_Constructor0(____PrimitiveFunctor,
822
410
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osg::PrimitiveSet)
823
411
        I_DeclaringFile("osg/PrimitiveSet");
824
412
        I_BaseType(osg::Object);
825
 
        I_ConstructorWithDefaults2(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0,
826
 
                                   ____PrimitiveSet__Type__GLenum,
 
413
        I_ConstructorWithDefaults3(IN, osg::PrimitiveSet::Type, primType, osg::PrimitiveSet::PrimitiveType, IN, GLenum, mode, 0, IN, int, numInstances, 0,
 
414
                                   ____PrimitiveSet__Type__GLenum__int,
827
415
                                   "",
828
416
                                   "");
829
417
        I_ConstructorWithDefaults2(IN, const osg::PrimitiveSet &, prim, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
875
463
                  __C5_DrawElements_P1__getDrawElements,
876
464
                  "",
877
465
                  "");
 
466
        I_Method1(void, setNumInstances, IN, int, n,
 
467
                  Properties::NON_VIRTUAL,
 
468
                  __void__setNumInstances__int,
 
469
                  "",
 
470
                  "");
 
471
        I_Method0(int, getNumInstances,
 
472
                  Properties::NON_VIRTUAL,
 
473
                  __int__getNumInstances,
 
474
                  "",
 
475
                  "");
878
476
        I_Method1(void, setMode, IN, GLenum, mode,
879
477
                  Properties::NON_VIRTUAL,
880
478
                  __void__setMode__GLenum,
962
560
        I_SimpleProperty(unsigned int, ModifiedCount, 
963
561
                         __unsigned_int__getModifiedCount, 
964
562
                         __void__setModifiedCount__unsigned_int);
 
563
        I_SimpleProperty(int, NumInstances, 
 
564
                         0, 
 
565
                         __void__setNumInstances__int);
965
566
        I_SimpleProperty(unsigned int, TotalDataSize, 
966
567
                         __unsigned_int__getTotalDataSize, 
967
568
                         0);
970
571
                         0);
971
572
END_REFLECTOR
972
573
 
973
 
BEGIN_OBJECT_REFLECTOR(osg::VectorGLsizei)
974
 
        I_DeclaringFile("osg/PrimitiveSet");
975
 
        I_BaseType(std::vector<GLsizei>);
976
 
        I_Constructor0(____VectorGLsizei,
977
 
                       "",
978
 
                       "");
979
 
        I_Constructor1(IN, const osg::VectorGLsizei &, copy,
980
 
                       Properties::NON_EXPLICIT,
981
 
                       ____VectorGLsizei__C5_VectorGLsizei_R1,
982
 
                       "",
983
 
                       "");
984
 
        I_Constructor2(IN, GLsizei *, beg, IN, GLsizei *, end,
985
 
                       ____VectorGLsizei__GLsizei_P1__GLsizei_P1,
986
 
                       "",
987
 
                       "");
988
 
        I_Constructor1(IN, unsigned int, n,
989
 
                       Properties::EXPLICIT,
990
 
                       ____VectorGLsizei__unsigned_int,
991
 
                       "",
992
 
                       "");
993
 
END_REFLECTOR
994
 
 
995
 
BEGIN_OBJECT_REFLECTOR(osg::VectorGLubyte)
996
 
        I_DeclaringFile("osg/PrimitiveSet");
997
 
        I_BaseType(std::vector<GLubyte>);
998
 
        I_Constructor0(____VectorGLubyte,
999
 
                       "",
1000
 
                       "");
1001
 
        I_Constructor1(IN, const osg::VectorGLubyte &, copy,
1002
 
                       Properties::NON_EXPLICIT,
1003
 
                       ____VectorGLubyte__C5_VectorGLubyte_R1,
1004
 
                       "",
1005
 
                       "");
1006
 
        I_Constructor2(IN, const GLubyte *, beg, IN, const GLubyte *, end,
1007
 
                       ____VectorGLubyte__C5_GLubyte_P1__C5_GLubyte_P1,
1008
 
                       "",
1009
 
                       "");
1010
 
        I_Constructor1(IN, unsigned int, n,
1011
 
                       Properties::EXPLICIT,
1012
 
                       ____VectorGLubyte__unsigned_int,
1013
 
                       "",
1014
 
                       "");
1015
 
END_REFLECTOR
1016
 
 
1017
 
BEGIN_OBJECT_REFLECTOR(osg::VectorGLuint)
1018
 
        I_DeclaringFile("osg/PrimitiveSet");
1019
 
        I_BaseType(std::vector<GLuint>);
1020
 
        I_Constructor0(____VectorGLuint,
1021
 
                       "",
1022
 
                       "");
1023
 
        I_Constructor1(IN, const osg::VectorGLuint &, copy,
1024
 
                       Properties::NON_EXPLICIT,
1025
 
                       ____VectorGLuint__C5_VectorGLuint_R1,
1026
 
                       "",
1027
 
                       "");
1028
 
        I_Constructor2(IN, const GLuint *, beg, IN, const GLuint *, end,
1029
 
                       ____VectorGLuint__C5_GLuint_P1__C5_GLuint_P1,
1030
 
                       "",
1031
 
                       "");
1032
 
        I_Constructor1(IN, unsigned int, n,
1033
 
                       Properties::EXPLICIT,
1034
 
                       ____VectorGLuint__unsigned_int,
1035
 
                       "",
1036
 
                       "");
1037
 
END_REFLECTOR
1038
 
 
1039
 
BEGIN_OBJECT_REFLECTOR(osg::VectorGLushort)
1040
 
        I_DeclaringFile("osg/PrimitiveSet");
1041
 
        I_BaseType(std::vector<GLushort>);
1042
 
        I_Constructor0(____VectorGLushort,
1043
 
                       "",
1044
 
                       "");
1045
 
        I_Constructor1(IN, const osg::VectorGLushort &, copy,
1046
 
                       Properties::NON_EXPLICIT,
1047
 
                       ____VectorGLushort__C5_VectorGLushort_R1,
1048
 
                       "",
1049
 
                       "");
1050
 
        I_Constructor2(IN, const GLushort *, beg, IN, const GLushort *, end,
1051
 
                       ____VectorGLushort__C5_GLushort_P1__C5_GLushort_P1,
1052
 
                       "",
1053
 
                       "");
1054
 
        I_Constructor1(IN, unsigned int, n,
1055
 
                       Properties::EXPLICIT,
1056
 
                       ____VectorGLushort__unsigned_int,
1057
 
                       "",
1058
 
                       "");
1059
 
END_REFLECTOR
1060