vtkQuadric.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkQuadric_h
00041 #define __vtkQuadric_h
00042
00043 #include "vtkImplicitFunction.h"
00044
00045 class VTK_COMMON_EXPORT vtkQuadric : public vtkImplicitFunction
00046 {
00047 public:
00048 vtkTypeRevisionMacro(vtkQuadric,vtkImplicitFunction);
00049 void PrintSelf(ostream& os, vtkIndent indent);
00050
00052 static vtkQuadric *New();
00053
00055
00056 double EvaluateFunction(double x[3]);
00057 double EvaluateFunction(double x, double y, double z)
00058 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00060
00062 void EvaluateGradient(double x[3], double g[3]);
00063
00065
00066 void SetCoefficients(double a[10]);
00067 void SetCoefficients(double a0, double a1, double a2, double a3, double a4,
00068 double a5, double a6, double a7, double a8, double a9);
00069 vtkGetVectorMacro(Coefficients,double,10);
00071
00072 protected:
00073 vtkQuadric();
00074 ~vtkQuadric() {};
00075
00076 double Coefficients[10];
00077
00078 private:
00079 vtkQuadric(const vtkQuadric&);
00080 void operator=(const vtkQuadric&);
00081 };
00082
00083 #endif
00084
00085