Inheritance:
Public Classes
-
class OSGPRODUCER_EXPORT RealizeCallback: public osg::Referenced
- RealizeCallback class one should override to provide an the implemention of realize callbacks.RealizeCallback class one should override to provide an the implemention of realize callbacks.
Public Methods
-
osg::Vec4& getBackgroundColor()
-
OsgCameraGroup()
-
OsgCameraGroup(Producer::CameraConfig* cfg)
-
OsgCameraGroup(const std::string& configFile)
-
OsgCameraGroup(osg::ArgumentParser& arguments)
-
virtual ~OsgCameraGroup()
-
void setApplicationUsage(osg::ApplicationUsage* au)
-
osg::ApplicationUsage* getApplicationUsage()
-
const osg::ApplicationUsage* getApplicationUsage() const
-
SceneHandlerList& getSceneHandlerList()
-
const SceneHandlerList& getSceneHandlerList() const
-
void setSceneData( osg::Node* scene )
-
osg::Node* getSceneData()
-
const osg::Node* getSceneData() const
-
void setSceneDecorator( osg::Group* decorator)
-
osg::Group* getSceneDecorator()
-
const osg::Group* getSceneDecorator() const
-
osg::Node* getTopMostSceneData()
-
const osg::Node* getTopMostSceneData() const
-
virtual void updatedSceneData()
- update internal structures wrt updated scene dataupdate internal structures wrt updated scene data
-
void setDisplaySettings( osg::DisplaySettings* ds )
-
osg::DisplaySettings* getDisplaySettings()
-
const osg::DisplaySettings* getDisplaySettings() const
-
void setFrameStamp( osg::FrameStamp* fs )
-
osg::FrameStamp* getFrameStamp()
-
const osg::FrameStamp* getFrameStamp() const
-
void setGlobalStateSet( osg::StateSet* sset )
-
osg::StateSet* getGlobalStateSet()
-
const osg::StateSet* getGlobalStateSet() const
-
void setBackgroundColor( const osg::Vec4& backgroundColor)
-
const osg::Vec4& getBackgroundColor() const
-
void setClearColor( const osg::Vec4& clearColor )
-
const osg::Vec4& getClearColor() const
-
void setLODScale( float scale )
-
float getLODScale() const
-
void setFusionDistance( osgUtil::SceneView::FusionDistanceMode mode, float value=1.0f)
-
void setRealizeSceneViewOptions(unsigned int options)
- Set the options to set up SceneView with, see osgUtil::SceneView::Options for available optionsSet the options to set up SceneView with, see osgUtil::SceneView::Options for available options
-
unsigned int getRealizeSceneViewOptions()
-
void setRealizeCallback( RealizeCallback* cb)
- Set the realize callback to use when once the render surfaces are realizedSet the realize callback to use when once the render surfaces are realized
-
RealizeCallback* getRealizeCallback()
- Get the realize callbackGet the realize callback
-
const RealizeCallback* getRealizeCallback() const
- Get the const realize callbackGet the const realize callback
-
void advance()
-
virtual bool realize(ThreadingModel thread_model )
- Set the threading model and then call realize()Set the threading model and then call realize()
-
virtual bool realize()
- Realize the render surfaces (OpenGL graphics) and various threads, and call any realize callbacksRealize the render surfaces (OpenGL graphics) and various threads, and call any realize callbacks
-
virtual void setView(const osg::Matrixd& matrix)
- Set the model view matrix of the camera group, by individually set all the camera groups's cameraSet the model view matrix of the camera group, by individually set all the camera groups's camera
-
osg::Matrixd getViewMatrix() const
- Get the model view martrix of the camera group, taking its value for camera 0Get the model view martrix of the camera group, taking its value for camera 0
-
virtual void sync()
-
virtual void frame()
- Dispatch the cull and draw for each of the Camera's for this frameDispatch the cull and draw for each of the Camera's for this frame
Public
-
typedef std::vector< Producer::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList
Protected Fields
-
osg::Vec4 _background_color
-
osg::ApplicationUsage* _applicationUsage
-
osg::ref_ptr<osg::Node> _scene_data
-
osg::ref_ptr<osg::Group> _scene_decorator
-
osg::ref_ptr<osg::StateSet> _global_stateset
-
osg::Vec4 _clear_color
-
float _LODScale
-
osgUtil::SceneView::FusionDistanceMode _fusionDistanceMode
-
float _fusionDistanceValue
-
unsigned int _realizeSceneViewOptions
-
SceneHandlerList _shvec
-
osg::ref_ptr<RealizeCallback> _realizeCallback
-
osg::ref_ptr<osg::DisplaySettings> _ds
-
bool _initialized
-
unsigned int _frameNumber
-
osg::Timer _timer
-
osg::Timer_t _start_tick
-
osg::ref_ptr<osg::FrameStamp> _frameStamp
Protected Methods
-
virtual void setUpSceneViewsWithData()
-
void _init()
Documentation
- osg::Vec4& getBackgroundColor()
- osg::Vec4 _background_color
- OsgCameraGroup()
- OsgCameraGroup(Producer::CameraConfig* cfg)
- OsgCameraGroup(const std::string& configFile)
- OsgCameraGroup(osg::ArgumentParser& arguments)
- virtual ~OsgCameraGroup()
- void setApplicationUsage(osg::ApplicationUsage* au)
- osg::ApplicationUsage* getApplicationUsage()
- const osg::ApplicationUsage* getApplicationUsage() const
- typedef std::vector< Producer::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList
- SceneHandlerList& getSceneHandlerList()
- const SceneHandlerList& getSceneHandlerList() const
- void setSceneData( osg::Node* scene )
- osg::Node* getSceneData()
- const osg::Node* getSceneData() const
- void setSceneDecorator( osg::Group* decorator)
- osg::Group* getSceneDecorator()
- const osg::Group* getSceneDecorator() const
- osg::Node* getTopMostSceneData()
- const osg::Node* getTopMostSceneData() const
- virtual void updatedSceneData()
- update internal structures wrt updated scene dataupdate internal structures wrt updated scene data
- void setDisplaySettings( osg::DisplaySettings* ds )
- osg::DisplaySettings* getDisplaySettings()
- const osg::DisplaySettings* getDisplaySettings() const
- void setFrameStamp( osg::FrameStamp* fs )
- osg::FrameStamp* getFrameStamp()
- const osg::FrameStamp* getFrameStamp() const
- void setGlobalStateSet( osg::StateSet* sset )
- osg::StateSet* getGlobalStateSet()
- const osg::StateSet* getGlobalStateSet() const
- void setBackgroundColor( const osg::Vec4& backgroundColor)
- const osg::Vec4& getBackgroundColor() const
- void setClearColor( const osg::Vec4& clearColor )
- const osg::Vec4& getClearColor() const
- void setLODScale( float scale )
- float getLODScale() const
- void setFusionDistance( osgUtil::SceneView::FusionDistanceMode mode, float value=1.0f)
- void setRealizeSceneViewOptions(unsigned int options)
- Set the options to set up SceneView with, see osgUtil::SceneView::Options for available optionsSet the options to set up SceneView with, see osgUtil::SceneView::Options for available options
- unsigned int getRealizeSceneViewOptions()
- void setRealizeCallback( RealizeCallback* cb)
- Set the realize callback to use when once the render surfaces are realizedSet the realize callback to use when once the render surfaces are realized
- RealizeCallback* getRealizeCallback()
- Get the realize callbackGet the realize callback
- const RealizeCallback* getRealizeCallback() const
- Get the const realize callbackGet the const realize callback
- void advance()
- virtual bool realize(ThreadingModel thread_model )
- Set the threading model and then call realize()Set the threading model and then call realize()
- virtual bool realize()
- Realize the render surfaces (OpenGL graphics) and various threads, and call any realize callbacksRealize the render surfaces (OpenGL graphics) and various threads, and call any realize callbacks
- virtual void setView(const osg::Matrixd& matrix)
- Set the model view matrix of the camera group,
by individually set all the camera groups's cameraSet the model view matrix of the camera group,
by individually set all the camera groups's camera
- osg::Matrixd getViewMatrix() const
- Get the model view martrix of the camera group,
taking its value for camera 0Get the model view martrix of the camera group,
taking its value for camera 0
- virtual void sync()
- virtual void frame()
- Dispatch the cull and draw for each of the Camera's for this frameDispatch the cull and draw for each of the Camera's for this frame
- virtual void setUpSceneViewsWithData()
- osg::ApplicationUsage* _applicationUsage
- osg::ref_ptr<osg::Node> _scene_data
- osg::ref_ptr<osg::Group> _scene_decorator
- osg::ref_ptr<osg::StateSet> _global_stateset
- osg::Vec4 _clear_color
- float _LODScale
- osgUtil::SceneView::FusionDistanceMode _fusionDistanceMode
- float _fusionDistanceValue
- unsigned int _realizeSceneViewOptions
- SceneHandlerList _shvec
- osg::ref_ptr<RealizeCallback> _realizeCallback
- osg::ref_ptr<osg::DisplaySettings> _ds
- bool _initialized
- unsigned int _frameNumber
- osg::Timer _timer
- osg::Timer_t _start_tick
- osg::ref_ptr<osg::FrameStamp> _frameStamp
- void _init()
- Direct child classes:
- Viewer
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.