00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00033 #ifndef __vtkCone_h
00034 #define __vtkCone_h
00035
00036 #include "vtkImplicitFunction.h"
00037
00038 class VTK_FILTERING_EXPORT vtkCone : public vtkImplicitFunction
00039 {
00040 public:
00042 static vtkCone *New();
00043
00044 vtkTypeRevisionMacro(vtkCone,vtkImplicitFunction);
00045 void PrintSelf(ostream& os, vtkIndent indent);
00046
00048
00049 double EvaluateFunction(double x[3]);
00050 double EvaluateFunction(double x, double y, double z)
00051 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00053
00055 void EvaluateGradient(double x[3], double g[3]);
00056
00058
00059 vtkSetClampMacro(Angle,double,0.0,89.0);
00060 vtkGetMacro(Angle,double);
00062
00063 protected:
00064 vtkCone();
00065 ~vtkCone() {};
00066
00067 double Angle;
00068
00069 private:
00070 vtkCone(const vtkCone&);
00071 void operator=(const vtkCone&);
00072 };
00073
00074 #endif
00075
00076