Section: Visualization Toolkit Filtering Classes
The operators work as follows. The VTK_UNION operator takes the minimum value of all implicit functions. The VTK_INTERSECTION operator takes the maximum value of all implicit functions. The VTK_DIFFERENCE operator subtracts the 2nd through last implicit functions from the first. The VTK_UNION_OF_MAGNITUDES takes the minimum absolute value of the implicit functions.
To create an instance of class vtkImplicitBoolean, simply invoke its constructor as follows
obj = vtkImplicitBoolean
obj
is an instance of the vtkImplicitBoolean class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkImplicitBoolean = obj.NewInstance ()
vtkImplicitBoolean = obj.SafeDownCast (vtkObject o)
double = obj.EvaluateFunction (double x[3])
- Evaluate boolean combinations of implicit function using current operator.
double = obj.EvaluateFunction (double x, double y, double z)
- Evaluate boolean combinations of implicit function using current operator.
obj.EvaluateGradient (double x[3], double g[3])
- Evaluate gradient of boolean combination.
long = obj.GetMTime ()
- Override modified time retrieval because of object dependencies.
obj.AddFunction (vtkImplicitFunction in)
- Add another implicit function to the list of functions.
obj.RemoveFunction (vtkImplicitFunction in)
- Remove a function from the list of implicit functions to boolean.
vtkImplicitFunctionCollection = obj.GetFunction ()
- Return the collection of implicit functions.
obj.SetOperationType (int )
- Specify the type of boolean operation.
int = obj.GetOperationTypeMinValue ()
- Specify the type of boolean operation.
int = obj.GetOperationTypeMaxValue ()
- Specify the type of boolean operation.
int = obj.GetOperationType ()
- Specify the type of boolean operation.
obj.SetOperationTypeToUnion ()
- Specify the type of boolean operation.
obj.SetOperationTypeToIntersection ()
- Specify the type of boolean operation.
obj.SetOperationTypeToDifference ()
- Specify the type of boolean operation.
obj.SetOperationTypeToUnionOfMagnitudes ()
- Specify the type of boolean operation.
string = obj.GetOperationTypeAsString ()
- Specify the type of boolean operation.