Fixed genwrapper so that it handles .svn directories, updated wrappers
This commit is contained in:
@@ -10,14 +10,13 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/GraphicsThread.svn-base>
|
||||
#include <osg/.svn/text-base/Timer.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osg/FrameStamp>
|
||||
#include <osg/GraphicsThread>
|
||||
#include <osg/Timer>
|
||||
#include <osgGA/EventQueue>
|
||||
#include <osgViewer/.svn/text-base/CompositeViewer.svn-base>
|
||||
#include <osgViewer/.svn/text-base/View.svn-base>
|
||||
#include <osgViewer/CompositeViewer>
|
||||
#include <osgViewer/View>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
@@ -46,225 +45,6 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::CompositeViewer)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____CompositeViewer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addView, IN, osgViewer::View *, view,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addView__osgViewer_View_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgViewer::View *, getView, IN, unsigned, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgViewer_View_P1__getView__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgViewer::View *, getView, IN, unsigned, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgViewer_View_P1__getView__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumViews,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumViews,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isRealized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRealized,
|
||||
"Get whether at least of one of this viewers windows are realized. ",
|
||||
"");
|
||||
I_Method0(void, realize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__realize,
|
||||
"set up windows and associated threads. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__done,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTick, IN, osg::Timer_t, tick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTick__osg_Timer_t,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Timer_t, getStartTick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Timer_t__getStartTick,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setReferenceTime, IN, double, time, 0.0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadingModel, IN, osgViewer::CompositeViewer::ThreadingModel, threadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThreadingModel__ThreadingModel,
|
||||
"Set the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method0(osgViewer::CompositeViewer::ThreadingModel, getThreadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ThreadingModel__getThreadingModel,
|
||||
"Get the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method1(void, setEndBarrierPosition, IN, osgViewer::CompositeViewer::BarrierPosition, bp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndBarrierPosition__BarrierPosition,
|
||||
"Set the position of the end barrier. ",
|
||||
"AfterSwapBuffers will may result is slightly higher framerates, by may lead to inconcistent swapping between different windows. BeforeSwapBuffers may lead to slightly lower framerate, but improve consistency in timing of swap buffers, especially important if you are likely to consistently break frame. ");
|
||||
I_Method0(osgViewer::CompositeViewer::BarrierPosition, getEndBarrierPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BarrierPosition__getEndBarrierPosition,
|
||||
"Get the end barrier position. ",
|
||||
"");
|
||||
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyEventSetsDone, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyEventSetsDone__int,
|
||||
"Set the key event that the viewer checks on each frame to see if the viewer's done flag should be set to signal end of viewers main loop. ",
|
||||
"Default value is Escape (osgGA::GUIEVentAdapter::KEY_Escape). Setting to 0 switches off the feature. ");
|
||||
I_Method0(int, getKeyEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getKeyEventSetsDone,
|
||||
"get the key event that the viewer checks on each frame to see if the viewer's done flag. ",
|
||||
"");
|
||||
I_Method1(void, setQuitEventSetsDone, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQuitEventSetsDone__bool,
|
||||
"if the flag is true, the viewer set its done flag when a QUIT_APPLICATION is received, false disables this feature ",
|
||||
"");
|
||||
I_Method0(bool, getQuitEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getQuitEventSetsDone,
|
||||
"",
|
||||
"true if the viewer respond to the QUIT_APPLICATION-event ");
|
||||
I_Method0(int, run,
|
||||
Properties::VIRTUAL,
|
||||
__int__run,
|
||||
"Execute a main frame loop. ",
|
||||
"Equivialant to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned.");
|
||||
I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Render a complete new frame. ",
|
||||
"Calls advance(), eventTraversal(), updateTraversal(), renderingTraversals(). ");
|
||||
I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__advance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, eventTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__eventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, renderingTraversals,
|
||||
Properties::VIRTUAL,
|
||||
__void__renderingTraversals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCameraWithFocus, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCameraWithFocus__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgViewer::View *, getViewWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgViewer_View_P1__getViewWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgViewer::View *, getViewWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgViewer_View_P1__getViewWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getContexts, IN, osgViewer::CompositeViewer::Contexts &, contexts, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getContexts__Contexts_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getWindows, IN, osgViewer::CompositeViewer::Windows &, windows, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getWindows__Windows_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getScenes, IN, osgViewer::CompositeViewer::Scenes &, scenes, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getScenes__Scenes_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRealizeOperation, IN, osg::Operation *, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRealizeOperation__osg_Operation_P1,
|
||||
"Set the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(osg::Operation *, getRealizeOperation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Operation_P1__getRealizeOperation,
|
||||
"Get the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(void, stopThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__stopThreading,
|
||||
"Stop any threads begin run by viewer. ",
|
||||
"");
|
||||
I_Method0(void, startThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__startThreading,
|
||||
"Start any threads required by the viewer, as per viewers ThreadingModel. ",
|
||||
"");
|
||||
I_Method0(void, setUpRenderingSupport,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpRenderingSupport,
|
||||
"Set up the Operations to render the various viewer cameras on the viewers graphics windows. ",
|
||||
"");
|
||||
I_Constructor0(____CompositeViewer,
|
||||
"",
|
||||
"");
|
||||
@@ -528,504 +308,9 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::CompositeViewer)
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext * >, osgViewer::CompositeViewer::Contexts);
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::GraphicsContext * >);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgViewer::GraphicsWindow * >, osgViewer::CompositeViewer::Windows);
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgViewer::GraphicsWindow * >);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgViewer::Scene * >, osgViewer::CompositeViewer::Scenes);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgViewer::CompositeViewer::ThreadingModel)
|
||||
I_EnumLabel(osgViewer::CompositeViewer::SingleThreaded);
|
||||
I_EnumLabel(osgViewer::CompositeViewer::ThreadPerContext);
|
||||
I_EnumLabel(osgViewer::CompositeViewer::ThreadPerCamera);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgViewer::CompositeViewer::BarrierPosition)
|
||||
I_EnumLabel(osgViewer::CompositeViewer::BeforeSwapBuffers);
|
||||
I_EnumLabel(osgViewer::CompositeViewer::AfterSwapBuffers);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::CompositeViewer)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____CompositeViewer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addView, IN, osgViewer::View *, view,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addView__osgViewer_View_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgViewer::View *, getView, IN, unsigned, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgViewer_View_P1__getView__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgViewer::View *, getView, IN, unsigned, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgViewer_View_P1__getView__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumViews,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumViews,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isRealized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRealized,
|
||||
"Get whether at least of one of this viewers windows are realized. ",
|
||||
"");
|
||||
I_Method0(void, realize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__realize,
|
||||
"set up windows and associated threads. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__done,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTick, IN, osg::Timer_t, tick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTick__osg_Timer_t,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Timer_t, getStartTick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Timer_t__getStartTick,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setReferenceTime, IN, double, time, 0.0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadingModel, IN, osgViewer::CompositeViewer::ThreadingModel, threadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThreadingModel__ThreadingModel,
|
||||
"Set the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method0(osgViewer::CompositeViewer::ThreadingModel, getThreadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ThreadingModel__getThreadingModel,
|
||||
"Get the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method1(void, setEndBarrierPosition, IN, osgViewer::CompositeViewer::BarrierPosition, bp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndBarrierPosition__BarrierPosition,
|
||||
"Set the position of the end barrier. ",
|
||||
"AfterSwapBuffers will may result is slightly higher framerates, by may lead to inconcistent swapping between different windows. BeforeSwapBuffers may lead to slightly lower framerate, but improve consistency in timing of swap buffers, especially important if you are likely to consistently break frame. ");
|
||||
I_Method0(osgViewer::CompositeViewer::BarrierPosition, getEndBarrierPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BarrierPosition__getEndBarrierPosition,
|
||||
"Get the end barrier position. ",
|
||||
"");
|
||||
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyEventSetsDone, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyEventSetsDone__int,
|
||||
"Set the key event that the viewer checks on each frame to see if the viewer's done flag should be set to signal end of viewers main loop. ",
|
||||
"Default value is Escape (osgGA::GUIEVentAdapter::KEY_Escape). Setting to 0 switches off the feature. ");
|
||||
I_Method0(int, getKeyEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getKeyEventSetsDone,
|
||||
"get the key event that the viewer checks on each frame to see if the viewer's done flag. ",
|
||||
"");
|
||||
I_Method1(void, setQuitEventSetsDone, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQuitEventSetsDone__bool,
|
||||
"if the flag is true, the viewer set its done flag when a QUIT_APPLICATION is received, false disables this feature ",
|
||||
"");
|
||||
I_Method0(bool, getQuitEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getQuitEventSetsDone,
|
||||
"",
|
||||
"true if the viewer respond to the QUIT_APPLICATION-event ");
|
||||
I_Method0(int, run,
|
||||
Properties::VIRTUAL,
|
||||
__int__run,
|
||||
"Execute a main frame loop. ",
|
||||
"Equivialant to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned.");
|
||||
I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Render a complete new frame. ",
|
||||
"Calls advance(), eventTraversal(), updateTraversal(), renderingTraversals(). ");
|
||||
I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__advance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, eventTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__eventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, renderingTraversals,
|
||||
Properties::VIRTUAL,
|
||||
__void__renderingTraversals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCameraWithFocus, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCameraWithFocus__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgViewer::View *, getViewWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgViewer_View_P1__getViewWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgViewer::View *, getViewWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgViewer_View_P1__getViewWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getContexts, IN, osgViewer::CompositeViewer::Contexts &, contexts, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getContexts__Contexts_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getWindows, IN, osgViewer::CompositeViewer::Windows &, windows, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getWindows__Windows_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getScenes, IN, osgViewer::CompositeViewer::Scenes &, scenes, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getScenes__Scenes_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRealizeOperation, IN, osg::Operation *, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRealizeOperation__osg_Operation_P1,
|
||||
"Set the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(osg::Operation *, getRealizeOperation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Operation_P1__getRealizeOperation,
|
||||
"Get the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(void, stopThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__stopThreading,
|
||||
"Stop any threads begin run by viewer. ",
|
||||
"");
|
||||
I_Method0(void, startThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__startThreading,
|
||||
"Start any threads required by the viewer, as per viewers ThreadingModel. ",
|
||||
"");
|
||||
I_Method0(void, setUpRenderingSupport,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpRenderingSupport,
|
||||
"Set up the Operations to render the various viewer cameras on the viewers graphics windows. ",
|
||||
"");
|
||||
I_Constructor0(____CompositeViewer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addView, IN, osgViewer::View *, view,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addView__osgViewer_View_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(osgViewer::View *, getView, IN, unsigned, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgViewer_View_P1__getView__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(const osgViewer::View *, getView, IN, unsigned, i,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgViewer_View_P1__getView__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method0(unsigned int, getNumViews,
|
||||
Properties::NON_VIRTUAL,
|
||||
__unsigned_int__getNumViews,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isRealized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRealized,
|
||||
"Get whether at least of one of this viewers windows are realized. ",
|
||||
"");
|
||||
I_Method0(void, realize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__realize,
|
||||
"set up windows and associated threads. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__done,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTick, IN, osg::Timer_t, tick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTick__osg_Timer_t,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Timer_t, getStartTick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Timer_t__getStartTick,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setReferenceTime, IN, double, time, 0.0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadingModel, IN, osgViewer::CompositeViewer::ThreadingModel, threadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThreadingModel__ThreadingModel,
|
||||
"Set the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method0(osgViewer::CompositeViewer::ThreadingModel, getThreadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ThreadingModel__getThreadingModel,
|
||||
"Get the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method1(void, setEndBarrierPosition, IN, osgViewer::CompositeViewer::BarrierPosition, bp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndBarrierPosition__BarrierPosition,
|
||||
"Set the position of the end barrier. ",
|
||||
"AfterSwapBuffers will may result is slightly higher framerates, by may lead to inconcistent swapping between different windows. BeforeSwapBuffers may lead to slightly lower framerate, but improve consistency in timing of swap buffers, especially important if you are likely to consistently break frame. ");
|
||||
I_Method0(osgViewer::CompositeViewer::BarrierPosition, getEndBarrierPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BarrierPosition__getEndBarrierPosition,
|
||||
"Get the end barrier position. ",
|
||||
"");
|
||||
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyEventSetsDone, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyEventSetsDone__int,
|
||||
"Set the key event that the viewer checks on each frame to see if the viewer's done flag should be set to signal end of viewers main loop. ",
|
||||
"Default value is Escape (osgGA::GUIEVentAdapter::KEY_Escape). Setting to 0 switches off the feature. ");
|
||||
I_Method0(int, getKeyEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getKeyEventSetsDone,
|
||||
"get the key event that the viewer checks on each frame to see if the viewer's done flag. ",
|
||||
"");
|
||||
I_Method1(void, setQuitEventSetsDone, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQuitEventSetsDone__bool,
|
||||
"if the flag is true, the viewer set its done flag when a QUIT_APPLICATION is received, false disables this feature ",
|
||||
"");
|
||||
I_Method0(bool, getQuitEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getQuitEventSetsDone,
|
||||
"",
|
||||
"true if the viewer respond to the QUIT_APPLICATION-event ");
|
||||
I_Method0(int, run,
|
||||
Properties::VIRTUAL,
|
||||
__int__run,
|
||||
"Execute a main frame loop. ",
|
||||
"Equivialant to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned.");
|
||||
I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Render a complete new frame. ",
|
||||
"Calls advance(), eventTraversal(), updateTraversal(), renderingTraversals(). ");
|
||||
I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__advance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, eventTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__eventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, renderingTraversals,
|
||||
Properties::VIRTUAL,
|
||||
__void__renderingTraversals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCameraWithFocus, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCameraWithFocus__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgViewer::View *, getViewWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgViewer_View_P1__getViewWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgViewer::View *, getViewWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgViewer_View_P1__getViewWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getContexts, IN, osgViewer::CompositeViewer::Contexts &, contexts, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getContexts__Contexts_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getWindows, IN, osgViewer::CompositeViewer::Windows &, windows, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getWindows__Windows_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getScenes, IN, osgViewer::CompositeViewer::Scenes &, scenes, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getScenes__Scenes_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRealizeOperation, IN, osg::Operation *, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRealizeOperation__osg_Operation_P1,
|
||||
"Set the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(osg::Operation *, getRealizeOperation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Operation_P1__getRealizeOperation,
|
||||
"Get the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(void, stopThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__stopThreading,
|
||||
"Stop any threads begin run by viewer. ",
|
||||
"");
|
||||
I_Method0(void, startThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__startThreading,
|
||||
"Start any threads required by the viewer, as per viewers ThreadingModel. ",
|
||||
"");
|
||||
I_Method0(void, setUpRenderingSupport,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpRenderingSupport,
|
||||
"Set up the Operations to render the various viewer cameras on the viewers graphics windows. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Camera *, CameraWithFocus,
|
||||
__osg_Camera_P1__getCameraWithFocus,
|
||||
__void__setCameraWithFocus__osg_Camera_P1);
|
||||
I_SimpleProperty(bool, Done,
|
||||
0,
|
||||
__void__setDone__bool);
|
||||
I_SimpleProperty(osgViewer::CompositeViewer::BarrierPosition, EndBarrierPosition,
|
||||
__BarrierPosition__getEndBarrierPosition,
|
||||
__void__setEndBarrierPosition__BarrierPosition);
|
||||
I_SimpleProperty(osgGA::EventQueue *, EventQueue,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1);
|
||||
I_SimpleProperty(osg::FrameStamp *, FrameStamp,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
0);
|
||||
I_SimpleProperty(int, KeyEventSetsDone,
|
||||
__int__getKeyEventSetsDone,
|
||||
__void__setKeyEventSetsDone__int);
|
||||
I_SimpleProperty(bool, QuitEventSetsDone,
|
||||
__bool__getQuitEventSetsDone,
|
||||
__void__setQuitEventSetsDone__bool);
|
||||
I_SimpleProperty(osg::Operation *, RealizeOperation,
|
||||
__osg_Operation_P1__getRealizeOperation,
|
||||
__void__setRealizeOperation__osg_Operation_P1);
|
||||
I_SimpleProperty(double, ReferenceTime,
|
||||
0,
|
||||
__void__setReferenceTime__double);
|
||||
I_SimpleProperty(osg::Timer_t, StartTick,
|
||||
__osg_Timer_t__getStartTick,
|
||||
__void__setStartTick__osg_Timer_t);
|
||||
I_SimpleProperty(osgViewer::CompositeViewer::ThreadingModel, ThreadingModel,
|
||||
__ThreadingModel__getThreadingModel,
|
||||
__void__setThreadingModel__ThreadingModel);
|
||||
I_ArrayProperty(osgViewer::View *, View,
|
||||
__osgViewer_View_P1__getView__unsigned,
|
||||
0,
|
||||
__unsigned_int__getNumViews,
|
||||
__void__addView__osgViewer_View_P1,
|
||||
0,
|
||||
0);
|
||||
I_SimpleProperty(osgViewer::View *, ViewWithFocus,
|
||||
__osgViewer_View_P1__getViewWithFocus,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
STD_VECTOR_REFLECTOR(std::vector< osgViewer::Scene * >);
|
||||
|
||||
|
||||
@@ -6,6 +6,8 @@ CXXFILES =\
|
||||
GraphicsWindow.cpp\
|
||||
HelpHandler.cpp\
|
||||
Scene.cpp\
|
||||
SimpleViewer.cpp\
|
||||
StatsHandler.cpp\
|
||||
View.cpp\
|
||||
Viewer.cpp\
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/GraphicsContext.svn-base>
|
||||
#include <osg/GraphicsContext>
|
||||
#include <osgGA/EventQueue>
|
||||
#include <osgViewer/GraphicsWindow>
|
||||
|
||||
@@ -22,9 +22,7 @@
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindow)
|
||||
I_BaseType(osg::GraphicsContext);
|
||||
I_BaseType(osgGA::GUIActionAdapter);
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::GraphicsWindow)
|
||||
I_BaseType(osg::GraphicsContext);
|
||||
I_BaseType(osgGA::GUIActionAdapter);
|
||||
I_Constructor0(____GraphicsWindow,
|
||||
@@ -118,340 +116,18 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindow)
|
||||
I_Method0(void, requestRedraw,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestRedraw,
|
||||
"",
|
||||
"requestRedraw() requests a single redraw. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, x, true,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestContinuousUpdate__bool,
|
||||
"",
|
||||
"");
|
||||
"requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). ",
|
||||
"GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure.");
|
||||
I_Method2(void, requestWarpPointer, IN, float, x, IN, float, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestWarpPointer__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____GraphicsWindow,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, checkEvents,
|
||||
Properties::VIRTUAL,
|
||||
__void__checkEvents,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWindowDecoration, IN, bool, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setWindowDecoration__bool,
|
||||
"Set Window decoration. ",
|
||||
"");
|
||||
I_Method0(void, grabFocus,
|
||||
Properties::VIRTUAL,
|
||||
__void__grabFocus,
|
||||
"Get focus. ",
|
||||
"");
|
||||
I_Method0(void, grabFocusIfPointerInWindow,
|
||||
Properties::VIRTUAL,
|
||||
__void__grabFocusIfPointerInWindow,
|
||||
"Get focus on if the pointer is in this window. ",
|
||||
"");
|
||||
I_Method1(void, useCursor, IN, bool, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__useCursor__bool,
|
||||
"Switch on/off the cursor. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::VIRTUAL,
|
||||
__bool__valid,
|
||||
"Return whether a valid and usable GraphicsContext has been created. ",
|
||||
"");
|
||||
I_Method0(bool, realizeImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__realizeImplementation,
|
||||
"Realise the GraphicsContext implementation, Pure virtual - must be implemented by concrate implementations of GraphicsContext. ",
|
||||
"");
|
||||
I_Method0(bool, isRealizedImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isRealizedImplementation,
|
||||
"Return true if the graphics context has been realised, and is ready to use, implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, closeImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__void__closeImplementation,
|
||||
"Close the graphics context implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(bool, makeCurrentImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__makeCurrentImplementation,
|
||||
"Make this graphics context current implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__makeContextCurrentImplementation__GraphicsContext_P1,
|
||||
"Make this graphics context current with specified read context implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(bool, releaseContextImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__releaseContextImplementation,
|
||||
"Release the graphics context. ",
|
||||
"");
|
||||
I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__bindPBufferToTextureImplementation__GLenum,
|
||||
"Pure virtual, Bind the graphics context to associated texture implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, swapBuffersImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__void__swapBuffersImplementation,
|
||||
"Swap the front and back buffers implementation. ",
|
||||
"Pure virtual - must be implemented by Concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, requestRedraw,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestRedraw,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, x, true,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestContinuousUpdate__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, requestWarpPointer, IN, float, x, IN, float, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestWarpPointer__float__float,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgGA::EventQueue *, EventQueue,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1);
|
||||
I_SimpleProperty(bool, WindowDecoration,
|
||||
0,
|
||||
__void__setWindowDecoration__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindow)
|
||||
I_BaseType(osg::GraphicsContext);
|
||||
I_BaseType(osgGA::GUIActionAdapter);
|
||||
I_BaseType(osg::GraphicsContext);
|
||||
I_BaseType(osgGA::GUIActionAdapter);
|
||||
I_Constructor0(____GraphicsWindow,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, checkEvents,
|
||||
Properties::VIRTUAL,
|
||||
__void__checkEvents,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWindowDecoration, IN, bool, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setWindowDecoration__bool,
|
||||
"Set Window decoration. ",
|
||||
"");
|
||||
I_Method0(void, grabFocus,
|
||||
Properties::VIRTUAL,
|
||||
__void__grabFocus,
|
||||
"Get focus. ",
|
||||
"");
|
||||
I_Method0(void, grabFocusIfPointerInWindow,
|
||||
Properties::VIRTUAL,
|
||||
__void__grabFocusIfPointerInWindow,
|
||||
"Get focus on if the pointer is in this window. ",
|
||||
"");
|
||||
I_Method1(void, useCursor, IN, bool, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__useCursor__bool,
|
||||
"Switch on/off the cursor. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::VIRTUAL,
|
||||
__bool__valid,
|
||||
"Return whether a valid and usable GraphicsContext has been created. ",
|
||||
"");
|
||||
I_Method0(bool, realizeImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__realizeImplementation,
|
||||
"Realise the GraphicsContext implementation, Pure virtual - must be implemented by concrate implementations of GraphicsContext. ",
|
||||
"");
|
||||
I_Method0(bool, isRealizedImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isRealizedImplementation,
|
||||
"Return true if the graphics context has been realised, and is ready to use, implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, closeImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__void__closeImplementation,
|
||||
"Close the graphics context implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(bool, makeCurrentImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__makeCurrentImplementation,
|
||||
"Make this graphics context current implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__makeContextCurrentImplementation__GraphicsContext_P1,
|
||||
"Make this graphics context current with specified read context implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(bool, releaseContextImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__releaseContextImplementation,
|
||||
"Release the graphics context. ",
|
||||
"");
|
||||
I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__bindPBufferToTextureImplementation__GLenum,
|
||||
"Pure virtual, Bind the graphics context to associated texture implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, swapBuffersImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__void__swapBuffersImplementation,
|
||||
"Swap the front and back buffers implementation. ",
|
||||
"Pure virtual - must be implemented by Concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, requestRedraw,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestRedraw,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, x, true,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestContinuousUpdate__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, requestWarpPointer, IN, float, x, IN, float, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestWarpPointer__float__float,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____GraphicsWindow,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, checkEvents,
|
||||
Properties::VIRTUAL,
|
||||
__void__checkEvents,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setWindowDecoration, IN, bool, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__setWindowDecoration__bool,
|
||||
"Set Window decoration. ",
|
||||
"");
|
||||
I_Method0(void, grabFocus,
|
||||
Properties::VIRTUAL,
|
||||
__void__grabFocus,
|
||||
"Get focus. ",
|
||||
"");
|
||||
I_Method0(void, grabFocusIfPointerInWindow,
|
||||
Properties::VIRTUAL,
|
||||
__void__grabFocusIfPointerInWindow,
|
||||
"Get focus on if the pointer is in this window. ",
|
||||
"");
|
||||
I_Method1(void, useCursor, IN, bool, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__useCursor__bool,
|
||||
"Switch on/off the cursor. ",
|
||||
"");
|
||||
I_Method0(bool, valid,
|
||||
Properties::VIRTUAL,
|
||||
__bool__valid,
|
||||
"Return whether a valid and usable GraphicsContext has been created. ",
|
||||
"");
|
||||
I_Method0(bool, realizeImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__realizeImplementation,
|
||||
"Realise the GraphicsContext implementation, Pure virtual - must be implemented by concrate implementations of GraphicsContext. ",
|
||||
"");
|
||||
I_Method0(bool, isRealizedImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__isRealizedImplementation,
|
||||
"Return true if the graphics context has been realised, and is ready to use, implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, closeImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__void__closeImplementation,
|
||||
"Close the graphics context implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(bool, makeCurrentImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__makeCurrentImplementation,
|
||||
"Make this graphics context current implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, x,
|
||||
Properties::VIRTUAL,
|
||||
__bool__makeContextCurrentImplementation__GraphicsContext_P1,
|
||||
"Make this graphics context current with specified read context implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(bool, releaseContextImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__bool__releaseContextImplementation,
|
||||
"Release the graphics context. ",
|
||||
"");
|
||||
I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__bindPBufferToTextureImplementation__GLenum,
|
||||
"Pure virtual, Bind the graphics context to associated texture implementation. ",
|
||||
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, swapBuffersImplementation,
|
||||
Properties::VIRTUAL,
|
||||
__void__swapBuffersImplementation,
|
||||
"Swap the front and back buffers implementation. ",
|
||||
"Pure virtual - must be implemented by Concrate implementations of GraphicsContext. ");
|
||||
I_Method0(void, requestRedraw,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestRedraw,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, x, true,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestContinuousUpdate__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method2(void, requestWarpPointer, IN, float, x, IN, float, x,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestWarpPointer__float__float,
|
||||
"",
|
||||
"");
|
||||
"requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ",
|
||||
"This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick.");
|
||||
I_SimpleProperty(osgGA::EventQueue *, EventQueue,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1);
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::HelpHandler)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_ConstructorWithDefaults1(IN, osg::ApplicationUsage *, au, 0,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -57,140 +56,9 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::HelpHandler)
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
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_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_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
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_SimpleProperty(osg::ApplicationUsage *, ApplicationUsage,
|
||||
__osg_ApplicationUsage_P1__getApplicationUsage,
|
||||
__void__setApplicationUsage__osg_ApplicationUsage_P1);
|
||||
I_SimpleProperty(int, KeyEventTogglesOnScreenHelp,
|
||||
__int__getKeyEventTogglesOnScreenHelp,
|
||||
__void__setKeyEventTogglesOnScreenHelp__int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::HelpHandler)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
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_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
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_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_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_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,
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/FrameStamp>
|
||||
#include <osgDB/.svn/text-base/DatabasePager.svn-base>
|
||||
#include <osg/Node>
|
||||
#include <osgDB/DatabasePager>
|
||||
#include <osgViewer/Scene>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -25,210 +25,6 @@
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::Scene)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_Constructor0(____Scene,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, frameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameStamp__osg_FrameStamp_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, dp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePager__osgDB_DatabasePager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameAdvance,
|
||||
Properties::VIRTUAL,
|
||||
__void__frameAdvance,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameUpdateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__frameUpdateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Scene,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, frameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameStamp__osg_FrameStamp_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, dp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePager__osgDB_DatabasePager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameAdvance,
|
||||
Properties::VIRTUAL,
|
||||
__void__frameAdvance,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameUpdateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__frameUpdateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgDB::DatabasePager *, DatabasePager,
|
||||
__osgDB_DatabasePager_P1__getDatabasePager,
|
||||
__void__setDatabasePager__osgDB_DatabasePager_P1);
|
||||
I_SimpleProperty(osg::FrameStamp *, FrameStamp,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
__void__setFrameStamp__osg_FrameStamp_P1);
|
||||
I_SimpleProperty(osg::Node *, SceneData,
|
||||
__osg_Node_P1__getSceneData,
|
||||
__void__setSceneData__osg_Node_P1);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::Scene)
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_VirtualBaseType(osg::Referenced);
|
||||
I_Constructor0(____Scene,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, frameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setFrameStamp__osg_FrameStamp_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, dp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePager__osgDB_DatabasePager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameAdvance,
|
||||
Properties::VIRTUAL,
|
||||
__void__frameAdvance,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, frameUpdateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__frameUpdateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____Scene,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/Camera>
|
||||
#include <osgDB/.svn/text-base/DatabasePager.svn-base>
|
||||
#include <osg/Node>
|
||||
#include <osgDB/DatabasePager>
|
||||
#include <osgGA/GUIEventHandler>
|
||||
#include <osgGA/MatrixManipulator>
|
||||
#include <osgUtil/SceneView>
|
||||
#include <osgViewer/.svn/text-base/SimpleViewer.svn-base>
|
||||
#include <osgViewer/SimpleViewer>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -29,403 +28,8 @@
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >, osgViewer::SimpleViewer::EventHandlers);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::SimpleViewer)
|
||||
BEGIN_ABSTRACT_OBJECT_REFLECTOR(osgViewer::SimpleViewer)
|
||||
I_VirtualBaseType(osgViewer::GraphicsWindow);
|
||||
I_VirtualBaseType(osgViewer::GraphicsWindow);
|
||||
I_Constructor0(____SimpleViewer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, dp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePager__osgDB_DatabasePager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
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_Method1(void, setCameraManipulator, IN, osgGA::MatrixManipulator *, manipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCameraManipulator__osgGA_MatrixManipulator_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator *, getCameraManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::MatrixManipulator *, getCameraManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addEventHandler, IN, osgGA::GUIEventHandler *, eventHandler,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEventHandler__osgGA_GUIEventHandler_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgViewer::SimpleViewer::EventHandlers &, getEventHandlers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EventHandlers_R1__getEventHandlers,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgViewer::SimpleViewer::EventHandlers &, getEventHandlers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_EventHandlers_R1__getEventHandlers,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Render a complete new frame. ",
|
||||
"Calls frameAdvance(), frameEventTraversal(), frameUpateTraversal(), frameCullTraversal() and frameDrawTraversal(). Note, no internal makeCurrent() is issued before, or swap buffers called after frame(), these operations are the responsibility of the calling code. ");
|
||||
I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__advance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, eventTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__eventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, renderingTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__renderingTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, releaseAllGLObjects,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseAllGLObjects,
|
||||
"Release all OpenGL objects associated with this viewer's scenegraph. ",
|
||||
"Note, does not deleted the actual OpenGL objects, it just releases them to the pending GL object delete lists which will need flushing once a valid graphics context is obtained. ");
|
||||
I_Method0(void, cleanup,
|
||||
Properties::VIRTUAL,
|
||||
__void__cleanup,
|
||||
"Clean up all OpenGL objects associated with this viewer's scenegraph. ",
|
||||
"Note, must only be called from the graphics context associated with this viewer. ");
|
||||
I_Method0(osgUtil::SceneView *, getSceneView,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgUtil_SceneView_P1__getSceneView,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgUtil::SceneView *, getSceneView,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgUtil_SceneView_P1__getSceneView,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____SimpleViewer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, dp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePager__osgDB_DatabasePager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
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_Method1(void, setCameraManipulator, IN, osgGA::MatrixManipulator *, manipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCameraManipulator__osgGA_MatrixManipulator_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator *, getCameraManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::MatrixManipulator *, getCameraManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addEventHandler, IN, osgGA::GUIEventHandler *, eventHandler,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEventHandler__osgGA_GUIEventHandler_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgViewer::SimpleViewer::EventHandlers &, getEventHandlers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EventHandlers_R1__getEventHandlers,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgViewer::SimpleViewer::EventHandlers &, getEventHandlers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_EventHandlers_R1__getEventHandlers,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Render a complete new frame. ",
|
||||
"Calls frameAdvance(), frameEventTraversal(), frameUpateTraversal(), frameCullTraversal() and frameDrawTraversal(). Note, no internal makeCurrent() is issued before, or swap buffers called after frame(), these operations are the responsibility of the calling code. ");
|
||||
I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__advance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, eventTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__eventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, renderingTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__renderingTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, releaseAllGLObjects,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseAllGLObjects,
|
||||
"Release all OpenGL objects associated with this viewer's scenegraph. ",
|
||||
"Note, does not deleted the actual OpenGL objects, it just releases them to the pending GL object delete lists which will need flushing once a valid graphics context is obtained. ");
|
||||
I_Method0(void, cleanup,
|
||||
Properties::VIRTUAL,
|
||||
__void__cleanup,
|
||||
"Clean up all OpenGL objects associated with this viewer's scenegraph. ",
|
||||
"Note, must only be called from the graphics context associated with this viewer. ");
|
||||
I_Method0(osgUtil::SceneView *, getSceneView,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgUtil_SceneView_P1__getSceneView,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgUtil::SceneView *, getSceneView,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgUtil_SceneView_P1__getSceneView,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osg::Camera *, Camera,
|
||||
__osg_Camera_P1__getCamera,
|
||||
0);
|
||||
I_SimpleProperty(osgGA::MatrixManipulator *, CameraManipulator,
|
||||
__osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
__void__setCameraManipulator__osgGA_MatrixManipulator_P1);
|
||||
I_SimpleProperty(osgDB::DatabasePager *, DatabasePager,
|
||||
__osgDB_DatabasePager_P1__getDatabasePager,
|
||||
__void__setDatabasePager__osgDB_DatabasePager_P1);
|
||||
I_SimpleProperty(osgViewer::SimpleViewer::EventHandlers &, EventHandlers,
|
||||
__EventHandlers_R1__getEventHandlers,
|
||||
0);
|
||||
I_SimpleProperty(osg::Node *, SceneData,
|
||||
__osg_Node_P1__getSceneData,
|
||||
__void__setSceneData__osg_Node_P1);
|
||||
I_SimpleProperty(osgUtil::SceneView *, SceneView,
|
||||
__osgUtil_SceneView_P1__getSceneView,
|
||||
0);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >, osgViewer::SimpleViewer::EventHandlers);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::SimpleViewer)
|
||||
I_VirtualBaseType(osgViewer::GraphicsWindow);
|
||||
I_VirtualBaseType(osgViewer::GraphicsWindow);
|
||||
I_Constructor0(____SimpleViewer,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDatabasePager, IN, osgDB::DatabasePager *, dp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDatabasePager__osgDB_DatabasePager_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgDB::DatabasePager *, getDatabasePager,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgDB_DatabasePager_P1__getDatabasePager,
|
||||
"",
|
||||
"");
|
||||
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_Method1(void, setCameraManipulator, IN, osgGA::MatrixManipulator *, manipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCameraManipulator__osgGA_MatrixManipulator_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgGA::MatrixManipulator *, getCameraManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgGA::MatrixManipulator *, getCameraManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addEventHandler, IN, osgGA::GUIEventHandler *, eventHandler,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEventHandler__osgGA_GUIEventHandler_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgViewer::SimpleViewer::EventHandlers &, getEventHandlers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EventHandlers_R1__getEventHandlers,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgViewer::SimpleViewer::EventHandlers &, getEventHandlers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_EventHandlers_R1__getEventHandlers,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Render a complete new frame. ",
|
||||
"Calls frameAdvance(), frameEventTraversal(), frameUpateTraversal(), frameCullTraversal() and frameDrawTraversal(). Note, no internal makeCurrent() is issued before, or swap buffers called after frame(), these operations are the responsibility of the calling code. ");
|
||||
I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__advance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, eventTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__eventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, renderingTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__renderingTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, releaseAllGLObjects,
|
||||
Properties::VIRTUAL,
|
||||
__void__releaseAllGLObjects,
|
||||
"Release all OpenGL objects associated with this viewer's scenegraph. ",
|
||||
"Note, does not deleted the actual OpenGL objects, it just releases them to the pending GL object delete lists which will need flushing once a valid graphics context is obtained. ");
|
||||
I_Method0(void, cleanup,
|
||||
Properties::VIRTUAL,
|
||||
__void__cleanup,
|
||||
"Clean up all OpenGL objects associated with this viewer's scenegraph. ",
|
||||
"Note, must only be called from the graphics context associated with this viewer. ");
|
||||
I_Method0(osgUtil::SceneView *, getSceneView,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osgUtil_SceneView_P1__getSceneView,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgUtil::SceneView *, getSceneView,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgUtil_SceneView_P1__getSceneView,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init,
|
||||
"",
|
||||
"");
|
||||
I_Constructor0(____SimpleViewer,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -32,7 +32,6 @@ BEGIN_ENUM_REFLECTOR(osgViewer::StatsHandler::StatsType)
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::StatsHandler)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_Constructor0(____StatsHandler,
|
||||
"",
|
||||
@@ -58,145 +57,9 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::StatsHandler)
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getBlockMultiplier,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getBlockMultiplier,
|
||||
"",
|
||||
"");
|
||||
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_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_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getBlockMultiplier,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getBlockMultiplier,
|
||||
"",
|
||||
"");
|
||||
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_SimpleProperty(double, BlockMultiplier,
|
||||
__double__getBlockMultiplier,
|
||||
0);
|
||||
I_SimpleProperty(int, KeyEventPrintsOutStats,
|
||||
__int__getKeyEventPrintsOutStats,
|
||||
__void__setKeyEventPrintsOutStats__int);
|
||||
I_SimpleProperty(int, KeyEventTogglesOnScreenStats,
|
||||
__int__getKeyEventTogglesOnScreenStats,
|
||||
__void__setKeyEventTogglesOnScreenStats__int);
|
||||
END_REFLECTOR
|
||||
|
||||
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_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_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(double, getBlockMultiplier,
|
||||
Properties::NON_VIRTUAL,
|
||||
__double__getBlockMultiplier,
|
||||
"",
|
||||
"");
|
||||
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_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_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1,
|
||||
"",
|
||||
"deprecated, Handle events, return true if handled, false otherwise. ",
|
||||
"");
|
||||
I_Method0(double, getBlockMultiplier,
|
||||
Properties::NON_VIRTUAL,
|
||||
|
||||
@@ -10,7 +10,15 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/Camera>
|
||||
#include <osg/DisplaySettings>
|
||||
#include <osg/Node>
|
||||
#include <osg/State>
|
||||
#include <osgGA/EventQueue>
|
||||
#include <osgGA/GUIEventHandler>
|
||||
#include <osgGA/MatrixManipulator>
|
||||
#include <osgUtil/LineSegmentIntersector>
|
||||
#include <osgViewer/Scene>
|
||||
#include <osgViewer/View>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -22,7 +30,6 @@
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::EndOfDynamicDrawBlock)
|
||||
I_BaseType(osg::State::DynamicObjectRenderingCompletedCallback);
|
||||
I_BaseType(osg::State::DynamicObjectRenderingCompletedCallback);
|
||||
I_Constructor1(IN, unsigned, int,
|
||||
Properties::NON_EXPLICIT,
|
||||
@@ -30,37 +37,7 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::EndOfDynamicDrawBlock)
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, completed, IN, osg::State *, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__completed__osg_State_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, block,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__block,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__release,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumOfBlocks, IN, unsigned int, blockCount,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumOfBlocks__unsigned_int,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned, int,
|
||||
Properties::NON_EXPLICIT,
|
||||
____EndOfDynamicDrawBlock__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, completed, IN, osg::State *, state,
|
||||
Properties::NON_VIRTUAL,
|
||||
Properties::VIRTUAL,
|
||||
__void__completed__osg_State_P1,
|
||||
"",
|
||||
"");
|
||||
@@ -89,71 +66,174 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::EndOfDynamicDrawBlock)
|
||||
__void__setNumOfBlocks__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::EndOfDynamicDrawBlock)
|
||||
I_BaseType(osg::State::DynamicObjectRenderingCompletedCallback);
|
||||
I_BaseType(osg::State::DynamicObjectRenderingCompletedCallback);
|
||||
I_Constructor1(IN, unsigned, int,
|
||||
Properties::NON_EXPLICIT,
|
||||
____EndOfDynamicDrawBlock__unsigned,
|
||||
TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >, osgViewer::View::EventHandlers);
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::View)
|
||||
I_BaseType(osg::View);
|
||||
I_BaseType(osgGA::GUIActionAdapter);
|
||||
I_Constructor0(____View,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, completed, IN, osg::State *, state,
|
||||
I_Method0(osgViewer::Scene *, getScene,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__completed__osg_State_P1,
|
||||
__Scene_P1__getScene,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, block,
|
||||
I_Method0(const osgViewer::Scene *, getScene,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__block,
|
||||
__C5_Scene_P1__getScene,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
I_Method0(osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__release,
|
||||
__osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumOfBlocks, IN, unsigned int, blockCount,
|
||||
I_Method0(const osg::Node *, getSceneData,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumOfBlocks__unsigned_int,
|
||||
__C5_osg_Node_P1__getSceneData,
|
||||
"",
|
||||
"");
|
||||
I_Constructor1(IN, unsigned, int,
|
||||
Properties::NON_EXPLICIT,
|
||||
____EndOfDynamicDrawBlock__unsigned,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, completed, IN, osg::State *, state,
|
||||
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__completed__osg_State_P1,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, block,
|
||||
I_Method0(osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__block,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, reset,
|
||||
I_Method0(const osgGA::EventQueue *, getEventQueue,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__reset,
|
||||
__C5_osgGA_EventQueue_P1__getEventQueue,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, release,
|
||||
I_Method1(void, setCameraManipulator, IN, osgGA::MatrixManipulator *, manipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__release,
|
||||
__void__setCameraManipulator__osgGA_MatrixManipulator_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setNumOfBlocks, IN, unsigned int, blockCount,
|
||||
I_Method0(osgGA::MatrixManipulator *, getCameraManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setNumOfBlocks__unsigned_int,
|
||||
__osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(unsigned int, NumOfBlocks,
|
||||
I_Method0(const osgGA::MatrixManipulator *, getCameraManipulator,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, addEventHandler, IN, osgGA::GUIEventHandler *, eventHandler,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__addEventHandler__osgGA_GUIEventHandler_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osgViewer::View::EventHandlers &, getEventHandlers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__EventHandlers_R1__getEventHandlers,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osgViewer::View::EventHandlers &, getEventHandlers,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_EventHandlers_R1__getEventHandlers,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDisplaySettings__osg_DisplaySettings_P1,
|
||||
"Set the DsplaySettings object associated with this view. ",
|
||||
"");
|
||||
I_Method0(osg::DisplaySettings *, getDisplaySettings,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_DisplaySettings_P1__getDisplaySettings,
|
||||
"Set the DsplaySettings object associated with this view. ",
|
||||
"");
|
||||
I_Method0(const osg::DisplaySettings *, getDisplaySettings,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_DisplaySettings_P1__getDisplaySettings,
|
||||
"Set the DsplaySettings object associated with this view. ",
|
||||
"");
|
||||
I_Method0(void, setUpViewAcrossAllScreens,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpViewAcrossAllScreens,
|
||||
"Convinience method for creating slave Cameras and associated GraphicsWindows across all screens. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setUpViewOnSingleScreen, IN, unsigned int, screenNum, 0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpViewOnSingleScreen__unsigned_int,
|
||||
"Convinience method for a single Camara associated with a single full screen GraphicsWindow. ",
|
||||
"");
|
||||
I_Method1(bool, containsCamera, IN, const osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__containsCamera__C5_osg_Camera_P1,
|
||||
"Return true if this view contains a specified camera. ",
|
||||
"");
|
||||
I_Method4(const osg::Camera *, getCameraContainingPosition, IN, float, x, IN, float, y, IN, float &, local_x, IN, float &, local_y,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCameraContainingPosition__float__float__float_R1__float_R1,
|
||||
"Get the camera which contains the pointer position x,y specified master cameras window/eye coords. ",
|
||||
"Also passes back the local window coords for the graphics context associated with the camera passed back. ");
|
||||
I_MethodWithDefaults4(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, osgUtil::LineSegmentIntersector::Intersections &, intersections, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeIntersections__float__float__osgUtil_LineSegmentIntersector_Intersections_R1__osg_Node_NodeMask,
|
||||
"Compute intersections between a ray through the specified master cameras window/eye coords and a specified node. ",
|
||||
"Note, when a master cameras has slaves and no viewport itself its coordinate frame will be in clip space i.e. -1,-1 to 1,1, while if its has a viewport the coordintates will be relative to its viewport dimensions. Mouse events handled by the view will automatically be attached into the master camera window/clip coords so can be passed directly on to the computeIntersections method. ");
|
||||
I_MethodWithDefaults5(bool, computeIntersections, IN, float, x, , IN, float, y, , IN, osg::NodePath &, nodePath, , IN, osgUtil::LineSegmentIntersector::Intersections &, intersections, , IN, osg::Node::NodeMask, traversalMask, 0xffffffff,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__computeIntersections__float__float__osg_NodePath_R1__osgUtil_LineSegmentIntersector_Intersections_R1__osg_Node_NodeMask,
|
||||
"Compute intersections between a ray through the specified master cameras window/eye coords and a specified nodePath's subgraph. ",
|
||||
"");
|
||||
I_Method0(void, requestRedraw,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestRedraw,
|
||||
"requestRedraw() requests a single redraw. ",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, needed, true,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestContinuousUpdate__bool,
|
||||
"requestContinousUpdate(bool) is for en/disabling a throw or idle callback to be requested by a GUIEventHandler (typically a MatrixManipulator, though other GUIEventHandler's may also provide functionality). ",
|
||||
"GUI toolkits can respond to this immediately by registering an idle/timed callback, or can delay setting the callback and update at their own leisure.");
|
||||
I_Method2(void, requestWarpPointer, IN, float, x, IN, float, y,
|
||||
Properties::VIRTUAL,
|
||||
__void__requestWarpPointer__float__float,
|
||||
"requestWarpPointer(int,int) is requesting a repositioning of the mouse pointer to a specified x,y location on the window. ",
|
||||
"This is used by some camera manipulators to initialise the mouse pointer when mouse position relative to a controls neutral mouse position is required, i.e when mimicking a aircrafts joystick.");
|
||||
I_Method0(void, assignSceneDataToCameras,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__assignSceneDataToCameras,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, init,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__init,
|
||||
"",
|
||||
"");
|
||||
I_SimpleProperty(osgGA::MatrixManipulator *, CameraManipulator,
|
||||
__osgGA_MatrixManipulator_P1__getCameraManipulator,
|
||||
__void__setCameraManipulator__osgGA_MatrixManipulator_P1);
|
||||
I_SimpleProperty(osg::DisplaySettings *, DisplaySettings,
|
||||
__osg_DisplaySettings_P1__getDisplaySettings,
|
||||
__void__setDisplaySettings__osg_DisplaySettings_P1);
|
||||
I_SimpleProperty(osgViewer::View::EventHandlers &, EventHandlers,
|
||||
__EventHandlers_R1__getEventHandlers,
|
||||
0);
|
||||
I_SimpleProperty(osgGA::EventQueue *, EventQueue,
|
||||
__osgGA_EventQueue_P1__getEventQueue,
|
||||
__void__setEventQueue__osgGA_EventQueue_P1);
|
||||
I_SimpleProperty(osgViewer::Scene *, Scene,
|
||||
__Scene_P1__getScene,
|
||||
0);
|
||||
I_SimpleProperty(osg::Node *, SceneData,
|
||||
__osg_Node_P1__getSceneData,
|
||||
__void__setSceneData__osg_Node_P1);
|
||||
I_SimpleProperty(unsigned int, UpViewOnSingleScreen,
|
||||
0,
|
||||
__void__setNumOfBlocks__unsigned_int);
|
||||
__void__setUpViewOnSingleScreen__unsigned_int);
|
||||
END_REFLECTOR
|
||||
|
||||
|
||||
@@ -10,13 +10,12 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/.svn/text-base/GraphicsThread.svn-base>
|
||||
#include <osg/.svn/text-base/Node.svn-base>
|
||||
#include <osg/.svn/text-base/Timer.svn-base>
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/Camera>
|
||||
#include <osg/FrameStamp>
|
||||
#include <osgViewer/.svn/text-base/Viewer.svn-base>
|
||||
#include <osg/GraphicsThread>
|
||||
#include <osg/Node>
|
||||
#include <osg/Timer>
|
||||
#include <osgViewer/Viewer>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
@@ -52,220 +51,6 @@ END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::Viewer)
|
||||
I_BaseType(osgViewer::View);
|
||||
I_BaseType(osgViewer::View);
|
||||
I_Constructor0(____Viewer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isRealized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRealized,
|
||||
"Get whether at least of one of this viewers windows are realized. ",
|
||||
"");
|
||||
I_Method0(void, realize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__realize,
|
||||
"set up windows and associated threads. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__done,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTick, IN, osg::Timer_t, tick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTick__osg_Timer_t,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Timer_t, getStartTick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Timer_t__getStartTick,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setReferenceTime, IN, double, time, 0.0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadingModel, IN, osgViewer::Viewer::ThreadingModel, threadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThreadingModel__ThreadingModel,
|
||||
"Set the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method0(osgViewer::Viewer::ThreadingModel, getThreadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ThreadingModel__getThreadingModel,
|
||||
"Get the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method1(void, setUseMainThreadForRenderingTraversals, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseMainThreadForRenderingTraversals__bool,
|
||||
"Set whether the main thread, calling frame(), should be used for the rendering traversals. ",
|
||||
"");
|
||||
I_Method0(bool, getUseMainThreadForRenderingTraversals,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseMainThreadForRenderingTraversals,
|
||||
"Get whether the main thread, calling frame(), should be used for the rendering traversals. ",
|
||||
"");
|
||||
I_Method0(osgViewer::Viewer::ThreadingModel, suggestBestThreadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ThreadingModel__suggestBestThreadingModel,
|
||||
"Let the viewer suggest the best threading model for the viewers camera/window setup and the hardware available. ",
|
||||
"");
|
||||
I_Method1(void, setEndBarrierPosition, IN, osgViewer::Viewer::BarrierPosition, bp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndBarrierPosition__BarrierPosition,
|
||||
"Set the position of the end barrier. ",
|
||||
"AfterSwapBuffers will may result is slightly higher framerates, by may lead to inconcistent swapping between different windows. BeforeSwapBuffers may lead to slightly lower framerate, but improve consistency in timing of swap buffers, especially important if you are likely to consistently break frame. ");
|
||||
I_Method0(osgViewer::Viewer::BarrierPosition, getEndBarrierPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BarrierPosition__getEndBarrierPosition,
|
||||
"Get the end barrier position. ",
|
||||
"");
|
||||
I_Method1(void, setKeyEventSetsDone, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyEventSetsDone__int,
|
||||
"Set the key event that the viewer checks on each frame to see if the viewer's done flag should be set to signal end of viewers main loop. ",
|
||||
"Default value is Escape (osgGA::GUIEVentAdapter::KEY_Escape). Setting to 0 switches off the feature. ");
|
||||
I_Method0(int, getKeyEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getKeyEventSetsDone,
|
||||
"get the key event that the viewer checks on each frame to see if the viewer's done flag. ",
|
||||
"");
|
||||
I_Method1(void, setQuitEventSetsDone, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQuitEventSetsDone__bool,
|
||||
"if the flag is true, the viewer set its done flag when a QUIT_APPLICATION is received, false disables this feature ",
|
||||
"");
|
||||
I_Method0(bool, getQuitEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getQuitEventSetsDone,
|
||||
"",
|
||||
"true if the viewer respond to the QUIT_APPLICATION-event ");
|
||||
I_Method0(int, run,
|
||||
Properties::VIRTUAL,
|
||||
__int__run,
|
||||
"Execute a main frame loop. ",
|
||||
"Equivialant to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned.");
|
||||
I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Render a complete new frame. ",
|
||||
"Calls advance(), eventTraversal(), updateTraversal(), renderingTraversals(). ");
|
||||
I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__advance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, eventTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__eventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, renderingTraversals,
|
||||
Properties::VIRTUAL,
|
||||
__void__renderingTraversals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCameraWithFocus, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCameraWithFocus__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getContexts, IN, osgViewer::Viewer::Contexts &, contexts, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getContexts__Contexts_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getWindows, IN, osgViewer::Viewer::Windows &, windows, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getWindows__Windows_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getCameras, IN, osgViewer::Viewer::Cameras &, cameras, , IN, bool, onlyActive, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCameras__Cameras_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getAllThreads, IN, osgViewer::Viewer::Threads &, threads, , IN, bool, onlyActive, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getAllThreads__Threads_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getOperationsThreads, IN, osgViewer::Viewer::OperationsThreads &, threads, , IN, bool, onlyActive, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getOperationsThreads__OperationsThreads_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRealizeOperation, IN, osg::Operation *, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRealizeOperation__osg_Operation_P1,
|
||||
"Set the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(osg::Operation *, getRealizeOperation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Operation_P1__getRealizeOperation,
|
||||
"Get the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(void, setUpThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpThreading,
|
||||
"Set up the threading and processor affinity as per the viewers threading model. ",
|
||||
"");
|
||||
I_Method0(void, stopThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__stopThreading,
|
||||
"Stop any threads begin run by viewer. ",
|
||||
"");
|
||||
I_Method0(void, startThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__startThreading,
|
||||
"Start any threads required by the viewer. ",
|
||||
"");
|
||||
I_Method0(void, setUpRenderingSupport,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpRenderingSupport,
|
||||
"Set up the Operations to render the various viewer cameras on the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this viewer. ",
|
||||
"");
|
||||
I_Constructor0(____Viewer,
|
||||
"",
|
||||
"");
|
||||
@@ -517,493 +302,9 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::Viewer)
|
||||
__void__setUseMainThreadForRenderingTraversals__bool);
|
||||
END_REFLECTOR
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::GraphicsContext * >, osgViewer::Viewer::Contexts);
|
||||
STD_VECTOR_REFLECTOR(std::vector< OpenThreads::Thread * >);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osgViewer::GraphicsWindow * >, osgViewer::Viewer::Windows);
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::Camera * >);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::Camera * >, osgViewer::Viewer::Cameras);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< OpenThreads::Thread * >, osgViewer::Viewer::Threads);
|
||||
|
||||
TYPE_NAME_ALIAS(std::vector< osg::OperationsThread * >, osgViewer::Viewer::OperationsThreads);
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgViewer::Viewer::ThreadingModel)
|
||||
I_EnumLabel(osgViewer::Viewer::SingleThreaded);
|
||||
I_EnumLabel(osgViewer::Viewer::CullDrawThreadPerContext);
|
||||
I_EnumLabel(osgViewer::Viewer::DrawThreadPerContext);
|
||||
I_EnumLabel(osgViewer::Viewer::CullThreadPerCameraDrawThreadPerContext);
|
||||
I_EnumLabel(osgViewer::Viewer::AutomaticSelection);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_ENUM_REFLECTOR(osgViewer::Viewer::BarrierPosition)
|
||||
I_EnumLabel(osgViewer::Viewer::BeforeSwapBuffers);
|
||||
I_EnumLabel(osgViewer::Viewer::AfterSwapBuffers);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::Viewer)
|
||||
I_BaseType(osgViewer::View);
|
||||
I_BaseType(osgViewer::View);
|
||||
I_Constructor0(____Viewer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isRealized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRealized,
|
||||
"Get whether at least of one of this viewers windows are realized. ",
|
||||
"");
|
||||
I_Method0(void, realize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__realize,
|
||||
"set up windows and associated threads. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__done,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTick, IN, osg::Timer_t, tick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTick__osg_Timer_t,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Timer_t, getStartTick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Timer_t__getStartTick,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setReferenceTime, IN, double, time, 0.0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadingModel, IN, osgViewer::Viewer::ThreadingModel, threadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThreadingModel__ThreadingModel,
|
||||
"Set the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method0(osgViewer::Viewer::ThreadingModel, getThreadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ThreadingModel__getThreadingModel,
|
||||
"Get the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method1(void, setUseMainThreadForRenderingTraversals, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseMainThreadForRenderingTraversals__bool,
|
||||
"Set whether the main thread, calling frame(), should be used for the rendering traversals. ",
|
||||
"");
|
||||
I_Method0(bool, getUseMainThreadForRenderingTraversals,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseMainThreadForRenderingTraversals,
|
||||
"Get whether the main thread, calling frame(), should be used for the rendering traversals. ",
|
||||
"");
|
||||
I_Method0(osgViewer::Viewer::ThreadingModel, suggestBestThreadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ThreadingModel__suggestBestThreadingModel,
|
||||
"Let the viewer suggest the best threading model for the viewers camera/window setup and the hardware available. ",
|
||||
"");
|
||||
I_Method1(void, setEndBarrierPosition, IN, osgViewer::Viewer::BarrierPosition, bp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndBarrierPosition__BarrierPosition,
|
||||
"Set the position of the end barrier. ",
|
||||
"AfterSwapBuffers will may result is slightly higher framerates, by may lead to inconcistent swapping between different windows. BeforeSwapBuffers may lead to slightly lower framerate, but improve consistency in timing of swap buffers, especially important if you are likely to consistently break frame. ");
|
||||
I_Method0(osgViewer::Viewer::BarrierPosition, getEndBarrierPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BarrierPosition__getEndBarrierPosition,
|
||||
"Get the end barrier position. ",
|
||||
"");
|
||||
I_Method1(void, setKeyEventSetsDone, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyEventSetsDone__int,
|
||||
"Set the key event that the viewer checks on each frame to see if the viewer's done flag should be set to signal end of viewers main loop. ",
|
||||
"Default value is Escape (osgGA::GUIEVentAdapter::KEY_Escape). Setting to 0 switches off the feature. ");
|
||||
I_Method0(int, getKeyEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getKeyEventSetsDone,
|
||||
"get the key event that the viewer checks on each frame to see if the viewer's done flag. ",
|
||||
"");
|
||||
I_Method1(void, setQuitEventSetsDone, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQuitEventSetsDone__bool,
|
||||
"if the flag is true, the viewer set its done flag when a QUIT_APPLICATION is received, false disables this feature ",
|
||||
"");
|
||||
I_Method0(bool, getQuitEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getQuitEventSetsDone,
|
||||
"",
|
||||
"true if the viewer respond to the QUIT_APPLICATION-event ");
|
||||
I_Method0(int, run,
|
||||
Properties::VIRTUAL,
|
||||
__int__run,
|
||||
"Execute a main frame loop. ",
|
||||
"Equivialant to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned.");
|
||||
I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Render a complete new frame. ",
|
||||
"Calls advance(), eventTraversal(), updateTraversal(), renderingTraversals(). ");
|
||||
I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__advance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, eventTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__eventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, renderingTraversals,
|
||||
Properties::VIRTUAL,
|
||||
__void__renderingTraversals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCameraWithFocus, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCameraWithFocus__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getContexts, IN, osgViewer::Viewer::Contexts &, contexts, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getContexts__Contexts_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getWindows, IN, osgViewer::Viewer::Windows &, windows, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getWindows__Windows_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getCameras, IN, osgViewer::Viewer::Cameras &, cameras, , IN, bool, onlyActive, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCameras__Cameras_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getAllThreads, IN, osgViewer::Viewer::Threads &, threads, , IN, bool, onlyActive, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getAllThreads__Threads_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getOperationsThreads, IN, osgViewer::Viewer::OperationsThreads &, threads, , IN, bool, onlyActive, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getOperationsThreads__OperationsThreads_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRealizeOperation, IN, osg::Operation *, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRealizeOperation__osg_Operation_P1,
|
||||
"Set the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(osg::Operation *, getRealizeOperation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Operation_P1__getRealizeOperation,
|
||||
"Get the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(void, setUpThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpThreading,
|
||||
"Set up the threading and processor affinity as per the viewers threading model. ",
|
||||
"");
|
||||
I_Method0(void, stopThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__stopThreading,
|
||||
"Stop any threads begin run by viewer. ",
|
||||
"");
|
||||
I_Method0(void, startThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__startThreading,
|
||||
"Start any threads required by the viewer. ",
|
||||
"");
|
||||
I_Method0(void, setUpRenderingSupport,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpRenderingSupport,
|
||||
"Set up the Operations to render the various viewer cameras on the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this viewer. ",
|
||||
"");
|
||||
I_Constructor0(____Viewer,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, isRealized,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__isRealized,
|
||||
"Get whether at least of one of this viewers windows are realized. ",
|
||||
"");
|
||||
I_Method0(void, realize,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__realize,
|
||||
"set up windows and associated threads. ",
|
||||
"");
|
||||
I_Method1(void, setDone, IN, bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setDone__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method0(bool, done,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__done,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setStartTick, IN, osg::Timer_t, tick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setStartTick__osg_Timer_t,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Timer_t, getStartTick,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Timer_t__getStartTick,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults1(void, setReferenceTime, IN, double, time, 0.0,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setReferenceTime__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::FrameStamp *, getFrameStamp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_FrameStamp_P1__getFrameStamp,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setSceneData, IN, osg::Node *, node,
|
||||
Properties::VIRTUAL,
|
||||
__void__setSceneData__osg_Node_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setThreadingModel, IN, osgViewer::Viewer::ThreadingModel, threadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setThreadingModel__ThreadingModel,
|
||||
"Set the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method0(osgViewer::Viewer::ThreadingModel, getThreadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ThreadingModel__getThreadingModel,
|
||||
"Get the threading model the rendering traversals will use. ",
|
||||
"");
|
||||
I_Method1(void, setUseMainThreadForRenderingTraversals, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUseMainThreadForRenderingTraversals__bool,
|
||||
"Set whether the main thread, calling frame(), should be used for the rendering traversals. ",
|
||||
"");
|
||||
I_Method0(bool, getUseMainThreadForRenderingTraversals,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getUseMainThreadForRenderingTraversals,
|
||||
"Get whether the main thread, calling frame(), should be used for the rendering traversals. ",
|
||||
"");
|
||||
I_Method0(osgViewer::Viewer::ThreadingModel, suggestBestThreadingModel,
|
||||
Properties::NON_VIRTUAL,
|
||||
__ThreadingModel__suggestBestThreadingModel,
|
||||
"Let the viewer suggest the best threading model for the viewers camera/window setup and the hardware available. ",
|
||||
"");
|
||||
I_Method1(void, setEndBarrierPosition, IN, osgViewer::Viewer::BarrierPosition, bp,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setEndBarrierPosition__BarrierPosition,
|
||||
"Set the position of the end barrier. ",
|
||||
"AfterSwapBuffers will may result is slightly higher framerates, by may lead to inconcistent swapping between different windows. BeforeSwapBuffers may lead to slightly lower framerate, but improve consistency in timing of swap buffers, especially important if you are likely to consistently break frame. ");
|
||||
I_Method0(osgViewer::Viewer::BarrierPosition, getEndBarrierPosition,
|
||||
Properties::NON_VIRTUAL,
|
||||
__BarrierPosition__getEndBarrierPosition,
|
||||
"Get the end barrier position. ",
|
||||
"");
|
||||
I_Method1(void, setKeyEventSetsDone, IN, int, key,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setKeyEventSetsDone__int,
|
||||
"Set the key event that the viewer checks on each frame to see if the viewer's done flag should be set to signal end of viewers main loop. ",
|
||||
"Default value is Escape (osgGA::GUIEVentAdapter::KEY_Escape). Setting to 0 switches off the feature. ");
|
||||
I_Method0(int, getKeyEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__int__getKeyEventSetsDone,
|
||||
"get the key event that the viewer checks on each frame to see if the viewer's done flag. ",
|
||||
"");
|
||||
I_Method1(void, setQuitEventSetsDone, IN, bool, flag,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setQuitEventSetsDone__bool,
|
||||
"if the flag is true, the viewer set its done flag when a QUIT_APPLICATION is received, false disables this feature ",
|
||||
"");
|
||||
I_Method0(bool, getQuitEventSetsDone,
|
||||
Properties::NON_VIRTUAL,
|
||||
__bool__getQuitEventSetsDone,
|
||||
"",
|
||||
"true if the viewer respond to the QUIT_APPLICATION-event ");
|
||||
I_Method0(int, run,
|
||||
Properties::VIRTUAL,
|
||||
__int__run,
|
||||
"Execute a main frame loop. ",
|
||||
"Equivialant to while (!viewer.done()) viewer.frame(); Also calls realize() if the viewer is not already realized, and installs trackball manipulator if one is not already assigned.");
|
||||
I_MethodWithDefaults1(void, frame, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__frame__double,
|
||||
"Render a complete new frame. ",
|
||||
"Calls advance(), eventTraversal(), updateTraversal(), renderingTraversals(). ");
|
||||
I_MethodWithDefaults1(void, advance, IN, double, simulationTime, USE_REFERENCE_TIME,
|
||||
Properties::VIRTUAL,
|
||||
__void__advance__double,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, eventTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__eventTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, updateTraversal,
|
||||
Properties::VIRTUAL,
|
||||
__void__updateTraversal,
|
||||
"",
|
||||
"");
|
||||
I_Method0(void, renderingTraversals,
|
||||
Properties::VIRTUAL,
|
||||
__void__renderingTraversals,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setCameraWithFocus, IN, osg::Camera *, camera,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setCameraWithFocus__osg_Camera_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::Camera *, getCameraWithFocus,
|
||||
Properties::NON_VIRTUAL,
|
||||
__C5_osg_Camera_P1__getCameraWithFocus,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getContexts, IN, osgViewer::Viewer::Contexts &, contexts, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getContexts__Contexts_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getWindows, IN, osgViewer::Viewer::Windows &, windows, , IN, bool, onlyValid, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getWindows__Windows_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getCameras, IN, osgViewer::Viewer::Cameras &, cameras, , IN, bool, onlyActive, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getCameras__Cameras_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getAllThreads, IN, osgViewer::Viewer::Threads &, threads, , IN, bool, onlyActive, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getAllThreads__Threads_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_MethodWithDefaults2(void, getOperationsThreads, IN, osgViewer::Viewer::OperationsThreads &, threads, , IN, bool, onlyActive, true,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__getOperationsThreads__OperationsThreads_R1__bool,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setRealizeOperation, IN, osg::Operation *, op,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setRealizeOperation__osg_Operation_P1,
|
||||
"Set the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(osg::Operation *, getRealizeOperation,
|
||||
Properties::NON_VIRTUAL,
|
||||
__osg_Operation_P1__getRealizeOperation,
|
||||
"Get the graphics operation to call on realization of the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method0(void, setUpThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpThreading,
|
||||
"Set up the threading and processor affinity as per the viewers threading model. ",
|
||||
"");
|
||||
I_Method0(void, stopThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__stopThreading,
|
||||
"Stop any threads begin run by viewer. ",
|
||||
"");
|
||||
I_Method0(void, startThreading,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__startThreading,
|
||||
"Start any threads required by the viewer. ",
|
||||
"");
|
||||
I_Method0(void, setUpRenderingSupport,
|
||||
Properties::NON_VIRTUAL,
|
||||
__void__setUpRenderingSupport,
|
||||
"Set up the Operations to render the various viewer cameras on the viewers graphics windows. ",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
Properties::VIRTUAL,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this viewer. ",
|
||||
"");
|
||||
I_SimpleProperty(osg::Camera *, CameraWithFocus,
|
||||
__osg_Camera_P1__getCameraWithFocus,
|
||||
__void__setCameraWithFocus__osg_Camera_P1);
|
||||
I_SimpleProperty(bool, Done,
|
||||
0,
|
||||
__void__setDone__bool);
|
||||
I_SimpleProperty(osgViewer::Viewer::BarrierPosition, EndBarrierPosition,
|
||||
__BarrierPosition__getEndBarrierPosition,
|
||||
__void__setEndBarrierPosition__BarrierPosition);
|
||||
I_SimpleProperty(osg::FrameStamp *, FrameStamp,
|
||||
__osg_FrameStamp_P1__getFrameStamp,
|
||||
0);
|
||||
I_SimpleProperty(int, KeyEventSetsDone,
|
||||
__int__getKeyEventSetsDone,
|
||||
__void__setKeyEventSetsDone__int);
|
||||
I_SimpleProperty(bool, QuitEventSetsDone,
|
||||
__bool__getQuitEventSetsDone,
|
||||
__void__setQuitEventSetsDone__bool);
|
||||
I_SimpleProperty(osg::Operation *, RealizeOperation,
|
||||
__osg_Operation_P1__getRealizeOperation,
|
||||
__void__setRealizeOperation__osg_Operation_P1);
|
||||
I_SimpleProperty(double, ReferenceTime,
|
||||
0,
|
||||
__void__setReferenceTime__double);
|
||||
I_SimpleProperty(osg::Node *, SceneData,
|
||||
0,
|
||||
__void__setSceneData__osg_Node_P1);
|
||||
I_SimpleProperty(osg::Timer_t, StartTick,
|
||||
__osg_Timer_t__getStartTick,
|
||||
__void__setStartTick__osg_Timer_t);
|
||||
I_SimpleProperty(osgViewer::Viewer::ThreadingModel, ThreadingModel,
|
||||
__ThreadingModel__getThreadingModel,
|
||||
__void__setThreadingModel__ThreadingModel);
|
||||
I_SimpleProperty(bool, UseMainThreadForRenderingTraversals,
|
||||
__bool__getUseMainThreadForRenderingTraversals,
|
||||
__void__setUseMainThreadForRenderingTraversals__bool);
|
||||
END_REFLECTOR
|
||||
STD_VECTOR_REFLECTOR(std::vector< osg::OperationsThread * >);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user