18#include "vtkCommonDataModelModule.h"  
   21VTK_ABI_NAMESPACE_BEGIN
 
   51  void SetCoefficients(
double a0, 
double a1, 
double a2, 
double a3, 
double a4, 
double a5, 
double a6,
 
   52    double a7, 
double a8, 
double a9);
 
   53  vtkGetVectorMacro(Coefficients, 
double, 10);
 
   60  double Coefficients[10];
 
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
 
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
 
static vtkQuadric * New()
Construct quadric with all coefficients = 1.
 
~vtkQuadric() override=default
 
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)
Set / get the 10 coefficients of the quadric equation.