Added s/getCullSettings to OsgCameraGroup

This commit is contained in:
Robert Osfield
2004-10-05 19:12:46 +00:00
parent 3b8abfa875
commit debf8dceef
3 changed files with 54 additions and 29 deletions

View File

@@ -24,6 +24,7 @@
#include <osg/StateSet>
#include <osg/FrameStamp>
#include <osg/DisplaySettings>
#include <osg/CullSettings>
#include <osg/Matrixd>
#include <osgProducer/OsgSceneHandler>
@@ -90,6 +91,13 @@ class OSGPRODUCER_EXPORT OsgCameraGroup : public Producer::CameraGroup
const osg::DisplaySettings *getDisplaySettings() const { return _ds.get(); }
void setCullSettings( const osg::CullSettings& cs) { _cullSettings = cs; }
osg::CullSettings& getCullSettings() { return _cullSettings; }
const osg::CullSettings& getCullSettings() const { return _cullSettings; }
void setFrameStamp( osg::FrameStamp* fs );
@@ -202,6 +210,8 @@ class OSGPRODUCER_EXPORT OsgCameraGroup : public Producer::CameraGroup
osg::ref_ptr<osg::DisplaySettings> _ds;
bool _initialized;
osg::CullSettings _cullSettings;
unsigned int _frameNumber;
osg::Timer _timer;