Rasterfarm-SDK
Loading...
Searching...
No Matches
Sequence::AnimationBase Class Referenceabstract

#include <animation.h>

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

Classes

class  Attribute
 

Public Types

enum  LoopType {
  LOOP_NONE ,
  LOOP_REPEAT ,
  LOOP_REVERSE_STEP_REPEAT ,
  LOOP_REVERSE_INTERPOLATION_REPEAT ,
  LOOP_REVERSE_INTERPOLATION_REVERSE_STEP_REPEAT
}
 

Public Member Functions

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

Protected Attributes

Attribute attribute
 
HeapArray< double > step
 
uint frame
 

Detailed Description

ADT class for Animation.

Member Enumeration Documentation

◆ LoopType

The action to take when the animation completes.

Enumerator
LOOP_NONE 
LOOP_REPEAT 
LOOP_REVERSE_STEP_REPEAT 
LOOP_REVERSE_INTERPOLATION_REPEAT 
LOOP_REVERSE_INTERPOLATION_REVERSE_STEP_REPEAT 

Constructor & Destructor Documentation

◆ AnimationBase()

Sequence::AnimationBase::AnimationBase ( const Attribute & attribute)

◆ ~AnimationBase()

virtual Sequence::AnimationBase::~AnimationBase ( )
virtual

Member Function Documentation

◆ done()

bool Sequence::AnimationBase::done ( )

◆ expire()

void Sequence::AnimationBase::expire ( )

Non-atomic operation and will expire after last call to frame().

◆ getAttribute()

const Attribute & Sequence::AnimationBase::getAttribute ( )
inline

◆ printSteps()

void Sequence::AnimationBase::printSteps ( )

◆ reset()

virtual void Sequence::AnimationBase::reset ( )
virtual

◆ reverseSteps()

void Sequence::AnimationBase::reverseSteps ( )
protected

Reverse the animation steps.

Returns
void.

◆ vNext()

virtual void Sequence::AnimationBase::vNext ( )
protectedpure virtual

Member Data Documentation

◆ attribute

Attribute Sequence::AnimationBase::attribute
protected

◆ frame

uint Sequence::AnimationBase::frame
protected

The counter holding the current frame.

◆ step

HeapArray< double > Sequence::AnimationBase::step
protected

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