Rasterfarm-SDK
Loading...
Searching...
No Matches
Sequence::Transform< INTERPOLATION, MATRIX > Class Template Reference

#include <transform.h>

Inheritance diagram for Sequence::Transform< INTERPOLATION, MATRIX >:
Sequence::Animation< INTERPOLATION > Sequence::AnimationBase INTERPOLATION Schedule::Frame

Public Member Functions

 Transform (MATRIX *pMatrix, const MATRIX &matrix, const AnimationBase::Attribute &attribute)
 
- Public Member Functions inherited from Sequence::Animation< INTERPOLATION >
 Animation (const Attribute &attribute, bool easeDirection=false)
 
virtual ~Animation ()
 
void computeSteps ()
 
- Public Member Functions inherited from Sequence::AnimationBase
 AnimationBase (const Attribute &attribute)
 
virtual ~AnimationBase ()
 
const AttributegetAttribute ()
 
virtual void reset ()
 
void expire ()
 
void printSteps ()
 
bool done ()
 
- Public Member Functions inherited from Schedule::Frame
 Frame ()
 

Protected Member Functions

virtual void vNext ()
 
- Protected Member Functions inherited from Sequence::AnimationBase
void reverseSteps ()
 
- Protected Member Functions inherited from Schedule::Frame
virtual ~Frame ()
 

Protected Attributes

MATRIX * pMatrix
 
bool translate
 
Vector3f currentScale
 
Vector3f deltaScale
 
Quaternion< floatcurrentQuaternion
 
Quaternion< floatdeltaQuaternion
 
Vertex3f currentPosition
 
Vertex3f deltaPosition
 
- Protected Attributes inherited from Sequence::Animation< INTERPOLATION >
bool easeDirection
 
- Protected Attributes inherited from Sequence::AnimationBase
Attribute attribute
 
HeapArray< double > step
 
uint frame
 

Additional Inherited Members

- Public Types inherited from Sequence::AnimationBase
enum  LoopType {
  LOOP_NONE ,
  LOOP_REPEAT ,
  LOOP_REVERSE_STEP_REPEAT ,
  LOOP_REVERSE_INTERPOLATION_REPEAT ,
  LOOP_REVERSE_INTERPOLATION_REVERSE_STEP_REPEAT
}
 

Constructor & Destructor Documentation

◆ Transform()

template<class INTERPOLATION , class MATRIX >
Sequence::Transform< INTERPOLATION, MATRIX >::Transform ( MATRIX * pMatrix,
const MATRIX & matrix,
const AnimationBase::Attribute & attribute )

Member Function Documentation

◆ vNext()

template<class INTERPOLATION , class MATRIX >
void Sequence::Transform< INTERPOLATION, MATRIX >::vNext ( )
protectedvirtual

Apply the animation for the given frame.

Returns
void.

Implements Sequence::AnimationBase.

Member Data Documentation

◆ currentPosition

template<class INTERPOLATION , class MATRIX >
Vertex3f Sequence::Transform< INTERPOLATION, MATRIX >::currentPosition
protected

◆ currentQuaternion

template<class INTERPOLATION , class MATRIX >
Quaternion< float > Sequence::Transform< INTERPOLATION, MATRIX >::currentQuaternion
protected

Spatial vector indicating direction of travel and distance.

◆ currentScale

template<class INTERPOLATION , class MATRIX >
Vector3f Sequence::Transform< INTERPOLATION, MATRIX >::currentScale
protected

◆ deltaPosition

template<class INTERPOLATION , class MATRIX >
Vertex3f Sequence::Transform< INTERPOLATION, MATRIX >::deltaPosition
protected

◆ deltaQuaternion

template<class INTERPOLATION , class MATRIX >
Quaternion< float > Sequence::Transform< INTERPOLATION, MATRIX >::deltaQuaternion
protected

◆ deltaScale

template<class INTERPOLATION , class MATRIX >
Vector3f Sequence::Transform< INTERPOLATION, MATRIX >::deltaScale
protected

◆ pMatrix

template<class INTERPOLATION , class MATRIX >
MATRIX* Sequence::Transform< INTERPOLATION, MATRIX >::pMatrix
protected

The MATRIX to apply the animation.

◆ translate

template<class INTERPOLATION , class MATRIX >
bool Sequence::Transform< INTERPOLATION, MATRIX >::translate
protected

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