vrecko
virtual reality framework
|
Abstract VRECKO viewer class. More...
#include <Viewer.h>
Public Member Functions | |
virtual osgViewer::ViewerBase * | getViewer ()=0 |
virtual void | addView (osgViewer::View *view)=0 |
virtual void | setDisplaySettings (osg::DisplaySettings *ds1, osg::DisplaySettings *ds2=NULL)=0 |
virtual void | setFusionDistance (osgUtil::SceneView::FusionDistanceMode mode, float value=1.0f)=0 |
virtual void | addEventHandler (osgGA::GUIEventHandler *eventHandler)=0 |
virtual void | setSceneData (osg::Node *node)=0 |
virtual void | camera_setViewMatrixAsLookAt (const osg::Vec3d &eye, const osg::Vec3d ¢er, const osg::Vec3d &up)=0 |
virtual void | setLight (osg::Light *light)=0 |
virtual osg::Light * | getLight ()=0 |
virtual osg::Camera * | getCamera (int screenNum=0)=0 |
virtual int | getStereoMode ()=0 |
bool | done () |
void | realize () |
void | setThreadingModel (osgViewer::ViewerBase::ThreadingModel threadingModel) |
void | getWindows (osgViewer::ViewerBase::Windows &windows, bool onlyValid=true) |
void | getCameras (osgViewer::ViewerBase::Cameras &cameras, bool onlyActive=true) |
void | getContexts (osgViewer::ViewerBase::Contexts &contexts, bool onlyValid=true) |
void | frame (double simulationTime=USE_REFERENCE_TIME) |
Abstract VRECKO viewer class.
|
pure virtual |
Add an EventHandler that adds handling of events to the View.
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
pure virtual |
Adds new view to existing viewer
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
pure virtual |
Set to the position and orientation of view matrix, using the same convention as gluLookAt.
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
inline |
Return true if viewer's work is done and should exit the frame loop.
|
inline |
|
pure virtual |
Get the master camera of the view.
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
inline |
|
inline |
|
pure virtual |
Get the global lighting if assigned.
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
pure virtual |
Get stereo mode
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
pure virtual |
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
inline |
|
inline |
Set up windows and associated threads.
|
pure virtual |
Set the DisplaySettings object associated with this view.
ds1 | first screen |
ds2 | second screen |
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
pure virtual |
Set the FusionDistanceMode and Value. Note, is used only when working in stereo.
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
pure virtual |
Get the global light.
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
pure virtual |
Set the scene graph that the View will use.
Implemented in vrecko::CompositeViewer, and vrecko::Viewer.
|
inline |