Skip to content

ImplicitBoolean ​

Introduction ​

vtkImplicitBoolean combines a list of implicit functions with a boolean operation: union, intersection or difference.

Methods ​

addFunction ​

Add an implicit function to the list of functions to combine. The function is ignored if it is already in the list.

ArgumentTypeRequiredDescription
fvtkImplicitFunctionYes

evaluateFunction ​

Evaluate the combination of all the implicit functions, following the current operation.

ArgumentTypeRequiredDescription
xyzVector3YesThe point coordinate.

evaluateGradient ​

ArgumentTypeRequiredDescription
xyzVector3YesThe point coordinate.

extend ​

Method used to decorate a given object (publicAPI+model) with vtkImplicitBoolean characteristics.

ArgumentTypeRequiredDescription
publicAPIYesobject on which methods will be bounds (public)
modelYesobject on which data structure will be bounds (protected)
initialValuesIImplicitBooleanInitialValuesNo(default: {})

getFunctions ​

Get the list of implicit functions being combined.

getMTime ​

The modified time is the maximum of this object's and of all the combined functions'.

getOperation ​

Get the operation used to combine the functions.

getOperationAsString ​

Get the name of the current operation.

hasFunction ​

Whether the given function is part of the combination.

ArgumentTypeRequiredDescription
fvtkImplicitFunctionYes

newInstance ​

Method used to create a new instance of vtkImplicitBoolean.

ArgumentTypeRequiredDescription
initialValuesIImplicitBooleanInitialValuesNofor pre-setting some of its content

removeAllFunctions ​

Remove every function from the combination.

removeFunction ​

Remove the given function from the combination.

ArgumentTypeRequiredDescription
fvtkImplicitFunctionYes

setOperation ​

Set the operation used to combine the functions.

ArgumentTypeRequiredDescription
operationOperationYes

setOperationToDifference ​

Set the operation to Operation.DIFFERENCE.

setOperationToIntersection ​

Set the operation to Operation.INTERSECTION.

setOperationToUnion ​

Set the operation to Operation.UNION.