| 1 | |
|---|
| 2 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | #include <osgIntrospection/ReflectionMacros> |
|---|
| 9 | #include <osgIntrospection/TypedMethodInfo> |
|---|
| 10 | #include <osgIntrospection/StaticMethodInfo> |
|---|
| 11 | #include <osgIntrospection/Attributes> |
|---|
| 12 | |
|---|
| 13 | #include <osg/AlphaFunc> |
|---|
| 14 | #include <osg/CopyOp> |
|---|
| 15 | #include <osg/NodeVisitor> |
|---|
| 16 | #include <osg/Object> |
|---|
| 17 | #include <osg/TransferFunction> |
|---|
| 18 | #include <osg/Uniform> |
|---|
| 19 | #include <osgGA/GUIActionAdapter> |
|---|
| 20 | #include <osgGA/GUIEventAdapter> |
|---|
| 21 | #include <osgVolume/Property> |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | #ifdef IN |
|---|
| 25 | #undef IN |
|---|
| 26 | #endif |
|---|
| 27 | #ifdef OUT |
|---|
| 28 | #undef OUT |
|---|
| 29 | #endif |
|---|
| 30 | |
|---|
| 31 | BEGIN_OBJECT_REFLECTOR(osgVolume::AlphaFuncProperty) |
|---|
| 32 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 33 | I_BaseType(osgVolume::ScalarProperty); |
|---|
| 34 | I_ConstructorWithDefaults1(IN, float, value, 1.0, |
|---|
| 35 | Properties::NON_EXPLICIT, |
|---|
| 36 | ____AlphaFuncProperty__float, |
|---|
| 37 | "", |
|---|
| 38 | ""); |
|---|
| 39 | I_ConstructorWithDefaults2(IN, const osgVolume::AlphaFuncProperty &, isp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 40 | ____AlphaFuncProperty__C5_AlphaFuncProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 41 | "", |
|---|
| 42 | ""); |
|---|
| 43 | I_Method0(osg::Object *, cloneType, |
|---|
| 44 | Properties::VIRTUAL, |
|---|
| 45 | __osg_Object_P1__cloneType, |
|---|
| 46 | "Clone the type of an object, with Object* return type. ", |
|---|
| 47 | "Must be defined by derived classes. "); |
|---|
| 48 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 49 | Properties::VIRTUAL, |
|---|
| 50 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 51 | "Clone an object, with Object* return type. ", |
|---|
| 52 | "Must be defined by derived classes. "); |
|---|
| 53 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 54 | Properties::VIRTUAL, |
|---|
| 55 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 56 | "", |
|---|
| 57 | ""); |
|---|
| 58 | I_Method0(const char *, libraryName, |
|---|
| 59 | Properties::VIRTUAL, |
|---|
| 60 | __C5_char_P1__libraryName, |
|---|
| 61 | "return the name of the object's library. ", |
|---|
| 62 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 63 | I_Method0(const char *, className, |
|---|
| 64 | Properties::VIRTUAL, |
|---|
| 65 | __C5_char_P1__className, |
|---|
| 66 | "return the name of the object's class type. ", |
|---|
| 67 | "Must be defined by derived classes. "); |
|---|
| 68 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 69 | Properties::VIRTUAL, |
|---|
| 70 | __void__accept__PropertyVisitor_R1, |
|---|
| 71 | "", |
|---|
| 72 | ""); |
|---|
| 73 | I_Method1(void, setValue, IN, float, v, |
|---|
| 74 | Properties::VIRTUAL, |
|---|
| 75 | __void__setValue__float, |
|---|
| 76 | "Set the value. ", |
|---|
| 77 | ""); |
|---|
| 78 | I_Method0(osg::AlphaFunc *, getAlphaFunc, |
|---|
| 79 | Properties::NON_VIRTUAL, |
|---|
| 80 | __osg_AlphaFunc_P1__getAlphaFunc, |
|---|
| 81 | "", |
|---|
| 82 | ""); |
|---|
| 83 | I_Method0(const osg::AlphaFunc *, getAlphaFunc, |
|---|
| 84 | Properties::NON_VIRTUAL, |
|---|
| 85 | __C5_osg_AlphaFunc_P1__getAlphaFunc, |
|---|
| 86 | "", |
|---|
| 87 | ""); |
|---|
| 88 | I_SimpleProperty(osg::AlphaFunc *, AlphaFunc, |
|---|
| 89 | __osg_AlphaFunc_P1__getAlphaFunc, |
|---|
| 90 | 0); |
|---|
| 91 | I_SimpleProperty(float, Value, |
|---|
| 92 | 0, |
|---|
| 93 | __void__setValue__float); |
|---|
| 94 | END_REFLECTOR |
|---|
| 95 | |
|---|
| 96 | BEGIN_OBJECT_REFLECTOR(osgVolume::CollectPropertiesVisitor) |
|---|
| 97 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 98 | I_BaseType(osgVolume::PropertyVisitor); |
|---|
| 99 | I_ConstructorWithDefaults1(IN, bool, traverseOnlyActiveChildren, true, |
|---|
| 100 | Properties::NON_EXPLICIT, |
|---|
| 101 | ____CollectPropertiesVisitor__bool, |
|---|
| 102 | "", |
|---|
| 103 | ""); |
|---|
| 104 | I_Method1(void, apply, IN, osgVolume::Property &, x, |
|---|
| 105 | Properties::VIRTUAL, |
|---|
| 106 | __void__apply__Property_R1, |
|---|
| 107 | "", |
|---|
| 108 | ""); |
|---|
| 109 | I_Method1(void, apply, IN, osgVolume::TransferFunctionProperty &, x, |
|---|
| 110 | Properties::VIRTUAL, |
|---|
| 111 | __void__apply__TransferFunctionProperty_R1, |
|---|
| 112 | "", |
|---|
| 113 | ""); |
|---|
| 114 | I_Method1(void, apply, IN, osgVolume::ScalarProperty &, x, |
|---|
| 115 | Properties::VIRTUAL, |
|---|
| 116 | __void__apply__ScalarProperty_R1, |
|---|
| 117 | "", |
|---|
| 118 | ""); |
|---|
| 119 | I_Method1(void, apply, IN, osgVolume::IsoSurfaceProperty &, iso, |
|---|
| 120 | Properties::VIRTUAL, |
|---|
| 121 | __void__apply__IsoSurfaceProperty_R1, |
|---|
| 122 | "", |
|---|
| 123 | ""); |
|---|
| 124 | I_Method1(void, apply, IN, osgVolume::AlphaFuncProperty &, af, |
|---|
| 125 | Properties::VIRTUAL, |
|---|
| 126 | __void__apply__AlphaFuncProperty_R1, |
|---|
| 127 | "", |
|---|
| 128 | ""); |
|---|
| 129 | I_Method1(void, apply, IN, osgVolume::MaximumIntensityProjectionProperty &, mip, |
|---|
| 130 | Properties::VIRTUAL, |
|---|
| 131 | __void__apply__MaximumIntensityProjectionProperty_R1, |
|---|
| 132 | "", |
|---|
| 133 | ""); |
|---|
| 134 | I_Method1(void, apply, IN, osgVolume::LightingProperty &, lp, |
|---|
| 135 | Properties::VIRTUAL, |
|---|
| 136 | __void__apply__LightingProperty_R1, |
|---|
| 137 | "", |
|---|
| 138 | ""); |
|---|
| 139 | I_Method1(void, apply, IN, osgVolume::SampleDensityProperty &, sdp, |
|---|
| 140 | Properties::VIRTUAL, |
|---|
| 141 | __void__apply__SampleDensityProperty_R1, |
|---|
| 142 | "", |
|---|
| 143 | ""); |
|---|
| 144 | I_Method1(void, apply, IN, osgVolume::TransparencyProperty &, tp, |
|---|
| 145 | Properties::VIRTUAL, |
|---|
| 146 | __void__apply__TransparencyProperty_R1, |
|---|
| 147 | "", |
|---|
| 148 | ""); |
|---|
| 149 | I_PublicMemberProperty(osg::ref_ptr< osgVolume::TransferFunctionProperty >, _tfProperty); |
|---|
| 150 | I_PublicMemberProperty(osg::ref_ptr< osgVolume::IsoSurfaceProperty >, _isoProperty); |
|---|
| 151 | I_PublicMemberProperty(osg::ref_ptr< osgVolume::AlphaFuncProperty >, _afProperty); |
|---|
| 152 | I_PublicMemberProperty(osg::ref_ptr< osgVolume::MaximumIntensityProjectionProperty >, _mipProperty); |
|---|
| 153 | I_PublicMemberProperty(osg::ref_ptr< osgVolume::LightingProperty >, _lightingProperty); |
|---|
| 154 | I_PublicMemberProperty(osg::ref_ptr< osgVolume::SampleDensityProperty >, _sampleDensityProperty); |
|---|
| 155 | I_PublicMemberProperty(osg::ref_ptr< osgVolume::TransparencyProperty >, _transparencyProperty); |
|---|
| 156 | END_REFLECTOR |
|---|
| 157 | |
|---|
| 158 | TYPE_NAME_ALIAS(std::vector< osg::ref_ptr< osgVolume::Property > >, osgVolume::CompositeProperty::Properties) |
|---|
| 159 | |
|---|
| 160 | BEGIN_OBJECT_REFLECTOR(osgVolume::CompositeProperty) |
|---|
| 161 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 162 | I_BaseType(osgVolume::Property); |
|---|
| 163 | I_Constructor0(____CompositeProperty, |
|---|
| 164 | "", |
|---|
| 165 | ""); |
|---|
| 166 | I_ConstructorWithDefaults2(IN, const osgVolume::CompositeProperty &, compositeProperty, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 167 | ____CompositeProperty__C5_CompositeProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 168 | "Copy constructor using CopyOp to manage deep vs shallow copy. ", |
|---|
| 169 | ""); |
|---|
| 170 | I_Method0(osg::Object *, cloneType, |
|---|
| 171 | Properties::VIRTUAL, |
|---|
| 172 | __osg_Object_P1__cloneType, |
|---|
| 173 | "Clone the type of an object, with Object* return type. ", |
|---|
| 174 | "Must be defined by derived classes. "); |
|---|
| 175 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 176 | Properties::VIRTUAL, |
|---|
| 177 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 178 | "Clone an object, with Object* return type. ", |
|---|
| 179 | "Must be defined by derived classes. "); |
|---|
| 180 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 181 | Properties::VIRTUAL, |
|---|
| 182 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 183 | "", |
|---|
| 184 | ""); |
|---|
| 185 | I_Method0(const char *, libraryName, |
|---|
| 186 | Properties::VIRTUAL, |
|---|
| 187 | __C5_char_P1__libraryName, |
|---|
| 188 | "return the name of the object's library. ", |
|---|
| 189 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 190 | I_Method0(const char *, className, |
|---|
| 191 | Properties::VIRTUAL, |
|---|
| 192 | __C5_char_P1__className, |
|---|
| 193 | "return the name of the object's class type. ", |
|---|
| 194 | "Must be defined by derived classes. "); |
|---|
| 195 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 196 | Properties::VIRTUAL, |
|---|
| 197 | __void__accept__PropertyVisitor_R1, |
|---|
| 198 | "", |
|---|
| 199 | ""); |
|---|
| 200 | I_Method0(void, clear, |
|---|
| 201 | Properties::NON_VIRTUAL, |
|---|
| 202 | __void__clear, |
|---|
| 203 | "", |
|---|
| 204 | ""); |
|---|
| 205 | I_Method2(void, setProperty, IN, unsigned int, i, IN, osgVolume::Property *, property, |
|---|
| 206 | Properties::NON_VIRTUAL, |
|---|
| 207 | __void__setProperty__unsigned_int__Property_P1, |
|---|
| 208 | "", |
|---|
| 209 | ""); |
|---|
| 210 | I_Method1(osgVolume::Property *, getProperty, IN, unsigned int, i, |
|---|
| 211 | Properties::NON_VIRTUAL, |
|---|
| 212 | __Property_P1__getProperty__unsigned_int, |
|---|
| 213 | "", |
|---|
| 214 | ""); |
|---|
| 215 | I_Method1(const osgVolume::Property *, getProperty, IN, unsigned int, i, |
|---|
| 216 | Properties::NON_VIRTUAL, |
|---|
| 217 | __C5_Property_P1__getProperty__unsigned_int, |
|---|
| 218 | "", |
|---|
| 219 | ""); |
|---|
| 220 | I_Method1(void, addProperty, IN, osgVolume::Property *, property, |
|---|
| 221 | Properties::NON_VIRTUAL, |
|---|
| 222 | __void__addProperty__Property_P1, |
|---|
| 223 | "", |
|---|
| 224 | ""); |
|---|
| 225 | I_Method1(void, removeProperty, IN, unsigned int, i, |
|---|
| 226 | Properties::NON_VIRTUAL, |
|---|
| 227 | __void__removeProperty__unsigned_int, |
|---|
| 228 | "", |
|---|
| 229 | ""); |
|---|
| 230 | I_Method0(unsigned int, getNumProperties, |
|---|
| 231 | Properties::NON_VIRTUAL, |
|---|
| 232 | __unsigned_int__getNumProperties, |
|---|
| 233 | "", |
|---|
| 234 | ""); |
|---|
| 235 | I_IndexedProperty(osgVolume::Property *, Property, |
|---|
| 236 | __Property_P1__getProperty__unsigned_int, |
|---|
| 237 | __void__setProperty__unsigned_int__Property_P1, |
|---|
| 238 | 0); |
|---|
| 239 | END_REFLECTOR |
|---|
| 240 | |
|---|
| 241 | BEGIN_OBJECT_REFLECTOR(osgVolume::IsoSurfaceProperty) |
|---|
| 242 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 243 | I_BaseType(osgVolume::ScalarProperty); |
|---|
| 244 | I_ConstructorWithDefaults1(IN, float, value, 1.0, |
|---|
| 245 | Properties::NON_EXPLICIT, |
|---|
| 246 | ____IsoSurfaceProperty__float, |
|---|
| 247 | "", |
|---|
| 248 | ""); |
|---|
| 249 | I_ConstructorWithDefaults2(IN, const osgVolume::IsoSurfaceProperty &, isp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 250 | ____IsoSurfaceProperty__C5_IsoSurfaceProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 251 | "", |
|---|
| 252 | ""); |
|---|
| 253 | I_Method0(osg::Object *, cloneType, |
|---|
| 254 | Properties::VIRTUAL, |
|---|
| 255 | __osg_Object_P1__cloneType, |
|---|
| 256 | "Clone the type of an object, with Object* return type. ", |
|---|
| 257 | "Must be defined by derived classes. "); |
|---|
| 258 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 259 | Properties::VIRTUAL, |
|---|
| 260 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 261 | "Clone an object, with Object* return type. ", |
|---|
| 262 | "Must be defined by derived classes. "); |
|---|
| 263 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 264 | Properties::VIRTUAL, |
|---|
| 265 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 266 | "", |
|---|
| 267 | ""); |
|---|
| 268 | I_Method0(const char *, libraryName, |
|---|
| 269 | Properties::VIRTUAL, |
|---|
| 270 | __C5_char_P1__libraryName, |
|---|
| 271 | "return the name of the object's library. ", |
|---|
| 272 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 273 | I_Method0(const char *, className, |
|---|
| 274 | Properties::VIRTUAL, |
|---|
| 275 | __C5_char_P1__className, |
|---|
| 276 | "return the name of the object's class type. ", |
|---|
| 277 | "Must be defined by derived classes. "); |
|---|
| 278 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 279 | Properties::VIRTUAL, |
|---|
| 280 | __void__accept__PropertyVisitor_R1, |
|---|
| 281 | "", |
|---|
| 282 | ""); |
|---|
| 283 | END_REFLECTOR |
|---|
| 284 | |
|---|
| 285 | BEGIN_OBJECT_REFLECTOR(osgVolume::LightingProperty) |
|---|
| 286 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 287 | I_BaseType(osgVolume::Property); |
|---|
| 288 | I_Constructor0(____LightingProperty, |
|---|
| 289 | "", |
|---|
| 290 | ""); |
|---|
| 291 | I_ConstructorWithDefaults2(IN, const osgVolume::LightingProperty &, mipp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 292 | ____LightingProperty__C5_LightingProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 293 | "", |
|---|
| 294 | ""); |
|---|
| 295 | I_Method0(osg::Object *, cloneType, |
|---|
| 296 | Properties::VIRTUAL, |
|---|
| 297 | __osg_Object_P1__cloneType, |
|---|
| 298 | "Clone the type of an object, with Object* return type. ", |
|---|
| 299 | "Must be defined by derived classes. "); |
|---|
| 300 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 301 | Properties::VIRTUAL, |
|---|
| 302 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 303 | "Clone an object, with Object* return type. ", |
|---|
| 304 | "Must be defined by derived classes. "); |
|---|
| 305 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 306 | Properties::VIRTUAL, |
|---|
| 307 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 308 | "", |
|---|
| 309 | ""); |
|---|
| 310 | I_Method0(const char *, libraryName, |
|---|
| 311 | Properties::VIRTUAL, |
|---|
| 312 | __C5_char_P1__libraryName, |
|---|
| 313 | "return the name of the object's library. ", |
|---|
| 314 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 315 | I_Method0(const char *, className, |
|---|
| 316 | Properties::VIRTUAL, |
|---|
| 317 | __C5_char_P1__className, |
|---|
| 318 | "return the name of the object's class type. ", |
|---|
| 319 | "Must be defined by derived classes. "); |
|---|
| 320 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 321 | Properties::VIRTUAL, |
|---|
| 322 | __void__accept__PropertyVisitor_R1, |
|---|
| 323 | "", |
|---|
| 324 | ""); |
|---|
| 325 | END_REFLECTOR |
|---|
| 326 | |
|---|
| 327 | BEGIN_OBJECT_REFLECTOR(osgVolume::MaximumIntensityProjectionProperty) |
|---|
| 328 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 329 | I_BaseType(osgVolume::Property); |
|---|
| 330 | I_Constructor0(____MaximumIntensityProjectionProperty, |
|---|
| 331 | "", |
|---|
| 332 | ""); |
|---|
| 333 | I_ConstructorWithDefaults2(IN, const osgVolume::MaximumIntensityProjectionProperty &, mipp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 334 | ____MaximumIntensityProjectionProperty__C5_MaximumIntensityProjectionProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 335 | "", |
|---|
| 336 | ""); |
|---|
| 337 | I_Method0(osg::Object *, cloneType, |
|---|
| 338 | Properties::VIRTUAL, |
|---|
| 339 | __osg_Object_P1__cloneType, |
|---|
| 340 | "Clone the type of an object, with Object* return type. ", |
|---|
| 341 | "Must be defined by derived classes. "); |
|---|
| 342 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 343 | Properties::VIRTUAL, |
|---|
| 344 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 345 | "Clone an object, with Object* return type. ", |
|---|
| 346 | "Must be defined by derived classes. "); |
|---|
| 347 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 348 | Properties::VIRTUAL, |
|---|
| 349 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 350 | "", |
|---|
| 351 | ""); |
|---|
| 352 | I_Method0(const char *, libraryName, |
|---|
| 353 | Properties::VIRTUAL, |
|---|
| 354 | __C5_char_P1__libraryName, |
|---|
| 355 | "return the name of the object's library. ", |
|---|
| 356 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 357 | I_Method0(const char *, className, |
|---|
| 358 | Properties::VIRTUAL, |
|---|
| 359 | __C5_char_P1__className, |
|---|
| 360 | "return the name of the object's class type. ", |
|---|
| 361 | "Must be defined by derived classes. "); |
|---|
| 362 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 363 | Properties::VIRTUAL, |
|---|
| 364 | __void__accept__PropertyVisitor_R1, |
|---|
| 365 | "", |
|---|
| 366 | ""); |
|---|
| 367 | END_REFLECTOR |
|---|
| 368 | |
|---|
| 369 | BEGIN_OBJECT_REFLECTOR(osgVolume::Property) |
|---|
| 370 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 371 | I_BaseType(osg::Object); |
|---|
| 372 | I_Constructor0(____Property, |
|---|
| 373 | "", |
|---|
| 374 | ""); |
|---|
| 375 | I_ConstructorWithDefaults2(IN, const osgVolume::Property &, x, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 376 | ____Property__C5_Property_R1__C5_osg_CopyOp_R1, |
|---|
| 377 | "Copy constructor using CopyOp to manage deep vs shallow copy. ", |
|---|
| 378 | ""); |
|---|
| 379 | I_Method0(osg::Object *, cloneType, |
|---|
| 380 | Properties::VIRTUAL, |
|---|
| 381 | __osg_Object_P1__cloneType, |
|---|
| 382 | "Clone the type of an object, with Object* return type. ", |
|---|
| 383 | "Must be defined by derived classes. "); |
|---|
| 384 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 385 | Properties::VIRTUAL, |
|---|
| 386 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 387 | "Clone an object, with Object* return type. ", |
|---|
| 388 | "Must be defined by derived classes. "); |
|---|
| 389 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 390 | Properties::VIRTUAL, |
|---|
| 391 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 392 | "", |
|---|
| 393 | ""); |
|---|
| 394 | I_Method0(const char *, libraryName, |
|---|
| 395 | Properties::VIRTUAL, |
|---|
| 396 | __C5_char_P1__libraryName, |
|---|
| 397 | "return the name of the object's library. ", |
|---|
| 398 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 399 | I_Method0(const char *, className, |
|---|
| 400 | Properties::VIRTUAL, |
|---|
| 401 | __C5_char_P1__className, |
|---|
| 402 | "return the name of the object's class type. ", |
|---|
| 403 | "Must be defined by derived classes. "); |
|---|
| 404 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 405 | Properties::VIRTUAL, |
|---|
| 406 | __void__accept__PropertyVisitor_R1, |
|---|
| 407 | "", |
|---|
| 408 | ""); |
|---|
| 409 | END_REFLECTOR |
|---|
| 410 | |
|---|
| 411 | BEGIN_OBJECT_REFLECTOR(osgVolume::PropertyAdjustmentCallback) |
|---|
| 412 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 413 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 414 | I_BaseType(osg::StateSet::Callback); |
|---|
| 415 | I_Constructor0(____PropertyAdjustmentCallback, |
|---|
| 416 | "", |
|---|
| 417 | ""); |
|---|
| 418 | I_Constructor2(IN, const osgVolume::PropertyAdjustmentCallback &, x, IN, const osg::CopyOp &, x, |
|---|
| 419 | ____PropertyAdjustmentCallback__C5_PropertyAdjustmentCallback_R1__C5_osg_CopyOp_R1, |
|---|
| 420 | "", |
|---|
| 421 | ""); |
|---|
| 422 | I_Method0(osg::Object *, cloneType, |
|---|
| 423 | Properties::VIRTUAL, |
|---|
| 424 | __osg_Object_P1__cloneType, |
|---|
| 425 | "Clone the type of an object, with Object* return type. ", |
|---|
| 426 | "Must be defined by derived classes. "); |
|---|
| 427 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 428 | Properties::VIRTUAL, |
|---|
| 429 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 430 | "Clone an object, with Object* return type. ", |
|---|
| 431 | "Must be defined by derived classes. "); |
|---|
| 432 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 433 | Properties::VIRTUAL, |
|---|
| 434 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 435 | "", |
|---|
| 436 | ""); |
|---|
| 437 | I_Method0(const char *, libraryName, |
|---|
| 438 | Properties::VIRTUAL, |
|---|
| 439 | __C5_char_P1__libraryName, |
|---|
| 440 | "return the name of the object's library. ", |
|---|
| 441 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 442 | I_Method0(const char *, className, |
|---|
| 443 | Properties::VIRTUAL, |
|---|
| 444 | __C5_char_P1__className, |
|---|
| 445 | "return the name of the object's class type. ", |
|---|
| 446 | "Must be defined by derived classes. "); |
|---|
| 447 | I_Method1(void, setKeyEventCycleForward, IN, int, key, |
|---|
| 448 | Properties::NON_VIRTUAL, |
|---|
| 449 | __void__setKeyEventCycleForward__int, |
|---|
| 450 | "", |
|---|
| 451 | ""); |
|---|
| 452 | I_Method0(int, getKeyEventCyclesForward, |
|---|
| 453 | Properties::NON_VIRTUAL, |
|---|
| 454 | __int__getKeyEventCyclesForward, |
|---|
| 455 | "", |
|---|
| 456 | ""); |
|---|
| 457 | I_Method1(void, setKeyEventCycleBackward, IN, int, key, |
|---|
| 458 | Properties::NON_VIRTUAL, |
|---|
| 459 | __void__setKeyEventCycleBackward__int, |
|---|
| 460 | "", |
|---|
| 461 | ""); |
|---|
| 462 | I_Method0(int, getKeyEventCyclesBackward, |
|---|
| 463 | Properties::NON_VIRTUAL, |
|---|
| 464 | __int__getKeyEventCyclesBackward, |
|---|
| 465 | "", |
|---|
| 466 | ""); |
|---|
| 467 | I_Method1(void, setKeyEventActivatesTransparenyAdjustment, IN, int, key, |
|---|
| 468 | Properties::NON_VIRTUAL, |
|---|
| 469 | __void__setKeyEventActivatesTransparenyAdjustment__int, |
|---|
| 470 | "", |
|---|
| 471 | ""); |
|---|
| 472 | I_Method0(int, getKeyEventActivatesTransparenyAdjustment, |
|---|
| 473 | Properties::NON_VIRTUAL, |
|---|
| 474 | __int__getKeyEventActivatesTransparenyAdjustment, |
|---|
| 475 | "", |
|---|
| 476 | ""); |
|---|
| 477 | I_Method1(void, setKeyEventActivatesSampleDensityAdjustment, IN, int, key, |
|---|
| 478 | Properties::NON_VIRTUAL, |
|---|
| 479 | __void__setKeyEventActivatesSampleDensityAdjustment__int, |
|---|
| 480 | "", |
|---|
| 481 | ""); |
|---|
| 482 | I_Method0(int, getKeyEventActivatesSampleAdjustment, |
|---|
| 483 | Properties::NON_VIRTUAL, |
|---|
| 484 | __int__getKeyEventActivatesSampleAdjustment, |
|---|
| 485 | "", |
|---|
| 486 | ""); |
|---|
| 487 | I_Method1(void, setKeyEventActivatesAlphaFuncAdjustment, IN, int, key, |
|---|
| 488 | Properties::NON_VIRTUAL, |
|---|
| 489 | __void__setKeyEventActivatesAlphaFuncAdjustment__int, |
|---|
| 490 | "", |
|---|
| 491 | ""); |
|---|
| 492 | I_Method0(int, getKeyEventActivatesAlphaFuncAdjustment, |
|---|
| 493 | Properties::NON_VIRTUAL, |
|---|
| 494 | __int__getKeyEventActivatesAlphaFuncAdjustment, |
|---|
| 495 | "", |
|---|
| 496 | ""); |
|---|
| 497 | I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, x, IN, osg::Object *, object, IN, osg::NodeVisitor *, x, |
|---|
| 498 | Properties::VIRTUAL, |
|---|
| 499 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, |
|---|
| 500 | "Handle events, return true if handled, false otherwise. ", |
|---|
| 501 | ""); |
|---|
| 502 | I_SimpleProperty(int, KeyEventActivatesAlphaFuncAdjustment, |
|---|
| 503 | __int__getKeyEventActivatesAlphaFuncAdjustment, |
|---|
| 504 | __void__setKeyEventActivatesAlphaFuncAdjustment__int); |
|---|
| 505 | I_SimpleProperty(int, KeyEventActivatesSampleAdjustment, |
|---|
| 506 | __int__getKeyEventActivatesSampleAdjustment, |
|---|
| 507 | 0); |
|---|
| 508 | I_SimpleProperty(int, KeyEventActivatesSampleDensityAdjustment, |
|---|
| 509 | 0, |
|---|
| 510 | __void__setKeyEventActivatesSampleDensityAdjustment__int); |
|---|
| 511 | I_SimpleProperty(int, KeyEventActivatesTransparenyAdjustment, |
|---|
| 512 | __int__getKeyEventActivatesTransparenyAdjustment, |
|---|
| 513 | __void__setKeyEventActivatesTransparenyAdjustment__int); |
|---|
| 514 | I_SimpleProperty(int, KeyEventCycleBackward, |
|---|
| 515 | 0, |
|---|
| 516 | __void__setKeyEventCycleBackward__int); |
|---|
| 517 | I_SimpleProperty(int, KeyEventCycleForward, |
|---|
| 518 | 0, |
|---|
| 519 | __void__setKeyEventCycleForward__int); |
|---|
| 520 | I_SimpleProperty(int, KeyEventCyclesBackward, |
|---|
| 521 | __int__getKeyEventCyclesBackward, |
|---|
| 522 | 0); |
|---|
| 523 | I_SimpleProperty(int, KeyEventCyclesForward, |
|---|
| 524 | __int__getKeyEventCyclesForward, |
|---|
| 525 | 0); |
|---|
| 526 | I_PublicMemberProperty(int, _cyleForwardKey); |
|---|
| 527 | I_PublicMemberProperty(int, _cyleBackwardKey); |
|---|
| 528 | I_PublicMemberProperty(int, _transparencyKey); |
|---|
| 529 | I_PublicMemberProperty(int, _alphaFuncKey); |
|---|
| 530 | I_PublicMemberProperty(int, _sampleDensityKey); |
|---|
| 531 | I_PublicMemberProperty(bool, _updateTransparency); |
|---|
| 532 | I_PublicMemberProperty(bool, _updateAlphaCutOff); |
|---|
| 533 | I_PublicMemberProperty(bool, _updateSampleDensity); |
|---|
| 534 | END_REFLECTOR |
|---|
| 535 | |
|---|
| 536 | BEGIN_VALUE_REFLECTOR(osgVolume::PropertyVisitor) |
|---|
| 537 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 538 | I_ConstructorWithDefaults1(IN, bool, traverseOnlyActiveChildren, true, |
|---|
| 539 | Properties::NON_EXPLICIT, |
|---|
| 540 | ____PropertyVisitor__bool, |
|---|
| 541 | "", |
|---|
| 542 | ""); |
|---|
| 543 | I_Method1(void, apply, IN, osgVolume::Property &, x, |
|---|
| 544 | Properties::VIRTUAL, |
|---|
| 545 | __void__apply__Property_R1, |
|---|
| 546 | "", |
|---|
| 547 | ""); |
|---|
| 548 | I_Method1(void, apply, IN, osgVolume::CompositeProperty &, x, |
|---|
| 549 | Properties::VIRTUAL, |
|---|
| 550 | __void__apply__CompositeProperty_R1, |
|---|
| 551 | "", |
|---|
| 552 | ""); |
|---|
| 553 | I_Method1(void, apply, IN, osgVolume::SwitchProperty &, x, |
|---|
| 554 | Properties::VIRTUAL, |
|---|
| 555 | __void__apply__SwitchProperty_R1, |
|---|
| 556 | "", |
|---|
| 557 | ""); |
|---|
| 558 | I_Method1(void, apply, IN, osgVolume::TransferFunctionProperty &, x, |
|---|
| 559 | Properties::VIRTUAL, |
|---|
| 560 | __void__apply__TransferFunctionProperty_R1, |
|---|
| 561 | "", |
|---|
| 562 | ""); |
|---|
| 563 | I_Method1(void, apply, IN, osgVolume::ScalarProperty &, x, |
|---|
| 564 | Properties::VIRTUAL, |
|---|
| 565 | __void__apply__ScalarProperty_R1, |
|---|
| 566 | "", |
|---|
| 567 | ""); |
|---|
| 568 | I_Method1(void, apply, IN, osgVolume::IsoSurfaceProperty &, x, |
|---|
| 569 | Properties::VIRTUAL, |
|---|
| 570 | __void__apply__IsoSurfaceProperty_R1, |
|---|
| 571 | "", |
|---|
| 572 | ""); |
|---|
| 573 | I_Method1(void, apply, IN, osgVolume::AlphaFuncProperty &, x, |
|---|
| 574 | Properties::VIRTUAL, |
|---|
| 575 | __void__apply__AlphaFuncProperty_R1, |
|---|
| 576 | "", |
|---|
| 577 | ""); |
|---|
| 578 | I_Method1(void, apply, IN, osgVolume::MaximumIntensityProjectionProperty &, x, |
|---|
| 579 | Properties::VIRTUAL, |
|---|
| 580 | __void__apply__MaximumIntensityProjectionProperty_R1, |
|---|
| 581 | "", |
|---|
| 582 | ""); |
|---|
| 583 | I_Method1(void, apply, IN, osgVolume::LightingProperty &, x, |
|---|
| 584 | Properties::VIRTUAL, |
|---|
| 585 | __void__apply__LightingProperty_R1, |
|---|
| 586 | "", |
|---|
| 587 | ""); |
|---|
| 588 | I_Method1(void, apply, IN, osgVolume::SampleDensityProperty &, x, |
|---|
| 589 | Properties::VIRTUAL, |
|---|
| 590 | __void__apply__SampleDensityProperty_R1, |
|---|
| 591 | "", |
|---|
| 592 | ""); |
|---|
| 593 | I_Method1(void, apply, IN, osgVolume::TransparencyProperty &, x, |
|---|
| 594 | Properties::VIRTUAL, |
|---|
| 595 | __void__apply__TransparencyProperty_R1, |
|---|
| 596 | "", |
|---|
| 597 | ""); |
|---|
| 598 | I_PublicMemberProperty(bool, _traverseOnlyActiveChildren); |
|---|
| 599 | END_REFLECTOR |
|---|
| 600 | |
|---|
| 601 | BEGIN_OBJECT_REFLECTOR(osgVolume::SampleDensityProperty) |
|---|
| 602 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 603 | I_BaseType(osgVolume::ScalarProperty); |
|---|
| 604 | I_ConstructorWithDefaults1(IN, float, value, 1.0, |
|---|
| 605 | Properties::NON_EXPLICIT, |
|---|
| 606 | ____SampleDensityProperty__float, |
|---|
| 607 | "", |
|---|
| 608 | ""); |
|---|
| 609 | I_ConstructorWithDefaults2(IN, const osgVolume::SampleDensityProperty &, isp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 610 | ____SampleDensityProperty__C5_SampleDensityProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 611 | "", |
|---|
| 612 | ""); |
|---|
| 613 | I_Method0(osg::Object *, cloneType, |
|---|
| 614 | Properties::VIRTUAL, |
|---|
| 615 | __osg_Object_P1__cloneType, |
|---|
| 616 | "Clone the type of an object, with Object* return type. ", |
|---|
| 617 | "Must be defined by derived classes. "); |
|---|
| 618 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 619 | Properties::VIRTUAL, |
|---|
| 620 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 621 | "Clone an object, with Object* return type. ", |
|---|
| 622 | "Must be defined by derived classes. "); |
|---|
| 623 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 624 | Properties::VIRTUAL, |
|---|
| 625 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 626 | "", |
|---|
| 627 | ""); |
|---|
| 628 | I_Method0(const char *, libraryName, |
|---|
| 629 | Properties::VIRTUAL, |
|---|
| 630 | __C5_char_P1__libraryName, |
|---|
| 631 | "return the name of the object's library. ", |
|---|
| 632 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 633 | I_Method0(const char *, className, |
|---|
| 634 | Properties::VIRTUAL, |
|---|
| 635 | __C5_char_P1__className, |
|---|
| 636 | "return the name of the object's class type. ", |
|---|
| 637 | "Must be defined by derived classes. "); |
|---|
| 638 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 639 | Properties::VIRTUAL, |
|---|
| 640 | __void__accept__PropertyVisitor_R1, |
|---|
| 641 | "", |
|---|
| 642 | ""); |
|---|
| 643 | END_REFLECTOR |
|---|
| 644 | |
|---|
| 645 | BEGIN_OBJECT_REFLECTOR(osgVolume::ScalarProperty) |
|---|
| 646 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 647 | I_BaseType(osgVolume::Property); |
|---|
| 648 | I_Constructor2(IN, const std::string &, scaleName, IN, float, value, |
|---|
| 649 | ____ScalarProperty__C5_std_string_R1__float, |
|---|
| 650 | "", |
|---|
| 651 | ""); |
|---|
| 652 | I_ConstructorWithDefaults2(IN, const osgVolume::ScalarProperty &, scalarProperty, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 653 | ____ScalarProperty__C5_ScalarProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 654 | "", |
|---|
| 655 | ""); |
|---|
| 656 | I_Method0(osg::Object *, cloneType, |
|---|
| 657 | Properties::VIRTUAL, |
|---|
| 658 | __osg_Object_P1__cloneType, |
|---|
| 659 | "Clone the type of an object, with Object* return type. ", |
|---|
| 660 | "Must be defined by derived classes. "); |
|---|
| 661 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 662 | Properties::VIRTUAL, |
|---|
| 663 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 664 | "Clone an object, with Object* return type. ", |
|---|
| 665 | "Must be defined by derived classes. "); |
|---|
| 666 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 667 | Properties::VIRTUAL, |
|---|
| 668 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 669 | "", |
|---|
| 670 | ""); |
|---|
| 671 | I_Method0(const char *, libraryName, |
|---|
| 672 | Properties::VIRTUAL, |
|---|
| 673 | __C5_char_P1__libraryName, |
|---|
| 674 | "return the name of the object's library. ", |
|---|
| 675 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 676 | I_Method0(const char *, className, |
|---|
| 677 | Properties::VIRTUAL, |
|---|
| 678 | __C5_char_P1__className, |
|---|
| 679 | "return the name of the object's class type. ", |
|---|
| 680 | "Must be defined by derived classes. "); |
|---|
| 681 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 682 | Properties::VIRTUAL, |
|---|
| 683 | __void__accept__PropertyVisitor_R1, |
|---|
| 684 | "", |
|---|
| 685 | ""); |
|---|
| 686 | I_Method1(void, setValue, IN, float, v, |
|---|
| 687 | Properties::VIRTUAL, |
|---|
| 688 | __void__setValue__float, |
|---|
| 689 | "Set the value. ", |
|---|
| 690 | ""); |
|---|
| 691 | I_Method0(float, getValue, |
|---|
| 692 | Properties::NON_VIRTUAL, |
|---|
| 693 | __float__getValue, |
|---|
| 694 | "Get the value. ", |
|---|
| 695 | ""); |
|---|
| 696 | I_Method0(osg::Uniform *, getUniform, |
|---|
| 697 | Properties::NON_VIRTUAL, |
|---|
| 698 | __osg_Uniform_P1__getUniform, |
|---|
| 699 | "Get the underlying uniform. ", |
|---|
| 700 | ""); |
|---|
| 701 | I_Method0(const osg::Uniform *, getUniform, |
|---|
| 702 | Properties::NON_VIRTUAL, |
|---|
| 703 | __C5_osg_Uniform_P1__getUniform, |
|---|
| 704 | "Get the underlying uniform. ", |
|---|
| 705 | ""); |
|---|
| 706 | I_ProtectedConstructor0(____ScalarProperty, |
|---|
| 707 | "", |
|---|
| 708 | ""); |
|---|
| 709 | I_SimpleProperty(osg::Uniform *, Uniform, |
|---|
| 710 | __osg_Uniform_P1__getUniform, |
|---|
| 711 | 0); |
|---|
| 712 | I_SimpleProperty(float, Value, |
|---|
| 713 | __float__getValue, |
|---|
| 714 | __void__setValue__float); |
|---|
| 715 | END_REFLECTOR |
|---|
| 716 | |
|---|
| 717 | BEGIN_OBJECT_REFLECTOR(osgVolume::SwitchProperty) |
|---|
| 718 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 719 | I_BaseType(osgVolume::CompositeProperty); |
|---|
| 720 | I_Constructor0(____SwitchProperty, |
|---|
| 721 | "", |
|---|
| 722 | ""); |
|---|
| 723 | I_ConstructorWithDefaults2(IN, const osgVolume::SwitchProperty &, switchProperty, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 724 | ____SwitchProperty__C5_SwitchProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 725 | "Copy constructor using CopyOp to manage deep vs shallow copy. ", |
|---|
| 726 | ""); |
|---|
| 727 | I_Method0(osg::Object *, cloneType, |
|---|
| 728 | Properties::VIRTUAL, |
|---|
| 729 | __osg_Object_P1__cloneType, |
|---|
| 730 | "Clone the type of an object, with Object* return type. ", |
|---|
| 731 | "Must be defined by derived classes. "); |
|---|
| 732 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 733 | Properties::VIRTUAL, |
|---|
| 734 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 735 | "Clone an object, with Object* return type. ", |
|---|
| 736 | "Must be defined by derived classes. "); |
|---|
| 737 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 738 | Properties::VIRTUAL, |
|---|
| 739 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 740 | "", |
|---|
| 741 | ""); |
|---|
| 742 | I_Method0(const char *, libraryName, |
|---|
| 743 | Properties::VIRTUAL, |
|---|
| 744 | __C5_char_P1__libraryName, |
|---|
| 745 | "return the name of the object's library. ", |
|---|
| 746 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 747 | I_Method0(const char *, className, |
|---|
| 748 | Properties::VIRTUAL, |
|---|
| 749 | __C5_char_P1__className, |
|---|
| 750 | "return the name of the object's class type. ", |
|---|
| 751 | "Must be defined by derived classes. "); |
|---|
| 752 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 753 | Properties::VIRTUAL, |
|---|
| 754 | __void__accept__PropertyVisitor_R1, |
|---|
| 755 | "", |
|---|
| 756 | ""); |
|---|
| 757 | I_Method1(void, setActiveProperty, IN, int, i, |
|---|
| 758 | Properties::NON_VIRTUAL, |
|---|
| 759 | __void__setActiveProperty__int, |
|---|
| 760 | "Set which child property is active. ", |
|---|
| 761 | "-1 disables all children. "); |
|---|
| 762 | I_Method0(int, getActiveProperty, |
|---|
| 763 | Properties::NON_VIRTUAL, |
|---|
| 764 | __int__getActiveProperty, |
|---|
| 765 | "Get the active property. ", |
|---|
| 766 | ""); |
|---|
| 767 | I_SimpleProperty(int, ActiveProperty, |
|---|
| 768 | __int__getActiveProperty, |
|---|
| 769 | __void__setActiveProperty__int); |
|---|
| 770 | END_REFLECTOR |
|---|
| 771 | |
|---|
| 772 | BEGIN_OBJECT_REFLECTOR(osgVolume::TransferFunctionProperty) |
|---|
| 773 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 774 | I_BaseType(osgVolume::Property); |
|---|
| 775 | I_ConstructorWithDefaults1(IN, osg::TransferFunction *, tf, 0, |
|---|
| 776 | Properties::NON_EXPLICIT, |
|---|
| 777 | ____TransferFunctionProperty__osg_TransferFunction_P1, |
|---|
| 778 | "", |
|---|
| 779 | ""); |
|---|
| 780 | I_ConstructorWithDefaults2(IN, const osgVolume::TransferFunctionProperty &, tfp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 781 | ____TransferFunctionProperty__C5_TransferFunctionProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 782 | "Copy constructor using CopyOp to manage deep vs shallow copy. ", |
|---|
| 783 | ""); |
|---|
| 784 | I_Method0(osg::Object *, cloneType, |
|---|
| 785 | Properties::VIRTUAL, |
|---|
| 786 | __osg_Object_P1__cloneType, |
|---|
| 787 | "Clone the type of an object, with Object* return type. ", |
|---|
| 788 | "Must be defined by derived classes. "); |
|---|
| 789 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 790 | Properties::VIRTUAL, |
|---|
| 791 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 792 | "Clone an object, with Object* return type. ", |
|---|
| 793 | "Must be defined by derived classes. "); |
|---|
| 794 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 795 | Properties::VIRTUAL, |
|---|
| 796 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 797 | "", |
|---|
| 798 | ""); |
|---|
| 799 | I_Method0(const char *, libraryName, |
|---|
| 800 | Properties::VIRTUAL, |
|---|
| 801 | __C5_char_P1__libraryName, |
|---|
| 802 | "return the name of the object's library. ", |
|---|
| 803 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 804 | I_Method0(const char *, className, |
|---|
| 805 | Properties::VIRTUAL, |
|---|
| 806 | __C5_char_P1__className, |
|---|
| 807 | "return the name of the object's class type. ", |
|---|
| 808 | "Must be defined by derived classes. "); |
|---|
| 809 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 810 | Properties::VIRTUAL, |
|---|
| 811 | __void__accept__PropertyVisitor_R1, |
|---|
| 812 | "", |
|---|
| 813 | ""); |
|---|
| 814 | I_Method1(void, setTransferFunction, IN, osg::TransferFunction *, tf, |
|---|
| 815 | Properties::NON_VIRTUAL, |
|---|
| 816 | __void__setTransferFunction__osg_TransferFunction_P1, |
|---|
| 817 | "Set the transfer function. ", |
|---|
| 818 | ""); |
|---|
| 819 | I_Method0(osg::TransferFunction *, getTransferFunction, |
|---|
| 820 | Properties::NON_VIRTUAL, |
|---|
| 821 | __osg_TransferFunction_P1__getTransferFunction, |
|---|
| 822 | "Get the transfer function. ", |
|---|
| 823 | ""); |
|---|
| 824 | I_Method0(const osg::TransferFunction *, getTransferFunction, |
|---|
| 825 | Properties::NON_VIRTUAL, |
|---|
| 826 | __C5_osg_TransferFunction_P1__getTransferFunction, |
|---|
| 827 | "Get the const transfer function. ", |
|---|
| 828 | ""); |
|---|
| 829 | I_SimpleProperty(osg::TransferFunction *, TransferFunction, |
|---|
| 830 | __osg_TransferFunction_P1__getTransferFunction, |
|---|
| 831 | __void__setTransferFunction__osg_TransferFunction_P1); |
|---|
| 832 | END_REFLECTOR |
|---|
| 833 | |
|---|
| 834 | BEGIN_OBJECT_REFLECTOR(osgVolume::TransparencyProperty) |
|---|
| 835 | I_DeclaringFile("osgVolume/Property"); |
|---|
| 836 | I_BaseType(osgVolume::ScalarProperty); |
|---|
| 837 | I_ConstructorWithDefaults1(IN, float, value, 1.0, |
|---|
| 838 | Properties::NON_EXPLICIT, |
|---|
| 839 | ____TransparencyProperty__float, |
|---|
| 840 | "", |
|---|
| 841 | ""); |
|---|
| 842 | I_ConstructorWithDefaults2(IN, const osgVolume::TransparencyProperty &, isp, , IN, const osg::CopyOp &, copyop, osg::CopyOp::SHALLOW_COPY, |
|---|
| 843 | ____TransparencyProperty__C5_TransparencyProperty_R1__C5_osg_CopyOp_R1, |
|---|
| 844 | "", |
|---|
| 845 | ""); |
|---|
| 846 | I_Method0(osg::Object *, cloneType, |
|---|
| 847 | Properties::VIRTUAL, |
|---|
| 848 | __osg_Object_P1__cloneType, |
|---|
| 849 | "Clone the type of an object, with Object* return type. ", |
|---|
| 850 | "Must be defined by derived classes. "); |
|---|
| 851 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, copyop, |
|---|
| 852 | Properties::VIRTUAL, |
|---|
| 853 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 854 | "Clone an object, with Object* return type. ", |
|---|
| 855 | "Must be defined by derived classes. "); |
|---|
| 856 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 857 | Properties::VIRTUAL, |
|---|
| 858 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 859 | "", |
|---|
| 860 | ""); |
|---|
| 861 | I_Method0(const char *, libraryName, |
|---|
| 862 | Properties::VIRTUAL, |
|---|
| 863 | __C5_char_P1__libraryName, |
|---|
| 864 | "return the name of the object's library. ", |
|---|
| 865 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 866 | I_Method0(const char *, className, |
|---|
| 867 | Properties::VIRTUAL, |
|---|
| 868 | __C5_char_P1__className, |
|---|
| 869 | "return the name of the object's class type. ", |
|---|
| 870 | "Must be defined by derived classes. "); |
|---|
| 871 | I_Method1(void, accept, IN, osgVolume::PropertyVisitor &, pv, |
|---|
| 872 | Properties::VIRTUAL, |
|---|
| 873 | __void__accept__PropertyVisitor_R1, |
|---|
| 874 | "", |
|---|
| 875 | ""); |
|---|
| 876 | END_REFLECTOR |
|---|
| 877 | |
|---|
| 878 | BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgVolume::Property >) |
|---|
| 879 | I_DeclaringFile("osg/ref_ptr"); |
|---|
| 880 | I_Constructor0(____ref_ptr, |
|---|
| 881 | "", |
|---|
| 882 | ""); |
|---|
| 883 | I_Constructor1(IN, osgVolume::Property *, ptr, |
|---|
| 884 | Properties::NON_EXPLICIT, |
|---|
| 885 | ____ref_ptr__T_P1, |
|---|
| 886 | "", |
|---|
| 887 | ""); |
|---|
| 888 | I_Constructor1(IN, const osg::ref_ptr< osgVolume::Property > &, rp, |
|---|
| 889 | Properties::NON_EXPLICIT, |
|---|
| 890 | ____ref_ptr__C5_ref_ptr_R1, |
|---|
| 891 | "", |
|---|
| 892 | ""); |
|---|
| 893 | I_Method0(osgVolume::Property *, get, |
|---|
| 894 | Properties::NON_VIRTUAL, |
|---|
| 895 | __T_P1__get, |
|---|
| 896 | "", |
|---|
| 897 | ""); |
|---|
| 898 | I_Method0(bool, valid, |
|---|
| 899 | Properties::NON_VIRTUAL, |
|---|
| 900 | __bool__valid, |
|---|
| 901 | "", |
|---|
| 902 | ""); |
|---|
| 903 | I_Method0(osgVolume::Property *, release, |
|---|
| 904 | Properties::NON_VIRTUAL, |
|---|
| 905 | __T_P1__release, |
|---|
| 906 | "", |
|---|
| 907 | ""); |
|---|
| 908 | I_Method1(void, swap, IN, osg::ref_ptr< osgVolume::Property > &, rp, |
|---|
| 909 | Properties::NON_VIRTUAL, |
|---|
| 910 | __void__swap__ref_ptr_R1, |
|---|
| 911 | "", |
|---|
| 912 | ""); |
|---|
| 913 | I_SimpleProperty(osgVolume::Property *, , |
|---|
| 914 | __T_P1__get, |
|---|
| 915 | 0); |
|---|
| 916 | END_REFLECTOR |
|---|
| 917 | |
|---|
| 918 | STD_VECTOR_REFLECTOR(std::vector< osg::ref_ptr< osgVolume::Property > >) |
|---|