man SoBoolOperation () - performs Boolean operations

NAME

SoBoolOperation - performs Boolean operations

INHERITS FROM

SoBase > SoFieldContainer > SoEngine > SoBoolOperation

SYNOPSIS

#include <Inventor/engines/SoBoolOperation.h> enum Operation { c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



c } c }



} Inputs from class SoBoolOperation: c } c } a

c } c } b

c } c } operation Outputs from class SoBoolOperation: c } c } output

c } c } inverse Methods from class SoBoolOperation: c } c } SoBoolOperation() Methods from class SoEngine: c } c } getClassTypeId()

c } c } getOutputs(SoEngineOutputList &list) const

c } c } getOutput(const SbName &outputName) const

c } c } getOutputName(const SoEngineOutput *output, SbName &outputName) const

c } c } copy() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoEngineList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } set(const char *fieldDataString)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const

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

c } c } a

First argument to the Boolean operation. c } c } b

Second argument to the Boolean operation. c } c } operation

The Boolean operation.

OUTPUTS

c } c } output

Result of the Boolean operation applied to the inputs. c } c } inverse

Inverse of output.

METHODS

c } c } SoBoolOperation()

Constructor.

FILE FORMAT/DEFAULTS

BoolOperation {
a	FALSE
b	FALSE
operation	A
}

SEE ALSO

SoEngineOutput, SoCalculator