#include <Inventor/nodes/SoLocateHighlight.h>
Inheritance diagram for SoLocateHighlight::
Public Types | |
enum | Modes { AUTO, ON, OFF } |
enum | Styles { EMISSIVE, EMISSIVE_DIFFUSE } |
Public Methods | |
SoLocateHighlight (void) | |
virtual void | handleEvent (SoHandleEventAction *action) |
virtual void | GLRenderBelowPath (SoGLRenderAction *action) |
virtual void | GLRenderInPath (SoGLRenderAction *action) |
Static Public Methods | |
void | initClass (void) |
void | turnOffCurrentHighlight (SoGLRenderAction *action) |
Public Attributes | |
SoSFColor | color |
SoSFEnum | style |
SoSFEnum | mode |
Protected Methods | |
virtual | ~SoLocateHighlight () |
virtual void | redrawHighlighted (SoAction *act, SbBool flag) |
Note: this node is supposed to draw to the front buffer. However, in Coin we always draw to the back buffer, forcing a scene redraw whenever a highlight state changes.
|
Enum type for behaviour modes. |
|
Enum type for highlight styles. |
|
Constructor. |
|
Destructor. |
|
Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. Reimplemented from SoSeparator. Reimplemented in SoWWWAnchor. |
|
Action method for SoHandleEventAction. Inspects the event data from action, and processes it if it is something which this node should react to. Nodes influencing relevant state variables for how event handling is done also overrides this method. Reimplemented from SoSeparator. Reimplemented in SoWWWAnchor. |
|
SGI Open Inventor v2.1 obsoleted support for SoGLRenderAction::addMethod(). Instead, GLRender() might be called directly, and to optimize traversal, the SoSeparator node calls GLRenderBelowPath whenever the path code is BELOW_PATH or NO_PATH (path code is guaranteed not to change). To be compatible with SGI's Inventor (and thereby also TGS') we have chosen to follow their implementation in this respect. SoSeparator::GLRenderBelowPath() do not traverse its children using SoChildList::traverse(), but calls GLRenderBelowPath() directly for all its children. Reimplemented from SoSeparator. |
|
Implements the SoAction::IN_PATH traversal method for the rendering action. Reimplemented from SoSeparator. |
|
Static method that can be used to turn off the current highlight. |
|
Empty method in Coin. Can be used by subclasses to be told when status change. Reimplemented in SoWWWAnchor. |
|
The color used for highlighting. |
|
The highlight style. |
|
The highlight mode. |