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

#include <animation.h>

Inheritance diagram for Sequence::Animation< INTERPOLATION >:
Sequence::AnimationBase INTERPOLATION Schedule::Frame Sequence::Position< INTERPOLATION, MATRIX > Sequence::Rotation< INTERPOLATION, CLASS > Sequence::Scale< INTERPOLATION, MATRIX > Sequence::Transform< INTERPOLATION, MATRIX > Sequence::Translation< INTERPOLATION, CLASS >

Public Member Functions

 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 Attributes

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
}
 
- Protected Member Functions inherited from Sequence::AnimationBase
virtual void vNext ()=0
 
void reverseSteps ()
 
- Protected Member Functions inherited from Schedule::Frame
virtual ~Frame ()
 

Detailed Description

template<class INTERPOLATION>
class Sequence::Animation< INTERPOLATION >
Template Parameters
AnInterpolation class.

Constructor & Destructor Documentation

◆ Animation()

template<class INTERPOLATION >
Sequence::Animation< INTERPOLATION >::Animation ( const Attribute & attribute,
bool easeDirection = false )

Constructor.

Parameters
henumber of frames to complete animation.
Whattodo whent the frameSize has been reached.
Indicatesease-in or ease-out.

◆ ~Animation()

template<class INTERPOLATION >
Sequence::Animation< INTERPOLATION >::~Animation ( )
virtual

Member Function Documentation

◆ computeSteps()

template<class INTERPOLATION >
void Sequence::Animation< INTERPOLATION >::computeSteps ( )

Member Data Documentation

◆ easeDirection

template<class INTERPOLATION >
bool Sequence::Animation< INTERPOLATION >::easeDirection
protected

True if ease-in and false if ease-out.


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