60#ifndef _SO_BOX_HIGHLIGHT_RENDER_ACTION_
61#define _SO_BOX_HIGHLIGHT_RENDER_ACTION_
131 bool obeysRules =
FALSE);
184 void constructorCommon();
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ACTION_HEADER(className)
Macros to be called within the class definition header for an action subclass:
Class for representing a viewport.
Node that defines an object's base color.
Box highlight - a subclass of SoGLRenderAction which renders the scene graph, then renders wireframe ...
void setLinePattern(unsigned short pattern)
Set the line pattern of the highlight.
SoBoxHighlightRenderAction(const SbViewportRegion &viewportRegion)
Constructor.
bool isVisible() const
Returns whether highlights will be rendered or not.
float getLineWidth()
Get the line width.
SoLightModel * lightModel
SoPath * selPath
Cached path to selection so we don't search every time.
unsigned short getLinePattern()
Get the line pattern of the highlight.
virtual void apply(const SoPathList &pathList, bool obeysRules=FALSE)
This renders the passed scene graph, and also renders wireframe boxes around selected objects as spec...
void updateBbox(SoPath *p)
virtual void apply(SoPath *path)
This renders the passed scene graph, and also renders wireframe boxes around selected objects as spec...
void setVisible(bool b)
This provides a convenient mechansim for turning highlights off or on.
virtual void apply(SoNode *node)
This renders the passed scene graph, and also renders wireframe boxes around selected objects as spec...
void setColor(const SbColor &c)
Set the color of the highlight.
const SbColor & getColor()
Get the color of the highlight.
virtual ~SoBoxHighlightRenderAction()
void setLineWidth(float width)
Set the line width.
SoSeparator * localRoot
Nodes which comprise the local highlight graph.
SoBoxHighlightRenderAction()
Constructor.
SoMatrixTransform * xform
Node that defines the style to use when rendering.
Renders a scene graph using OpenGL.
Node that defines the lighting model to use when rendering.
Abstract base class for all database nodes.
Maintains a list of pointers to paths.
Path that points to a list of hierarchical nodes.
Group node that saves and restores traversal state.
Node representing a 3D translation.