Performs Boolean operations. More...
#include <Inventor/engines/SoBoolOperation.h>
Public Types | |
enum | Operation { CLEAR, SET, A, NOT_A, B, NOT_B, A_OR_B, NOT_A_OR_B, A_OR_NOT_B, NOT_A_OR_NOT_B, A_AND_B, NOT_A_AND_B, A_AND_NOT_B, NOT_A_AND_NOT_B, A_EQUALS_B, A_NOT_EQUALS_B } |
Public Member Functions | |
virtual SoType | getTypeId () const |
SoBoolOperation () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
Public Attributes | |
SoMFBool | a |
SoMFBool | b |
SoMFEnum | operation |
SoEngineOutput | output |
SoEngineOutput | inverse |
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.
a | FALSE |
b | FALSE |
operation | A |
Operation.
SoBoolOperation::SoBoolOperation | ( | ) |
Constructor.
static SoType SoBoolOperation::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoEngine.
virtual SoType SoBoolOperation::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Implements SoTypedObject.
First argument to the Boolean operation.
Second argument to the Boolean operation.
( SoMFBool ) Inverse of output.
The Boolean operation.
( SoMFBool ) Result of the Boolean operation applied to the inputs.