class OSGPRODUCER_EXPORT osgProducer::OsgCameraGroup


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

[more]osg::Vec4& getBackgroundColor()
[more] OsgCameraGroup()
[more] OsgCameraGroup(Producer::CameraConfig* cfg)
[more] OsgCameraGroup(const std::string& configFile)
[more] OsgCameraGroup(osg::ArgumentParser& arguments)
[more]virtual ~OsgCameraGroup()
[more]void setApplicationUsage(osg::ApplicationUsage* au)
[more]osg::ApplicationUsage* getApplicationUsage()
[more]const osg::ApplicationUsage* getApplicationUsage() const
[more]SceneHandlerList& getSceneHandlerList()
[more]const SceneHandlerList& getSceneHandlerList() const
[more]void setSceneData( osg::Node* scene )
[more]osg::Node* getSceneData()
[more]const osg::Node* getSceneData() const
[more]void setSceneDecorator( osg::Group* decorator)
[more]osg::Group* getSceneDecorator()
[more]const osg::Group* getSceneDecorator() const
[more]osg::Node* getTopMostSceneData()
[more]const osg::Node* getTopMostSceneData() const
[more]virtual void updatedSceneData()
update internal structures wrt updated scene dataupdate internal structures wrt updated scene data
[more]void setDisplaySettings( osg::DisplaySettings* ds )
[more]osg::DisplaySettings* getDisplaySettings()
[more]const osg::DisplaySettings* getDisplaySettings() const
[more]void setFrameStamp( osg::FrameStamp* fs )
[more]osg::FrameStamp* getFrameStamp()
[more]const osg::FrameStamp* getFrameStamp() const
[more]void setGlobalStateSet( osg::StateSet* sset )
[more]osg::StateSet* getGlobalStateSet()
[more]const osg::StateSet* getGlobalStateSet() const
[more]void setBackgroundColor( const osg::Vec4& backgroundColor)
[more]const osg::Vec4& getBackgroundColor() const
[more]void setClearColor( const osg::Vec4& clearColor )
[more]const osg::Vec4& getClearColor() const
[more]void setLODScale( float scale )
[more]float getLODScale() const
[more]void setFusionDistance( osgUtil::SceneView::FusionDistanceMode mode, float value=1.0f)
[more]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
[more]unsigned int getRealizeSceneViewOptions()
[more]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
[more]RealizeCallback* getRealizeCallback()
Get the realize callbackGet the realize callback
[more]const RealizeCallback* getRealizeCallback() const
Get the const realize callbackGet the const realize callback
[more]void advance()
[more]virtual bool realize(ThreadingModel thread_model )
Set the threading model and then call realize()Set the threading model and then call realize()
[more]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
[more]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
[more]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
[more]virtual void sync()
[more]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

[more]typedef std::vector< Producer::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList

Protected Fields

[more]osg::Vec4 _background_color
[more]osg::ApplicationUsage* _applicationUsage
[more]osg::ref_ptr<osg::Node> _scene_data
[more]osg::ref_ptr<osg::Group> _scene_decorator
[more]osg::ref_ptr<osg::StateSet> _global_stateset
[more]osg::Vec4 _clear_color
[more]float _LODScale
[more]osgUtil::SceneView::FusionDistanceMode _fusionDistanceMode
[more]float _fusionDistanceValue
[more]unsigned int _realizeSceneViewOptions
[more]SceneHandlerList _shvec
[more]osg::ref_ptr<RealizeCallback> _realizeCallback
[more]osg::ref_ptr<osg::DisplaySettings> _ds
[more]bool _initialized
[more]unsigned int _frameNumber
[more]osg::Timer _timer
[more]osg::Timer_t _start_tick
[more]osg::ref_ptr<osg::FrameStamp> _frameStamp

Protected Methods

[more]virtual void setUpSceneViewsWithData()
[more]void _init()


Documentation

oosg::Vec4& getBackgroundColor()

oosg::Vec4 _background_color

o OsgCameraGroup()

o OsgCameraGroup(Producer::CameraConfig* cfg)

o OsgCameraGroup(const std::string& configFile)

o OsgCameraGroup(osg::ArgumentParser& arguments)

ovirtual ~OsgCameraGroup()

ovoid setApplicationUsage(osg::ApplicationUsage* au)

oosg::ApplicationUsage* getApplicationUsage()

oconst osg::ApplicationUsage* getApplicationUsage() const

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

oSceneHandlerList& getSceneHandlerList()

oconst SceneHandlerList& getSceneHandlerList() const

ovoid setSceneData( osg::Node* scene )

oosg::Node* getSceneData()

oconst osg::Node* getSceneData() const

ovoid setSceneDecorator( osg::Group* decorator)

oosg::Group* getSceneDecorator()

oconst osg::Group* getSceneDecorator() const

oosg::Node* getTopMostSceneData()

oconst osg::Node* getTopMostSceneData() const

ovirtual void updatedSceneData()
update internal structures wrt updated scene dataupdate internal structures wrt updated scene data

ovoid setDisplaySettings( osg::DisplaySettings* ds )

oosg::DisplaySettings* getDisplaySettings()

oconst osg::DisplaySettings* getDisplaySettings() const

ovoid setFrameStamp( osg::FrameStamp* fs )

oosg::FrameStamp* getFrameStamp()

oconst osg::FrameStamp* getFrameStamp() const

ovoid setGlobalStateSet( osg::StateSet* sset )

oosg::StateSet* getGlobalStateSet()

oconst osg::StateSet* getGlobalStateSet() const

ovoid setBackgroundColor( const osg::Vec4& backgroundColor)

oconst osg::Vec4& getBackgroundColor() const

ovoid setClearColor( const osg::Vec4& clearColor )

oconst osg::Vec4& getClearColor() const

ovoid setLODScale( float scale )

ofloat getLODScale() const

ovoid setFusionDistance( osgUtil::SceneView::FusionDistanceMode mode, float value=1.0f)

ovoid 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

ounsigned int getRealizeSceneViewOptions()

ovoid 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

oRealizeCallback* getRealizeCallback()
Get the realize callbackGet the realize callback

oconst RealizeCallback* getRealizeCallback() const
Get the const realize callbackGet the const realize callback

ovoid advance()

ovirtual bool realize(ThreadingModel thread_model )
Set the threading model and then call realize()Set the threading model and then call realize()

ovirtual 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

ovirtual 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

oosg::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

ovirtual void sync()

ovirtual 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

ovirtual void setUpSceneViewsWithData()

oosg::ApplicationUsage* _applicationUsage

oosg::ref_ptr<osg::Node> _scene_data

oosg::ref_ptr<osg::Group> _scene_decorator

oosg::ref_ptr<osg::StateSet> _global_stateset

oosg::Vec4 _clear_color

ofloat _LODScale

oosgUtil::SceneView::FusionDistanceMode _fusionDistanceMode

ofloat _fusionDistanceValue

ounsigned int _realizeSceneViewOptions

oSceneHandlerList _shvec

oosg::ref_ptr<RealizeCallback> _realizeCallback

oosg::ref_ptr<osg::DisplaySettings> _ds

obool _initialized

ounsigned int _frameNumber

oosg::Timer _timer

oosg::Timer_t _start_tick

oosg::ref_ptr<osg::FrameStamp> _frameStamp

ovoid _init()


Direct child classes:
Viewer

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.