| 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/Camera> |
|---|
| 15 | #include <osg/CopyOp> |
|---|
| 16 | #include <osg/Drawable> |
|---|
| 17 | #include <osg/Image> |
|---|
| 18 | #include <osg/NodeVisitor> |
|---|
| 19 | #include <osg/Object> |
|---|
| 20 | #include <osg/RenderInfo> |
|---|
| 21 | #include <osgGA/GUIActionAdapter> |
|---|
| 22 | #include <osgGA/GUIEventAdapter> |
|---|
| 23 | #include <osgViewer/ViewerBase> |
|---|
| 24 | #include <osgViewer/ViewerEventHandlers> |
|---|
| 25 | |
|---|
| 26 | |
|---|
| 27 | #ifdef IN |
|---|
| 28 | #undef IN |
|---|
| 29 | #endif |
|---|
| 30 | #ifdef OUT |
|---|
| 31 | #undef OUT |
|---|
| 32 | #endif |
|---|
| 33 | |
|---|
| 34 | BEGIN_OBJECT_REFLECTOR(osgViewer::HelpHandler) |
|---|
| 35 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 36 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 37 | I_ConstructorWithDefaults1(IN, osg::ApplicationUsage *, au, 0, |
|---|
| 38 | Properties::NON_EXPLICIT, |
|---|
| 39 | ____HelpHandler__osg_ApplicationUsage_P1, |
|---|
| 40 | "", |
|---|
| 41 | ""); |
|---|
| 42 | I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, au, |
|---|
| 43 | Properties::NON_VIRTUAL, |
|---|
| 44 | __void__setApplicationUsage__osg_ApplicationUsage_P1, |
|---|
| 45 | "", |
|---|
| 46 | ""); |
|---|
| 47 | I_Method0(osg::ApplicationUsage *, getApplicationUsage, |
|---|
| 48 | Properties::NON_VIRTUAL, |
|---|
| 49 | __osg_ApplicationUsage_P1__getApplicationUsage, |
|---|
| 50 | "", |
|---|
| 51 | ""); |
|---|
| 52 | I_Method0(const osg::ApplicationUsage *, getApplicationUsage, |
|---|
| 53 | Properties::NON_VIRTUAL, |
|---|
| 54 | __C5_osg_ApplicationUsage_P1__getApplicationUsage, |
|---|
| 55 | "", |
|---|
| 56 | ""); |
|---|
| 57 | I_Method1(void, setKeyEventTogglesOnScreenHelp, IN, int, key, |
|---|
| 58 | Properties::NON_VIRTUAL, |
|---|
| 59 | __void__setKeyEventTogglesOnScreenHelp__int, |
|---|
| 60 | "", |
|---|
| 61 | ""); |
|---|
| 62 | I_Method0(int, getKeyEventTogglesOnScreenHelp, |
|---|
| 63 | Properties::NON_VIRTUAL, |
|---|
| 64 | __int__getKeyEventTogglesOnScreenHelp, |
|---|
| 65 | "", |
|---|
| 66 | ""); |
|---|
| 67 | I_Method0(void, reset, |
|---|
| 68 | Properties::NON_VIRTUAL, |
|---|
| 69 | __void__reset, |
|---|
| 70 | "", |
|---|
| 71 | ""); |
|---|
| 72 | I_Method0(osg::Camera *, getCamera, |
|---|
| 73 | Properties::NON_VIRTUAL, |
|---|
| 74 | __osg_Camera_P1__getCamera, |
|---|
| 75 | "", |
|---|
| 76 | ""); |
|---|
| 77 | I_Method0(const osg::Camera *, getCamera, |
|---|
| 78 | Properties::NON_VIRTUAL, |
|---|
| 79 | __C5_osg_Camera_P1__getCamera, |
|---|
| 80 | "", |
|---|
| 81 | ""); |
|---|
| 82 | I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, |
|---|
| 83 | Properties::VIRTUAL, |
|---|
| 84 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 85 | "Deprecated, Handle events, return true if handled, false otherwise. ", |
|---|
| 86 | ""); |
|---|
| 87 | I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, |
|---|
| 88 | Properties::VIRTUAL, |
|---|
| 89 | __void__getUsage__osg_ApplicationUsage_R1, |
|---|
| 90 | "Get the keyboard and mouse usage of this manipulator. ", |
|---|
| 91 | ""); |
|---|
| 92 | I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::ViewerBase *, viewer, |
|---|
| 93 | Properties::NON_VIRTUAL, |
|---|
| 94 | Properties::NON_CONST, |
|---|
| 95 | __void__setUpHUDCamera__osgViewer_ViewerBase_P1, |
|---|
| 96 | "", |
|---|
| 97 | ""); |
|---|
| 98 | I_ProtectedMethod1(void, setUpScene, IN, osgViewer::ViewerBase *, viewer, |
|---|
| 99 | Properties::NON_VIRTUAL, |
|---|
| 100 | Properties::NON_CONST, |
|---|
| 101 | __void__setUpScene__osgViewer_ViewerBase_P1, |
|---|
| 102 | "", |
|---|
| 103 | ""); |
|---|
| 104 | I_SimpleProperty(osg::ApplicationUsage *, ApplicationUsage, |
|---|
| 105 | __osg_ApplicationUsage_P1__getApplicationUsage, |
|---|
| 106 | __void__setApplicationUsage__osg_ApplicationUsage_P1); |
|---|
| 107 | I_SimpleProperty(osg::Camera *, Camera, |
|---|
| 108 | __osg_Camera_P1__getCamera, |
|---|
| 109 | 0); |
|---|
| 110 | I_SimpleProperty(int, KeyEventTogglesOnScreenHelp, |
|---|
| 111 | __int__getKeyEventTogglesOnScreenHelp, |
|---|
| 112 | __void__setKeyEventTogglesOnScreenHelp__int); |
|---|
| 113 | END_REFLECTOR |
|---|
| 114 | |
|---|
| 115 | BEGIN_OBJECT_REFLECTOR(osgViewer::InteractiveImageHandler) |
|---|
| 116 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 117 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 118 | I_BaseType(osg::Drawable::CullCallback); |
|---|
| 119 | I_Constructor1(IN, osg::Image *, image, |
|---|
| 120 | Properties::NON_EXPLICIT, |
|---|
| 121 | ____InteractiveImageHandler__osg_Image_P1, |
|---|
| 122 | "", |
|---|
| 123 | ""); |
|---|
| 124 | I_Method0(osg::Object *, cloneType, |
|---|
| 125 | Properties::VIRTUAL, |
|---|
| 126 | __osg_Object_P1__cloneType, |
|---|
| 127 | "Clone the type of an object, with Object* return type. ", |
|---|
| 128 | "Must be defined by derived classes. "); |
|---|
| 129 | I_Method1(osg::Object *, clone, IN, const osg::CopyOp &, x, |
|---|
| 130 | Properties::VIRTUAL, |
|---|
| 131 | __osg_Object_P1__clone__C5_osg_CopyOp_R1, |
|---|
| 132 | "Clone an object, with Object* return type. ", |
|---|
| 133 | "Must be defined by derived classes. "); |
|---|
| 134 | I_Method1(bool, isSameKindAs, IN, const osg::Object *, obj, |
|---|
| 135 | Properties::VIRTUAL, |
|---|
| 136 | __bool__isSameKindAs__C5_osg_Object_P1, |
|---|
| 137 | "", |
|---|
| 138 | ""); |
|---|
| 139 | I_Method0(const char *, libraryName, |
|---|
| 140 | Properties::VIRTUAL, |
|---|
| 141 | __C5_char_P1__libraryName, |
|---|
| 142 | "return the name of the object's library. ", |
|---|
| 143 | "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. "); |
|---|
| 144 | I_Method0(const char *, className, |
|---|
| 145 | Properties::VIRTUAL, |
|---|
| 146 | __C5_char_P1__className, |
|---|
| 147 | "return the name of the object's class type. ", |
|---|
| 148 | "Must be defined by derived classes. "); |
|---|
| 149 | I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x, |
|---|
| 150 | Properties::VIRTUAL, |
|---|
| 151 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, |
|---|
| 152 | "Handle events, return true if handled, false otherwise. ", |
|---|
| 153 | ""); |
|---|
| 154 | I_Method3(bool, cull, IN, osg::NodeVisitor *, nv, IN, osg::Drawable *, drawable, IN, osg::RenderInfo *, renderInfo, |
|---|
| 155 | Properties::VIRTUAL, |
|---|
| 156 | __bool__cull__osg_NodeVisitor_P1__osg_Drawable_P1__osg_RenderInfo_P1, |
|---|
| 157 | "do customized cull code, return true if drawable should be culled. ", |
|---|
| 158 | ""); |
|---|
| 159 | I_ProtectedConstructor0(____InteractiveImageHandler, |
|---|
| 160 | "", |
|---|
| 161 | ""); |
|---|
| 162 | I_ProtectedConstructorWithDefaults2(IN, const osgViewer::InteractiveImageHandler &, x, , IN, const osg::CopyOp &, x, osg::CopyOp::SHALLOW_COPY, |
|---|
| 163 | ____InteractiveImageHandler__C5_InteractiveImageHandler_R1__C5_osg_CopyOp_R1, |
|---|
| 164 | "", |
|---|
| 165 | ""); |
|---|
| 166 | I_ProtectedMethod5(bool, mousePosition, IN, osgViewer::View *, view, IN, osg::NodeVisitor *, nv, IN, const osgGA::GUIEventAdapter &, ea, IN, int &, x, IN, int &, y, |
|---|
| 167 | Properties::NON_VIRTUAL, |
|---|
| 168 | Properties::CONST, |
|---|
| 169 | __bool__mousePosition__osgViewer_View_P1__osg_NodeVisitor_P1__C5_osgGA_GUIEventAdapter_R1__int_R1__int_R1, |
|---|
| 170 | "", |
|---|
| 171 | ""); |
|---|
| 172 | END_REFLECTOR |
|---|
| 173 | |
|---|
| 174 | BEGIN_OBJECT_REFLECTOR(osgViewer::LODScaleHandler) |
|---|
| 175 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 176 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 177 | I_Constructor0(____LODScaleHandler, |
|---|
| 178 | "", |
|---|
| 179 | ""); |
|---|
| 180 | I_Method1(void, setKeyEventIncreaseLODScale, IN, int, key, |
|---|
| 181 | Properties::NON_VIRTUAL, |
|---|
| 182 | __void__setKeyEventIncreaseLODScale__int, |
|---|
| 183 | "", |
|---|
| 184 | ""); |
|---|
| 185 | I_Method0(int, getKeyEventIncreaseLODScale, |
|---|
| 186 | Properties::NON_VIRTUAL, |
|---|
| 187 | __int__getKeyEventIncreaseLODScale, |
|---|
| 188 | "", |
|---|
| 189 | ""); |
|---|
| 190 | I_Method1(void, setKeyEventDecreaseLODScale, IN, int, key, |
|---|
| 191 | Properties::NON_VIRTUAL, |
|---|
| 192 | __void__setKeyEventDecreaseLODScale__int, |
|---|
| 193 | "", |
|---|
| 194 | ""); |
|---|
| 195 | I_Method0(int, getKeyEventDecreaseLODScale, |
|---|
| 196 | Properties::NON_VIRTUAL, |
|---|
| 197 | __int__getKeyEventDecreaseLODScale, |
|---|
| 198 | "", |
|---|
| 199 | ""); |
|---|
| 200 | I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, |
|---|
| 201 | Properties::VIRTUAL, |
|---|
| 202 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 203 | "Deprecated, Handle events, return true if handled, false otherwise. ", |
|---|
| 204 | ""); |
|---|
| 205 | I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, |
|---|
| 206 | Properties::VIRTUAL, |
|---|
| 207 | __void__getUsage__osg_ApplicationUsage_R1, |
|---|
| 208 | "Get the keyboard and mouse usage of this manipulator. ", |
|---|
| 209 | ""); |
|---|
| 210 | I_SimpleProperty(int, KeyEventDecreaseLODScale, |
|---|
| 211 | __int__getKeyEventDecreaseLODScale, |
|---|
| 212 | __void__setKeyEventDecreaseLODScale__int); |
|---|
| 213 | I_SimpleProperty(int, KeyEventIncreaseLODScale, |
|---|
| 214 | __int__getKeyEventIncreaseLODScale, |
|---|
| 215 | __void__setKeyEventIncreaseLODScale__int); |
|---|
| 216 | END_REFLECTOR |
|---|
| 217 | |
|---|
| 218 | BEGIN_OBJECT_REFLECTOR(osgViewer::RecordCameraPathHandler) |
|---|
| 219 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 220 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 221 | I_ConstructorWithDefaults2(IN, const std::string &, filename, "saved_animation.path", IN, float, fps, 25.0f, |
|---|
| 222 | ____RecordCameraPathHandler__C5_std_string_R1__float, |
|---|
| 223 | "", |
|---|
| 224 | ""); |
|---|
| 225 | I_Method1(void, setKeyEventToggleRecord, IN, int, key, |
|---|
| 226 | Properties::NON_VIRTUAL, |
|---|
| 227 | __void__setKeyEventToggleRecord__int, |
|---|
| 228 | "", |
|---|
| 229 | ""); |
|---|
| 230 | I_Method0(int, getKeyEventToggleRecord, |
|---|
| 231 | Properties::NON_VIRTUAL, |
|---|
| 232 | __int__getKeyEventToggleRecord, |
|---|
| 233 | "", |
|---|
| 234 | ""); |
|---|
| 235 | I_Method1(void, setKeyEventTogglePlayback, IN, int, key, |
|---|
| 236 | Properties::NON_VIRTUAL, |
|---|
| 237 | __void__setKeyEventTogglePlayback__int, |
|---|
| 238 | "", |
|---|
| 239 | ""); |
|---|
| 240 | I_Method0(int, getKeyEventTogglePlayback, |
|---|
| 241 | Properties::NON_VIRTUAL, |
|---|
| 242 | __int__getKeyEventTogglePlayback, |
|---|
| 243 | "", |
|---|
| 244 | ""); |
|---|
| 245 | I_MethodWithDefaults1(void, setAutoIncrementFilename, IN, bool, autoinc, true, |
|---|
| 246 | Properties::NON_VIRTUAL, |
|---|
| 247 | __void__setAutoIncrementFilename__bool, |
|---|
| 248 | "", |
|---|
| 249 | ""); |
|---|
| 250 | I_Method1(void, getUsage, IN, osg::ApplicationUsage &, x, |
|---|
| 251 | Properties::VIRTUAL, |
|---|
| 252 | __void__getUsage__osg_ApplicationUsage_R1, |
|---|
| 253 | "Get the keyboard and mouse usage of this manipulator. ", |
|---|
| 254 | ""); |
|---|
| 255 | I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, |
|---|
| 256 | Properties::VIRTUAL, |
|---|
| 257 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 258 | "Deprecated, Handle events, return true if handled, false otherwise. ", |
|---|
| 259 | ""); |
|---|
| 260 | I_SimpleProperty(bool, AutoIncrementFilename, |
|---|
| 261 | 0, |
|---|
| 262 | __void__setAutoIncrementFilename__bool); |
|---|
| 263 | I_SimpleProperty(int, KeyEventTogglePlayback, |
|---|
| 264 | __int__getKeyEventTogglePlayback, |
|---|
| 265 | __void__setKeyEventTogglePlayback__int); |
|---|
| 266 | I_SimpleProperty(int, KeyEventToggleRecord, |
|---|
| 267 | __int__getKeyEventToggleRecord, |
|---|
| 268 | __void__setKeyEventToggleRecord__int); |
|---|
| 269 | END_REFLECTOR |
|---|
| 270 | |
|---|
| 271 | BEGIN_OBJECT_REFLECTOR(osgViewer::ScreenCaptureHandler) |
|---|
| 272 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 273 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 274 | I_ConstructorWithDefaults2(IN, osgViewer::ScreenCaptureHandler::CaptureOperation *, defaultOperation, 0, IN, int, numFrames, 1, |
|---|
| 275 | ____ScreenCaptureHandler__CaptureOperation_P1__int, |
|---|
| 276 | "", |
|---|
| 277 | " param numFrames >0: capture that number of frames. <0: capture all frames, call stopCapture() to stop it. "); |
|---|
| 278 | I_Method1(void, setKeyEventTakeScreenShot, IN, int, key, |
|---|
| 279 | Properties::NON_VIRTUAL, |
|---|
| 280 | __void__setKeyEventTakeScreenShot__int, |
|---|
| 281 | "", |
|---|
| 282 | ""); |
|---|
| 283 | I_Method0(int, getKeyEventTakeScreenShot, |
|---|
| 284 | Properties::NON_VIRTUAL, |
|---|
| 285 | __int__getKeyEventTakeScreenShot, |
|---|
| 286 | "", |
|---|
| 287 | ""); |
|---|
| 288 | I_Method1(void, setKeyEventToggleContinuousCapture, IN, int, key, |
|---|
| 289 | Properties::NON_VIRTUAL, |
|---|
| 290 | __void__setKeyEventToggleContinuousCapture__int, |
|---|
| 291 | "", |
|---|
| 292 | ""); |
|---|
| 293 | I_Method0(int, getKeyEventToggleContinuousCapture, |
|---|
| 294 | Properties::NON_VIRTUAL, |
|---|
| 295 | __int__getKeyEventToggleContinuousCapture, |
|---|
| 296 | "", |
|---|
| 297 | ""); |
|---|
| 298 | I_Method1(void, setCaptureOperation, IN, osgViewer::ScreenCaptureHandler::CaptureOperation *, operation, |
|---|
| 299 | Properties::NON_VIRTUAL, |
|---|
| 300 | __void__setCaptureOperation__CaptureOperation_P1, |
|---|
| 301 | "", |
|---|
| 302 | ""); |
|---|
| 303 | I_Method0(osgViewer::ScreenCaptureHandler::CaptureOperation *, getCaptureOperation, |
|---|
| 304 | Properties::NON_VIRTUAL, |
|---|
| 305 | __CaptureOperation_P1__getCaptureOperation, |
|---|
| 306 | "", |
|---|
| 307 | ""); |
|---|
| 308 | I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, |
|---|
| 309 | Properties::VIRTUAL, |
|---|
| 310 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 311 | "Deprecated, Handle events, return true if handled, false otherwise. ", |
|---|
| 312 | ""); |
|---|
| 313 | I_Method1(void, captureNextFrame, IN, osgViewer::ViewerBase &, viewer, |
|---|
| 314 | Properties::VIRTUAL, |
|---|
| 315 | __void__captureNextFrame__osgViewer_ViewerBase_R1, |
|---|
| 316 | "Capture the given viewer's views on the next frame. ", |
|---|
| 317 | ""); |
|---|
| 318 | I_Method1(void, setFramesToCapture, IN, int, numFrames, |
|---|
| 319 | Properties::NON_VIRTUAL, |
|---|
| 320 | __void__setFramesToCapture__int, |
|---|
| 321 | "Set the number of frames to capture. ", |
|---|
| 322 | " param numFrames >0: capture that number of frames. <0: capture all frames, call stopCapture() to stop it. "); |
|---|
| 323 | I_Method0(int, getFramesToCapture, |
|---|
| 324 | Properties::NON_VIRTUAL, |
|---|
| 325 | __int__getFramesToCapture, |
|---|
| 326 | "Get the number of frames to capture. ", |
|---|
| 327 | ""); |
|---|
| 328 | I_Method0(void, startCapture, |
|---|
| 329 | Properties::NON_VIRTUAL, |
|---|
| 330 | __void__startCapture, |
|---|
| 331 | "Start capturing any viewer(s) the handler is attached to at the end of the next frame. ", |
|---|
| 332 | ""); |
|---|
| 333 | I_Method0(void, stopCapture, |
|---|
| 334 | Properties::NON_VIRTUAL, |
|---|
| 335 | __void__stopCapture, |
|---|
| 336 | "Stop capturing. ", |
|---|
| 337 | ""); |
|---|
| 338 | I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, |
|---|
| 339 | Properties::VIRTUAL, |
|---|
| 340 | __void__getUsage__osg_ApplicationUsage_R1, |
|---|
| 341 | "Get the keyboard and mouse usage of this manipulator. ", |
|---|
| 342 | ""); |
|---|
| 343 | I_ProtectedMethod1(void, addCallbackToViewer, IN, osgViewer::ViewerBase &, viewer, |
|---|
| 344 | Properties::NON_VIRTUAL, |
|---|
| 345 | Properties::NON_CONST, |
|---|
| 346 | __void__addCallbackToViewer__osgViewer_ViewerBase_R1, |
|---|
| 347 | "", |
|---|
| 348 | ""); |
|---|
| 349 | I_ProtectedMethod1(void, removeCallbackFromViewer, IN, osgViewer::ViewerBase &, viewer, |
|---|
| 350 | Properties::NON_VIRTUAL, |
|---|
| 351 | Properties::NON_CONST, |
|---|
| 352 | __void__removeCallbackFromViewer__osgViewer_ViewerBase_R1, |
|---|
| 353 | "", |
|---|
| 354 | ""); |
|---|
| 355 | I_ProtectedMethod1(osg::Camera *, findAppropriateCameraForCallback, IN, osgViewer::ViewerBase &, viewer, |
|---|
| 356 | Properties::NON_VIRTUAL, |
|---|
| 357 | Properties::NON_CONST, |
|---|
| 358 | __osg_Camera_P1__findAppropriateCameraForCallback__osgViewer_ViewerBase_R1, |
|---|
| 359 | "", |
|---|
| 360 | ""); |
|---|
| 361 | I_SimpleProperty(osgViewer::ScreenCaptureHandler::CaptureOperation *, CaptureOperation, |
|---|
| 362 | __CaptureOperation_P1__getCaptureOperation, |
|---|
| 363 | __void__setCaptureOperation__CaptureOperation_P1); |
|---|
| 364 | I_SimpleProperty(int, FramesToCapture, |
|---|
| 365 | __int__getFramesToCapture, |
|---|
| 366 | __void__setFramesToCapture__int); |
|---|
| 367 | I_SimpleProperty(int, KeyEventTakeScreenShot, |
|---|
| 368 | __int__getKeyEventTakeScreenShot, |
|---|
| 369 | __void__setKeyEventTakeScreenShot__int); |
|---|
| 370 | I_SimpleProperty(int, KeyEventToggleContinuousCapture, |
|---|
| 371 | __int__getKeyEventToggleContinuousCapture, |
|---|
| 372 | __void__setKeyEventToggleContinuousCapture__int); |
|---|
| 373 | END_REFLECTOR |
|---|
| 374 | |
|---|
| 375 | BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::ScreenCaptureHandler::CaptureOperation) |
|---|
| 376 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 377 | I_BaseType(osg::Referenced); |
|---|
| 378 | I_Constructor0(____CaptureOperation, |
|---|
| 379 | "", |
|---|
| 380 | ""); |
|---|
| 381 | END_REFLECTOR |
|---|
| 382 | |
|---|
| 383 | BEGIN_ENUM_REFLECTOR(osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy) |
|---|
| 384 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 385 | I_EnumLabel(osgViewer::ScreenCaptureHandler::WriteToFile::OVERWRITE); |
|---|
| 386 | I_EnumLabel(osgViewer::ScreenCaptureHandler::WriteToFile::SEQUENTIAL_NUMBER); |
|---|
| 387 | END_REFLECTOR |
|---|
| 388 | |
|---|
| 389 | BEGIN_OBJECT_REFLECTOR(osgViewer::ScreenCaptureHandler::WriteToFile) |
|---|
| 390 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 391 | I_BaseType(osgViewer::ScreenCaptureHandler::CaptureOperation); |
|---|
| 392 | I_ConstructorWithDefaults3(IN, const std::string &, filename, , IN, const std::string &, extension, , IN, osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy, savePolicy, osgViewer::ScreenCaptureHandler::WriteToFile::SEQUENTIAL_NUMBER, |
|---|
| 393 | ____WriteToFile__C5_std_string_R1__C5_std_string_R1__SavePolicy, |
|---|
| 394 | "", |
|---|
| 395 | ""); |
|---|
| 396 | I_Method1(void, setSavePolicy, IN, osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy, savePolicy, |
|---|
| 397 | Properties::NON_VIRTUAL, |
|---|
| 398 | __void__setSavePolicy__SavePolicy, |
|---|
| 399 | "", |
|---|
| 400 | ""); |
|---|
| 401 | I_Method0(osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy, getSavePolicy, |
|---|
| 402 | Properties::NON_VIRTUAL, |
|---|
| 403 | __SavePolicy__getSavePolicy, |
|---|
| 404 | "", |
|---|
| 405 | ""); |
|---|
| 406 | I_SimpleProperty(osgViewer::ScreenCaptureHandler::WriteToFile::SavePolicy, SavePolicy, |
|---|
| 407 | __SavePolicy__getSavePolicy, |
|---|
| 408 | __void__setSavePolicy__SavePolicy); |
|---|
| 409 | END_REFLECTOR |
|---|
| 410 | |
|---|
| 411 | BEGIN_ENUM_REFLECTOR(osgViewer::StatsHandler::StatsType) |
|---|
| 412 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 413 | I_EnumLabel(osgViewer::StatsHandler::NO_STATS); |
|---|
| 414 | I_EnumLabel(osgViewer::StatsHandler::FRAME_RATE); |
|---|
| 415 | I_EnumLabel(osgViewer::StatsHandler::VIEWER_STATS); |
|---|
| 416 | I_EnumLabel(osgViewer::StatsHandler::CAMERA_SCENE_STATS); |
|---|
| 417 | I_EnumLabel(osgViewer::StatsHandler::VIEWER_SCENE_STATS); |
|---|
| 418 | I_EnumLabel(osgViewer::StatsHandler::LAST); |
|---|
| 419 | END_REFLECTOR |
|---|
| 420 | |
|---|
| 421 | BEGIN_OBJECT_REFLECTOR(osgViewer::StatsHandler) |
|---|
| 422 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 423 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 424 | I_Constructor0(____StatsHandler, |
|---|
| 425 | "", |
|---|
| 426 | ""); |
|---|
| 427 | I_Method1(void, setKeyEventTogglesOnScreenStats, IN, int, key, |
|---|
| 428 | Properties::NON_VIRTUAL, |
|---|
| 429 | __void__setKeyEventTogglesOnScreenStats__int, |
|---|
| 430 | "", |
|---|
| 431 | ""); |
|---|
| 432 | I_Method0(int, getKeyEventTogglesOnScreenStats, |
|---|
| 433 | Properties::NON_VIRTUAL, |
|---|
| 434 | __int__getKeyEventTogglesOnScreenStats, |
|---|
| 435 | "", |
|---|
| 436 | ""); |
|---|
| 437 | I_Method1(void, setKeyEventPrintsOutStats, IN, int, key, |
|---|
| 438 | Properties::NON_VIRTUAL, |
|---|
| 439 | __void__setKeyEventPrintsOutStats__int, |
|---|
| 440 | "", |
|---|
| 441 | ""); |
|---|
| 442 | I_Method0(int, getKeyEventPrintsOutStats, |
|---|
| 443 | Properties::NON_VIRTUAL, |
|---|
| 444 | __int__getKeyEventPrintsOutStats, |
|---|
| 445 | "", |
|---|
| 446 | ""); |
|---|
| 447 | I_Method0(double, getBlockMultiplier, |
|---|
| 448 | Properties::NON_VIRTUAL, |
|---|
| 449 | __double__getBlockMultiplier, |
|---|
| 450 | "", |
|---|
| 451 | ""); |
|---|
| 452 | I_Method0(void, reset, |
|---|
| 453 | Properties::NON_VIRTUAL, |
|---|
| 454 | __void__reset, |
|---|
| 455 | "", |
|---|
| 456 | ""); |
|---|
| 457 | I_Method0(osg::Camera *, getCamera, |
|---|
| 458 | Properties::NON_VIRTUAL, |
|---|
| 459 | __osg_Camera_P1__getCamera, |
|---|
| 460 | "", |
|---|
| 461 | ""); |
|---|
| 462 | I_Method0(const osg::Camera *, getCamera, |
|---|
| 463 | Properties::NON_VIRTUAL, |
|---|
| 464 | __C5_osg_Camera_P1__getCamera, |
|---|
| 465 | "", |
|---|
| 466 | ""); |
|---|
| 467 | I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, |
|---|
| 468 | Properties::VIRTUAL, |
|---|
| 469 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 470 | "Deprecated, Handle events, return true if handled, false otherwise. ", |
|---|
| 471 | ""); |
|---|
| 472 | I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, |
|---|
| 473 | Properties::VIRTUAL, |
|---|
| 474 | __void__getUsage__osg_ApplicationUsage_R1, |
|---|
| 475 | "Get the keyboard and mouse usage of this manipulator. ", |
|---|
| 476 | ""); |
|---|
| 477 | I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::ViewerBase *, viewer, |
|---|
| 478 | Properties::NON_VIRTUAL, |
|---|
| 479 | Properties::NON_CONST, |
|---|
| 480 | __void__setUpHUDCamera__osgViewer_ViewerBase_P1, |
|---|
| 481 | "", |
|---|
| 482 | ""); |
|---|
| 483 | I_ProtectedMethod4(osg::Geometry *, createBackgroundRectangle, IN, const osg::Vec3 &, pos, IN, const float, width, IN, const float, height, IN, osg::Vec4 &, color, |
|---|
| 484 | Properties::NON_VIRTUAL, |
|---|
| 485 | Properties::NON_CONST, |
|---|
| 486 | __osg_Geometry_P1__createBackgroundRectangle__C5_osg_Vec3_R1__C5_float__C5_float__osg_Vec4_R1, |
|---|
| 487 | "", |
|---|
| 488 | ""); |
|---|
| 489 | I_ProtectedMethod4(osg::Geometry *, createGeometry, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, |
|---|
| 490 | Properties::NON_VIRTUAL, |
|---|
| 491 | Properties::NON_CONST, |
|---|
| 492 | __osg_Geometry_P1__createGeometry__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, |
|---|
| 493 | "", |
|---|
| 494 | ""); |
|---|
| 495 | I_ProtectedMethod4(osg::Geometry *, createFrameMarkers, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, |
|---|
| 496 | Properties::NON_VIRTUAL, |
|---|
| 497 | Properties::NON_CONST, |
|---|
| 498 | __osg_Geometry_P1__createFrameMarkers__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, |
|---|
| 499 | "", |
|---|
| 500 | ""); |
|---|
| 501 | I_ProtectedMethod4(osg::Geometry *, createTick, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numTicks, |
|---|
| 502 | Properties::NON_VIRTUAL, |
|---|
| 503 | Properties::NON_CONST, |
|---|
| 504 | __osg_Geometry_P1__createTick__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, |
|---|
| 505 | "", |
|---|
| 506 | ""); |
|---|
| 507 | I_ProtectedMethod7(osg::Node *, createCameraTimeStats, IN, const std::string &, font, IN, osg::Vec3 &, pos, IN, float, startBlocks, IN, bool, acquireGPUStats, IN, float, characterSize, IN, osg::Stats *, viewerStats, IN, osg::Camera *, camera, |
|---|
| 508 | Properties::NON_VIRTUAL, |
|---|
| 509 | Properties::NON_CONST, |
|---|
| 510 | __osg_Node_P1__createCameraTimeStats__C5_std_string_R1__osg_Vec3_R1__float__bool__float__osg_Stats_P1__osg_Camera_P1, |
|---|
| 511 | "", |
|---|
| 512 | ""); |
|---|
| 513 | I_ProtectedMethod1(void, setUpScene, IN, osgViewer::ViewerBase *, viewer, |
|---|
| 514 | Properties::NON_VIRTUAL, |
|---|
| 515 | Properties::NON_CONST, |
|---|
| 516 | __void__setUpScene__osgViewer_ViewerBase_P1, |
|---|
| 517 | "", |
|---|
| 518 | ""); |
|---|
| 519 | I_ProtectedMethod0(void, updateThreadingModelText, |
|---|
| 520 | Properties::NON_VIRTUAL, |
|---|
| 521 | Properties::NON_CONST, |
|---|
| 522 | __void__updateThreadingModelText, |
|---|
| 523 | "", |
|---|
| 524 | ""); |
|---|
| 525 | I_SimpleProperty(double, BlockMultiplier, |
|---|
| 526 | __double__getBlockMultiplier, |
|---|
| 527 | 0); |
|---|
| 528 | I_SimpleProperty(osg::Camera *, Camera, |
|---|
| 529 | __osg_Camera_P1__getCamera, |
|---|
| 530 | 0); |
|---|
| 531 | I_SimpleProperty(int, KeyEventPrintsOutStats, |
|---|
| 532 | __int__getKeyEventPrintsOutStats, |
|---|
| 533 | __void__setKeyEventPrintsOutStats__int); |
|---|
| 534 | I_SimpleProperty(int, KeyEventTogglesOnScreenStats, |
|---|
| 535 | __int__getKeyEventTogglesOnScreenStats, |
|---|
| 536 | __void__setKeyEventTogglesOnScreenStats__int); |
|---|
| 537 | END_REFLECTOR |
|---|
| 538 | |
|---|
| 539 | BEGIN_OBJECT_REFLECTOR(osgViewer::ThreadingHandler) |
|---|
| 540 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 541 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 542 | I_Constructor0(____ThreadingHandler, |
|---|
| 543 | "", |
|---|
| 544 | ""); |
|---|
| 545 | I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, |
|---|
| 546 | Properties::VIRTUAL, |
|---|
| 547 | __void__getUsage__osg_ApplicationUsage_R1, |
|---|
| 548 | "Get the keyboard and mouse usage of this manipulator. ", |
|---|
| 549 | ""); |
|---|
| 550 | I_Method1(void, setKeyEventChangeThreadingModel, IN, int, key, |
|---|
| 551 | Properties::NON_VIRTUAL, |
|---|
| 552 | __void__setKeyEventChangeThreadingModel__int, |
|---|
| 553 | "", |
|---|
| 554 | ""); |
|---|
| 555 | I_Method0(int, getKeyEventChangeThreadingModel, |
|---|
| 556 | Properties::NON_VIRTUAL, |
|---|
| 557 | __int__getKeyEventChangeThreadingModel, |
|---|
| 558 | "", |
|---|
| 559 | ""); |
|---|
| 560 | I_Method1(void, setChangeThreadingModel, IN, bool, flag, |
|---|
| 561 | Properties::NON_VIRTUAL, |
|---|
| 562 | __void__setChangeThreadingModel__bool, |
|---|
| 563 | "", |
|---|
| 564 | ""); |
|---|
| 565 | I_Method0(bool, getChangeThreadingModel, |
|---|
| 566 | Properties::NON_VIRTUAL, |
|---|
| 567 | __bool__getChangeThreadingModel, |
|---|
| 568 | "", |
|---|
| 569 | ""); |
|---|
| 570 | I_Method1(void, setKeyEventChangeEndBarrierPosition, IN, int, key, |
|---|
| 571 | Properties::NON_VIRTUAL, |
|---|
| 572 | __void__setKeyEventChangeEndBarrierPosition__int, |
|---|
| 573 | "", |
|---|
| 574 | ""); |
|---|
| 575 | I_Method0(int, getKeyEventChangeEndBarrierPosition, |
|---|
| 576 | Properties::NON_VIRTUAL, |
|---|
| 577 | __int__getKeyEventChangeEndBarrierPosition, |
|---|
| 578 | "", |
|---|
| 579 | ""); |
|---|
| 580 | I_Method1(void, setChangeEndBarrierPosition, IN, bool, flag, |
|---|
| 581 | Properties::NON_VIRTUAL, |
|---|
| 582 | __void__setChangeEndBarrierPosition__bool, |
|---|
| 583 | "", |
|---|
| 584 | ""); |
|---|
| 585 | I_Method0(bool, getChangeEndBarrierPosition, |
|---|
| 586 | Properties::NON_VIRTUAL, |
|---|
| 587 | __bool__getChangeEndBarrierPosition, |
|---|
| 588 | "", |
|---|
| 589 | ""); |
|---|
| 590 | I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, |
|---|
| 591 | Properties::VIRTUAL, |
|---|
| 592 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 593 | "Deprecated, Handle events, return true if handled, false otherwise. ", |
|---|
| 594 | ""); |
|---|
| 595 | I_SimpleProperty(bool, ChangeEndBarrierPosition, |
|---|
| 596 | __bool__getChangeEndBarrierPosition, |
|---|
| 597 | __void__setChangeEndBarrierPosition__bool); |
|---|
| 598 | I_SimpleProperty(bool, ChangeThreadingModel, |
|---|
| 599 | __bool__getChangeThreadingModel, |
|---|
| 600 | __void__setChangeThreadingModel__bool); |
|---|
| 601 | I_SimpleProperty(int, KeyEventChangeEndBarrierPosition, |
|---|
| 602 | __int__getKeyEventChangeEndBarrierPosition, |
|---|
| 603 | __void__setKeyEventChangeEndBarrierPosition__int); |
|---|
| 604 | I_SimpleProperty(int, KeyEventChangeThreadingModel, |
|---|
| 605 | __int__getKeyEventChangeThreadingModel, |
|---|
| 606 | __void__setKeyEventChangeThreadingModel__int); |
|---|
| 607 | END_REFLECTOR |
|---|
| 608 | |
|---|
| 609 | BEGIN_OBJECT_REFLECTOR(osgViewer::WindowSizeHandler) |
|---|
| 610 | I_DeclaringFile("osgViewer/ViewerEventHandlers"); |
|---|
| 611 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 612 | I_Constructor0(____WindowSizeHandler, |
|---|
| 613 | "", |
|---|
| 614 | ""); |
|---|
| 615 | I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, |
|---|
| 616 | Properties::VIRTUAL, |
|---|
| 617 | __void__getUsage__osg_ApplicationUsage_R1, |
|---|
| 618 | "Get the keyboard and mouse usage of this manipulator. ", |
|---|
| 619 | ""); |
|---|
| 620 | I_Method1(void, setKeyEventToggleFullscreen, IN, int, key, |
|---|
| 621 | Properties::NON_VIRTUAL, |
|---|
| 622 | __void__setKeyEventToggleFullscreen__int, |
|---|
| 623 | "", |
|---|
| 624 | ""); |
|---|
| 625 | I_Method0(int, getKeyEventToggleFullscreen, |
|---|
| 626 | Properties::NON_VIRTUAL, |
|---|
| 627 | __int__getKeyEventToggleFullscreen, |
|---|
| 628 | "", |
|---|
| 629 | ""); |
|---|
| 630 | I_Method1(void, setToggleFullscreen, IN, bool, flag, |
|---|
| 631 | Properties::NON_VIRTUAL, |
|---|
| 632 | __void__setToggleFullscreen__bool, |
|---|
| 633 | "", |
|---|
| 634 | ""); |
|---|
| 635 | I_Method0(bool, getToggleFullscreen, |
|---|
| 636 | Properties::NON_VIRTUAL, |
|---|
| 637 | __bool__getToggleFullscreen, |
|---|
| 638 | "", |
|---|
| 639 | ""); |
|---|
| 640 | I_Method1(void, setKeyEventWindowedResolutionUp, IN, int, key, |
|---|
| 641 | Properties::NON_VIRTUAL, |
|---|
| 642 | __void__setKeyEventWindowedResolutionUp__int, |
|---|
| 643 | "", |
|---|
| 644 | ""); |
|---|
| 645 | I_Method0(int, getKeyEventWindowedResolutionUp, |
|---|
| 646 | Properties::NON_VIRTUAL, |
|---|
| 647 | __int__getKeyEventWindowedResolutionUp, |
|---|
| 648 | "", |
|---|
| 649 | ""); |
|---|
| 650 | I_Method1(void, setKeyEventWindowedResolutionDown, IN, int, key, |
|---|
| 651 | Properties::NON_VIRTUAL, |
|---|
| 652 | __void__setKeyEventWindowedResolutionDown__int, |
|---|
| 653 | "", |
|---|
| 654 | ""); |
|---|
| 655 | I_Method0(int, getKeyEventWindowedResolutionDown, |
|---|
| 656 | Properties::NON_VIRTUAL, |
|---|
| 657 | __int__getKeyEventWindowedResolutionDown, |
|---|
| 658 | "", |
|---|
| 659 | ""); |
|---|
| 660 | I_Method1(void, setChangeWindowedResolution, IN, bool, flag, |
|---|
| 661 | Properties::NON_VIRTUAL, |
|---|
| 662 | __void__setChangeWindowedResolution__bool, |
|---|
| 663 | "", |
|---|
| 664 | ""); |
|---|
| 665 | I_Method0(bool, getChangeWindowedResolution, |
|---|
| 666 | Properties::NON_VIRTUAL, |
|---|
| 667 | __bool__getChangeWindowedResolution, |
|---|
| 668 | "", |
|---|
| 669 | ""); |
|---|
| 670 | I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, |
|---|
| 671 | Properties::VIRTUAL, |
|---|
| 672 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 673 | "Deprecated, Handle events, return true if handled, false otherwise. ", |
|---|
| 674 | ""); |
|---|
| 675 | I_ProtectedMethod1(void, toggleFullscreen, IN, osgViewer::GraphicsWindow *, window, |
|---|
| 676 | Properties::NON_VIRTUAL, |
|---|
| 677 | Properties::NON_CONST, |
|---|
| 678 | __void__toggleFullscreen__osgViewer_GraphicsWindow_P1, |
|---|
| 679 | "", |
|---|
| 680 | ""); |
|---|
| 681 | I_ProtectedMethod2(void, changeWindowedResolution, IN, osgViewer::GraphicsWindow *, window, IN, bool, increase, |
|---|
| 682 | Properties::NON_VIRTUAL, |
|---|
| 683 | Properties::NON_CONST, |
|---|
| 684 | __void__changeWindowedResolution__osgViewer_GraphicsWindow_P1__bool, |
|---|
| 685 | "", |
|---|
| 686 | ""); |
|---|
| 687 | I_ProtectedMethod4(unsigned int, getNearestResolution, IN, int, screenWidth, IN, int, screenHeight, IN, int, width, IN, int, height, |
|---|
| 688 | Properties::NON_VIRTUAL, |
|---|
| 689 | Properties::CONST, |
|---|
| 690 | __unsigned_int__getNearestResolution__int__int__int__int, |
|---|
| 691 | "", |
|---|
| 692 | ""); |
|---|
| 693 | I_SimpleProperty(bool, ChangeWindowedResolution, |
|---|
| 694 | __bool__getChangeWindowedResolution, |
|---|
| 695 | __void__setChangeWindowedResolution__bool); |
|---|
| 696 | I_SimpleProperty(int, KeyEventToggleFullscreen, |
|---|
| 697 | __int__getKeyEventToggleFullscreen, |
|---|
| 698 | __void__setKeyEventToggleFullscreen__int); |
|---|
| 699 | I_SimpleProperty(int, KeyEventWindowedResolutionDown, |
|---|
| 700 | __int__getKeyEventWindowedResolutionDown, |
|---|
| 701 | __void__setKeyEventWindowedResolutionDown__int); |
|---|
| 702 | I_SimpleProperty(int, KeyEventWindowedResolutionUp, |
|---|
| 703 | __int__getKeyEventWindowedResolutionUp, |
|---|
| 704 | __void__setKeyEventWindowedResolutionUp__int); |
|---|
| 705 | I_SimpleProperty(bool, ToggleFullscreen, |
|---|
| 706 | __bool__getToggleFullscreen, |
|---|
| 707 | __void__setToggleFullscreen__bool); |
|---|
| 708 | END_REFLECTOR |
|---|