1#ifndef KEY_FILE_INCLUDED
2#define KEY_FILE_INCLUDED
12 template<
typename DataType >
20 virtual DataType
evaluate(
unsigned int dof ,
double t ,
int curveType ) = 0;
24 template<
typename DataType >
38 std::vector< std::vector< DataType > >
_data;
59 int dofs(
void )
const;
62 const DataType &
current(
const std::string &dofName )
const;
65 template<
typename ParameterType >
89 template<
typename DataType ,
typename ParameterType >
101 DataType
evaluate(
unsigned int dof ,
double t ,
int curveType );
Definition: keyFrames.h:26
std::vector< std::string > _dofNames
Definition: keyFrames.h:35
float _duration
Definition: keyFrames.h:32
KeyFrameEvaluator< DataType > * _keyFrameEvaluator
Definition: keyFrames.h:44
const DataType & current(const std::string &dofName) const
Definition: keyFrames.inl:28
std::vector< DataType > _currentValues
Definition: keyFrames.h:41
friend std::istream & operator>>(std::istream &, KeyFrameData< _DataType > &)
~KeyFrameData(void)
Definition: keyFrames.inl:16
friend std::ostream & operator<<(std::ostream &, const KeyFrameData< _DataType > &)
void setCurrentValues(double t, int curveType)
Definition: keyFrames.inl:44
float duration(void) const
Definition: keyFrames.inl:19
std::vector< std::vector< DataType > > _data
Definition: keyFrames.h:38
KeyFrameData(void)
Definition: keyFrames.inl:13
int dofs(void) const
Definition: keyFrames.inl:25
int keyframes(void) const
Definition: keyFrames.inl:22
void setEvaluator(void)
Definition: keyFrames.inl:37
Definition: keyFrames.h:14
virtual ~KeyFrameEvaluator(void)
Definition: keyFrames.inl:7
virtual DataType evaluate(unsigned int dof, double t, int curveType)=0
Definition: keyFrames.h:91
DataType evaluate(unsigned int dof, double t, int curveType)
Definition: keyFrames.inl:113
std::vector< std::vector< ParameterType > > _parameters
Definition: keyFrames.h:93
KeyFrameParameters(const KeyFrameData< DataType > &data)
Definition: keyFrames.inl:96
KeyFrameData< Util::Matrix4D > KeyFrameMatrices
Definition: keyFrames.h:79
std::istream & operator>>(std::istream &stream, Camera &camera)
Definition: camera.cpp:15
std::ostream & operator<<(std::ostream &stream, const Camera &camera)
Definition: camera.cpp:25