40 #ifndef __vtkImplicitBoolean_h
41 #define __vtkImplicitBoolean_h
48 #define VTK_INTERSECTION 1
49 #define VTK_DIFFERENCE 2
50 #define VTK_UNION_OF_MAGNITUDES 3
87 vtkGetMacro(OperationType,
int);
96 const char *GetOperationTypeAsString();
122 return "Intersection";
130 return "UnionOfMagnitudes";
abstract interface for implicit functions
double EvaluateFunction(double x, double y, double z)
virtual double EvaluateFunction(double x[3])=0
implicit function consisting of boolean combinations of implicit functions
void SetOperationTypeToUnion()
maintain a list of implicit functions
virtual void EvaluateGradient(double x[3], double g[3])=0
void SetOperationTypeToDifference()
a simple class to control print indentation
#define VTK_UNION_OF_MAGNITUDES
vtkImplicitFunctionCollection * GetFunction()
void PrintSelf(ostream &os, vtkIndent indent)
vtkImplicitFunctionCollection * FunctionList
void SetOperationTypeToIntersection()
const char * GetOperationTypeAsString()
void SetOperationTypeToUnionOfMagnitudes()