Class SoBoolOperation
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.engines.SoEngine
-
- com.openinventor.inventor.engines.SoBoolOperation
-
- All Implemented Interfaces:
SafeDisposable
public class SoBoolOperation extends SoEngine
Performs Boolean operations. This engine performs a Boolean operation on two inputs, and returns both the result of the operation and its inverse.The input fields can have multiple values, allowing the engine to perform several Boolean operations in parallel. One input may have more values than the other. In that case, the last value of the shorter input will be repeated as necessary.
File format/default:
BoolOperation {
a false b false operation A - See Also:
SoEngineOutput
,SoCalculator
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoBoolOperation.Operations
Operation.-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoMFBool
a
First argument to the Boolean operation.SoMFBool
b
Second argument to the Boolean operation.SoEngineOutput
inverse
(SoMFBool
) Inverse of output.SoMFEnum<SoBoolOperation.Operations>
operation
The Boolean operation.SoEngineOutput
output
(SoMFBool
) Result of the Boolean operation applied to the inputs.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoBoolOperation()
Constructor.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.engines.SoEngine
copy, getByName, getOutput, getOutputName
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable, touch
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
a
public final SoMFBool a
First argument to the Boolean operation.
-
b
public final SoMFBool b
Second argument to the Boolean operation.
-
operation
public final SoMFEnum<SoBoolOperation.Operations> operation
The Boolean operation.
-
output
public final SoEngineOutput output
(SoMFBool
) Result of the Boolean operation applied to the inputs.
-
inverse
public final SoEngineOutput inverse
(SoMFBool
) Inverse of output.
-
-