ReTo
0.3.7
|
Class to control orbital camera. More...
#include <FreeCameraController.h>
Public Member Functions | |
FreeCameraController (Camera *camera_=nullptr, const std::string zeqSession=std::string()) | |
void | localTranslate (const Eigen::Vector3f &translation_) |
Public Member Functions inherited from reto::AbstractCameraController | |
AbstractCameraController (Camera *camera_=nullptr, const std::string zeqSession=std::string()) | |
Camera * | camera (void) |
void | update (void) |
void | anim (const float deltaTime_=1.0f/60) |
void | startAnim (CameraAnimation *cameraAnimation_, bool loop_=false) |
void | stopAnim (void) |
bool | isAniming (void) const |
virtual void | position (const Eigen::Vector3f &position_) |
virtual Eigen::Vector3f | position (void) const |
void | rotation (const Eigen::Matrix3f &rotation_) |
void | rotation (const Eigen::Vector3f &rotationAngles_) |
Eigen::Matrix3f | rotation (void) const |
void | radius (float radius_) |
float | radius (void) const |
void | translate (const Eigen::Vector3f &translation_) |
void | rotate (const Eigen::Matrix3f &rotation_) |
void | rotate (const Eigen::Vector3f &rotationAngles_) |
void | windowSize (int width_, int height_) |
Eigen::Matrix3f | rotationMatrixFromAngles (const Eigen::Vector3f &rotationAngles_) |
Protected Member Functions | |
void | _conformSetViewMatrix (const Eigen::Vector3f &position_, const Eigen::Matrix3f &rotation_, float radius_) |
Protected Member Functions inherited from reto::AbstractCameraController | |
void | _setCameraViewMatrix (const Eigen::Matrix4f &viewMatrix_) |
Additional Inherited Members | |
Protected Attributes inherited from reto::AbstractCameraController | |
Camera * | _camera |
Eigen::Vector3f | _position |
Eigen::Matrix3f | _rotation |
float | _radius |
bool | _isAniming |
float | _currentAnimTime |
CameraAnimation * | _currentAnim |
bool | _loopAnim |
Class to control orbital camera.
This class manage the movement, rotation, zoom and animation of free camera
Definition at line 39 of file FreeCameraController.h.