Go to the documentation of this file.
41 #ifndef vtkImplicitBoolean_h
42 #define vtkImplicitBoolean_h
44 #include "vtkCommonDataModelModule.h"
60 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";
void SetOperationTypeToIntersection()
~vtkImplicitBoolean() override
double EvaluateFunction(double x[3]) override
Evaluate function at position x-y-z and return value.
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
void SetOperationTypeToDifference()
abstract interface for implicit functions
implicit function consisting of boolean combinations of implicit functions
const char * GetOperationTypeAsString()
Return the boolean operation type as a descriptive character string.
void SetOperationTypeToUnionOfMagnitudes()
a simple class to control print indentation
void AddFunction(vtkImplicitFunction *in)
Add another implicit function to the list of functions.
vtkImplicitFunctionCollection * FunctionList
vtkImplicitFunctionCollection * GetFunction()
Return the collection of implicit functions.
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.
static vtkImplicitBoolean * New()
Default boolean method is union.
void EvaluateGradient(double x[3], double g[3]) override
Evaluate gradient of boolean combination.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOperationTypeToUnion()
maintain a list of implicit functions
vtkTypeUInt32 vtkMTimeType