41 #ifndef vtkImplicitBoolean_h 42 #define vtkImplicitBoolean_h 44 #include "vtkCommonDataModelModule.h" 60 VTK_UNION_OF_MAGNITUDES
105 vtkSetClampMacro(
OperationType,
int,VTK_UNION,VTK_UNION_OF_MAGNITUDES);
108 {this->SetOperationType(VTK_UNION);};
110 {this->SetOperationType(VTK_INTERSECTION);};
112 {this->SetOperationType(VTK_DIFFERENCE);};
114 {this->SetOperationType(VTK_UNION_OF_MAGNITUDES);};
115 const char *GetOperationTypeAsString();
143 return "Intersection";
151 return "UnionOfMagnitudes";
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
vtkTypeUInt32 vtkMTimeType
implicit function consisting of boolean combinations of implicit functions
void SetOperationTypeToUnion()
Specify the type of boolean operation.
maintain a list of implicit functions
virtual void EvaluateGradient(double x[3], double g[3])=0
Evaluate function gradient at position x-y-z and pass back vector.
void SetOperationTypeToDifference()
Specify the type of boolean operation.
a simple class to control print indentation
vtkMTimeType GetMTime() override
Overload standard modified time function.
vtkImplicitFunctionCollection * GetFunction()
Return the collection of implicit functions.
vtkImplicitFunctionCollection * FunctionList
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
void SetOperationTypeToIntersection()
Specify the type of boolean operation.
const char * GetOperationTypeAsString()
Return the boolean operation type as a descriptive character string.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOperationTypeToUnionOfMagnitudes()
Specify the type of boolean operation.