40 #ifndef __vtkImplicitBoolean_h
41 #define __vtkImplicitBoolean_h
43 #include "vtkCommonDataModelModule.h"
44 #include "vtkImplicitFunction.h"
52 void PrintSelf(ostream& os, vtkIndent indent);
59 VTK_UNION_OF_MAGNITUDES
68 double EvaluateFunction(
double x[3]);
70 {
return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
74 void EvaluateGradient(
double x[3],
double g[3]);
77 unsigned long GetMTime();
80 void AddFunction(vtkImplicitFunction *in);
83 void RemoveFunction(vtkImplicitFunction *in);
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";
double EvaluateFunction(double x, double y, double z)
implicit function consisting of boolean combinations of implicit functions
void SetOperationTypeToUnion()
maintain a list of implicit functions
void SetOperationTypeToDifference()
vtkImplicitFunctionCollection * GetFunction()
vtkImplicitFunctionCollection * FunctionList
void SetOperationTypeToIntersection()
const char * GetOperationTypeAsString()
void SetOperationTypeToUnionOfMagnitudes()