Files
OpenSceneGraph/src/osgWrappers/osgWidget/ViewerEventHandlers.cpp
Robert Osfield 6ce7cc9d6a Updated wrappers
2009-02-11 20:19:48 +00:00

137 lines
6.0 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/Camera>
#include <osg/NodeVisitor>
#include <osg/Object>
#include <osgGA/GUIActionAdapter>
#include <osgGA/GUIEventAdapter>
#include <osgWidget/ViewerEventHandlers>
#include <osgWidget/WindowManager>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif
BEGIN_OBJECT_REFLECTOR(osgWidget::CameraSwitchHandler)
I_DeclaringFile("osgWidget/ViewerEventHandlers");
I_BaseType(osgGA::GUIEventHandler);
I_Constructor2(IN, osgWidget::WindowManager *, x, IN, osg::Camera *, x,
____CameraSwitchHandler__WindowManager_P1__osg_Camera_P1,
"",
"");
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
"Handle events, return true if handled, false otherwise. ",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgWidget::KeyboardHandler)
I_DeclaringFile("osgWidget/ViewerEventHandlers");
I_BaseType(osgGA::GUIEventHandler);
I_Constructor1(IN, osgWidget::WindowManager *, x,
Properties::NON_EXPLICIT,
____KeyboardHandler__WindowManager_P1,
"",
"");
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
"Handle events, return true if handled, false otherwise. ",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgWidget::MouseHandler)
I_DeclaringFile("osgWidget/ViewerEventHandlers");
I_BaseType(osgGA::GUIEventHandler);
I_Constructor1(IN, osgWidget::WindowManager *, x,
Properties::NON_EXPLICIT,
____MouseHandler__WindowManager_P1,
"",
"");
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
"Handle events, return true if handled, false otherwise. ",
"");
I_ProtectedMethod3(bool, _handleMousePush, IN, float, x, IN, float, x, IN, int, x,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__bool___handleMousePush__float__float__int,
"",
"");
I_ProtectedMethod3(bool, _handleMouseRelease, IN, float, x, IN, float, x, IN, int, x,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__bool___handleMouseRelease__float__float__int,
"",
"");
I_ProtectedMethod3(bool, _handleMouseDoubleClick, IN, float, x, IN, float, x, IN, int, x,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__bool___handleMouseDoubleClick__float__float__int,
"",
"");
I_ProtectedMethod3(bool, _handleMouseDrag, IN, float, x, IN, float, x, IN, int, x,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__bool___handleMouseDrag__float__float__int,
"",
"");
I_ProtectedMethod3(bool, _handleMouseMove, IN, float, x, IN, float, x, IN, int, x,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__bool___handleMouseMove__float__float__int,
"",
"");
I_ProtectedMethod3(bool, _handleMouseScroll, IN, float, x, IN, float, x, IN, int, x,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__bool___handleMouseScroll__float__float__int,
"",
"");
I_ProtectedMethod1(osgWidget::MouseHandler::MouseAction, _isMouseEvent, IN, osgGA::GUIEventAdapter::EventType, x,
Properties::NON_VIRTUAL,
Properties::CONST,
__MouseAction___isMouseEvent__osgGA_GUIEventAdapter_EventType,
"",
"");
I_ProtectedMethod3(bool, _doMouseEvent, IN, float, x, IN, float, x, IN, osgWidget::MouseHandler::MouseEvent, x,
Properties::NON_VIRTUAL,
Properties::NON_CONST,
__bool___doMouseEvent__float__float__MouseEvent,
"",
"");
END_REFLECTOR
BEGIN_OBJECT_REFLECTOR(osgWidget::ResizeHandler)
I_DeclaringFile("osgWidget/ViewerEventHandlers");
I_BaseType(osgGA::GUIEventHandler);
I_ConstructorWithDefaults2(IN, osgWidget::WindowManager *, x, , IN, osg::Camera *, x, 0,
____ResizeHandler__WindowManager_P1__osg_Camera_P1,
"",
"");
I_Method4(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa, IN, osg::Object *, x, IN, osg::NodeVisitor *, x,
Properties::VIRTUAL,
__bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1,
"Handle events, return true if handled, false otherwise. ",
"");
END_REFLECTOR