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