Go to the documentation of this file.
33 #include "vtkCommonDataModelModule.h"
66 double a5,
double a6,
double a7,
double a8,
double a9);
67 vtkGetVectorMacro(Coefficients,
double,10);
74 double Coefficients[10];
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual double EvaluateFunction(double x[3])=0
Evaluate function at position x-y-z and return value.
void EvaluateGradient(double x[3], double g[3]) override
Evaluate the gradient to the quadric equation.
evaluate implicit quadric function
void SetCoefficients(double a[10])
Set / get the 10 coefficients of the quadric equation.
abstract interface for implicit functions
a simple class to control print indentation
void SetCoefficients(double a0, double a1, double a2, double a3, double a4, double a5, double a6, double a7, double a8, double a9)
double EvaluateFunction(double x[3]) override
Evaluate function at position x-y-z and return value.
static vtkQuadric * New()
Construct quadric with all coefficients = 1.