#include <HighlightObject.h>
Inheritance diagram for nvsg::HighlightObject:
Public Member Functions | |
virtual NVSG_API bool | isBoundingSphereValid (void) const =0 |
Ask if the bounding sphere of this HighlightObject is valid. | |
virtual NVSG_API const nvmath::Sphere3f & | getBoundingSphere (void) const =0 |
Get the bounding sphere of this HighlightObject. | |
virtual NVSG_API bool | isValid (void) const |
Tells us whether the highlight object needs to be recalculated. | |
virtual NVSG_API void | invalidate (void) |
Invalidate highlight geometry, so that it will be recalculated. | |
Protected Member Functions | |
NVSG_API | HighlightObject (void) |
Constructor. | |
Protected Attributes | |
bool | m_invalid |
set if the highlight needs to be recalculated |
|
Constructor.
|
|
Ask if the bounding sphere of this HighlightObject is valid. If the bounding sphere isn't valid, it is tried to validate it.
Implemented in nvsg::HighlightBox, and nvsg::HighlightEdges. |
|
Get the bounding sphere of this HighlightObject. The bounding sphere of a Node is a sphere that completely contains the HighlightObject.
Implemented in nvsg::HighlightBox, and nvsg::HighlightEdges. |
|
Tells us whether the highlight object needs to be recalculated. Calculation is required before first rendering, and every time the associated geometry is changed. |
|
Invalidate highlight geometry, so that it will be recalculated.
|
|
set if the highlight needs to be recalculated
|