1
// ***************************************************************************
3
// Generated automatically by genwrapper.
4
// Please DO NOT EDIT this file!
6
// ***************************************************************************
8
#include <osgIntrospection/ReflectionMacros>
9
#include <osgIntrospection/TypedMethodInfo>
10
#include <osgIntrospection/StaticMethodInfo>
11
#include <osgIntrospection/Attributes>
13
#include <osg/BoundingSphere>
16
#include <osg/NodeVisitor>
18
#include <osg/Texture>
20
#include <osgVolume/Layer>
21
#include <osgVolume/Locator>
22
#include <osgVolume/Property>
24
// Must undefine IN and OUT macros defined in Windows headers
32
BEGIN_OBJECT_REFLECTOR(osgVolume::CompositeLayer)
33
I_DeclaringFile("osgVolume/Layer");
34
I_BaseType(osgVolume::Layer);
35
I_Constructor0(____CompositeLayer,
38
I_ConstructorWithDefaults2(IN, const osgVolume::CompositeLayer &, compositeLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
39
____CompositeLayer__C5_CompositeLayer_R1__C5_osg_CopyOp_R1,
40
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
42
I_Method0(osg::Object *, cloneType,
44
__osg_Object_P1__cloneType,
45
"Clone the type of an object, with Object* return type. ",
46
"Must be defined by derived classes. ");
47
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
49
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
50
"Clone an object, with Object* return type. ",
51
"Must be defined by derived classes. ");
52
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
54
__bool__isSameKindAs__C5_osg_Object_P1,
57
I_Method0(const char *, libraryName,
59
__C5_char_P1__libraryName,
60
"return the name of the object's library. ",
61
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
62
I_Method0(const char *, className,
64
__C5_char_P1__className,
65
"return the name of the object's class type. ",
66
"Must be defined by derived classes. ");
67
I_Method0(void, clear,
68
Properties::NON_VIRTUAL,
72
I_Method2(void, setFileName, IN, unsigned int, i, IN, const std::string &, filename,
73
Properties::NON_VIRTUAL,
74
__void__setFileName__unsigned_int__C5_std_string_R1,
77
I_Method1(const std::string &, getFileName, IN, unsigned int, i,
78
Properties::NON_VIRTUAL,
79
__C5_std_string_R1__getFileName__unsigned_int,
82
I_Method2(void, setLayer, IN, unsigned int, i, IN, osgVolume::Layer *, layer,
83
Properties::NON_VIRTUAL,
84
__void__setLayer__unsigned_int__Layer_P1,
87
I_Method1(osgVolume::Layer *, getLayer, IN, unsigned int, i,
88
Properties::NON_VIRTUAL,
89
__Layer_P1__getLayer__unsigned_int,
92
I_Method1(const osgVolume::Layer *, getLayer, IN, unsigned int, i,
93
Properties::NON_VIRTUAL,
94
__C5_Layer_P1__getLayer__unsigned_int,
97
I_Method1(void, addLayer, IN, osgVolume::Layer *, layer,
98
Properties::NON_VIRTUAL,
99
__void__addLayer__Layer_P1,
102
I_Method1(void, removeLayer, IN, unsigned int, i,
103
Properties::NON_VIRTUAL,
104
__void__removeLayer__unsigned_int,
107
I_Method0(unsigned int, getNumLayers,
108
Properties::NON_VIRTUAL,
109
__unsigned_int__getNumLayers,
112
I_Method0(bool, requiresUpdateTraversal,
114
__bool__requiresUpdateTraversal,
115
"Specify whether ImageLayer requires update traversal. ",
117
I_Method1(void, update, IN, osg::NodeVisitor &, x,
119
__void__update__osg_NodeVisitor_R1,
120
"Call update on the Layer. ",
122
I_IndexedProperty(const std::string &, FileName,
123
__C5_std_string_R1__getFileName__unsigned_int,
124
__void__setFileName__unsigned_int__C5_std_string_R1,
126
I_ArrayProperty(osgVolume::Layer *, Layer,
127
__Layer_P1__getLayer__unsigned_int,
128
__void__setLayer__unsigned_int__Layer_P1,
129
__unsigned_int__getNumLayers,
130
__void__addLayer__Layer_P1,
132
__void__removeLayer__unsigned_int);
135
BEGIN_OBJECT_REFLECTOR(osgVolume::ImageLayer)
136
I_DeclaringFile("osgVolume/Layer");
137
I_BaseType(osgVolume::Layer);
138
I_ConstructorWithDefaults1(IN, osg::Image *, image, 0,
139
Properties::NON_EXPLICIT,
140
____ImageLayer__osg_Image_P1,
143
I_ConstructorWithDefaults2(IN, const osgVolume::ImageLayer &, imageLayer, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
144
____ImageLayer__C5_ImageLayer_R1__C5_osg_CopyOp_R1,
145
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
147
I_Method0(osg::Object *, cloneType,
149
__osg_Object_P1__cloneType,
150
"Clone the type of an object, with Object* return type. ",
151
"Must be defined by derived classes. ");
152
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
154
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
155
"Clone an object, with Object* return type. ",
156
"Must be defined by derived classes. ");
157
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
159
__bool__isSameKindAs__C5_osg_Object_P1,
162
I_Method0(const char *, libraryName,
164
__C5_char_P1__libraryName,
165
"return the name of the object's library. ",
166
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
167
I_Method0(const char *, className,
169
__C5_char_P1__className,
170
"return the name of the object's class type. ",
171
"Must be defined by derived classes. ");
172
I_Method1(void, setFileName, IN, const std::string &, filename,
174
__void__setFileName__C5_std_string_R1,
175
"Set the file name of the data associated with this layer. ",
177
I_Method0(const std::string &, getFileName,
179
__C5_std_string_R1__getFileName,
180
"Get the file name of the layer. ",
182
I_Method1(void, setImage, IN, osg::Image *, image,
183
Properties::NON_VIRTUAL,
184
__void__setImage__osg_Image_P1,
187
I_Method0(osg::Image *, getImage,
189
__osg_Image_P1__getImage,
190
"Return image associated with layer. ",
192
I_Method0(const osg::Image *, getImage,
194
__C5_osg_Image_P1__getImage,
195
"Return const image associated with layer. ",
197
I_Method2(bool, computeMinMax, IN, osg::Vec4 &, min, IN, osg::Vec4 &, max,
198
Properties::NON_VIRTUAL,
199
__bool__computeMinMax__osg_Vec4_R1__osg_Vec4_R1,
200
"Compute the min and max pixel colors. ",
202
I_Method2(void, offsetAndScaleImage, IN, const osg::Vec4 &, offset, IN, const osg::Vec4 &, scale,
203
Properties::NON_VIRTUAL,
204
__void__offsetAndScaleImage__C5_osg_Vec4_R1__C5_osg_Vec4_R1,
205
"Apply color transformation to pixels using c' = offset + c * scale . ",
207
I_Method0(void, rescaleToZeroToOneRange,
208
Properties::NON_VIRTUAL,
209
__void__rescaleToZeroToOneRange,
210
"Compute the min max range of the image, and then remap this to a 0 to 1 range. ",
212
I_Method0(void, translateMinToZero,
213
Properties::NON_VIRTUAL,
214
__void__translateMinToZero,
215
"Compute the min color component of the image and then translate and pixels by this offset to make the new min component 0. ",
217
I_Method0(bool, requiresUpdateTraversal,
219
__bool__requiresUpdateTraversal,
220
"Specify whether ImageLayer requires update traversal. ",
222
I_Method1(void, update, IN, osg::NodeVisitor &, x,
224
__void__update__osg_NodeVisitor_R1,
225
"Call update on the Layer. ",
227
I_Method0(void, dirty,
230
"increment the modified count. ",
232
I_Method1(void, setModifiedCount, IN, unsigned int, value,
234
__void__setModifiedCount__unsigned_int,
235
"Set the modified count value. ",
237
I_Method0(unsigned int, getModifiedCount,
239
__unsigned_int__getModifiedCount,
240
"Get modified count value. ",
242
I_SimpleProperty(const std::string &, FileName,
243
__C5_std_string_R1__getFileName,
244
__void__setFileName__C5_std_string_R1);
245
I_SimpleProperty(osg::Image *, Image,
246
__osg_Image_P1__getImage,
247
__void__setImage__osg_Image_P1);
248
I_SimpleProperty(unsigned int, ModifiedCount,
249
__unsigned_int__getModifiedCount,
250
__void__setModifiedCount__unsigned_int);
253
BEGIN_OBJECT_REFLECTOR(osgVolume::Layer)
254
I_DeclaringFile("osgVolume/Layer");
255
I_BaseType(osg::Object);
256
I_Constructor0(____Layer,
259
I_ConstructorWithDefaults2(IN, const osgVolume::Layer &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY,
260
____Layer__C5_Layer_R1__C5_osg_CopyOp_R1,
261
"Copy constructor using CopyOp to manage deep vs shallow copy. ",
263
I_Method0(osg::Object *, cloneType,
265
__osg_Object_P1__cloneType,
266
"Clone the type of an object, with Object* return type. ",
267
"Must be defined by derived classes. ");
268
I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop,
270
__osg_Object_P1__clone__C5_osg_CopyOp_R1,
271
"Clone an object, with Object* return type. ",
272
"Must be defined by derived classes. ");
273
I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj,
275
__bool__isSameKindAs__C5_osg_Object_P1,
278
I_Method0(const char *, libraryName,
280
__C5_char_P1__libraryName,
281
"return the name of the object's library. ",
282
"Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
283
I_Method0(const char *, className,
285
__C5_char_P1__className,
286
"return the name of the object's class type. ",
287
"Must be defined by derived classes. ");
288
I_Method1(void, setFileName, IN, const std::string &, filename,
290
__void__setFileName__C5_std_string_R1,
291
"Set the file name of the data associated with this layer. ",
293
I_Method0(const std::string &, getFileName,
295
__C5_std_string_R1__getFileName,
296
"Get the file name of the layer. ",
298
I_Method1(void, setLocator, IN, osgVolume::Locator *, locator,
299
Properties::NON_VIRTUAL,
300
__void__setLocator__Locator_P1,
303
I_Method0(osgVolume::Locator *, getLocator,
304
Properties::NON_VIRTUAL,
305
__Locator_P1__getLocator,
308
I_Method0(const osgVolume::Locator *, getLocator,
309
Properties::NON_VIRTUAL,
310
__C5_Locator_P1__getLocator,
313
I_Method1(void, setDefaultValue, IN, const osg::Vec4 &, value,
314
Properties::NON_VIRTUAL,
315
__void__setDefaultValue__C5_osg_Vec4_R1,
318
I_Method0(const osg::Vec4 &, getDefaultValue,
319
Properties::NON_VIRTUAL,
320
__C5_osg_Vec4_R1__getDefaultValue,
323
I_Method1(void, setMinFilter, IN, osg::Texture::FilterMode, filter,
324
Properties::NON_VIRTUAL,
325
__void__setMinFilter__osg_Texture_FilterMode,
326
"Set the minification texture filter to use when do texture associated with this layer. ",
328
I_Method0(osg::Texture::FilterMode, getMinFilter,
329
Properties::NON_VIRTUAL,
330
__osg_Texture_FilterMode__getMinFilter,
331
"Get the minification texture filter to use when do texture associated with this layer. ",
333
I_Method1(void, setMagFilter, IN, osg::Texture::FilterMode, filter,
334
Properties::NON_VIRTUAL,
335
__void__setMagFilter__osg_Texture_FilterMode,
336
"Set the magniification texture filter to use when do texture associated with this layer. ",
338
I_Method0(osg::Texture::FilterMode, getMagFilter,
339
Properties::NON_VIRTUAL,
340
__osg_Texture_FilterMode__getMagFilter,
341
"Get the magnification texture filter to use when do texture associated with this layer. ",
343
I_Method0(osg::Image *, getImage,
345
__osg_Image_P1__getImage,
346
"Return image associated with layer if supported. ",
348
I_Method0(const osg::Image *, getImage,
350
__C5_osg_Image_P1__getImage,
351
"Return const image associated with layer if supported. ",
353
I_Method1(void, setProperty, IN, osgVolume::Property *, property,
354
Properties::NON_VIRTUAL,
355
__void__setProperty__Property_P1,
356
"Set the Property (or Properties via the CompositeProperty) that informs the VolumeTechnique how this layer should be rendered. ",
358
I_Method0(osgVolume::Property *, getProperty,
359
Properties::NON_VIRTUAL,
360
__Property_P1__getProperty,
361
"Get the Property that informs the VolumeTechnique how this layer should be rendered. ",
363
I_Method0(const osgVolume::Property *, getProperty,
364
Properties::NON_VIRTUAL,
365
__C5_Property_P1__getProperty,
366
"Get the const Property that informs the VolumeTechnique how this layer should be rendered. ",
368
I_Method1(void, addProperty, IN, osgVolume::Property *, property,
369
Properties::NON_VIRTUAL,
370
__void__addProperty__Property_P1,
371
"Add a property, automatically creating a CompositePorperty if one isn't already assigned. ",
373
I_Method0(bool, requiresUpdateTraversal,
375
__bool__requiresUpdateTraversal,
376
"Specify whether ImageLayer requires update traversal. ",
378
I_Method1(void, update, IN, osg::NodeVisitor &, x,
380
__void__update__osg_NodeVisitor_R1,
381
"Call update on the Layer. ",
383
I_Method0(void, dirty,
386
"increment the modified count. ",
388
I_Method1(void, setModifiedCount, IN, unsigned, int,
390
__void__setModifiedCount__unsigned,
391
"Set the modified count value. ",
393
I_Method0(unsigned int, getModifiedCount,
395
__unsigned_int__getModifiedCount,
396
"Get modified count value. ",
398
I_Method0(osg::BoundingSphere, computeBound,
400
__osg_BoundingSphere__computeBound,
403
I_SimpleProperty(const osg::Vec4 &, DefaultValue,
404
__C5_osg_Vec4_R1__getDefaultValue,
405
__void__setDefaultValue__C5_osg_Vec4_R1);
406
I_SimpleProperty(const std::string &, FileName,
407
__C5_std_string_R1__getFileName,
408
__void__setFileName__C5_std_string_R1);
409
I_SimpleProperty(osg::Image *, Image,
410
__osg_Image_P1__getImage,
412
I_SimpleProperty(osgVolume::Locator *, Locator,
413
__Locator_P1__getLocator,
414
__void__setLocator__Locator_P1);
415
I_SimpleProperty(osg::Texture::FilterMode, MagFilter,
416
__osg_Texture_FilterMode__getMagFilter,
417
__void__setMagFilter__osg_Texture_FilterMode);
418
I_SimpleProperty(osg::Texture::FilterMode, MinFilter,
419
__osg_Texture_FilterMode__getMinFilter,
420
__void__setMinFilter__osg_Texture_FilterMode);
421
I_SimpleProperty(unsigned, ModifiedCount,
423
__void__setModifiedCount__unsigned);
424
I_SimpleProperty(osgVolume::Property *, Property,
425
__Property_P1__getProperty,
426
__void__setProperty__Property_P1);