![]() |
LibCarna Version 3.4.0
|
Implements base::CameraControl, rotates the camera around itself and allows completely free camera movement. More...
#include <CameraNavigationControl.hpp>
Inheritance diagram for LibCarna::presets::CameraNavigationControl:
Collaboration diagram for LibCarna::presets::CameraNavigationControl:Public Member Functions | |
| CameraNavigationControl () | |
| Instantiates. | |
| virtual | ~CameraNavigationControl () |
| Deletes. | |
| virtual void | setCamera (base::Spatial &) override |
| Sets the camera that this object should control. | |
| virtual void | rotateHorizontally (float radians) override |
| Rotates the camera around its local \(\left(0, 1, 0\right)^\mathrm T\) vector by radians. | |
| virtual void | rotateVertically (float radians) override |
| Rotates the camera around its local \(\left(1, 0, 0\right)^\mathrm T\) vector by radians. | |
| virtual void | moveAxially (float units) override |
| Moves the camera along its local \(\left(0, 0, 1\right)^\mathrm T\) vector by units. | |
| virtual void | moveLaterally (float unitsX, float unitsY) override |
| Moves the camera along its x-/y-axis. The parameters of this movement depend on the implementation. | |
Public Member Functions inherited from LibCarna::base::CameraControl | |
| virtual | ~CameraControl () |
| Does nothing. | |
Implements base::CameraControl, rotates the camera around itself and allows completely free camera movement.
Definition at line 45 of file CameraNavigationControl.hpp.
|
overridevirtual |
Moves the camera along its local \(\left(0, 0, 1\right)^\mathrm T\) vector by units.
Implements LibCarna::base::CameraControl.
|
overridevirtual |
Moves the camera along its x-/y-axis. The parameters of this movement depend on the implementation.
Implements LibCarna::base::CameraControl.
|
overridevirtual |
Rotates the camera around its local \(\left(0, 1, 0\right)^\mathrm T\) vector by radians.
Implements LibCarna::base::CameraControl.
|
overridevirtual |
Rotates the camera around its local \(\left(1, 0, 0\right)^\mathrm T\) vector by radians.
Implements LibCarna::base::CameraControl.
|
overridevirtual |
Sets the camera that this object should control.
Implements LibCarna::base::CameraControl.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen