From b82e24b08d29cd81290a19df48faf4e8ad1782a1 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 18 Jun 2008 11:51:22 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osgText/Text3D.cpp | 6 ++++++ src/osgWrappers/osgViewer/ViewerEventHandlers.cpp | 8 ++++++++ 2 files changed, 14 insertions(+) diff --git a/src/osgWrappers/osgText/Text3D.cpp b/src/osgWrappers/osgText/Text3D.cpp index c2a5887d5..4f2308cf5 100644 --- a/src/osgWrappers/osgText/Text3D.cpp +++ b/src/osgWrappers/osgText/Text3D.cpp @@ -10,6 +10,7 @@ #include #include +#include #include #include #include @@ -143,6 +144,11 @@ BEGIN_OBJECT_REFLECTOR(osgText::Text3D) __void__releaseGLObjects__osg_State_P1, "If State is non-zero, this function releases OpenGL objects for the specified graphics context. ", "Otherwise, releases OpenGL objexts for all graphics contexts. "); + I_Method0(osg::BoundingBox, computeBound, + Properties::VIRTUAL, + __osg_BoundingBox__computeBound, + "Compute the bounding box around Drawables's geometry. ", + ""); I_ProtectedMethod1(void, renderPerGlyph, IN, osg::State &, state, Properties::NON_VIRTUAL, Properties::CONST, diff --git a/src/osgWrappers/osgViewer/ViewerEventHandlers.cpp b/src/osgWrappers/osgViewer/ViewerEventHandlers.cpp index e233481e3..89d3df931 100644 --- a/src/osgWrappers/osgViewer/ViewerEventHandlers.cpp +++ b/src/osgWrappers/osgViewer/ViewerEventHandlers.cpp @@ -177,6 +177,11 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::RecordCameraPathHandler) __int__getKeyEventTogglePlayback, "", ""); + I_MethodWithDefaults1(void, setAutoIncrementFilename, IN, bool, autoinc, true, + Properties::NON_VIRTUAL, + __void__setAutoIncrementFilename__bool, + "", + ""); I_Method1(void, getUsage, IN, osg::ApplicationUsage &, usage, Properties::VIRTUAL, __void__getUsage__osg_ApplicationUsage_R1, @@ -187,6 +192,9 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::RecordCameraPathHandler) __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1, "Deprecated, Handle events, return true if handled, false otherwise. ", ""); + I_SimpleProperty(bool, AutoIncrementFilename, + 0, + __void__setAutoIncrementFilename__bool); I_SimpleProperty(int, KeyEventTogglePlayback, __int__getKeyEventTogglePlayback, __void__setKeyEventTogglePlayback__int);