#include <VRViewer.h>
Enumerator |
---|
EyeMiddle |
|
EyeLeft |
|
EyeRight |
|
opencover::VRViewer::VRViewer |
( |
| ) |
|
virtual opencover::VRViewer::~VRViewer |
( |
| ) |
|
|
virtual |
void opencover::VRViewer::addCamera |
( |
osg::Camera * |
camera | ) |
|
void opencover::VRViewer::config |
( |
| ) |
|
void opencover::VRViewer::culling |
( |
bool |
enable, |
|
|
osg::CullSettings::CullingModeValues |
mode = osg::CullSettings::ENABLE_ALL_CULLING , |
|
|
bool |
once = false |
|
) |
| |
void opencover::VRViewer::disableSync |
( |
| ) |
|
osg::Vec3 opencover::VRViewer::eyeOffset |
( |
Eye |
eye | ) |
const |
void opencover::VRViewer::flipStereo |
( |
| ) |
|
void opencover::VRViewer::forceCompile |
( |
| ) |
|
virtual void opencover::VRViewer::frame |
( |
| ) |
|
|
virtual |
Dispatch the cull and draw for each of the Camera's for this frame.
osg::Vec4 opencover::VRViewer::getBackgroundColor |
( |
| ) |
|
|
inline |
virtual void opencover::VRViewer::getCameras |
( |
Cameras & |
cameras, |
|
|
bool |
onlyActive = true |
|
) |
| |
|
virtual |
virtual void opencover::VRViewer::getContexts |
( |
Contexts & |
contexts, |
|
|
bool |
onlyValid = true |
|
) |
| |
|
virtual |
osg::Node::NodeMask opencover::VRViewer::getCullMask |
( |
| ) |
|
osg::Node::NodeMask opencover::VRViewer::getCullMaskLeft |
( |
| ) |
|
osg::Node::NodeMask opencover::VRViewer::getCullMaskRight |
( |
| ) |
|
osg::Vec3& opencover::VRViewer::getInitialViewerPos |
( |
| ) |
|
|
inline |
virtual void opencover::VRViewer::getScenes |
( |
Scenes & |
scenes, |
|
|
bool |
onlyValid = true |
|
) |
| |
|
virtual |
float opencover::VRViewer::getSeparation |
( |
| ) |
|
|
inline |
osg::Matrix& opencover::VRViewer::getViewerMat |
( |
| ) |
|
|
inline |
osg::Vec3& opencover::VRViewer::getViewerPos |
( |
| ) |
|
|
inline |
void opencover::VRViewer::glContextOperation |
( |
osg::GraphicsContext * |
ctx | ) |
|
bool opencover::VRViewer::handleEvents |
( |
| ) |
|
static VRViewer* opencover::VRViewer::instance |
( |
| ) |
|
|
static |
bool opencover::VRViewer::isFullscreen |
( |
| ) |
const |
bool opencover::VRViewer::isMatrixOverwriteOn |
( |
| ) |
|
|
inline |
void opencover::VRViewer::overwriteViewAndProjectionMatrix |
( |
bool |
state | ) |
|
|
inline |
void opencover::VRViewer::redrawHUD |
( |
double |
interval | ) |
|
void opencover::VRViewer::removeCamera |
( |
osg::Camera * |
camera | ) |
|
void opencover::VRViewer::setClearColor |
( |
const osg::Vec4 & |
color | ) |
|
void opencover::VRViewer::setFrustumAndView |
( |
int |
i | ) |
|
void opencover::VRViewer::setFullscreen |
( |
bool |
state | ) |
|
void opencover::VRViewer::setInitialViewerPos |
( |
osg::Vec3 & |
po | ) |
|
|
inline |
void opencover::VRViewer::setRenderToTexture |
( |
bool |
| ) |
|
void opencover::VRViewer::setSeparation |
( |
float |
stereoSep | ) |
|
void opencover::VRViewer::setViewerMat |
( |
osg::Matrix & |
mat | ) |
|
|
inline |
virtual void opencover::VRViewer::startThreading |
( |
| ) |
|
|
virtual |
Start any threads required by the viewer.
void opencover::VRViewer::unconfig |
( |
| ) |
|
virtual bool opencover::VRViewer::update |
( |
| ) |
|
|
virtual |
Updated the scene. Handle any queued up events, do an update traversal and set the CameraGroup's setViewByMatrix if any camera manipulators are active.
void opencover::VRViewer::updateViewerMat |
( |
const osg::Matrix & |
mat | ) |
|
std::vector<osg::ref_ptr<osg::Camera> > opencover::VRViewer::blendingCamera |
bool opencover::VRViewer::clearWindow = true |
bool opencover::VRViewer::m_fullscreen = false |
bool opencover::VRViewer::m_requireGlFinish = true |
int opencover::VRViewer::numClears = 0 |
int opencover::VRViewer::unsyncedFrames |
|
static |
std::vector<osg::ref_ptr<osg::Camera> > opencover::VRViewer::viewportCamera |
The documentation for this class was generated from the following file: