vrecko
virtual reality framework
|
Child class for more than one screen viewer. More...
#include <Viewer.h>
Public Member Functions | |
CompositeViewer (int stereoMode) | |
virtual osgViewer::ViewerBase * | getViewer () |
virtual void | addView (osgViewer::View *view) |
virtual void | setDisplaySettings (osg::DisplaySettings *ds1, osg::DisplaySettings *ds2=NULL) |
virtual void | setFusionDistance (osgUtil::SceneView::FusionDistanceMode mode, float value=1.0f) |
virtual void | addEventHandler (osgGA::GUIEventHandler *eventHandler) |
virtual void | setSceneData (osg::Node *node) |
virtual void | camera_setViewMatrixAsLookAt (const osg::Vec3d &eye, const osg::Vec3d ¢er, const osg::Vec3d &up) |
virtual void | setLight (osg::Light *light) |
virtual osg::Light * | getLight () |
virtual osg::Camera * | getCamera (int screenNum=0) |
virtual int | getStereoMode () |
Public Member Functions inherited from vrecko::ViewerBase | |
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) |
Child class for more than one screen viewer.
Stereo modes: 0-none, 1-anaglyph, 2-vertical, 3-horizontal, 4-quad (3DVision), 5-DualScreen
CompositeViewer::CompositeViewer | ( | int | stereoMode | ) |
CompositeViewer class
|
inlinevirtual |
Add an EventHandler that adds handling of events to the View.
Implements vrecko::ViewerBase.
|
inlinevirtual |
Adds new view to existing viewer
Implements vrecko::ViewerBase.
|
inlinevirtual |
Set to the position and orientation of view matrix, using the same convention as gluLookAt.
Implements vrecko::ViewerBase.
|
inlinevirtual |
Get the master camera of the view.
Implements vrecko::ViewerBase.
|
inlinevirtual |
Get the global lighting if assigned.
Implements vrecko::ViewerBase.
|
inlinevirtual |
Get stereo mode
Implements vrecko::ViewerBase.
|
inlinevirtual |
Implements vrecko::ViewerBase.
|
inlinevirtual |
Set the DisplaySettings object associated with this view.
ds1 | first screen |
ds2 | second screen |
Implements vrecko::ViewerBase.
|
inlinevirtual |
Set the FusionDistanceMode and Value. Note, is used only when working in stereo.
Implements vrecko::ViewerBase.
|
inlinevirtual |
Get the global light.
Implements vrecko::ViewerBase.
|
inlinevirtual |
Set the scene graph that the View will use.
Implements vrecko::ViewerBase.