vtkCone.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00048 #ifndef __vtkCone_h
00049 #define __vtkCone_h
00050
00051 #include "vtkImplicitFunction.h"
00052
00053 class VTK_FILTERING_EXPORT vtkCone : public vtkImplicitFunction
00054 {
00055 public:
00057 static vtkCone *New();
00058
00059 vtkTypeRevisionMacro(vtkCone,vtkImplicitFunction);
00060 void PrintSelf(ostream& os, vtkIndent indent);
00061
00063
00064 double EvaluateFunction(double x[3]);
00065 double EvaluateFunction(double x, double y, double z)
00066 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00068
00070 void EvaluateGradient(double x[3], double g[3]);
00071
00073
00074 vtkSetClampMacro(Angle,double,0.0,89.0);
00075 vtkGetMacro(Angle,double);
00077
00078 protected:
00079 vtkCone();
00080 ~vtkCone() {};
00081
00082 double Angle;
00083
00084 private:
00085 vtkCone(const vtkCone&);
00086 void operator=(const vtkCone&);
00087 };
00088
00089 #endif
00090
00091