119 lines
5.5 KiB
C++
119 lines
5.5 KiB
C++
// ***************************************************************************
|
|
//
|
|
// Generated automatically by genwrapper.
|
|
// Please DO NOT EDIT this file!
|
|
//
|
|
// ***************************************************************************
|
|
|
|
#include <osgIntrospection/ReflectionMacros>
|
|
#include <osgIntrospection/TypedMethodInfo>
|
|
#include <osgIntrospection/StaticMethodInfo>
|
|
#include <osgIntrospection/Attributes>
|
|
|
|
#include <osg/GraphicsContext>
|
|
#include <osgGA/EventQueue>
|
|
#include <osgViewer/GraphicsWindow>
|
|
|
|
// Must undefine IN and OUT macros defined in Windows headers
|
|
#ifdef IN
|
|
#undef IN
|
|
#endif
|
|
#ifdef OUT
|
|
#undef OUT
|
|
#endif
|
|
|
|
BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindow)
|
|
I_BaseType(osg::GraphicsContext);
|
|
I_BaseType(osgGA::GUIActionAdapter);
|
|
I_Constructor0(____GraphicsWindow,
|
|
"",
|
|
"");
|
|
I_Method1(void, setEventQueue, IN, osgGA::EventQueue *, eventQueue,
|
|
__void__setEventQueue__osgGA_EventQueue_P1,
|
|
"",
|
|
"");
|
|
I_Method0(osgGA::EventQueue *, getEventQueue,
|
|
__osgGA_EventQueue_P1__getEventQueue,
|
|
"",
|
|
"");
|
|
I_Method0(const osgGA::EventQueue *, getEventQueue,
|
|
__C5_osgGA_EventQueue_P1__getEventQueue,
|
|
"",
|
|
"");
|
|
I_Method0(void, checkEvents,
|
|
__void__checkEvents,
|
|
"",
|
|
"");
|
|
I_Method1(void, setWindowDecoration, IN, bool, x,
|
|
__void__setWindowDecoration__bool,
|
|
"Set Window decoration. ",
|
|
"");
|
|
I_Method0(void, grabFocus,
|
|
__void__grabFocus,
|
|
"Get focus. ",
|
|
"");
|
|
I_Method0(void, grabFocusIfPointerInWindow,
|
|
__void__grabFocusIfPointerInWindow,
|
|
"Get focus on if the pointer is in this window. ",
|
|
"");
|
|
I_Method1(void, useCursor, IN, bool, x,
|
|
__void__useCursor__bool,
|
|
"Switch on/off the cursor. ",
|
|
"");
|
|
I_Method0(bool, valid,
|
|
__bool__valid,
|
|
"Return whether a valid and usable GraphicsContext has been created. ",
|
|
"");
|
|
I_Method0(bool, realizeImplementation,
|
|
__bool__realizeImplementation,
|
|
"Realise the GraphicsContext implementation, Pure virtual - must be implemented by concrate implementations of GraphicsContext. ",
|
|
"");
|
|
I_Method0(bool, isRealizedImplementation,
|
|
__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,
|
|
__void__closeImplementation,
|
|
"Close the graphics context implementation. ",
|
|
"Pure virtual - must be implemented by concrate implementations of GraphicsContext. ");
|
|
I_Method0(bool, makeCurrentImplementation,
|
|
__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,
|
|
__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,
|
|
__bool__releaseContextImplementation,
|
|
"Release the graphics context. ",
|
|
"");
|
|
I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, x,
|
|
__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,
|
|
__void__swapBuffersImplementation,
|
|
"Swap the front and back buffers implementation. ",
|
|
"Pure virtual - must be implemented by Concrate implementations of GraphicsContext. ");
|
|
I_Method0(void, requestRedraw,
|
|
__void__requestRedraw,
|
|
"requestRedraw() requests a single redraw. ",
|
|
"");
|
|
I_MethodWithDefaults1(void, requestContinuousUpdate, IN, bool, x, 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, x,
|
|
__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);
|
|
I_SimpleProperty(bool, WindowDecoration,
|
|
0,
|
|
__void__setWindowDecoration__bool);
|
|
END_REFLECTOR
|
|
|