Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Filtering/vtkCone.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00052 #ifndef __vtkCone_h
00053 #define __vtkCone_h
00054
00055 #include "vtkImplicitFunction.h"
00056
00057 class VTK_FILTERING_EXPORT vtkCone : public vtkImplicitFunction
00058 {
00059 public:
00061 static vtkCone *New();
00062
00063 vtkTypeRevisionMacro(vtkCone,vtkImplicitFunction);
00064 void PrintSelf(ostream& os, vtkIndent indent);
00065
00067
00068 float EvaluateFunction(float x[3]);
00069 float EvaluateFunction(float x, float y, float z)
00070 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00072
00074 void EvaluateGradient(float x[3], float g[3]);
00075
00077
00078 vtkSetClampMacro(Angle,float,0.0f,89.0f);
00079 vtkGetMacro(Angle,float);
00081
00082 protected:
00083 vtkCone();
00084 ~vtkCone() {};
00085
00086 float Angle;
00087
00088 private:
00089 vtkCone(const vtkCone&);
00090 void operator=(const vtkCone&);
00091 };
00092
00093 #endif
00094
00095