![]() |
LibCarna Version 3.4.0
|
Defines interface for intuitive Camera control. More...
#include <CameraControl.hpp>
Public Member Functions | |
virtual | ~CameraControl () |
Does nothing. | |
virtual void | setCamera (Spatial &camera)=0 |
Sets the camera that this object should control. | |
virtual void | rotateHorizontally (float radians)=0 |
Rotates the previously set camera horizontally. The rotation axis depends on the implementation. | |
virtual void | rotateVertically (float radians)=0 |
Rotates the previously set camera vertically. The rotation axis depends on the implementation. | |
virtual void | moveAxially (float distance)=0 |
Moves the camera along its z-axis. The parameters of this movement depend on the implementation. | |
virtual void | moveLaterally (float distanceX, float distanceY)=0 |
Moves the camera along its x-/y-axis. The parameters of this movement depend on the implementation. | |
Defines interface for intuitive Camera control.
Definition at line 42 of file CameraControl.hpp.
Moves the camera along its z-axis. The parameters of this movement depend on the implementation.
Implemented in LibCarna::presets::CameraNavigationControl, LibCarna::presets::CameraShowcaseControl, and LibCarna::presets::OrthogonalControl.
|
pure virtual |
Moves the camera along its x-/y-axis. The parameters of this movement depend on the implementation.
Implemented in LibCarna::presets::CameraNavigationControl, LibCarna::presets::CameraShowcaseControl, and LibCarna::presets::OrthogonalControl.
Rotates the previously set camera horizontally. The rotation axis depends on the implementation.
Implemented in LibCarna::presets::CameraNavigationControl, LibCarna::presets::CameraShowcaseControl, and LibCarna::presets::OrthogonalControl.
Rotates the previously set camera vertically. The rotation axis depends on the implementation.
Implemented in LibCarna::presets::CameraNavigationControl, LibCarna::presets::CameraShowcaseControl, and LibCarna::presets::OrthogonalControl.
Sets the camera that this object should control.
Implemented in LibCarna::presets::CameraNavigationControl, LibCarna::presets::CameraShowcaseControl, and LibCarna::presets::OrthogonalControl.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen