Go to the documentation of this file.
35 #ifndef vtkImplicitBoolean_h
36 #define vtkImplicitBoolean_h
38 #include "vtkCommonDataModelModule.h"
54 VTK_UNION_OF_MAGNITUDES
99 vtkSetClampMacro(OperationType,
int,VTK_UNION,VTK_UNION_OF_MAGNITUDES);
100 vtkGetMacro(OperationType,
int);
102 {this->SetOperationType(VTK_UNION);};
104 {this->SetOperationType(VTK_INTERSECTION);};
106 {this->SetOperationType(VTK_DIFFERENCE);};
108 {this->SetOperationType(VTK_UNION_OF_MAGNITUDES);};
109 const char *GetOperationTypeAsString();
137 return "Intersection";
145 return "UnionOfMagnitudes";
void SetOperationTypeToIntersection()
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
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()
vtkMTimeType GetMTime() override
Overload standard modified time function.
a simple class to control print indentation
virtual void EvaluateGradient(double x[3], double g[3])=0
Evaluate function gradient at position x-y-z and pass back vector.
vtkImplicitFunctionCollection * FunctionList
vtkImplicitFunctionCollection * GetFunction()
Return the collection of implicit functions.
void SetOperationTypeToUnion()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
maintain a list of implicit functions
vtkTypeUInt32 vtkMTimeType