SoSelectOne

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

Purpose

This engine selects a single value from a multiple-value field, based on the input field index. The type of the input field can be any subclass of SoMField, and the type of the output is the corresponding subclass of SoSField. For example, if the input type is SoMFVec3f, the output type will be SoSFVec3f.

The type is specified when an instance of the class is created. For example, SoSelectOne(SoMFFloat::getClassTypeId()) creates an engine that selects one floating-point value.

Note that unlike most other engine fields, the input field and output are pointers.

Note also that by default input does not contain any values, and no value is output from the engine.

Windows

Default Panel

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

Parameter Fields

Visible Fields

Index

name: index, type: Integer, default: 0

Index of the value to select from the multiple-value field.