Updated wrappers
This commit is contained in:
@@ -103,6 +103,10 @@ SOURCE=..\..\..\src\osgWrappers\osgViewer\CompositeViewer.cpp
|
||||
SOURCE=..\..\..\src\osgWrappers\osgViewer\GraphicsWindow.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgViewer\HelpHandler.cpp
|
||||
# End Source File
|
||||
|
||||
# Begin Source File
|
||||
SOURCE=..\..\..\src\osgWrappers\osgViewer\Scene.cpp
|
||||
# End Source File
|
||||
|
||||
@@ -28,7 +28,8 @@ BEGIN_ENUM_REFLECTOR(osg::ApplicationUsage::Type)
|
||||
I_EnumLabel(osg::ApplicationUsage::KEYBOARD_MOUSE_BINDING);
|
||||
END_REFLECTOR
|
||||
|
||||
BEGIN_VALUE_REFLECTOR(osg::ApplicationUsage)
|
||||
BEGIN_OBJECT_REFLECTOR(osg::ApplicationUsage)
|
||||
I_BaseType(osg::Referenced);
|
||||
I_Constructor0(____ApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
|
||||
@@ -4,6 +4,7 @@ include $(TOPDIR)/Make/makedefs
|
||||
CXXFILES =\
|
||||
CompositeViewer.cpp\
|
||||
GraphicsWindow.cpp\
|
||||
HelpHandler.cpp\
|
||||
Scene.cpp\
|
||||
SimpleViewer.cpp\
|
||||
StatsHandler.cpp\
|
||||
|
||||
67
src/osgWrappers/osgViewer/HelpHandler.cpp
Normal file
67
src/osgWrappers/osgViewer/HelpHandler.cpp
Normal file
@@ -0,0 +1,67 @@
|
||||
// ***************************************************************************
|
||||
//
|
||||
// Generated automatically by genwrapper.
|
||||
// Please DO NOT EDIT this file!
|
||||
//
|
||||
// ***************************************************************************
|
||||
|
||||
#include <osgIntrospection/ReflectionMacros>
|
||||
#include <osgIntrospection/TypedMethodInfo>
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgViewer/HelpHandler>
|
||||
|
||||
// Must undefine IN and OUT macros defined in Windows headers
|
||||
#ifdef IN
|
||||
#undef IN
|
||||
#endif
|
||||
#ifdef OUT
|
||||
#undef OUT
|
||||
#endif
|
||||
|
||||
BEGIN_OBJECT_REFLECTOR(osgViewer::HelpHandler)
|
||||
I_BaseType(osgGA::GUIEventHandler);
|
||||
I_ConstructorWithDefaults1(IN, osg::ApplicationUsage *, au, 0,
|
||||
____HelpHandler__osg_ApplicationUsage_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setApplicationUsage, IN, osg::ApplicationUsage *, au,
|
||||
__void__setApplicationUsage__osg_ApplicationUsage_P1,
|
||||
"",
|
||||
"");
|
||||
I_Method0(osg::ApplicationUsage *, getApplicationUsage,
|
||||
__osg_ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method0(const osg::ApplicationUsage *, getApplicationUsage,
|
||||
__C5_osg_ApplicationUsage_P1__getApplicationUsage,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, setKeyEventTogglesOnScreenHelp, IN, int, key,
|
||||
__void__setKeyEventTogglesOnScreenHelp__int,
|
||||
"",
|
||||
"");
|
||||
I_Method0(int, getKeyEventTogglesOnScreenHelp,
|
||||
__int__getKeyEventTogglesOnScreenHelp,
|
||||
"",
|
||||
"");
|
||||
I_Method2(bool, handle, IN, const osgGA::GUIEventAdapter &, ea, IN, osgGA::GUIActionAdapter &, aa,
|
||||
__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,
|
||||
__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
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osgGA/GUIActionAdapter>
|
||||
#include <osgGA/GUIEventAdapter>
|
||||
#include <osgViewer/StatsHandler>
|
||||
@@ -59,6 +60,10 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::StatsHandler)
|
||||
__double__getBlockMultiplier,
|
||||
"",
|
||||
"");
|
||||
I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage,
|
||||
__void__getUsage__osg_ApplicationUsage_R1,
|
||||
"Get the keyboard and mouse usage of this manipulator. ",
|
||||
"");
|
||||
I_SimpleProperty(double, BlockMultiplier,
|
||||
__double__getBlockMultiplier,
|
||||
0);
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <osgIntrospection/StaticMethodInfo>
|
||||
#include <osgIntrospection/Attributes>
|
||||
|
||||
#include <osg/ApplicationUsage>
|
||||
#include <osg/Camera>
|
||||
#include <osg/FrameStamp>
|
||||
#include <osg/GraphicsThread>
|
||||
@@ -221,6 +222,10 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::Viewer)
|
||||
__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,
|
||||
__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);
|
||||
|
||||
Reference in New Issue
Block a user