Open Inventor Reference
|
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 | |
SoBoolOperation () | |
Constructor. | |
Static Public Member Functions | |
static void | initClass () |
Initializes base engine class. | |
Public Attributes | |
Inputs | |
SoMFBool | a |
First argument to the Boolean operation. | |
SoMFBool | b |
Second argument to the Boolean operation. | |
SoMFEnum | operation |
The Boolean operation. | |
Outputs | |
SoEngineOutput | output |
Result of the Boolean operation applied to the inputs. | |
SoEngineOutput | inverse |
Inverse of output . |
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.
Definition at line 96 of file SoBoolOperation.h.
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 |
Definition at line 102 of file SoBoolOperation.h.
SoBoolOperation::SoBoolOperation | ( | ) |
static void SoBoolOperation::initClass | ( | ) | [static] |
Reimplemented from SoEngine.
Definition at line 125 of file SoBoolOperation.h.
Definition at line 128 of file SoBoolOperation.h.
Definition at line 142 of file SoBoolOperation.h.
Definition at line 131 of file SoBoolOperation.h.
Definition at line 139 of file SoBoolOperation.h.