From 1d7ba27e72b45635ce0d18bdb8264dca1887589a Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 7 Jun 2007 09:24:46 +0000 Subject: [PATCH] Removed redundent files --- src/osgWrappers/osgViewer/HelpHandler.cpp | 106 --------------- src/osgWrappers/osgViewer/StatsHandler.cpp | 145 --------------------- 2 files changed, 251 deletions(-) delete mode 100644 src/osgWrappers/osgViewer/HelpHandler.cpp delete mode 100644 src/osgWrappers/osgViewer/StatsHandler.cpp diff --git a/src/osgWrappers/osgViewer/HelpHandler.cpp b/src/osgWrappers/osgViewer/HelpHandler.cpp deleted file mode 100644 index 4b9c97df6..000000000 --- a/src/osgWrappers/osgViewer/HelpHandler.cpp +++ /dev/null @@ -1,106 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -BEGIN_OBJECT_REFLECTOR(osgViewer::HelpHandler) - I_BaseType(osgGA::GUIEventHandler); - I_ConstructorWithDefaults1(IN, osg::ApplicationUsage *, au, 0, - Properties::NON_EXPLICIT, - ____HelpHandler__osg_ApplicationUsage_P1, - "", - ""); - I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, au, - Properties::NON_VIRTUAL, - __void__setApplicationUsage__osg_ApplicationUsage_P1, - "", - ""); - I_Method0(osg::ApplicationUsage *, getApplicationUsage, - Properties::NON_VIRTUAL, - __osg_ApplicationUsage_P1__getApplicationUsage, - "", - ""); - I_Method0(const osg::ApplicationUsage *, getApplicationUsage, - Properties::NON_VIRTUAL, - __C5_osg_ApplicationUsage_P1__getApplicationUsage, - "", - ""); - I_Method1(void, setKeyEventTogglesOnScreenHelp, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventTogglesOnScreenHelp__int, - "", - ""); - I_Method0(int, getKeyEventTogglesOnScreenHelp, - Properties::NON_VIRTUAL, - __int__getKeyEventTogglesOnScreenHelp, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCamera, - "", - ""); - I_Method0(const osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCamera, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::Viewer *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpHUDCamera__osgViewer_Viewer_P1, - "", - ""); - I_ProtectedMethod1(void, setUpScene, IN, osgViewer::Viewer *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpScene__osgViewer_Viewer_P1, - "", - ""); - I_SimpleProperty(osg::ApplicationUsage *, ApplicationUsage, - __osg_ApplicationUsage_P1__getApplicationUsage, - __void__setApplicationUsage__osg_ApplicationUsage_P1); - I_SimpleProperty(osg::Camera *, Camera, - __osg_Camera_P1__getCamera, - 0); - I_SimpleProperty(int, KeyEventTogglesOnScreenHelp, - __int__getKeyEventTogglesOnScreenHelp, - __void__setKeyEventTogglesOnScreenHelp__int); -END_REFLECTOR - diff --git a/src/osgWrappers/osgViewer/StatsHandler.cpp b/src/osgWrappers/osgViewer/StatsHandler.cpp deleted file mode 100644 index 6ea0069d7..000000000 --- a/src/osgWrappers/osgViewer/StatsHandler.cpp +++ /dev/null @@ -1,145 +0,0 @@ -// *************************************************************************** -// -// Generated automatically by genwrapper. -// Please DO NOT EDIT this file! -// -// *************************************************************************** - -#include -#include -#include -#include - -#include -#include -#include -#include -#include - -// Must undefine IN and OUT macros defined in Windows headers -#ifdef IN -#undef IN -#endif -#ifdef OUT -#undef OUT -#endif - -BEGIN_ENUM_REFLECTOR(osgViewer::StatsHandler::StatsType) - I_EnumLabel(osgViewer::StatsHandler::NO_STATS); - I_EnumLabel(osgViewer::StatsHandler::FRAME_RATE); - I_EnumLabel(osgViewer::StatsHandler::VIEWER_STATS); - I_EnumLabel(osgViewer::StatsHandler::SCENE_STATS); - I_EnumLabel(osgViewer::StatsHandler::LAST); -END_REFLECTOR - -BEGIN_OBJECT_REFLECTOR(osgViewer::StatsHandler) - I_BaseType(osgGA::GUIEventHandler); - I_Constructor0(____StatsHandler, - "", - ""); - I_Method1(void, setKeyEventTogglesOnScreenStats, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventTogglesOnScreenStats__int, - "", - ""); - I_Method0(int, getKeyEventTogglesOnScreenStats, - Properties::NON_VIRTUAL, - __int__getKeyEventTogglesOnScreenStats, - "", - ""); - I_Method1(void, setKeyEventPrintsOutStats, IN, int, key, - Properties::NON_VIRTUAL, - __void__setKeyEventPrintsOutStats__int, - "", - ""); - I_Method0(int, getKeyEventPrintsOutStats, - Properties::NON_VIRTUAL, - __int__getKeyEventPrintsOutStats, - "", - ""); - I_Method0(double, getBlockMultiplier, - Properties::NON_VIRTUAL, - __double__getBlockMultiplier, - "", - ""); - I_Method0(void, reset, - Properties::NON_VIRTUAL, - __void__reset, - "", - ""); - I_Method0(osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __osg_Camera_P1__getCamera, - "", - ""); - I_Method0(const osg::Camera *, getCamera, - Properties::NON_VIRTUAL, - __C5_osg_Camera_P1__getCamera, - "", - ""); - I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, - Properties::VIRTUAL, - __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, - "deprecated, Handle events, return true if handled, false otherwise. ", - ""); - I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, - Properties::VIRTUAL, - __void__getUsage__osg_ApplicationUsage_R1, - "Get the keyboard and mouse usage of this manipulator. ", - ""); - I_ProtectedMethod1(void, setUpHUDCamera, IN, osgViewer::Viewer *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpHUDCamera__osgViewer_Viewer_P1, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createGeometry, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createGeometry__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createFrameMarkers, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numBlocks, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createFrameMarkers__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, - "", - ""); - I_ProtectedMethod4(osg::Geometry *, createTick, IN, const osg::Vec3 &, pos, IN, float, height, IN, const osg::Vec4 &, colour, IN, unsigned int, numTicks, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Geometry_P1__createTick__C5_osg_Vec3_R1__float__C5_osg_Vec4_R1__unsigned_int, - "", - ""); - I_ProtectedMethod7(osg::Node *, createCameraStats, IN, const std::string &, font, IN, osg::Vec3 &, pos, IN, float, startBlocks, IN, bool, aquireGPUStats, IN, float, characterSize, IN, osg::Stats *, viewerStats, IN, osg::Camera *, camera, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __osg_Node_P1__createCameraStats__C5_std_string_R1__osg_Vec3_R1__float__bool__float__osg_Stats_P1__osg_Camera_P1, - "", - ""); - I_ProtectedMethod1(void, setUpScene, IN, osgViewer::Viewer *, viewer, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__setUpScene__osgViewer_Viewer_P1, - "", - ""); - I_ProtectedMethod0(void, updateThreadingModelText, - Properties::NON_VIRTUAL, - Properties::NON_CONST, - __void__updateThreadingModelText, - "", - ""); - I_SimpleProperty(double, BlockMultiplier, - __double__getBlockMultiplier, - 0); - I_SimpleProperty(osg::Camera *, Camera, - __osg_Camera_P1__getCamera, - 0); - I_SimpleProperty(int, KeyEventPrintsOutStats, - __int__getKeyEventPrintsOutStats, - __void__setKeyEventPrintsOutStats__int); - I_SimpleProperty(int, KeyEventTogglesOnScreenStats, - __int__getKeyEventTogglesOnScreenStats, - __void__setKeyEventTogglesOnScreenStats__int); -END_REFLECTOR -