#include <CameraModeCallback.hpp>
◆ CameraModeCallback()
dart::gui::osg::detail::CameraModeCallback::CameraModeCallback |
( |
| ) |
|
◆ getCameraMode()
CameraMode dart::gui::osg::detail::CameraModeCallback::getCameraMode |
( |
| ) |
const |
Returns the camera mode of the primary camera.
- Note
- Thread safe
◆ operator()()
void dart::gui::osg::detail::CameraModeCallback::operator() |
( |
::osg::Node * |
node, |
|
|
::osg::NodeVisitor * |
nv |
|
) |
| |
|
override |
◆ setCameraMode()
void dart::gui::osg::detail::CameraModeCallback::setCameraMode |
( |
CameraMode |
mode | ) |
|
Sets the camera mode of the primary camera.
- Note
- Thread safe
◆ setSceneData()
void dart::gui::osg::detail::CameraModeCallback::setSceneData |
( |
::osg::Node * |
scene | ) |
|
Sets the scene to render the depth.
- Note
- Thread safe
◆ mCameraMode
CameraMode dart::gui::osg::detail::CameraModeCallback::mCameraMode |
|
private |
◆ mCameraModeChanged
bool dart::gui::osg::detail::CameraModeCallback::mCameraModeChanged |
|
private |
◆ mDepthHudCam
::osg::ref_ptr<::osg::Camera> dart::gui::osg::detail::CameraModeCallback::mDepthHudCam |
|
private |
◆ mDepthRrtCam
::osg::ref_ptr<::osg::Camera> dart::gui::osg::detail::CameraModeCallback::mDepthRrtCam |
|
private |
◆ mMutex
std::mutex dart::gui::osg::detail::CameraModeCallback::mMutex |
|
mutableprivate |
Mutex for all the member variables.
◆ mScene
::osg::ref_ptr<::osg::Node> dart::gui::osg::detail::CameraModeCallback::mScene |
|
private |
◆ mSceneToChange
::osg::ref_ptr<::osg::Node> dart::gui::osg::detail::CameraModeCallback::mSceneToChange |
|
private |