dox/Common/vtkQuadric.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00033
#ifndef __vtkQuadric_h
00034
#define __vtkQuadric_h
00035
00036
#include "vtkImplicitFunction.h"
00037
00038 class VTK_COMMON_EXPORT vtkQuadric :
public vtkImplicitFunction
00039 {
00040
public:
00041 vtkTypeRevisionMacro(vtkQuadric,
vtkImplicitFunction);
00042
void PrintSelf(ostream& os,
vtkIndent indent);
00043
00045
static vtkQuadric *
New();
00046
00048
00049
float EvaluateFunction(
float x[3]);
00050 float EvaluateFunction(
float x,
float y,
float z)
00051 {
return this->
vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00053
00055
void EvaluateGradient(
float x[3],
float g[3]);
00056
00058
00059
void SetCoefficients(
float a[10]);
00060
void SetCoefficients(
float a0,
float a1,
float a2,
float a3,
float a4,
00061
float a5,
float a6,
float a7,
float a8,
float a9);
00062 vtkGetVectorMacro(Coefficients,
float,10);
00064
00065
protected:
00066 vtkQuadric();
00067 ~vtkQuadric() {};
00068
00069 float Coefficients[10];
00070
00071
private:
00072 vtkQuadric(
const vtkQuadric&);
00073
void operator=(
const vtkQuadric&);
00074 };
00075
00076
#endif
00077
00078