Go to the documentation of this file.
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;
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
double EvaluateFunction(double x, double y, double z)
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 quadric equation.
static vtkQuadric * New()
Construct quadric with all coefficients = 1.