SoBoolOperation Class Reference
[Engines]

Performs Boolean operations. More...

#include <Inventor/engines/SoBoolOperation.h>

Inheritance diagram for SoBoolOperation:
SoEngine SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

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

Detailed Description

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

SEE ALSO

SoEngineOutput, SoCalculator


Member Enumeration Documentation

Operation.

Enumerator:
CLEAR 

Clear.

SET 

Set.

A 

A.

NOT_A 

Not A.

B 

B.

NOT_B 

Not B.

A_OR_B 

A or B.

NOT_A_OR_B 

Not A or B.

A_OR_NOT_B 

A or not B.

NOT_A_OR_NOT_B 

Not A or not B.

A_AND_B 

A and B.

NOT_A_AND_B 

Not A and B.

A_AND_NOT_B 

A and not B.

NOT_A_AND_NOT_B 

Not A and not B.

A_EQUALS_B 

A equals B.

A_NOT_EQUALS_B 

A not equals B.


Constructor & Destructor Documentation

SoBoolOperation::SoBoolOperation (  ) 

Constructor.


Member Function Documentation

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.


Member Data Documentation

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.


The documentation for this class was generated from the following file:

Open Inventor by FEI reference manual, generated on 2 Sep 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/