public class SoSelectOne extends SoEngine
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.getClass()) creates an engine that selects one floating-point value.
 Note that by default input does not contain any values, and no value is output from the engine.
 
File format/default:
SelectOne {
| type | <inputType> | 
| input | [] | 
| index | 0 | 
See also:
Inventor.ConstructorCommand| Modifier and Type | Field and Description | 
|---|---|
| SoSFInt32 | indexIndex of the value to select from the multiple-value field. | 
| SoMField | inputThe multiple-value field from which the value will be selected. | 
| SoEngineOutput | output( lt ) The single value selected. | 
VERBOSE_LEVEL, ZeroHandle| Constructor and Description | 
|---|
| SoSelectOne(java.lang.Class<? extends Inventor> mfInputType)Constructor. | 
copy, getByName, getOutput, getOutputNamecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touchgetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFInt32 index
public final SoMField input
public final SoEngineOutput output
public SoSelectOne(java.lang.Class<? extends Inventor> mfInputType)
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com