Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

osgProducer::OsgCameraGroup Class Reference

Inheritance diagram for osgProducer::OsgCameraGroup:

Inheritance graph
[legend]
List of all members.

Public Types

typedef std::vector< Producer::ref_ptr<
osgProducer::OsgSceneHandler > > 
SceneHandlerList

Public Member Functions

 OsgCameraGroup ()
 OsgCameraGroup (Producer::CameraConfig *cfg)
 OsgCameraGroup (const std::string &configFile)
 OsgCameraGroup (osg::ArgumentParser &arguments)
virtual ~OsgCameraGroup ()
void setApplicationUsage (osg::ApplicationUsage *au)
osg::ApplicationUsagegetApplicationUsage ()
const osg::ApplicationUsagegetApplicationUsage () const
SceneHandlerListgetSceneHandlerList ()
const SceneHandlerListgetSceneHandlerList () const
void setSceneData (osg::Node *scene)
osg::NodegetSceneData ()
const osg::NodegetSceneData () const
void setSceneDecorator (osg::Group *decorator)
osg::GroupgetSceneDecorator ()
const osg::GroupgetSceneDecorator () const
osg::NodegetTopMostSceneData ()
const osg::NodegetTopMostSceneData () const
virtual void updatedSceneData ()
 update internal structures w.r.t updated scene data.
void setDisplaySettings (osg::DisplaySettings *ds)
osg::DisplaySettingsgetDisplaySettings ()
const osg::DisplaySettingsgetDisplaySettings () const
void setCullSettings (const osg::CullSettings &cs)
osg::CullSettingsgetCullSettings ()
const osg::CullSettingsgetCullSettings () const
void setFrameStamp (osg::FrameStamp *fs)
osg::FrameStampgetFrameStamp ()
const osg::FrameStampgetFrameStamp () const
void setGlobalStateSet (osg::StateSet *sset)
osg::StateSetgetGlobalStateSet ()
const osg::StateSetgetGlobalStateSet () const
void setClearColor (const osg::Vec4 &clearColor)
const osg::Vec4getClearColor () 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 options.
unsigned int getRealizeSceneViewOptions ()
void setRealizeCallback (RealizeCallback *cb)
 Set the realize callback to use when once the render surfaces are realized.
RealizeCallbackgetRealizeCallback ()
 Get the realize callback.
const RealizeCallbackgetRealizeCallback () const
 Get the const realize callback.
void advance ()
virtual bool realize (ThreadingModel thread_model)
 Set the threading model and then call realize().
virtual bool realize ()
 Realize 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 camera.
osg::Matrixd getViewMatrix () const
 Get 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 frame.

Protected Member Functions

virtual void setUpSceneViewsWithData ()
void _init ()

Protected Attributes

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
osgUtil::SceneView::FusionDistanceMode _fusionDistanceMode
float _fusionDistanceValue
unsigned int _realizeSceneViewOptions
SceneHandlerList _shvec
osg::ref_ptr< RealizeCallback_realizeCallback
osg::ref_ptr< osg::DisplaySettings_ds
bool _initialized
osg::CullSettings _cullSettings
unsigned int _frameNumber
osg::Timer _timer
osg::Timer_t _start_tick
osg::ref_ptr< osg::FrameStamp_frameStamp

Classes

class  RealizeCallback
 RealizeCallback class one should override to provide an the implemention of realize callbacks. More...

Member Typedef Documentation

typedef std::vector< Producer::ref_ptr<osgProducer::OsgSceneHandler> > osgProducer::OsgCameraGroup::SceneHandlerList
 


Constructor & Destructor Documentation

OsgCameraGroup::OsgCameraGroup  ) 
 

OsgCameraGroup::OsgCameraGroup Producer::CameraConfig *  cfg  ) 
 

OsgCameraGroup::OsgCameraGroup const std::string &  configFile  ) 
 

OsgCameraGroup::OsgCameraGroup osg::ArgumentParser arguments  ) 
 

OsgCameraGroup::~OsgCameraGroup  )  [virtual]
 


Member Function Documentation

void OsgCameraGroup::_init  )  [protected]
 

void OsgCameraGroup::advance  ) 
 

void OsgCameraGroup::frame  )  [virtual]
 

Dispatch the cull and draw for each of the Camera's for this frame.

Reimplemented in osgProducer::Viewer.

const osg::ApplicationUsage* osgProducer::OsgCameraGroup::getApplicationUsage  )  const [inline]
 

osg::ApplicationUsage* osgProducer::OsgCameraGroup::getApplicationUsage  )  [inline]
 

const osg::Vec4 & OsgCameraGroup::getClearColor  )  const
 

const osg::CullSettings& osgProducer::OsgCameraGroup::getCullSettings  )  const [inline]
 

osg::CullSettings& osgProducer::OsgCameraGroup::getCullSettings  )  [inline]
 

const osg::DisplaySettings* osgProducer::OsgCameraGroup::getDisplaySettings  )  const [inline]
 

osg::DisplaySettings* osgProducer::OsgCameraGroup::getDisplaySettings  )  [inline]
 

const osg::FrameStamp* osgProducer::OsgCameraGroup::getFrameStamp  )  const [inline]
 

osg::FrameStamp* osgProducer::OsgCameraGroup::getFrameStamp  )  [inline]
 

const osg::StateSet* osgProducer::OsgCameraGroup::getGlobalStateSet  )  const [inline]
 

osg::StateSet* osgProducer::OsgCameraGroup::getGlobalStateSet  )  [inline]
 

float OsgCameraGroup::getLODScale  )  const
 

const RealizeCallback* osgProducer::OsgCameraGroup::getRealizeCallback  )  const [inline]
 

Get the const realize callback.

RealizeCallback* osgProducer::OsgCameraGroup::getRealizeCallback  )  [inline]
 

Get the realize callback.

unsigned int osgProducer::OsgCameraGroup::getRealizeSceneViewOptions  )  [inline]
 

const osg::Node* osgProducer::OsgCameraGroup::getSceneData  )  const [inline]
 

osg::Node* osgProducer::OsgCameraGroup::getSceneData  )  [inline]
 

const osg::Group* osgProducer::OsgCameraGroup::getSceneDecorator  )  const [inline]
 

osg::Group* osgProducer::OsgCameraGroup::getSceneDecorator  )  [inline]
 

const SceneHandlerList& osgProducer::OsgCameraGroup::getSceneHandlerList  )  const [inline]
 

SceneHandlerList& osgProducer::OsgCameraGroup::getSceneHandlerList  )  [inline]
 

const osg::Node * OsgCameraGroup::getTopMostSceneData  )  const
 

osg::Node * OsgCameraGroup::getTopMostSceneData  ) 
 

osg::Matrixd OsgCameraGroup::getViewMatrix  )  const
 

Get the model view martrix of the camera group, taking its value for camera 0.

bool OsgCameraGroup::realize  )  [virtual]
 

Realize the render surfaces (OpenGL graphics) and various threads, and call any realize callbacks.

Reimplemented in osgProducer::Viewer.

bool OsgCameraGroup::realize ThreadingModel  thread_model  )  [virtual]
 

Set the threading model and then call realize().

Reimplemented in osgProducer::Viewer.

void osgProducer::OsgCameraGroup::setApplicationUsage osg::ApplicationUsage au  )  [inline]
 

void OsgCameraGroup::setClearColor const osg::Vec4 clearColor  ) 
 

void osgProducer::OsgCameraGroup::setCullSettings const osg::CullSettings cs  )  [inline]
 

void osgProducer::OsgCameraGroup::setDisplaySettings osg::DisplaySettings ds  )  [inline]
 

void OsgCameraGroup::setFrameStamp osg::FrameStamp fs  ) 
 

void OsgCameraGroup::setFusionDistance osgUtil::SceneView::FusionDistanceMode  mode,
float  value = 1.0f
 

void OsgCameraGroup::setGlobalStateSet osg::StateSet sset  ) 
 

void OsgCameraGroup::setLODScale float  scale  ) 
 

void osgProducer::OsgCameraGroup::setRealizeCallback RealizeCallback cb  )  [inline]
 

Set the realize callback to use when once the render surfaces are realized.

void osgProducer::OsgCameraGroup::setRealizeSceneViewOptions unsigned int  options  )  [inline]
 

Set the options to set up SceneView with, see osgUtil::SceneView::Options for available options.

void OsgCameraGroup::setSceneData osg::Node scene  ) 
 

void OsgCameraGroup::setSceneDecorator osg::Group decorator  ) 
 

void OsgCameraGroup::setUpSceneViewsWithData  )  [protected, virtual]
 

void OsgCameraGroup::setView const osg::Matrixd matrix  )  [virtual]
 

Set the model view matrix of the camera group, by individually set all the camera groups's camera.

void OsgCameraGroup::sync  )  [virtual]
 

void OsgCameraGroup::updatedSceneData  )  [virtual]
 

update internal structures w.r.t updated scene data.

Reimplemented in osgProducer::Viewer.


Member Data Documentation

osg::ApplicationUsage* osgProducer::OsgCameraGroup::_applicationUsage [protected]
 

osg::Vec4 osgProducer::OsgCameraGroup::_clear_color [protected]
 

osg::CullSettings osgProducer::OsgCameraGroup::_cullSettings [protected]
 

osg::ref_ptr<osg::DisplaySettings> osgProducer::OsgCameraGroup::_ds [protected]
 

unsigned int osgProducer::OsgCameraGroup::_frameNumber [protected]
 

osg::ref_ptr<osg::FrameStamp> osgProducer::OsgCameraGroup::_frameStamp [protected]
 

osgUtil::SceneView::FusionDistanceMode osgProducer::OsgCameraGroup::_fusionDistanceMode [protected]
 

float osgProducer::OsgCameraGroup::_fusionDistanceValue [protected]
 

osg::ref_ptr<osg::StateSet> osgProducer::OsgCameraGroup::_global_stateset [protected]
 

bool osgProducer::OsgCameraGroup::_initialized [protected]
 

osg::ref_ptr<RealizeCallback> osgProducer::OsgCameraGroup::_realizeCallback [protected]
 

unsigned int osgProducer::OsgCameraGroup::_realizeSceneViewOptions [protected]
 

osg::ref_ptr<osg::Node> osgProducer::OsgCameraGroup::_scene_data [protected]
 

osg::ref_ptr<osg::Group> osgProducer::OsgCameraGroup::_scene_decorator [protected]
 

SceneHandlerList osgProducer::OsgCameraGroup::_shvec [protected]
 

osg::Timer_t osgProducer::OsgCameraGroup::_start_tick [protected]
 

osg::Timer osgProducer::OsgCameraGroup::_timer [protected]
 


The documentation for this class was generated from the following files:
Generated at Thu Oct 13 09:03:58 2005 for the OpenSceneGraph by doxygen 1.4.1.