40 #ifndef vtkImplicitBoolean_h
41 #define vtkImplicitBoolean_h
59 VTK_UNION_OF_MAGNITUDES
90 vtkSetClampMacro(OperationType,
int,VTK_UNION,VTK_UNION_OF_MAGNITUDES);
91 vtkGetMacro(OperationType,
int);
93 {this->SetOperationType(VTK_UNION);};
95 {this->SetOperationType(VTK_INTERSECTION);};
97 {this->SetOperationType(VTK_DIFFERENCE);};
99 {this->SetOperationType(VTK_UNION_OF_MAGNITUDES);};
100 const char *GetOperationTypeAsString();
126 return "Intersection";
134 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
vtkImplicitFunctionCollection * GetFunction()
void PrintSelf(ostream &os, vtkIndent indent)
vtkImplicitFunctionCollection * FunctionList
void SetOperationTypeToIntersection()
const char * GetOperationTypeAsString()
void SetOperationTypeToUnionOfMagnitudes()
#define VTKCOMMONDATAMODEL_EXPORT