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

#include <scale.h>

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

Public Member Functions

 Scale (MATRIX *pMatrix, const Vector3f &scale, const AnimationBase::Attribute &attribute)
 
 Scale (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 currentScale
 
Vector3f deltaScale
 
- 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

◆ Scale() [1/2]

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

◆ Scale() [2/2]

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

Member Function Documentation

◆ vNext()

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

Apply the animation for the given frame.

Returns
void.

Implements Sequence::AnimationBase.

Member Data Documentation

◆ currentScale

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

◆ deltaScale

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

◆ pMatrix

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

The Matrix to apply the animation.


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