public class SoGate extends SoEngine
SoMField. The type is specified when an instance of the class is created. For example, SoGate( SoMFFloat.getClass()) creates an engine that copies floating-point values.
The enable input controls continuous flow-through of values. While enable is true, the input will be copied to the output. Alternatively, by touching the trigger input, you can copy a single value from the input to the output.
Note that by default input does not contain any values.
File format/default:
Gate {
| type | <inputType> |
| input | [] |
| enable | false |
| trigger |
See also:
Inventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoSFBool |
enable
Enable continous flow-through.
|
SoMField |
input
The value that is copied to the output when the gate is open.
|
SoEngineOutput |
output
( lt ) Contains a copy of the input value if the gate is open.
|
SoSFTrigger |
trigger
Copy a single value.
|
VERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoGate(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 SoSFBool enable
public final SoSFTrigger trigger
public final SoMField input
public final SoEngineOutput output
public SoGate(java.lang.Class<? extends Inventor> mfInputType)
Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com