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, getOutputName
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable, touch
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public 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 January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com