Go to the documentation of this file.
41 #ifndef vtkImplicitBoolean_h
42 #define vtkImplicitBoolean_h
44 #include "vtkCommonDataModelModule.h"
60 VTK_UNION_OF_MAGNITUDES
106 vtkSetClampMacro(OperationType,
int,VTK_UNION,VTK_UNION_OF_MAGNITUDES);
107 vtkGetMacro(OperationType,
int);
109 {this->SetOperationType(VTK_UNION);};
111 {this->SetOperationType(VTK_INTERSECTION);};
113 {this->SetOperationType(VTK_DIFFERENCE);};
115 {this->SetOperationType(VTK_UNION_OF_MAGNITUDES);};
116 const char *GetOperationTypeAsString();
138 if ( this->OperationType == VTK_UNION )
142 else if ( this->OperationType == VTK_INTERSECTION )
144 return "Intersection";
146 else if ( this->OperationType == VTK_DIFFERENCE )
152 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()
vtkTypeUInt64 vtkMTimeType
abstract interface for implicit functions
implicit function consisting of boolean combinations of implicit functions
void SetOperationTypeToUnionOfMagnitudes()
vtkMTimeType GetMTime() override
Overload standard modified time function.
double EvaluateFunction(double x, double y, double z)
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.
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