SoLocateHighlight

InventorModule
genre InventorNodesAutomatic,InventorGroup
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

Purpose

The node SoLocateHighlight is a subclass of SoSeparator that redraws itself in a different color when the cursor hovers over the contents of the separator.

The redraw occurs for that separator only, not the entire window (redraw along the handle event pick path), and is performed in the front buffer to efficiently track mouse motion. The highlighted redraw overrides the emissive and/or diffuse color of the subgraph based on the field values in this node.

Note: When using SoLightModel::BASE_COLOR (to turn lighting off), only the diffuse color will be used to render objects. Therefore, EMISSIVE_DIFFUSE must be applied for this node to have any effect.

Windows

Default Panel

../../../Modules/Inventor/InventorBase/mhelp/Images/Screenshots/SoLocateHighlight._default.png

Input Fields

child

name: child, type: SoNode

Output Fields

self

name: self, type: SoNode

Parameter Fields

Visible Fields

Mode

name: mode, type: Enum, default: AUTO

Defines the highlighting mode.

Values:

Title Name Description
Auto AUTO Highlight when mouse is over.
On ON Always highlight.
Off OFF Never highlight.

Style

name: style, type: Enum, default: EMISSIVE

Defines the highlighting draw style.

Values:

Title Name Description
Emissive EMISSIVE Changes emissive color only.
Emissive Diffuse EMISSIVE_DIFFUSE Changes emissive and diffuse colors.

Color

name: color, type: Color, default: 0.300000011920929 0.300000011920929 0.300000011920929

Sets the highlighting color.