#include <AnimatedQuads.h>
Inheritance diagram for nvsg::AnimatedQuads:
Public Methods | |
virtual NVSG_API const AnimatedQuads * | clone (void) const |
Create a new AnimatedQuads by copying from this. More... | |
NVSG_API const Animation< VNVector > * | getAnimation (void) const |
Get a constant pointer to the Animation. More... | |
NVSG_API void | setAnimation (const Animation< VNVector > *pAnimation) |
Set the Animation. More... | |
NVSG_API void | setAnimationFrame (size_t frame) |
Set the animation frame. More... | |
virtual NVSG_API size_t | getNumberOfFrames (void) const |
Get the number of animation frames. More... | |
virtual NVSG_API DataID | getDataID (void) const |
Get the DataID of the data of this object. More... | |
virtual NVSG_API bool | isDataShared (void) const |
Determine whether the data of this object is shared. More... | |
Static Public Methods | |
NVSG_API const AnimatedQuads * | create (const Animation< VNVector > *pAnimation=NULL) |
Create an AnimatedQuads. More... | |
NVSG_API const AnimatedQuads * | createFromBase (const Quads &rhs, const Animation< VNVector > *pAnimation=NULL) |
Create an AnimatedQuads by copying from a Quads. More... | |
Protected Methods | |
NVSG_API | AnimatedQuads (const Animation< VNVector > *pAnimation) |
Constructor with an Animation. More... | |
NVSG_API | AnimatedQuads (const Quads &rhs, const Animation< VNVector > *pAnimation) |
Constructor with a Quads and an Animation. More... | |
NVSG_API | AnimatedQuads (const AnimatedQuads &rhs) |
Copy Constructor. More... | |
virtual NVSG_API | ~AnimatedQuads (void) |
Protected destructor to prevent explicit creation on stack. More... | |
virtual NVSG_API void | onSetVertexAttributeData (void) |
Vertex attribute data have been changed. More... |
This class is a Quads with an Animation<VNVector>. The Animation defines the vertices and normals for each animation step.
|
Constructor with an Animation.
|
|
Constructor with a Quads and an Animation.
|
|
Copy Constructor.
|
|
Protected destructor to prevent explicit creation on stack.
|
|
Create an AnimatedQuads. There is an optional argument pAnimation to use a given Animation<VNVector>.
|
|
Create an AnimatedQuads by copying from a Quads. There is an optional argument pAnimation to use a given Animation<VNVector>.
|
|
Create a new AnimatedQuads by copying from this.
Reimplemented from nvsg::Quads. |
|
Get a constant pointer to the Animation.
|
|
Set the Animation. Any previous Animation is dereferenced, the new one is referenced, and the animation frame is reset to zero.
|
|
Set the animation frame. The vertices/normals for animation step frame are used as the current.
|
|
Get the number of animation frames.
Reimplemented from nvsg::Drawable. |
|
Get the DataID of the data of this object.
Reimplemented from nvsg::Quads. |
|
Determine whether the data of this object is shared.
Reimplemented from nvsg::Quads. |
|
Vertex attribute data have been changed. This function gets called from the framework, whenever certain vertex attribute data has been changed. Classes that derive from GeoSet may overload this function to add some necessary work after the vertex attribute data has been changed. Reimplemented from nvsg::GeoSet. |