SoBoolOperation(3IV)

SoBoolOperation (SoBoolOper) - performs Boolean operations

Showing IRIX 6.5.30 (default release). Added in IRIX 6.5.22.

NAME
     SoBoolOperation (SoBoolOper) - performs Boolean operations

INHERITS FROM
     SoBase > SoFieldContainer > SoEngine > SoBoolOperation

SYNOPSIS
     #include <Inventor_c/engines/SoBoolOperation.h>

     typedef SoBoolOperation  SoBoolOper

     enum SoBoolOperationOperation {
          SO_BOOL_OPER_CLEAR
          SO_BOOL_OPER_SET
          SO_BOOL_OPER_A
          SO_BOOL_OPER_NOT_A
          SO_BOOL_OPER_B
          SO_BOOL_OPER_NOT_B
          SO_BOOL_OPER_A_OR_B
          SO_BOOL_OPER_NOT_A_OR_B
          SO_BOOL_OPER_A_OR_NOT_B
          SO_BOOL_OPER_NOT_A_OR_NOT_B
          SO_BOOL_OPER_A_AND_B
          SO_BOOL_OPER_NOT_A_AND_B
          SO_BOOL_OPER_A_AND_NOT_B
          SO_BOOL_OPER_NOT_A_AND_NOT_B
          SO_BOOL_OPER_A_EQUALS_B
          SO_BOOL_OPER_A_NOT_EQUALS_B
     }

          Inputs from class SoBoolOperation:

     SoMFBool            a
     SoMFBool            b
     SoMFEnum            operation

          Outputs from class SoBoolOperation:

     (SoMFBool)          output
     (SoMFBool)          inverse

          Functions from class SoBoolOperation:

     SoBoolOperation *   SoBoolOperCreate()

          Functions from class SoEngine:

     SoType              SoBoolOperGetTypeId()
     int                 SoBoolOperGetOuts(const SoBoolOper *this,
                              SoEngineOutputList *list)
     SoEngineOutput *    SoBoolOperGetOut(const SoBoolOper *this, const char
                              *outputName)
     SbBool              SoBoolOperGetOutName(const SoBoolOper *this, const
                              SoEngineOutput *output, SbName *outputName)
     SoEngine *          SoBoolOperCopy(const SoBoolOper *this)
     SoEngine *          SoBoolOperGetByName(const char *name)
     int                 SoBoolOperGetByNameList(const char *name,
                              SoEngineList *list)

          Functions from class SoFieldContainer:

     SoType              SoBoolOperGetClassTypeId()
     void                SoBoolOperSetToDflts(SoBoolOper *this)
     SbBool              SoBoolOperHasDfltVals(const SoBoolOper *this)
     SbBool              SoBoolOperFldsAreEq(const SoBoolOper *this, const
                              SoFieldContainer *fc)
     void                SoBoolOperCopyFieldVals(SoBoolOper *this, const
                              SoFieldContainer *fc, SbBool copyConnections =
                              FALSE)
     SbBool              SoBoolOperSet(SoBoolOper *this, const char
                              *fieldDataString)
     void                SoBoolOperGet(SoBoolOper *this, SbString
                              *fieldDataString)
     int                 SoBoolOperGetFields(const SoBoolOper *this,
                              SoFieldList *resultList)
     SoField *           SoBoolOperGetField(const SoBoolOper *this, const char
                              *fieldName)
     SbBool              SoBoolOperGetFieldName(const SoBoolOper *this, const
                              SoField *field, SbName *fieldName)
     SbBool              SoBoolOperIsNotifyEnabled(const SoBoolOper *this)
     SbBool              SoBoolOperEnableNotify(SoBoolOper *this, SbBool flag)

          Functions from class SoBase:

     void                SoBoolOperRef(SoBoolOper *this)
     void                SoBoolOperUnref(const SoBoolOper *this)
     void                SoBoolOperUnrefNoDelete(const SoBoolOper *this)
     void                SoBoolOperTouch(SoBoolOper *this)
     SbBool              SoBoolOperIsOfType(const SoBoolOper *this, SoType
                              type)
     void                SoBoolOperSetName(SoBoolOper *this, const char *name)
     SbName              SoBoolOperGetName(const SoBoolOper *this)


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.

INPUTS
     SoMFBool            a
          First argument to the Boolean operation.

     SoMFBool            b
          Second argument to the Boolean operation.

     SoMFEnum            operation
          The Boolean operation.


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

     (SoMFBool)          inverse
          Inverse of output.


FUNCTIONS
     SoBoolOperation *   SoBoolOperCreate()
          Constructor.


FILE FORMAT/DEFAULTS
     BoolOperation {
          a          FALSE
          b          FALSE
          operation  A
     }

SEE ALSO
     SoEngineOutput, SoCalculator