33#ifndef DART_GUI_OSG_DETAIL_CAMERAMODECALLBACK_HPP_
34#define DART_GUI_OSG_DETAIL_CAMERAMODECALLBACK_HPP_
38#include <osg/NodeCallback>
51 void operator()(::osg::Node* node, ::osg::NodeVisitor* nv)
override;
Definition CameraModeCallback.hpp:45
void setCameraMode(CameraMode mode)
Sets the camera mode of the primary camera.
Definition CameraModeCallback.cpp:129
::osg::ref_ptr<::osg::Camera > mDepthHudCam
Definition CameraModeCallback.hpp:70
CameraModeCallback()
Default constructor.
Definition CameraModeCallback.cpp:42
bool mCameraModeChanged
Definition CameraModeCallback.hpp:72
::osg::ref_ptr<::osg::Node > mSceneToChange
Definition CameraModeCallback.hpp:74
CameraMode mCameraMode
Definition CameraModeCallback.hpp:71
void setSceneData(::osg::Node *scene)
Sets the scene to render the depth.
Definition CameraModeCallback.cpp:156
void operator()(::osg::Node *node, ::osg::NodeVisitor *nv) override
Definition CameraModeCallback.cpp:49
::osg::ref_ptr<::osg::Node > mScene
Definition CameraModeCallback.hpp:73
std::mutex mMutex
Mutex for all the member variables.
Definition CameraModeCallback.hpp:77
CameraMode getCameraMode() const
Returns the camera mode of the primary camera.
Definition CameraModeCallback.cpp:149
::osg::ref_ptr<::osg::Camera > mDepthRrtCam
Definition CameraModeCallback.hpp:69
Definition CameraModeCallback.cpp:39
CameraMode
Camera mode.
Definition Viewer.hpp:80