#include <Animation.h>
Inheritance diagram for nvsg::Animation:
Public Methods | |
virtual const Animation< T > * | clone (void) const=0 |
Interface for creating a clone of this animation. More... | |
virtual size_t | getNumberOfFrames (void) const=0 |
Get the number of frames in the animation. More... | |
virtual const T & | operator[] (size_t i) const=0 |
Random access operator for more convenient usage, constant version only. More... | |
virtual DataID | getDataID (void) const |
Get the DataID of the data of this object. More... | |
virtual bool | isDataShared (void) const |
Determine whether the data of this object is shared. More... | |
Protected Methods | |
Animation (void) | |
Protected constructor. More... | |
virtual | ~Animation (void) |
Protected destructor to prevent explicit creation on stack. More... |
An Animation is a pure virtual template class derived from Object that defines the common interface of an animation.
|
Protected constructor.
|
|
Protected destructor to prevent explicit creation on stack.
|
|
Interface for creating a clone of this animation.
Implemented in nvsg::FramedAnimation< T >, and nvsg::LinearInterpolatedAnimation< T >. |
|
Get the number of frames in the animation.
Implemented in nvsg::FramedAnimation< T >, and nvsg::InterpolatedAnimation< T >. |
|
Random access operator for more convenient usage, constant version only.
Implemented in nvsg::FramedAnimation< T >, and nvsg::LinearInterpolatedAnimation< T >. |
|
Get the DataID of the data of this object.
Reimplemented from nvsg::Object. |
|
Determine whether the data of this object is shared.
Reimplemented from nvsg::Object. |