62#ifndef _SO_LOCATE_HIGHLIGHT_
63#define _SO_LOCATE_HIGHLIGHT_
189 bool highlightingPass;
191 bool isHighlighted(
SoAction *action);
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Abstract base class for all actions.
This class is meant to be used by all property nodes that set either a diffuse color or transparency ...
This SoEXTENDER class allows expert users to examine "hidden" children in paths.
Renders a scene graph using OpenGL.
Allows nodes in a graph to receive input events.
Special separator that performs locate highlighting.
SoSFColor color
Highlighting color - default [.3, .3, .3].
Modes
Possible values for the mode.
@ AUTO
highlight when mouse is over (default)
SoLocateHighlight()
Creates a LocateHighlight node with default settings.
virtual void handleEvent(SoHandleEventAction *action)
Override handleEvent to look for mouse motion, to do a pick and highlight if mouse is over us.
SoSFEnum style
Highlighting draw style - default EMISSIVE.
virtual void GLRenderInPath(SoGLRenderAction *action)
virtual void redrawHighlighted(SoAction *act, bool flag)
This is called when this nodes needs to highlight or de-highlight.
virtual ~SoLocateHighlight()
static void turnOffCurrentHighlight(SoGLRenderAction *action)
This will de-highlight the currently highlighted node if any.
SoSFEnum mode
Whether to highlight or not - default AUTO.
virtual void GLRenderBelowPath(SoGLRenderAction *action)
These methods make render traversal faster by implementing different rendering paths corresponding to...
static void initClass()
initialize the class
Styles
Possible values for draw style.
@ EMISSIVE
changes emissive color only (default)
Field containing an RGB color.
Field containing an enumerated value.
Group node that saves and restores traversal state.