Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Core::Animation::Sequence Class Referenceabstract

#include <Core/Animation/Sequence.hpp>

+ Collaboration diagram for Ra::Core::Animation::Sequence:

Public Types

enum class  PoseType { Pose_RELATIVE , Pose_ABSOLUTE }
 ENUM. More...
 

Public Member Functions

 Sequence ()
 CONSTRUCTOR.
 
 Sequence (const Sequence &sequence)
 
virtual ~Sequence ()
 DESTRUCTOR.
 
virtual uint size () const =0
 SIZE INTERFACE.
 
virtual void clear ()
 INTERFACE.
 
bool isEmpty () const
 QUERY.
 
PoseType getPoseType () const
 POSE TYPE.
 
void setPoseType (const PoseType &type)
 
virtual FrameSet getSequence () const =0
 SEQUENCE INTERFACE.
 
virtual void setSequence (const FrameSet &set)
 
virtual Frame frame (const int i) const =0
 POSE INTERFACE.
 
virtual void setFrame (const int i, const Frame &frame)
 
Frame nextFrame () const
 
Frame prevFrame () const
 
Frame currentFrame () const
 
Frame firstFrame () const
 
Frame lastFrame () const
 
uint nextFrameIndex () const
 INDEX.
 
uint prevFrameIndex () const
 
uint currentFrameIndex () const
 
uint firstFrameIndex () const
 
uint lastFrameIndex () const
 
virtual void insertFrame (const Frame &frame, const int i)
 INSERT POSE.
 
void insertNext (const Frame &frame)
 
void insertPrev (const Frame &frame)
 
void insertCurrent (const Frame &frame)
 
void insertFirst (const Frame &frame)
 
void insertLast (const Frame &frame)
 
virtual void removeFrame (const int i)
 REMOVE POSE.
 
void removeNext ()
 
void removePrev ()
 
void removeCurrent ()
 
void removeFirst ()
 
void removeLast ()
 
void moveToFrame (const int i)
 SEQUENCE FLOW.
 
void moveToNextFrame ()
 
void moveToPrevFrame ()
 
void moveToFirstFrame ()
 
void moveToLastFrame ()
 
void reset ()
 

Detailed Description

The class Sequence is a container for an animation sequence.

Definition at line 19 of file Sequence.hpp.

Member Enumeration Documentation

◆ PoseType

ENUM.

Definition at line 25 of file Sequence.hpp.

Constructor & Destructor Documentation

◆ Sequence() [1/2]

Ra::Core::Animation::Sequence::Sequence ( )

CONSTRUCTOR.

Definition at line 8 of file Sequence.cpp.

◆ Sequence() [2/2]

Ra::Core::Animation::Sequence::Sequence ( const Sequence & sequence)

Definition at line 9 of file Sequence.cpp.

◆ ~Sequence()

Ra::Core::Animation::Sequence::~Sequence ( )
virtual

DESTRUCTOR.

Definition at line 13 of file Sequence.cpp.

Member Function Documentation

◆ clear()

void Ra::Core::Animation::Sequence::clear ( )
virtual

INTERFACE.

Definition at line 16 of file Sequence.cpp.

◆ insertFrame()

void Ra::Core::Animation::Sequence::insertFrame ( const Frame & frame,
const int i )
virtual

INSERT POSE.

Definition at line 19 of file Sequence.cpp.

◆ removeFrame()

void Ra::Core::Animation::Sequence::removeFrame ( const int i)
virtual

REMOVE POSE.

Definition at line 20 of file Sequence.cpp.

◆ setFrame()

void Ra::Core::Animation::Sequence::setFrame ( const int i,
const Frame & frame )
virtual

Definition at line 18 of file Sequence.cpp.

◆ setSequence()

void Ra::Core::Animation::Sequence::setSequence ( const FrameSet & set)
virtual

Definition at line 17 of file Sequence.cpp.


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