Tweaked the wrapping of osgViewer::Scene to fix build problems

This commit is contained in:
Robert Osfield 2007-09-26 11:32:51 +00:00
parent bfbc73785a
commit dcd7fd837f
3 changed files with 29 additions and 4 deletions

View File

@ -41,8 +41,8 @@ end
ignore file "osgViewer/api/X11/GraphicsWindowX11"
ignore file "osgViewer/api/Win32/GraphicsWindowWin32"
ignore file "osgViewer/api/Cocoa/GraphicsWindowCocoa"
ignore file "osgViewer/Scene"
suppress reflector "osgViewer::Scene"
suppress reflector "CPluginFunction"
suppress reflector "PluginFunctionProxy"

View File

@ -0,0 +1,24 @@
// ***************************************************************************
//
// Generated automatically by genwrapper.
// Please DO NOT EDIT this file!
//
// ***************************************************************************
#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>
#include <osg/Node>
#include <osgDB/DatabasePager>
#include <osgViewer/Scene>
// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif

View File

@ -25,6 +25,7 @@
#include <osgGA/MatrixManipulator>
#include <osgUtil/LineSegmentIntersector>
#include <osgUtil/SceneView>
#include <osgViewer/Scene>
#include <osgViewer/View>
// Must undefine IN and OUT macros defined in Windows headers
@ -103,12 +104,12 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View)
__C5_osg_FrameStamp_P1__getFrameStamp,
"",
"");
I_Method0(Scene *, getScene,
I_Method0(osgViewer::Scene *, getScene,
Properties::NON_VIRTUAL,
__Scene_P1__getScene,
"",
"");
I_Method0(const Scene *, getScene,
I_Method0(const osgViewer::Scene *, getScene,
Properties::NON_VIRTUAL,
__C5_Scene_P1__getScene,
"",
@ -341,7 +342,7 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View)
I_SimpleProperty(float, FusionDistanceValue,
__float__getFusionDistanceValue,
0);
I_SimpleProperty(Scene *, Scene,
I_SimpleProperty(osgViewer::Scene *, Scene,
__Scene_P1__getScene,
0);
I_SimpleProperty(osg::Node *, SceneData,