40 #ifndef vtkImplicitDataSet_h
41 #define vtkImplicitDataSet_h
43 #include "vtkCommonDataModelModule.h"
46 VTK_ABI_NAMESPACE_BEGIN
92 vtkSetMacro(OutValue,
double);
93 vtkGetMacro(OutValue,
double);
100 vtkSetVector3Macro(OutGradient,
double);
101 vtkGetVector3Macro(OutGradient,
double);
112 double OutGradient[3];
122 VTK_ABI_NAMESPACE_END
abstract class to specify dataset behavior
Detect and break reference loops.
treat a dataset as if it were an implicit function
virtual void SetDataSet(vtkDataSet *)
Set / get the dataset used for the implicit function evaluation.
vtkMTimeType GetMTime() override
Return the MTime also considering the DataSet dependency.
double EvaluateFunction(double x[3]) override
Evaluate the implicit function.
void ReportReferences(vtkGarbageCollector *) override
void EvaluateGradient(double x[3], double n[3]) override
Evaluate implicit function gradient.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImplicitDataSet * New()
Construct an vtkImplicitDataSet with no initial dataset; the OutValue set to a large negative number;...
~vtkImplicitDataSet() override
abstract interface for implicit functions
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
a simple class to control print indentation
std::map< std::string, DataArray > DataSet
key: variable name, value: DataArray
vtkTypeUInt32 vtkMTimeType