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.
| Argument | Type | Required | Description |
|---|---|---|---|
f | vtkImplicitFunction | Yes |
evaluateFunction
Evaluate the combination of all the implicit functions, following the current operation.
| Argument | Type | Required | Description |
|---|---|---|---|
xyz | Vector3 | Yes | The point coordinate. |
evaluateGradient
| Argument | Type | Required | Description |
|---|---|---|---|
xyz | Vector3 | Yes | The point coordinate. |
extend
Method used to decorate a given object (publicAPI+model) with vtkImplicitBoolean characteristics.
| Argument | Type | Required | Description |
|---|---|---|---|
publicAPI | Yes | object on which methods will be bounds (public) | |
model | Yes | object on which data structure will be bounds (protected) | |
initialValues | IImplicitBooleanInitialValues | No | (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.
| Argument | Type | Required | Description |
|---|---|---|---|
f | vtkImplicitFunction | Yes |
newInstance
Method used to create a new instance of vtkImplicitBoolean.
| Argument | Type | Required | Description |
|---|---|---|---|
initialValues | IImplicitBooleanInitialValues | No | for pre-setting some of its content |
removeAllFunctions
Remove every function from the combination.
removeFunction
Remove the given function from the combination.
| Argument | Type | Required | Description |
|---|---|---|---|
f | vtkImplicitFunction | Yes |
setOperation
Set the operation used to combine the functions.
| Argument | Type | Required | Description |
|---|---|---|---|
operation | Operation | Yes |
setOperationToDifference
Set the operation to Operation.DIFFERENCE.
setOperationToIntersection
Set the operation to Operation.INTERSECTION.
setOperationToUnion
Set the operation to Operation.UNION.