class OSGPRODUCER_EXPORT osgProducer::OsgCameraGroup


Inheritance:


Public Methods

[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]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]osg::Vec4& getBackgroundColor()
[more]const osg::Vec4& getBackgroundColor() const
[more]void setLODScale( float scale )
[more]void setFusionDistance( osgUtil::SceneView::FusionDistanceMode mode, float value=1.0f)
[more]void setRealizeCallback( RealizeCallback* cb)
Set the realize callback to use when once the render surfaces are realized
[more]RealizeCallback* getRealizeCallback()
Get the realize callback
[more]const RealizeCallback* getRealizeCallback() const
Get the const realize callback
[more]void advance()
[more]virtual bool realize(ThreadingModel thread_model )
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 callbacks
[more]virtual void setView(const osg::Matrix& matrix)
Set the model view matrix of the camera group, by individually set all the camera groups's camera
[more]const osg::Matrix getViewMatrix() const
Get 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 frame

Public Members

[more]typedef std::vector< osg::ref_ptr<osgProducer::OsgSceneHandler> > SceneHandlerList
class OSGPRODUCER_EXPORT RealizeCallback: public osg::Referenced
RealizeCallback class one should override to provide an the implemention of realize callbacks.

Protected Fields

[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 _background_color
[more]float _LODScale
[more]osgUtil::SceneView::FusionDistanceMode _fusionDistanceMode
[more]float _fusionDistanceValue
[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]void setUpSceneViewsWithData()
[more]void _init()


Documentation

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

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 )

oosg::Vec4& getBackgroundColor()

oconst osg::Vec4& getBackgroundColor() const

ovoid setLODScale( float scale )

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

ovoid setRealizeCallback( RealizeCallback* cb)
Set the realize callback to use when once the render surfaces are realized

oRealizeCallback* getRealizeCallback()
Get the realize callback

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

ovoid advance()

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

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

ovirtual void setView(const osg::Matrix& matrix)
Set the model view matrix of the camera group, by individually set all the camera groups's camera

oconst osg::Matrix getViewMatrix() const
Get 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 frame

ovoid 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 _background_color

ofloat _LODScale

oosgUtil::SceneView::FusionDistanceMode _fusionDistanceMode

ofloat _fusionDistanceValue

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++.