#include <Drawable.h>
Inheritance diagram for nvsg::Drawable:
Public Member Functions | |
virtual NVSG_API const Drawable * | clone (void) const =0 |
virtual NVSG_API bool | isBoundingSphereValid (void) const =0 |
Ask if the bounding sphere of this Node is valid. | |
virtual NVSG_API const nvmath::Sphere3f & | getBoundingSphere (void) const =0 |
Get the bounding sphere of this Node. | |
NVSG_API void | invalidateNumberOfFrames (void) const |
Invalidate the number of frames information. | |
virtual NVSG_API size_t | getNumberOfFrames (void) const |
Get the number of animation frames. | |
NVSG_API size_t | getNumberOfOwners (void) const |
Get the number of owners of this Drawable. | |
NVSG_API const GeoNode * | getOwner (size_t index) const |
Get a constant pointer to the owner node at position index. | |
virtual NVSG_API DataID | getDataID (void) const |
Get the DataID of the data of this object. | |
virtual NVSG_API bool | isDataShared (void) const |
Determine whether the data of this object is shared. | |
Protected Member Functions | |
NVSG_API | Drawable (void) |
Protected constructor. | |
NVSG_API | Drawable (const Drawable &) |
virtual NVSG_API | ~Drawable (void) |
Protected destructor to prevent explicit creation on stack. | |
virtual NVSG_API void | invalidateBoundingSphere (void) const |
Invalidate bounding sphere information. | |
Friends | |
class | GeoNode |
Defines the interface that every drawable object (e.g. GeoSet) has to resolve.
|
Protected constructor.
|
|
Protected destructor to prevent explicit creation on stack.
|
|
Implemented in nvsg::AnimatedQuads, nvsg::AnimatedTriangles, nvsg::Quads, nvsg::QuadStrips, nvsg::SkinnedTriangles, nvsg::Triangles, and nvsg::TriStrips. |
|
Ask if the bounding sphere of this Node is valid. If the bounding sphere isn't valid, it is tried to validate it.
Implemented in nvsg::GeoSet. |
|
Get the bounding sphere of this Node. The bounding sphere of a Node is a sphere that completely contains the Node and all its children.
Implemented in nvsg::GeoSet. |
|
Invalidate the number of frames information.
|
|
Get the number of animation frames.
Reimplemented in nvsg::AnimatedQuads, nvsg::AnimatedTriangles, and nvsg::SkinnedTriangles. |
|
Get the number of owners of this Drawable.
|
|
Get a constant pointer to the owner node at position index.
|
|
Get the DataID of the data of this object.
Reimplemented from nvsg::Object. Reimplemented in nvsg::AnimatedQuads, nvsg::AnimatedTriangles, nvsg::GeoSet, nvsg::Quads, nvsg::QuadStrips, nvsg::SkinnedTriangles, nvsg::Triangles, and nvsg::TriStrips. |
|
Determine whether the data of this object is shared.
Reimplemented from nvsg::Object. Reimplemented in nvsg::AnimatedQuads, nvsg::AnimatedTriangles, nvsg::GeoSet, nvsg::Quads, nvsg::QuadStrips, nvsg::SkinnedTriangles, nvsg::Triangles, and nvsg::TriStrips. |
|
Invalidate bounding sphere information.
Reimplemented in nvsg::GeoSet. |