Animation
that holds a complete data set for each frame.
More...
#include <FramedAnimation.h>
Inheritance diagram for nvsg::FramedAnimation< T >:
Public Member Functions | |
virtual const FramedAnimation< T > * | clone (void) const |
Create a new FramedAnimation by copying from this. | |
virtual void | setNumberOfFrames (size_t count) |
Set the number of frames in the animation. | |
virtual T & | operator[] (size_t i) |
Random access operator for more convenient usage. | |
virtual size_t | getNumberOfFrames (void) const |
Get the number of frames in the animation. | |
virtual const T & | operator[] (size_t i) const |
Random access operator for more convenient usage, constant version only. | |
Static Public Member Functions | |
static const FramedAnimation< T > * | create (void) |
Create a FramedAnimation. | |
static const FramedAnimation< T > * | createFromBase (const Animation< T > &rhs) |
Create a FramedAnimation by copying from an Animation. | |
Protected Member Functions | |
NVSG_API | FramedAnimation (void) |
Default Constructor. | |
NVSG_API | FramedAnimation (const Animation< T > &rhs) |
Partial Constructor. | |
NVSG_API | FramedAnimation (const FramedAnimation< T > &rhs) |
Copy Constructor. | |
virtual | ~FramedAnimation (void) |
Protected destructor to prevent explicit creation on stack. |
Animation
that holds a complete data set for each frame.
Trafo
and VNVector
.
|
Default Constructor.
|
|
Partial Constructor.
|
|
Copy Constructor.
|
|
Protected destructor to prevent explicit creation on stack.
|
|
Create a FramedAnimation.
|
|
Create a FramedAnimation by copying from an Animation.
|
|
Create a new FramedAnimation by copying from this.
Implements nvsg::Animation< T >. |
|
Set the number of frames in the animation. Resizes the array of animation values. On growing this array, the new elements are not initialized. |
|
Random access operator for more convenient usage.
|
|
Get the number of frames in the animation.
Implements nvsg::Animation< T >. |
|
Random access operator for more convenient usage, constant version only.
Implements nvsg::Animation< T >. |