Updated wrappers

This commit is contained in:
Robert Osfield
2007-01-05 17:21:35 +00:00
parent 9a4209c61b
commit 2913cb9422
25 changed files with 328 additions and 89 deletions

View File

@@ -28,6 +28,7 @@ TYPE_NAME_ALIAS(std::list< osg::ref_ptr< osgGA::GUIEventHandler > >, osgViewer::
BEGIN_OBJECT_REFLECTOR(osgViewer::View)
I_BaseType(osg::View);
I_BaseType(osgGA::GUIActionAdapter);
I_Constructor0(____View,
"",
"");
@@ -83,10 +84,18 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View)
__void__setUpViewAcrossAllScreens,
"Convinience method for creating slave Cameras and associated GraphicsWindows across all screens. ",
"");
I_Method0(void, setUpRenderingSupport,
__void__setUpRenderingSupport,
"",
I_Method0(void, requestRedraw,
__void__requestRedraw,
"requestRedraw() requests a single redraw. ",
"");
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, needed, true,
__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,
__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,
__void__assignSceneDataToCameras,
"",