Updated wrappers

This commit is contained in:
Robert Osfield
2007-12-11 17:01:53 +00:00
parent 32e520d5a1
commit 4ab22a405b
2 changed files with 19 additions and 19 deletions

View File

@@ -12,6 +12,7 @@
#include <osg/Camera>
#include <osg/CopyOp>
#include <osg/FrameStamp>
#include <osg/Light>
#include <osg/Matrix>
#include <osg/Matrixd>
@@ -113,6 +114,21 @@ BEGIN_OBJECT_REFLECTOR(osg::View)
__C5_osg_Camera_P1__getCamera,
"Get the const master camera of the view. ",
"");
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,
Properties::NON_VIRTUAL,
__void__setFrameStamp__osg_FrameStamp_P1,
"Set the frame stamp of the view. ",
"");
I_Method0(osg::FrameStamp *, getFrameStamp,
Properties::NON_VIRTUAL,
__osg_FrameStamp_P1__getFrameStamp,
"Get the frame stamp of the view. ",
"");
I_Method0(const osg::FrameStamp *, getFrameStamp,
Properties::NON_VIRTUAL,
__C5_osg_FrameStamp_P1__getFrameStamp,
"Get the frame stamp of the view. ",
"");
I_MethodWithDefaults2(bool, addSlave, IN, osg::Camera *, camera, , IN, bool, useMastersSceneData, true,
Properties::NON_VIRTUAL,
__bool__addSlave__osg_Camera_P1__bool,
@@ -172,6 +188,9 @@ BEGIN_OBJECT_REFLECTOR(osg::View)
I_SimpleProperty(osg::Camera *, Camera,
__osg_Camera_P1__getCamera,
__void__setCamera__osg_Camera_P1);
I_SimpleProperty(osg::FrameStamp *, FrameStamp,
__osg_FrameStamp_P1__getFrameStamp,
__void__setFrameStamp__osg_FrameStamp_P1);
I_SimpleProperty(osg::Light *, Light,
__osg_Light_P1__getLight,
__void__setLight__osg_Light_P1);

View File

@@ -13,7 +13,6 @@
#include <osg/Camera>
#include <osg/CopyOp>
#include <osg/DisplaySettings>
#include <osg/FrameStamp>
#include <osg/Image>
#include <osg/Node>
#include <osg/Object>
@@ -100,21 +99,6 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View)
__osg_Timer_t__getStartTick,
"",
"");
I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs,
Properties::NON_VIRTUAL,
__void__setFrameStamp__osg_FrameStamp_P1,
"",
"");
I_Method0(osg::FrameStamp *, getFrameStamp,
Properties::NON_VIRTUAL,
__osg_FrameStamp_P1__getFrameStamp,
"",
"");
I_Method0(const osg::FrameStamp *, getFrameStamp,
Properties::NON_VIRTUAL,
__C5_osg_FrameStamp_P1__getFrameStamp,
"",
"");
I_Method0(osgViewer::Scene *, getScene,
Properties::NON_VIRTUAL,
__Scene_P1__getScene,
@@ -344,9 +328,6 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View)
I_SimpleProperty(osgGA::EventQueue *, EventQueue,
__osgGA_EventQueue_P1__getEventQueue,
__void__setEventQueue__osgGA_EventQueue_P1);
I_SimpleProperty(osg::FrameStamp *, FrameStamp,
__osg_FrameStamp_P1__getFrameStamp,
__void__setFrameStamp__osg_FrameStamp_P1);
I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode,
__osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode,
0);