| 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 <osgAnimation/StatsHandler> |
|---|
| 16 | #include <osgAnimation/StatsVisitor> |
|---|
| 17 | #include <osgGA/GUIActionAdapter> |
|---|
| 18 | #include <osgGA/GUIEventAdapter> |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | #ifdef IN |
|---|
| 22 | #undef IN |
|---|
| 23 | #endif |
|---|
| 24 | #ifdef OUT |
|---|
| 25 | #undef OUT |
|---|
| 26 | #endif |
|---|
| 27 | |
|---|
| 28 | BEGIN_ENUM_REFLECTOR(osgAnimation::StatsHandler::StatsType) |
|---|
| 29 | I_DeclaringFile("osgAnimation/StatsHandler"); |
|---|
| 30 | I_EnumLabel(osgAnimation::StatsHandler::NO_STATS); |
|---|
| 31 | I_EnumLabel(osgAnimation::StatsHandler::FRAME_RATE); |
|---|
| 32 | I_EnumLabel(osgAnimation::StatsHandler::LAST); |
|---|
| 33 | END_REFLECTOR |
|---|
| 34 | |
|---|
| 35 | BEGIN_OBJECT_REFLECTOR(osgAnimation::StatsHandler) |
|---|
| 36 | I_DeclaringFile("osgAnimation/StatsHandler"); |
|---|
| 37 | I_BaseType(osgGA::GUIEventHandler); |
|---|
| 38 | I_Constructor0(____StatsHandler, |
|---|
| 39 | "", |
|---|
| 40 | ""); |
|---|
| 41 | I_Method1(void, setKeyEventTogglesOnScreenStats, IN, int, key, |
|---|
| 42 | Properties::NON_VIRTUAL, |
|---|
| 43 | __void__setKeyEventTogglesOnScreenStats__int, |
|---|
| 44 | "", |
|---|
| 45 | ""); |
|---|
| 46 | I_Method0(int, getKeyEventTogglesOnScreenStats, |
|---|
| 47 | Properties::NON_VIRTUAL, |
|---|
| 48 | __int__getKeyEventTogglesOnScreenStats, |
|---|
| 49 | "", |
|---|
| 50 | ""); |
|---|
| 51 | I_Method1(void, setKeyEventPrintsOutStats, IN, int, key, |
|---|
| 52 | Properties::NON_VIRTUAL, |
|---|
| 53 | __void__setKeyEventPrintsOutStats__int, |
|---|
| 54 | "", |
|---|
| 55 | ""); |
|---|
| 56 | I_Method0(int, getKeyEventPrintsOutStats, |
|---|
| 57 | Properties::NON_VIRTUAL, |
|---|
| 58 | __int__getKeyEventPrintsOutStats, |
|---|
| 59 | "", |
|---|
| 60 | ""); |
|---|
| 61 | I_Method0(double, getBlockMultiplier, |
|---|
| 62 | Properties::NON_VIRTUAL, |
|---|
| 63 | __double__getBlockMultiplier, |
|---|
| 64 | "", |
|---|
| 65 | ""); |
|---|
| 66 | I_Method0(void, reset, |
|---|
| 67 | Properties::NON_VIRTUAL, |
|---|
| 68 | __void__reset, |
|---|
| 69 | "", |
|---|
| 70 | ""); |
|---|
| 71 | I_Method0(osg::Camera *, getCamera, |
|---|
| 72 | Properties::NON_VIRTUAL, |
|---|
| 73 | __osg_Camera_P1__getCamera, |
|---|
| 74 | "", |
|---|
| 75 | ""); |
|---|
| 76 | I_Method0(const osg::Camera *, getCamera, |
|---|
| 77 | Properties::NON_VIRTUAL, |
|---|
| 78 | __C5_osg_Camera_P1__getCamera, |
|---|
| 79 | "", |
|---|
| 80 | ""); |
|---|
| 81 | I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, x, IN, osgGA::GUIActionAdapter &, x, |
|---|
| 82 | Properties::VIRTUAL, |
|---|
| 83 | __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, |
|---|
| 84 | "Deprecated, Handle events, return true if handled, false otherwise. ", |
|---|
| 85 | ""); |
|---|
| 86 | I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, |
|---|
| 87 | Properties::VIRTUAL, |
|---|
| 88 | __void__getUsage__osg_ApplicationUsage_R1, |
|---|
| 89 | "Get the keyboard and mouse usage of this manipulator. ", |
|---|
| 90 | ""); |
|---|
| 91 | I_Method1(void, updateGraph, IN, osgAnimation::StatsActionVisitor *, visitor, |
|---|
| 92 | Properties::NON_VIRTUAL, |
|---|
| 93 | __void__updateGraph__osgAnimation_StatsActionVisitor_P1, |
|---|
| 94 | "", |
|---|
| 95 | ""); |
|---|
| 96 | I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::ViewerBase *, viewer, |
|---|
| 97 | Properties::NON_VIRTUAL, |
|---|
| 98 | Properties::NON_CONST, |
|---|
| 99 | __void__setUpHUDCamera__osgViewer_ViewerBase_P1, |
|---|
| 100 | "", |
|---|
| 101 | ""); |
|---|
| 102 | I_ProtectedMethod4(osg::Geometry *, createBackgroundRectangle, IN, const osg::Vec3 &, pos, IN, const float, width, IN, const float, height, IN, osg::Vec4 &, color, |
|---|
| 103 | Properties::NON_VIRTUAL, |
|---|
| 104 | Properties::NON_CONST, |
|---|
| 105 | __osg_Geometry_P1__createBackgroundRectangle__C5_osg_Vec3_R1__C5_float__C5_float__osg_Vec4_R1, |
|---|
| 106 | "", |
|---|
| 107 | ""); |
|---|
| 108 | I_ProtectedMethod4(osg::Geometry *, createGeometry, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, |
|---|
| 109 | Properties::NON_VIRTUAL, |
|---|
| 110 | Properties::NON_CONST, |
|---|
| 111 | __osg_Geometry_P1__createGeometry__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, |
|---|
| 112 | "", |
|---|
| 113 | ""); |
|---|
| 114 | I_ProtectedMethod4(osg::Geometry *, createFrameMarkers, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, |
|---|
| 115 | Properties::NON_VIRTUAL, |
|---|
| 116 | Properties::NON_CONST, |
|---|
| 117 | __osg_Geometry_P1__createFrameMarkers__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, |
|---|
| 118 | "", |
|---|
| 119 | ""); |
|---|
| 120 | I_ProtectedMethod4(osg::Geometry *, createTick, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numTicks, |
|---|
| 121 | Properties::NON_VIRTUAL, |
|---|
| 122 | Properties::NON_CONST, |
|---|
| 123 | __osg_Geometry_P1__createTick__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, |
|---|
| 124 | "", |
|---|
| 125 | ""); |
|---|
| 126 | 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, |
|---|
| 127 | Properties::NON_VIRTUAL, |
|---|
| 128 | Properties::NON_CONST, |
|---|
| 129 | __osg_Node_P1__createCameraTimeStats__C5_std_string_R1__osg_Vec3_R1__float__bool__float__osg_Stats_P1__osg_Camera_P1, |
|---|
| 130 | "", |
|---|
| 131 | ""); |
|---|
| 132 | I_ProtectedMethod1(void, setUpScene, IN, osgViewer::Viewer *, viewer, |
|---|
| 133 | Properties::NON_VIRTUAL, |
|---|
| 134 | Properties::NON_CONST, |
|---|
| 135 | __void__setUpScene__osgViewer_Viewer_P1, |
|---|
| 136 | "", |
|---|
| 137 | ""); |
|---|
| 138 | I_SimpleProperty(double, BlockMultiplier, |
|---|
| 139 | __double__getBlockMultiplier, |
|---|
| 140 | 0); |
|---|
| 141 | I_SimpleProperty(osg::Camera *, Camera, |
|---|
| 142 | __osg_Camera_P1__getCamera, |
|---|
| 143 | 0); |
|---|
| 144 | I_SimpleProperty(int, KeyEventPrintsOutStats, |
|---|
| 145 | __int__getKeyEventPrintsOutStats, |
|---|
| 146 | __void__setKeyEventPrintsOutStats__int); |
|---|
| 147 | I_SimpleProperty(int, KeyEventTogglesOnScreenStats, |
|---|
| 148 | __int__getKeyEventTogglesOnScreenStats, |
|---|
| 149 | __void__setKeyEventTogglesOnScreenStats__int); |
|---|
| 150 | END_REFLECTOR |
|---|