#include <Animation.h>
Inheritance diagram for nvsg::Animation< T >:
Public Member Functions | |
virtual const Animation< T > * | clone (void) const =0 |
Interface for creating a clone of this animation. | |
virtual size_t | getNumberOfFrames (void) const =0 |
Get the number of frames in the animation. | |
virtual const T & | operator[] (size_t i) const =0 |
Random access operator for more convenient usage, constant version only. | |
virtual DataID | getDataID (void) const |
Get the DataID of the data of this object. | |
virtual bool | isDataShared (void) const |
Determine whether the data of this object is shared. | |
Protected Member Functions | |
Animation (void) | |
Protected constructor. | |
virtual | ~Animation (void) |
Protected destructor to prevent explicit creation on stack. |
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. |