SoLocateHighlight

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

Purpose

This is a subclass of SoSeparator that redraws itself in a different color when the cursor is over the contents of the separator.

The redraw happens for that separator only and not the entire window (redraw along the handle event pick path) and in the front buffer, to efficiently track the 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, so EMISSIVE_DIFFUSE must be used 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

Whether to highlight or not.

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

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

Highlighting color.