33 #include "vtkCommonDataModelModule.h"
67 double a5,
double a6,
double a7,
double a8,
double a9);
68 vtkGetVectorMacro(Coefficients,
double,10);
75 double Coefficients[10];
79 void operator=(
const vtkQuadric&) VTK_DELETE_FUNCTION;
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
evaluate implicit quadric function
static vtkQuadric * New()
Construct quadric with all coefficients = 1.
double EvaluateFunction(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.
void EvaluateGradient(double x[3], double g[3]) override
Evaluate the gradient to the quadric equation.
void SetCoefficients(double a[10])
Set / get the 10 coefficients of the quadric equation.
double EvaluateFunction(double x[3]) override
Evaluate quadric equation.
void SetCoefficients(double a0, double a1, double a2, double a3, double a4, double a5, double a6, double a7, double a8, double a9)