ReTo  0.3.7
reto::CameraAnimation Class Reference
+ Collaboration diagram for reto::CameraAnimation:

Public Types

enum  TInterpolation { NONE = 0, LINEAR }
 

Public Member Functions

 CameraAnimation (TInterpolation posInterpolation_=LINEAR, TInterpolation rotInterpolation_=NONE, TInterpolation radInterpolation_=NONE)
 
std::shared_ptr< KeyCameragetKeyCamera (float currentTime_)
 
bool addKeyCamera (KeyCamera *keyCamera_)
 
float startTime (void) const
 
float endTime (void) const
 
bool isPosAnimated (void) const
 
bool isRotAnimated (void) const
 
bool isRadAnimated (void) const
 

Protected Types

typedef Eigen::Vector3f(* TPosInterFunc) (Eigen::Vector3f, Eigen::Vector3f, float)
 
typedef Eigen::Matrix3f(* TRotInterFunc) (Eigen::Matrix3f, Eigen::Matrix3f, float)
 
typedef float(* TRadInterFunc) (float, float, float)
 

Static Protected Member Functions

static Eigen::Vector3f _linear (Eigen::Vector3f start_, Eigen::Vector3f end_, float alpha_)
 
static Eigen::Matrix3f _linear (Eigen::Matrix3f start_, Eigen::Matrix3f end_, float alpha_)
 
static float _linear (float start_, float end_, float alpha_)
 

Protected Attributes

std::map< float, KeyCamera * > _animation
 
float _startTime
 
float _endTime
 
TPosInterFunc _positionInterFunc
 
TRotInterFunc _rotationInterFunc
 
TRadInterFunc _radiusInterFunc
 

Detailed Description

Definition at line 78 of file CameraAnimation.h.


The documentation for this class was generated from the following file: