Go to the documentation of this file.
50 #ifndef vtkImplicitFunction_h
51 #define vtkImplicitFunction_h
53 #include "vtkCommonDataModelModule.h"
75 double FunctionValue(const
double x[3]);
76 double FunctionValue(
double x,
double y,
double z) {
77 double xyz[3] = {x, y, z};
return this->FunctionValue(xyz); };
87 this->FunctionGradient(x,this->ReturnValue);
88 return this->ReturnValue; };
90 double xyz[3] = {x, y, z};
return this->FunctionGradient(xyz); };
112 double xyz[3] = {x, y, z};
return this->EvaluateFunction(xyz); };
128 double ReturnValue[3];
void FunctionGradient(const double x[3], double g[3])
Evaluate function gradient at position x-y-z and pass back vector.
virtual void SetTransform(vtkAbstractTransform *)
Set/Get a transformation to apply to input points before executing the implicit function.
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
abstract base class for most VTK objects
vtkTypeUInt64 vtkMTimeType
abstract interface for implicit functions
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.
double * FunctionGradient(const double x[3])
~vtkImplicitFunction() override
double EvaluateFunction(double x, double y, double z)
virtual void SetTransform(const double elements[16])
double * FunctionGradient(double x, double y, double z)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.