logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SoBoolOperation — performs Boolean operations

Description

       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/Defaults

BoolOperation{aFALSEbFALSEoperationA}

Inherits From

       SoBase > SoFieldContainer > SoEngine > SoBoolOperation

Inputs

SoMFBoola
          First argument to the Boolean operation.

     SoMFBoolb
          Second argument to the Boolean operation.

     SoMFEnumoperation
          The Boolean operation.

Methods

SoBoolOperation()
          Constructor.

Name

       SoBoolOperation — performs Boolean operations

Outputs

(SoMFBool)output
          Result of the Boolean operation applied to the inputs.

     (SoMFBool)inverse
          Inverse of output.

See Also

SoEngineOutput,SoCalculatorSoBoolOperation(3IV)()

Synopsis

#include<Inventor/engines/SoBoolOperation.h>enumOperation{SoBoolOperation::CLEARSoBoolOperation::SETSoBoolOperation::ASoBoolOperation::NOT_ASoBoolOperation::BSoBoolOperation::NOT_BSoBoolOperation::A_OR_BSoBoolOperation::NOT_A_OR_BSoBoolOperation::A_OR_NOT_BSoBoolOperation::NOT_A_OR_NOT_BSoBoolOperation::A_AND_BSoBoolOperation::NOT_A_AND_BSoBoolOperation::A_AND_NOT_BSoBoolOperation::NOT_A_AND_NOT_BSoBoolOperation::A_EQUALS_BSoBoolOperation::A_NOT_EQUALS_B}

          Inputs from class SoBoolOperation:

     SoMFBoolaSoMFBoolbSoMFEnumoperation

          Outputs from class SoBoolOperation:

     (SoMFBool)output(SoMFBool)inverse

          Methods from class SoBoolOperation:

                         SoBoolOperation()

          Methods from class SoEngine:

     staticSoTypegetClassTypeId()virtualintgetOutputs(SoEngineOutputList&list)constSoEngineOutput*getOutput(constSbName&outputName)constSbBoolgetOutputName(constSoEngineOutput*output,SbName&outputName)constSoEngine*copy()conststaticSoEngine*getByName(constSbName&name)staticintgetByName(constSbName&name,SoEngineList&list)

          Methods from class SoFieldContainer:

     voidsetToDefaults()SbBoolhasDefaultValues()constSbBoolfieldsAreEqual(constSoFieldContainer*fc)constvoidcopyFieldValues(constSoFieldContainer*fc,SbBoolcopyConnections=FALSE)SbBoolset(constchar*fieldDataString)voidget(SbString&fieldDataString)virtualintgetFields(SoFieldList&resultList)constvirtualSoField*getField(constSbName&fieldName)constSbBoolgetFieldName(constSoField*field,SbName&fieldName)constSbBoolisNotifyEnabled()constSbBoolenableNotify(SbBoolflag)

          Methods from class SoBase:

     voidref()voidunref()constvoidunrefNoDelete()constvoidtouch()virtualSoTypegetTypeId()constSbBoolisOfType(SoTypetype)constvirtualvoidsetName(constSbName&name)virtualSbNamegetName()const

See Also