| 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/ApplicationUsage> |
|---|
| 14 | #include <osg/CopyOp> |
|---|
| 15 | #include <osg/Node> |
|---|
| 16 | #include <osg/NodeVisitor> |
|---|
| 17 | #include <osg/Object> |
|---|
| 18 | #include <osg/Vec3> |
|---|
| 19 | #include <osgDB/Callbacks> |
|---|
| 20 | #include <osgGA/GUIActionAdapter> |
|---|
| 21 | #include <osgGA/GUIEventAdapter> |
|---|
| 22 | #include <osgGA/GUIEventHandler> |
|---|
| 23 | #include <osgPresentation/SlideEventHandler> |
|---|
| 24 | #include <osgViewer/Viewer> |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | #ifdef IN |
|---|
| 28 | #undef IN |
|---|
| 29 | #endif |
|---|
| 30 | #ifdef OUT |
|---|
| 31 | #undef OUT |
|---|
| 32 | #endif |
|---|
| 33 | |
|---|
| 34 | TYPE_NAME_ALIAS(std::set< osg::ref_ptr< osgPresentation::ObjectOperator > COMMA osgPresentation::dereference_less >, osgPresentation::ActiveOperators::OperatorList) |
|---|
| 35 | |
|---|
| 36 | BEGIN_VALUE_REFLECTOR(osgPresentation::ActiveOperators) |
|---|
| 37 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 38 | I_Constructor0(____ActiveOperators, |
|---|
| 39 | "", |
|---|
| 40 | ""); |
|---|
| 41 | I_MethodWithDefaults2(void, collect, IN, osg::Node *, incommingNode, , IN, osg::NodeVisitor::TraversalMode, tm, osg::NodeVisitor::TRAVERSE_ACTIVE_CHILDREN, |
|---|
| 42 | Properties::NON_VIRTUAL, |
|---|
| 43 | __void__collect__osg_Node_P1__osg_NodeVisitor_TraversalMode, |
|---|
| 44 | "", |
|---|
| 45 | ""); |
|---|
| 46 | I_Method0(void, process, |
|---|
| 47 | Properties::NON_VIRTUAL, |
|---|
| 48 | __void__process, |
|---|
| 49 | "", |
|---|
| 50 | ""); |
|---|
| 51 | I_Method1(void, setPause, IN, bool, pause, |
|---|
| 52 | Properties::NON_VIRTUAL, |
|---|
| 53 | __void__setPause__bool, |
|---|
| 54 | "", |
|---|
| 55 | ""); |
|---|
| 56 | I_Method0(bool, getPause, |
|---|
| 57 | Properties::NON_VIRTUAL, |
|---|
| 58 | __bool__getPause, |
|---|
| 59 | "", |
|---|
| 60 | ""); |
|---|
| 61 | I_Method0(void, reset, |
|---|
| 62 | Properties::NON_VIRTUAL, |
|---|
| 63 | __void__reset, |
|---|
| 64 | "", |
|---|
| 65 | ""); |
|---|
| 66 | I_ProtectedMethod0(void, processOutgoing, |
|---|
| 67 | Properties::NON_VIRTUAL, |
|---|
| 68 | Properties::NON_CONST, |
|---|
| 69 | __void__processOutgoing, |
|---|
| 70 | "", |
|---|
| 71 | ""); |
|---|
| 72 | I_ProtectedMethod0(void, processIncomming, |
|---|
| 73 | Properties::NON_VIRTUAL, |
|---|
| 74 | Properties::NON_CONST, |
|---|
| 75 | __void__processIncomming, |
|---|
| 76 | "", |
|---|
| 77 | ""); |
|---|
| 78 | I_ProtectedMethod0(void, processMaintained, |
|---|
| 79 | Properties::NON_VIRTUAL, |
|---|
| 80 | Properties::NON_CONST, |
|---|
| 81 | __void__processMaintained, |
|---|
| 82 | "", |
|---|
| 83 | ""); |
|---|
| 84 | I_SimpleProperty(bool, Pause, |
|---|
| 85 | __bool__getPause, |
|---|
| 86 | __void__setPause__bool); |
|---|
| 87 | END_REFLECTOR |
|---|
| 88 | |
|---|
| 89 | BEGIN_VALUE_REFLECTOR(osgPresentation::dereference_less) |
|---|
| 90 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 91 | I_Constructor0(____dereference_less, |
|---|
| 92 | "", |
|---|
| 93 | ""); |
|---|
| 94 | END_REFLECTOR |
|---|
| 95 | |
|---|
| 96 | BEGIN_OBJECT_REFLECTOR(osgPresentation::FilePathData) |
|---|
| 97 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 98 | I_VirtualBaseType(osg::Referenced); |
|---|
| 99 | I_Constructor1(IN, const osgDB::FilePathList &, fpl, |
|---|
| 100 | Properties::NON_EXPLICIT, |
|---|
| 101 | ____FilePathData__C5_osgDB_FilePathList_R1, |
|---|
| 102 | "", |
|---|
| 103 | ""); |
|---|
| 104 | I_PublicMemberProperty(osgDB::FilePathList, filePathList); |
|---|
| 105 | END_REFLECTOR |
|---|
| 106 | |
|---|
| 107 | BEGIN_OBJECT_REFLECTOR(osgPresentation::HomePosition) |
|---|
| 108 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 109 | I_VirtualBaseType(osg::Referenced); |
|---|
| 110 | I_Constructor0(____HomePosition, |
|---|
| 111 | "", |
|---|
| 112 | ""); |
|---|
| 113 | I_Constructor3(IN, const osg::Vec3 &, in_eye, IN, const osg::Vec3 &, in_center, IN, const osg::Vec3 &, in_up, |
|---|
| 114 | ____HomePosition__C5_osg_Vec3_R1__C5_osg_Vec3_R1__C5_osg_Vec3_R1, |
|---|
| 115 | "", |
|---|
| 116 | ""); |
|---|
| 117 | I_PublicMemberProperty(osg::Vec3, eye); |
|---|
| 118 | I_PublicMemberProperty(osg::Vec3, center); |
|---|
| 119 | I_PublicMemberProperty(osg::Vec3, up); |
|---|
| 120 | END_REFLECTOR |
|---|
| 121 | |
|---|
| 122 | BEGIN_VALUE_REFLECTOR(osgPresentation::KeyPosition) |
|---|
| 123 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 124 | I_ConstructorWithDefaults3(IN, unsigned int, key, 0, IN, float, x, FLT_MAX, IN, float, y, FLT_MAX, |
|---|
| 125 | ____KeyPosition__unsigned_int__float__float, |
|---|
| 126 | "", |
|---|
| 127 | ""); |
|---|
| 128 | I_MethodWithDefaults3(void, set, IN, unsigned int, key, 0, IN, float, x, FLT_MAX, IN, float, y, FLT_MAX, |
|---|
| 129 | Properties::NON_VIRTUAL, |
|---|
| 130 | __void__set__unsigned_int__float__float, |
|---|
| 131 | "", |
|---|
| 132 | ""); |
|---|
| 133 | I_PublicMemberProperty(osgGA::GUIEventAdapter::KeySymbol, _key); |
|---|
| 134 | I_PublicMemberProperty(float, _x); |
|---|
| 135 | I_PublicMemberProperty(float, _y); |
|---|
| 136 | END_REFLECTOR |
|---|
| 137 | |
|---|
| 138 | TYPE_NAME_ALIAS(std::vector< osgPresentation::KeyPosition >, osgPresentation::LayerAttributes::Keys) |
|---|
| 139 | |
|---|
| 140 | TYPE_NAME_ALIAS(std::vector< std::string >, osgPresentation::LayerAttributes::RunStrings) |
|---|
| 141 | |
|---|
| 142 | TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgPresentation::LayerCallback > >, osgPresentation::LayerAttributes::LayerCallbacks) |
|---|
| 143 | |
|---|
| 144 | BEGIN_OBJECT_REFLECTOR(osgPresentation::LayerAttributes) |
|---|
| 145 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 146 | I_VirtualBaseType(osg::Referenced); |
|---|
| 147 | I_Constructor0(____LayerAttributes, |
|---|
| 148 | "", |
|---|
| 149 | ""); |
|---|
| 150 | I_Constructor1(IN, double, in_duration, |
|---|
| 151 | Properties::NON_EXPLICIT, |
|---|
| 152 | ____LayerAttributes__double, |
|---|
| 153 | "", |
|---|
| 154 | ""); |
|---|
| 155 | I_Method1(void, setDuration, IN, double, duration, |
|---|
| 156 | Properties::NON_VIRTUAL, |
|---|
| 157 | __void__setDuration__double, |
|---|
| 158 | "", |
|---|
| 159 | ""); |
|---|
| 160 | I_Method0(double, getDuration, |
|---|
| 161 | Properties::NON_VIRTUAL, |
|---|
| 162 | __double__getDuration, |
|---|
| 163 | "", |
|---|
| 164 | ""); |
|---|
| 165 | I_Method1(void, setKeys, IN, const osgPresentation::LayerAttributes::Keys &, keys, |
|---|
| 166 | Properties::NON_VIRTUAL, |
|---|
| 167 | __void__setKeys__C5_Keys_R1, |
|---|
| 168 | "", |
|---|
| 169 | ""); |
|---|
| 170 | I_Method0(const osgPresentation::LayerAttributes::Keys &, getKeys, |
|---|
| 171 | Properties::NON_VIRTUAL, |
|---|
| 172 | __C5_Keys_R1__getKeys, |
|---|
| 173 | "", |
|---|
| 174 | ""); |
|---|
| 175 | I_Method1(void, addKey, IN, const osgPresentation::KeyPosition &, kp, |
|---|
| 176 | Properties::NON_VIRTUAL, |
|---|
| 177 | __void__addKey__C5_KeyPosition_R1, |
|---|
| 178 | "", |
|---|
| 179 | ""); |
|---|
| 180 | I_Method1(void, setRunStrings, IN, const osgPresentation::LayerAttributes::RunStrings &, runStrings, |
|---|
| 181 | Properties::NON_VIRTUAL, |
|---|
| 182 | __void__setRunStrings__C5_RunStrings_R1, |
|---|
| 183 | "", |
|---|
| 184 | ""); |
|---|
| 185 | I_Method0(const osgPresentation::LayerAttributes::RunStrings &, getRunStrings, |
|---|
| 186 | Properties::NON_VIRTUAL, |
|---|
| 187 | __C5_RunStrings_R1__getRunStrings, |
|---|
| 188 | "", |
|---|
| 189 | ""); |
|---|
| 190 | I_Method1(void, addRunString, IN, const std::string &, runString, |
|---|
| 191 | Properties::NON_VIRTUAL, |
|---|
| 192 | __void__addRunString__C5_std_string_R1, |
|---|
| 193 | "", |
|---|
| 194 | ""); |
|---|
| 195 | I_Method3(void, setJump, IN, bool, relativeJump, IN, int, slideNum, IN, int, layerNum, |
|---|
| 196 | Properties::NON_VIRTUAL, |
|---|
| 197 | __void__setJump__bool__int__int, |
|---|
| 198 | "", |
|---|
| 199 | ""); |
|---|
| 200 | I_Method0(bool, getRelativeJump, |
|---|
| 201 | Properties::NON_VIRTUAL, |
|---|
| 202 | __bool__getRelativeJump, |
|---|
| 203 | "", |
|---|
| 204 | ""); |
|---|
| 205 | I_Method0(int, getSlideNum, |
|---|
| 206 | Properties::NON_VIRTUAL, |
|---|
| 207 | __int__getSlideNum, |
|---|
| 208 | "", |
|---|
| 209 | ""); |
|---|
| 210 | I_Method0(int, getLayerNum, |
|---|
| 211 | Properties::NON_VIRTUAL, |
|---|
| 212 | __int__getLayerNum, |
|---|
| 213 | "", |
|---|
| 214 | ""); |
|---|
| 215 | I_Method0(bool, requiresJump, |
|---|
| 216 | Properties::NON_VIRTUAL, |
|---|
| 217 | __bool__requiresJump, |
|---|
| 218 | "", |
|---|
| 219 | ""); |
|---|
| 220 | I_Method1(void, addEnterCallback, IN, osgPresentation::LayerCallback *, lc, |
|---|
| 221 | Properties::NON_VIRTUAL, |
|---|
| 222 | __void__addEnterCallback__LayerCallback_P1, |
|---|
| 223 | "", |
|---|
| 224 | ""); |
|---|
| 225 | I_Method1(void, addLeaveCallback, IN, osgPresentation::LayerCallback *, lc, |
|---|
| 226 | Properties::NON_VIRTUAL, |
|---|
| 227 | __void__addLeaveCallback__LayerCallback_P1, |
|---|
| 228 | "", |
|---|
| 229 | ""); |
|---|
| 230 | I_Method1(void, callEnterCallbacks, IN, osg::Node *, node, |
|---|
| 231 | Properties::NON_VIRTUAL, |
|---|
| 232 | __void__callEnterCallbacks__osg_Node_P1, |
|---|
| 233 | "", |
|---|
| 234 | ""); |
|---|
| 235 | I_Method1(void, callLeaveCallbacks, IN, osg::Node *, node, |
|---|
| 236 | Properties::NON_VIRTUAL, |
|---|
| 237 | __void__callLeaveCallbacks__osg_Node_P1, |
|---|
| 238 | "", |
|---|
| 239 | ""); |
|---|
| 240 | I_SimpleProperty(double, Duration, |
|---|
| 241 | __double__getDuration, |
|---|
| 242 | __void__setDuration__double); |
|---|
| 243 | I_SimpleProperty(const osgPresentation::LayerAttributes::Keys &, Keys, |
|---|
| 244 | __C5_Keys_R1__getKeys, |
|---|
| 245 | __void__setKeys__C5_Keys_R1); |
|---|
| 246 | I_SimpleProperty(int, LayerNum, |
|---|
| 247 | __int__getLayerNum, |
|---|
| 248 | 0); |
|---|
| 249 | I_SimpleProperty(bool, RelativeJump, |
|---|
| 250 | __bool__getRelativeJump, |
|---|
| 251 | 0); |
|---|
| 252 | I_SimpleProperty(const osgPresentation::LayerAttributes::RunStrings &, RunStrings, |
|---|
| 253 | __C5_RunStrings_R1__getRunStrings, |
|---|
| 254 | __void__setRunStrings__C5_RunStrings_R1); |
|---|
| 255 | I_SimpleProperty(int, SlideNum, |
|---|
| 256 | __int__getSlideNum, |
|---|
| 257 | 0); |
|---|
| 258 | I_PublicMemberProperty(double, _duration); |
|---|
| 259 | I_PublicMemberProperty(osgPresentation::LayerAttributes::Keys, _keys); |
|---|
| 260 | I_PublicMemberProperty(osgPresentation::LayerAttributes::RunStrings, _runStrings); |
|---|
| 261 | I_PublicMemberProperty(bool, _relativeJump); |
|---|
| 262 | I_PublicMemberProperty(int, _slideNum); |
|---|
| 263 | I_PublicMemberProperty(int, _layerNum); |
|---|
| 264 | I_PublicMemberProperty(osgPresentation::LayerAttributes::LayerCallbacks, _enterLayerCallbacks); |
|---|
| 265 | I_PublicMemberProperty(osgPresentation::LayerAttributes::LayerCallbacks, _leaveLayerCallbacks); |
|---|
| 266 | END_REFLECTOR |
|---|
| 267 | |
|---|
| 268 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgPresentation::LayerCallback) |
|---|
| 269 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 270 | I_VirtualBaseType(osg::Referenced); |
|---|
| 271 | I_Constructor0(____LayerCallback, |
|---|
| 272 | "", |
|---|
| 273 | ""); |
|---|
| 274 | END_REFLECTOR |
|---|
| 275 | |
|---|
| 276 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgPresentation::ObjectOperator) |
|---|
| 277 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 278 | I_BaseType(osg::Referenced); |
|---|
| 279 | I_Constructor0(____ObjectOperator, |
|---|
| 280 | "", |
|---|
| 281 | ""); |
|---|
| 282 | I_Method0(void *, ptr, |
|---|
| 283 | Properties::PURE_VIRTUAL, |
|---|
| 284 | __void_P1__ptr, |
|---|
| 285 | "", |
|---|
| 286 | ""); |
|---|
| 287 | I_Method0(void, enter, |
|---|
| 288 | Properties::PURE_VIRTUAL, |
|---|
| 289 | __void__enter, |
|---|
| 290 | "", |
|---|
| 291 | ""); |
|---|
| 292 | I_Method0(void, maintain, |
|---|
| 293 | Properties::PURE_VIRTUAL, |
|---|
| 294 | __void__maintain, |
|---|
| 295 | "", |
|---|
| 296 | ""); |
|---|
| 297 | I_Method0(void, leave, |
|---|
| 298 | Properties::PURE_VIRTUAL, |
|---|
| 299 | __void__leave, |
|---|
| 300 | "", |
|---|
| 301 | ""); |
|---|
| 302 | I_Method1(void, setPause, IN, bool, pause, |
|---|
| 303 | Properties::PURE_VIRTUAL, |
|---|
| 304 | __void__setPause__bool, |
|---|
| 305 | "", |
|---|
| 306 | ""); |
|---|
| 307 | I_Method0(void, reset, |
|---|
| 308 | Properties::PURE_VIRTUAL, |
|---|
| 309 | __void__reset, |
|---|
| 310 | "", |
|---|
| 311 | ""); |
|---|
| 312 | I_SimpleProperty(bool, Pause, |
|---|
| 313 | 0, |
|---|
| 314 | __void__setPause__bool); |
|---|
| 315 | END_REFLECTOR |
|---|
| 316 | |
|---|
| 317 | BEGIN_ENUM_REFLECTOR(osgPresentation::SlideEventHandler::WhichPosition) |
|---|
| 318 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 319 | I_EnumLabel(osgPresentation::SlideEventHandler::FIRST_POSITION); |
|---|
| 320 | I_EnumLabel(osgPresentation::SlideEventHandler::LAST_POSITION); |
|---|
| 321 | END_REFLECTOR |
|---|
| 322 | |
|---|
| 323 | BEGIN_OBJECT_REFLECTOR(osgPresentation::SlideEventHandler) |
|---|
| 324 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 325 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 326 | I_ConstructorWithDefaults1(IN, osgViewer::Viewer *, viewer, 0, |
|---|
| 327 | Properties::NON_EXPLICIT, |
|---|
| 328 | ____SlideEventHandler__osgViewer_Viewer_P1, |
|---|
| 329 | "", |
|---|
| 330 | ""); |
|---|
| 331 | I_Method0(osg::Object *, cloneType, |
|---|
| 332 | Properties::VIRTUAL, |
|---|
| 333 | __osg_Object_P1__cloneType, |
|---|
| 334 | "Clone the type of an object, with Object* return type. ", |
|---|
| 335 | "Must be defined by derived classes. "); |
|---|
| 336 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, |
|---|
| 337 | Properties::VIRTUAL, |
|---|
| 338 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 339 | "Clone an object, with Object* return type. ", |
|---|
| 340 | "Must be defined by derived classes. "); |
|---|
| 341 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 342 | Properties::VIRTUAL, |
|---|
| 343 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 344 | "", |
|---|
| 345 | ""); |
|---|
| 346 | I_Method0(const char *, libraryName, |
|---|
| 347 | Properties::VIRTUAL, |
|---|
| 348 | __C5_char_P1__libraryName, |
|---|
| 349 | "return the name of the object's library. ", |
|---|
| 350 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 351 | I_Method0(const char *, className, |
|---|
| 352 | Properties::VIRTUAL, |
|---|
| 353 | __C5_char_P1__className, |
|---|
| 354 | "return the name of the object's class type. ", |
|---|
| 355 | "Must be defined by derived classes. "); |
|---|
| 356 | I_Method1(void, set, IN, osg::Node *, model, |
|---|
| 357 | Properties::NON_VIRTUAL, |
|---|
| 358 | __void__set__osg_Node_P1, |
|---|
| 359 | "", |
|---|
| 360 | ""); |
|---|
| 361 | I_Method1(void, accept, IN, osgGA::GUIEventHandlerVisitor &, v, |
|---|
| 362 | Properties::VIRTUAL, |
|---|
| 363 | __void__accept__osgGA_GUIEventHandlerVisitor_R1, |
|---|
| 364 | "", |
|---|
| 365 | ""); |
|---|
| 366 | I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, |
|---|
| 367 | Properties::VIRTUAL, |
|---|
| 368 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 369 | "Deprecated, Handle events, return true if handled, false otherwise. ", |
|---|
| 370 | ""); |
|---|
| 371 | I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x, |
|---|
| 372 | Properties::VIRTUAL, |
|---|
| 373 | __void__getUsage__osg_ApplicationUsage_R1, |
|---|
| 374 | "Get the keyboard and mouse usage of this manipulator. ", |
|---|
| 375 | ""); |
|---|
| 376 | I_Method0(osgViewer::Viewer *, getViewer, |
|---|
| 377 | Properties::NON_VIRTUAL, |
|---|
| 378 | __osgViewer_Viewer_P1__getViewer, |
|---|
| 379 | "", |
|---|
| 380 | ""); |
|---|
| 381 | I_Method1(void, compileSlide, IN, unsigned int, slideNum, |
|---|
| 382 | Properties::NON_VIRTUAL, |
|---|
| 383 | __void__compileSlide__unsigned_int, |
|---|
| 384 | "", |
|---|
| 385 | ""); |
|---|
| 386 | I_Method1(void, releaseSlide, IN, unsigned int, slideNum, |
|---|
| 387 | Properties::NON_VIRTUAL, |
|---|
| 388 | __void__releaseSlide__unsigned_int, |
|---|
| 389 | "", |
|---|
| 390 | ""); |
|---|
| 391 | I_Method0(unsigned int, getNumSlides, |
|---|
| 392 | Properties::NON_VIRTUAL, |
|---|
| 393 | __unsigned_int__getNumSlides, |
|---|
| 394 | "", |
|---|
| 395 | ""); |
|---|
| 396 | I_Method0(int, getActiveSlide, |
|---|
| 397 | Properties::NON_VIRTUAL, |
|---|
| 398 | __int__getActiveSlide, |
|---|
| 399 | "", |
|---|
| 400 | ""); |
|---|
| 401 | I_Method0(int, getActiveLayer, |
|---|
| 402 | Properties::NON_VIRTUAL, |
|---|
| 403 | __int__getActiveLayer, |
|---|
| 404 | "", |
|---|
| 405 | ""); |
|---|
| 406 | I_MethodWithDefaults2(bool, selectSlide, IN, int, slideNum, , IN, int, layerNum, osgPresentation::SlideEventHandler::FIRST_POSITION, |
|---|
| 407 | Properties::NON_VIRTUAL, |
|---|
| 408 | __bool__selectSlide__int__int, |
|---|
| 409 | "", |
|---|
| 410 | ""); |
|---|
| 411 | I_Method1(bool, selectLayer, IN, int, layerNum, |
|---|
| 412 | Properties::NON_VIRTUAL, |
|---|
| 413 | __bool__selectLayer__int, |
|---|
| 414 | "", |
|---|
| 415 | ""); |
|---|
| 416 | I_Method0(bool, nextLayerOrSlide, |
|---|
| 417 | Properties::NON_VIRTUAL, |
|---|
| 418 | __bool__nextLayerOrSlide, |
|---|
| 419 | "", |
|---|
| 420 | ""); |
|---|
| 421 | I_Method0(bool, previousLayerOrSlide, |
|---|
| 422 | Properties::NON_VIRTUAL, |
|---|
| 423 | __bool__previousLayerOrSlide, |
|---|
| 424 | "", |
|---|
| 425 | ""); |
|---|
| 426 | I_Method0(bool, nextSlide, |
|---|
| 427 | Properties::NON_VIRTUAL, |
|---|
| 428 | __bool__nextSlide, |
|---|
| 429 | "", |
|---|
| 430 | ""); |
|---|
| 431 | I_Method0(bool, previousSlide, |
|---|
| 432 | Properties::NON_VIRTUAL, |
|---|
| 433 | __bool__previousSlide, |
|---|
| 434 | "", |
|---|
| 435 | ""); |
|---|
| 436 | I_Method0(bool, nextLayer, |
|---|
| 437 | Properties::NON_VIRTUAL, |
|---|
| 438 | __bool__nextLayer, |
|---|
| 439 | "", |
|---|
| 440 | ""); |
|---|
| 441 | I_Method0(bool, previousLayer, |
|---|
| 442 | Properties::NON_VIRTUAL, |
|---|
| 443 | __bool__previousLayer, |
|---|
| 444 | "", |
|---|
| 445 | ""); |
|---|
| 446 | I_Method0(bool, home, |
|---|
| 447 | Properties::NON_VIRTUAL, |
|---|
| 448 | __bool__home, |
|---|
| 449 | "", |
|---|
| 450 | ""); |
|---|
| 451 | I_MethodWithDefaults1(void, setAutoSteppingActive, IN, bool, flag, true, |
|---|
| 452 | Properties::NON_VIRTUAL, |
|---|
| 453 | __void__setAutoSteppingActive__bool, |
|---|
| 454 | "", |
|---|
| 455 | ""); |
|---|
| 456 | I_Method0(bool, getAutoSteppingActive, |
|---|
| 457 | Properties::NON_VIRTUAL, |
|---|
| 458 | __bool__getAutoSteppingActive, |
|---|
| 459 | "", |
|---|
| 460 | ""); |
|---|
| 461 | I_Method1(void, setTimeDelayBetweenSlides, IN, double, dt, |
|---|
| 462 | Properties::NON_VIRTUAL, |
|---|
| 463 | __void__setTimeDelayBetweenSlides__double, |
|---|
| 464 | "", |
|---|
| 465 | ""); |
|---|
| 466 | I_Method0(double, getTimeDelayBetweenSlides, |
|---|
| 467 | Properties::NON_VIRTUAL, |
|---|
| 468 | __double__getTimeDelayBetweenSlides, |
|---|
| 469 | "", |
|---|
| 470 | ""); |
|---|
| 471 | I_Method1(double, getDuration, IN, const osg::Node *, node, |
|---|
| 472 | Properties::NON_VIRTUAL, |
|---|
| 473 | __double__getDuration__C5_osg_Node_P1, |
|---|
| 474 | "", |
|---|
| 475 | ""); |
|---|
| 476 | I_Method0(double, getCurrentTimeDelayBetweenSlides, |
|---|
| 477 | Properties::NON_VIRTUAL, |
|---|
| 478 | __double__getCurrentTimeDelayBetweenSlides, |
|---|
| 479 | "", |
|---|
| 480 | ""); |
|---|
| 481 | I_Method1(void, setReleaseAndCompileOnEachNewSlide, IN, bool, flag, |
|---|
| 482 | Properties::NON_VIRTUAL, |
|---|
| 483 | __void__setReleaseAndCompileOnEachNewSlide__bool, |
|---|
| 484 | "", |
|---|
| 485 | ""); |
|---|
| 486 | I_Method0(bool, getReleaseAndCompileOnEachNewSlide, |
|---|
| 487 | Properties::NON_VIRTUAL, |
|---|
| 488 | __bool__getReleaseAndCompileOnEachNewSlide, |
|---|
| 489 | "", |
|---|
| 490 | ""); |
|---|
| 491 | I_Method1(void, setTimeDelayOnNewSlideWithMovies, IN, float, t, |
|---|
| 492 | Properties::NON_VIRTUAL, |
|---|
| 493 | __void__setTimeDelayOnNewSlideWithMovies__float, |
|---|
| 494 | "", |
|---|
| 495 | ""); |
|---|
| 496 | I_Method0(float, getTimeDelayOnNewSlideWithMovies, |
|---|
| 497 | Properties::NON_VIRTUAL, |
|---|
| 498 | __float__getTimeDelayOnNewSlideWithMovies, |
|---|
| 499 | "", |
|---|
| 500 | ""); |
|---|
| 501 | I_Method1(void, setLoopPresentation, IN, bool, loop, |
|---|
| 502 | Properties::NON_VIRTUAL, |
|---|
| 503 | __void__setLoopPresentation__bool, |
|---|
| 504 | "", |
|---|
| 505 | ""); |
|---|
| 506 | I_Method0(bool, getLoopPresentation, |
|---|
| 507 | Properties::NON_VIRTUAL, |
|---|
| 508 | __bool__getLoopPresentation, |
|---|
| 509 | "", |
|---|
| 510 | ""); |
|---|
| 511 | I_Method1(void, dispatchEvent, IN, const osgPresentation::KeyPosition &, keyPosition, |
|---|
| 512 | Properties::NON_VIRTUAL, |
|---|
| 513 | __void__dispatchEvent__C5_KeyPosition_R1, |
|---|
| 514 | "", |
|---|
| 515 | ""); |
|---|
| 516 | I_StaticMethod0(osgPresentation::SlideEventHandler *, instance, |
|---|
| 517 | __SlideEventHandler_P1__instance_S, |
|---|
| 518 | "", |
|---|
| 519 | ""); |
|---|
| 520 | I_ProtectedConstructor2(IN, const osgPresentation::SlideEventHandler &, x, IN, const osg::CopyOp &, x, |
|---|
| 521 | ____SlideEventHandler__C5_SlideEventHandler_R1__C5_osg_CopyOp_R1, |
|---|
| 522 | "", |
|---|
| 523 | ""); |
|---|
| 524 | I_ProtectedMethod2(bool, home, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, |
|---|
| 525 | Properties::NON_VIRTUAL, |
|---|
| 526 | Properties::NON_CONST, |
|---|
| 527 | __bool__home__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 528 | "", |
|---|
| 529 | ""); |
|---|
| 530 | I_ProtectedMethod4(void, updateAlpha, IN, bool, x, IN, bool, x, IN, float, x, IN, float, y, |
|---|
| 531 | Properties::NON_VIRTUAL, |
|---|
| 532 | Properties::NON_CONST, |
|---|
| 533 | __void__updateAlpha__bool__bool__float__float, |
|---|
| 534 | "", |
|---|
| 535 | ""); |
|---|
| 536 | I_ProtectedMethod2(void, updateLight, IN, float, x, IN, float, y, |
|---|
| 537 | Properties::NON_VIRTUAL, |
|---|
| 538 | Properties::NON_CONST, |
|---|
| 539 | __void__updateLight__float__float, |
|---|
| 540 | "", |
|---|
| 541 | ""); |
|---|
| 542 | I_ProtectedMethod0(void, updateOperators, |
|---|
| 543 | Properties::NON_VIRTUAL, |
|---|
| 544 | Properties::NON_CONST, |
|---|
| 545 | __void__updateOperators, |
|---|
| 546 | "", |
|---|
| 547 | ""); |
|---|
| 548 | I_SimpleProperty(int, ActiveLayer, |
|---|
| 549 | __int__getActiveLayer, |
|---|
| 550 | 0); |
|---|
| 551 | I_SimpleProperty(int, ActiveSlide, |
|---|
| 552 | __int__getActiveSlide, |
|---|
| 553 | 0); |
|---|
| 554 | I_SimpleProperty(bool, AutoSteppingActive, |
|---|
| 555 | __bool__getAutoSteppingActive, |
|---|
| 556 | __void__setAutoSteppingActive__bool); |
|---|
| 557 | I_SimpleProperty(double, CurrentTimeDelayBetweenSlides, |
|---|
| 558 | __double__getCurrentTimeDelayBetweenSlides, |
|---|
| 559 | 0); |
|---|
| 560 | I_SimpleProperty(bool, LoopPresentation, |
|---|
| 561 | __bool__getLoopPresentation, |
|---|
| 562 | __void__setLoopPresentation__bool); |
|---|
| 563 | I_SimpleProperty(bool, ReleaseAndCompileOnEachNewSlide, |
|---|
| 564 | __bool__getReleaseAndCompileOnEachNewSlide, |
|---|
| 565 | __void__setReleaseAndCompileOnEachNewSlide__bool); |
|---|
| 566 | I_SimpleProperty(double, TimeDelayBetweenSlides, |
|---|
| 567 | __double__getTimeDelayBetweenSlides, |
|---|
| 568 | __void__setTimeDelayBetweenSlides__double); |
|---|
| 569 | I_SimpleProperty(float, TimeDelayOnNewSlideWithMovies, |
|---|
| 570 | __float__getTimeDelayOnNewSlideWithMovies, |
|---|
| 571 | __void__setTimeDelayOnNewSlideWithMovies__float); |
|---|
| 572 | I_SimpleProperty(osgViewer::Viewer *, Viewer, |
|---|
| 573 | __osgViewer_Viewer_P1__getViewer, |
|---|
| 574 | 0); |
|---|
| 575 | END_REFLECTOR |
|---|
| 576 | |
|---|
| 577 | BEGIN_ENUM_REFLECTOR(osgPresentation::Operation) |
|---|
| 578 | I_DeclaringFile("osgPresentation/SlideEventHandler"); |
|---|
| 579 | I_EnumLabel(osgPresentation::RUN); |
|---|
| 580 | I_EnumLabel(osgPresentation::LOAD); |
|---|
| 581 | I_EnumLabel(osgPresentation::EVENT); |
|---|
| 582 | I_EnumLabel(osgPresentation::JUMP); |
|---|
| 583 | END_REFLECTOR |
|---|
| 584 | |
|---|
| 585 | BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgPresentation::LayerCallback >) |
|---|
| 586 | I_DeclaringFile("osg/ref_ptr"); |
|---|
| 587 | I_Constructor0(____ref_ptr, |
|---|
| 588 | "", |
|---|
| 589 | ""); |
|---|
| 590 | I_Constructor1(IN, osgPresentation::LayerCallback *, ptr, |
|---|
| 591 | Properties::NON_EXPLICIT, |
|---|
| 592 | ____ref_ptr__T_P1, |
|---|
| 593 | "", |
|---|
| 594 | ""); |
|---|
| 595 | I_Constructor1(IN, const osg::ref_ptr< osgPresentation::LayerCallback > &, rp, |
|---|
| 596 | Properties::NON_EXPLICIT, |
|---|
| 597 | ____ref_ptr__C5_ref_ptr_R1, |
|---|
| 598 | "", |
|---|
| 599 | ""); |
|---|
| 600 | I_Method0(osgPresentation::LayerCallback *, get, |
|---|
| 601 | Properties::NON_VIRTUAL, |
|---|
| 602 | __T_P1__get, |
|---|
| 603 | "", |
|---|
| 604 | ""); |
|---|
| 605 | I_Method0(bool, valid, |
|---|
| 606 | Properties::NON_VIRTUAL, |
|---|
| 607 | __bool__valid, |
|---|
| 608 | "", |
|---|
| 609 | ""); |
|---|
| 610 | I_Method0(osgPresentation::LayerCallback *, release, |
|---|
| 611 | Properties::NON_VIRTUAL, |
|---|
| 612 | __T_P1__release, |
|---|
| 613 | "", |
|---|
| 614 | ""); |
|---|
| 615 | I_Method1(void, swap, IN, osg::ref_ptr< osgPresentation::LayerCallback > &, rp, |
|---|
| 616 | Properties::NON_VIRTUAL, |
|---|
| 617 | __void__swap__ref_ptr_R1, |
|---|
| 618 | "", |
|---|
| 619 | ""); |
|---|
| 620 | I_SimpleProperty(osgPresentation::LayerCallback *, , |
|---|
| 621 | __T_P1__get, |
|---|
| 622 | 0); |
|---|
| 623 | END_REFLECTOR |
|---|
| 624 | |
|---|
| 625 | BEGIN_VALUE_REFLECTOR(osg::ref_ptr< osgPresentation::ObjectOperator >) |
|---|
| 626 | I_DeclaringFile("osg/ref_ptr"); |
|---|
| 627 | I_Constructor0(____ref_ptr, |
|---|
| 628 | "", |
|---|
| 629 | ""); |
|---|
| 630 | I_Constructor1(IN, osgPresentation::ObjectOperator *, ptr, |
|---|
| 631 | Properties::NON_EXPLICIT, |
|---|
| 632 | ____ref_ptr__T_P1, |
|---|
| 633 | "", |
|---|
| 634 | ""); |
|---|
| 635 | I_Constructor1(IN, const osg::ref_ptr< osgPresentation::ObjectOperator > &, rp, |
|---|
| 636 | Properties::NON_EXPLICIT, |
|---|
| 637 | ____ref_ptr__C5_ref_ptr_R1, |
|---|
| 638 | "", |
|---|
| 639 | ""); |
|---|
| 640 | I_Method0(osgPresentation::ObjectOperator *, get, |
|---|
| 641 | Properties::NON_VIRTUAL, |
|---|
| 642 | __T_P1__get, |
|---|
| 643 | "", |
|---|
| 644 | ""); |
|---|
| 645 | I_Method0(bool, valid, |
|---|
| 646 | Properties::NON_VIRTUAL, |
|---|
| 647 | __bool__valid, |
|---|
| 648 | "", |
|---|
| 649 | ""); |
|---|
| 650 | I_Method0(osgPresentation::ObjectOperator *, release, |
|---|
| 651 | Properties::NON_VIRTUAL, |
|---|
| 652 | __T_P1__release, |
|---|
| 653 | "", |
|---|
| 654 | ""); |
|---|
| 655 | I_Method1(void, swap, IN, osg::ref_ptr< osgPresentation::ObjectOperator > &, rp, |
|---|
| 656 | Properties::NON_VIRTUAL, |
|---|
| 657 | __void__swap__ref_ptr_R1, |
|---|
| 658 | "", |
|---|
| 659 | ""); |
|---|
| 660 | I_SimpleProperty(osgPresentation::ObjectOperator *, , |
|---|
| 661 | __T_P1__get, |
|---|
| 662 | 0); |
|---|
| 663 | END_REFLECTOR |
|---|
| 664 | |
|---|
| 665 | STD_LIST_REFLECTOR(std::list< osg::ref_ptr< osgPresentation::LayerCallback > >) |
|---|
| 666 | |
|---|
| 667 | STD_SET_REFLECTOR(std::set< osg::ref_ptr< osgPresentation::ObjectOperator > COMMA osgPresentation::dereference_less >) |
|---|
| 668 | |
|---|
| 669 | STD_VECTOR_REFLECTOR(std::vector< osgPresentation::KeyPosition >) |
|---|