49 #ifndef vtkImplicitFunction_h
50 #define vtkImplicitFunction_h
70 double FunctionValue(
const double x[3]);
72 double xyz[3] = {x, y, z};
return this->FunctionValue(xyz); };
78 void FunctionGradient(
const double x[3],
double g[3]);
80 this->FunctionGradient(x,this->ReturnValue);
81 return this->ReturnValue; };
83 double xyz[3] = {x, y, z};
return this->FunctionGradient(xyz); };
90 virtual void SetTransform(
const double elements[16]);
99 virtual double EvaluateFunction(
double x[3]) = 0;
101 double xyz[3] = {x, y, z};
return this->EvaluateFunction(xyz); };
108 virtual void EvaluateGradient(
double x[3],
double g[3]) = 0;
115 double ReturnValue[3];
abstract interface for implicit functions
double * FunctionGradient(double x, double y, double z)
abstract base class for most VTK objects
double * FunctionGradient(const double x[3])
double FunctionValue(double x, double y, double z)
virtual void PrintSelf(ostream &os, vtkIndent indent)
virtual unsigned long GetMTime()
a simple class to control print indentation
vtkAbstractTransform * Transform
double EvaluateFunction(double x, double y, double z)
#define VTKCOMMONDATAMODEL_EXPORT