79#ifndef vtkImplicitDataSet_h
80#define vtkImplicitDataSet_h
82#include "vtkCommonDataModelModule.h"
130 vtkSetMacro(OutValue,
double);
131 vtkGetMacro(OutValue,
double);
138 vtkSetVector3Macro(OutGradient,
double);
139 vtkGetVector3Macro(OutGradient,
double);
150 double OutGradient[3];
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.
static vtkImplicitDataSet * New()
Construct an vtkImplicitDataSet with no initial dataset; the OutValue set to a large negative number;...
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.
~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