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

#include <position.h>

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

Public Member Functions

 Position (MATRIX *pMatrix, const Vector3f &vec, const AnimationBase::Attribute &attribute)
 
 Position (MATRIX *pMatrix, float x, float y, float z, 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
 
Vector3f vec
 
- 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

◆ Position() [1/2]

template<class INTERPOLATION , class MATRIX >
Sequence::Position< INTERPOLATION, MATRIX >::Position ( MATRIX * pMatrix,
const Vector3f & vec,
const AnimationBase::Attribute & attribute )

◆ Position() [2/2]

template<class INTERPOLATION , class MATRIX >
Sequence::Position< INTERPOLATION, MATRIX >::Position ( MATRIX * pMatrix,
float x,
float y,
float z,
const AnimationBase::Attribute & attribute )

Member Function Documentation

◆ vNext()

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

Apply the animation for the given frame.

Returns
void.

Implements Sequence::AnimationBase.

Member Data Documentation

◆ pMatrix

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

The CLASS to apply the animation.

◆ vec

template<class INTERPOLATION , class MATRIX >
Vector3f Sequence::Position< INTERPOLATION, MATRIX >::vec
protected

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