SoSpotLightDragger

InventorModule
genre InventorDraggers
author Silicon Graphics Inc
package MeVisLab/Standard
definition inventor.def

Purpose

SoSpotLightDragger is a composite dragger. It is shaped like a beam of light emanating from a sun-like ball. An arrow runs along the axis of the beam and extends past the end of the beam.

When you click and drag the beam, it opens and closes with an umbrella- like motion. The angle between the center and edge of the beam is stored in the Angle field of this dragger; setting the Angle field causes the beam to widen or narrow in response. The spotlight dragger does not use a standard dragger class to execute this motion. More details are given later in this section.

Dragging the arrow rotates it around the sun, and the beam moves with it. The arrow is an SoRotateSphericalDragger that controls the rotation field.

The sun-shape can be dragged to translate all three pieces together through 3-space. Its movement controls the Translation field.

Windows

Default Panel

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

Output Fields

self

name: self, type: SoNode

Parameter Fields

Field Index

Angle: Float
enable: Bool
Is Active: Bool
Rotation: Rotation
Translation: Vector3

Visible Fields

Is Active

name: isActive, type: Bool, persistent: no

TRUE when mouse is down and dragging, else FALSE.

Rotation

name: rotation, type: Rotation, default: 0 0 1 0

Orientation of the rotating part (an arrow by default).

Translation

name: translation, type: Vector3, default: 0 0 0

The position of the dragger.

Angle

name: angle, type: Float, default: 1

Angle between center and edge of beam.

Hidden Fields

enable

name: enable, type: Bool, default: TRUE