95#ifndef vtkImplicitBoolean_h
96#define vtkImplicitBoolean_h
98#include "vtkCommonDataModelModule.h"
101VTK_ABI_NAMESPACE_BEGIN
115 VTK_UNION_OF_MAGNITUDES
166 const char* GetOperationTypeAsString();
193 return "Intersection";
201 return "UnionOfMagnitudes";
implicit function consisting of boolean combinations of implicit functions
double EvaluateFunction(double x[3]) override
Evaluate boolean combinations of implicit function using current operator.
void SetOperationTypeToDifference()
Specify the type of boolean operation.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOperationTypeToIntersection()
Specify the type of boolean operation.
vtkImplicitFunctionCollection * FunctionList
void SetOperationTypeToUnion()
Specify the type of boolean operation.
void AddFunction(vtkImplicitFunction *in)
Add another implicit function to the list of functions.
static vtkImplicitBoolean * New()
Default boolean method is union.
~vtkImplicitBoolean() override
void EvaluateGradient(double x[3], double g[3]) override
Evaluate gradient of boolean combination.
vtkMTimeType GetMTime() override
Override modified time retrieval because of object dependencies.
void RemoveFunction(vtkImplicitFunction *in)
Remove a function from the list of implicit functions to boolean.
vtkImplicitFunctionCollection * GetFunction()
Return the collection of implicit functions.
const char * GetOperationTypeAsString()
Return the boolean operation type as a descriptive character string.
void SetOperationTypeToUnionOfMagnitudes()
Specify the type of boolean operation.
maintain a list of implicit functions
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
a simple class to control print indentation
vtkTypeUInt32 vtkMTimeType