#include <HighlightEdges.h>
Inheritance diagram for nvsg::HighlightEdges:
Public Methods | |
virtual NVSG_API const HighlightEdges * | clone (void) const |
Create a HighlightEdges by cloning this. More... | |
virtual NVSG_API bool | isBoundingSphereValid (void) const |
This object does not hold any geometry, so it's bounding sphere is not valid. More... | |
virtual NVSG_API const nvmath::Sphere3f & | getBoundingSphere (void) const |
Get the bounding sphere of this HighlightObject. More... | |
NVSG_API float | getLineWidth (void) const |
return the line width used for drawing the box. More... | |
NVSG_API const nvmath::Vec3f & | getColor (void) const |
return the line width used for drawing the box. More... | |
Static Public Methods | |
NVSG_API const HighlightEdges * | create (float width=2.0f, nvmath::Vec3f color=nvmath::Vec3f(1.0f, 0.0f, 0.0f)) |
Create a HighlightEdges. More... | |
NVSG_API const HighlightEdges * | createFromBase (const HighlightObject &rhs, float width=2.0f, nvmath::Vec3f color=nvmath::Vec3f(1.0f, 0.0f, 0.0f)) |
Create a HighlightEdges by copying from a HighlightObject. More... | |
Protected Methods | |
NVSG_API | HighlightEdges (float width, nvmath::Vec3f color) |
Constructor with line width and color. More... | |
NVSG_API | HighlightEdges (const HighlightObject &rhs, float width, nvmath::Vec3f color) |
Partial Constructor. More... | |
NVSG_API | HighlightEdges (const HighlightEdges &rhs) |
Copy Constructor. More... | |
Protected Attributes | |
float | m_lineWidth |
line width used for drawing the bounding box. More... | |
nvmath::Vec3f | m_color |
color used for drawing. More... |
|
Constructor with line width and color.
|
|
Partial Constructor.
|
|
Copy Constructor.
|
|
Create a HighlightEdges.
|
|
Create a HighlightEdges by copying from a HighlightObject.
|
|
Create a HighlightEdges by cloning this.
|
|
This object does not hold any geometry, so it's bounding sphere is not valid.
Implements nvsg::HighlightObject. |
|
Get the bounding sphere of this HighlightObject. A HighlightEdges object does not have a bounding sphere, therefor this function shouldn't be used. Implements nvsg::HighlightObject. |
|
return the line width used for drawing the box.
|
|
return the line width used for drawing the box.
|
|
line width used for drawing the bounding box.
|
|
color used for drawing.
|