vtkCylinder.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00045 #ifndef __vtkCylinder_h
00046 #define __vtkCylinder_h
00047
00048 #include "vtkImplicitFunction.h"
00049
00050 class VTK_FILTERING_EXPORT vtkCylinder : public vtkImplicitFunction
00051 {
00052 public:
00053 vtkTypeRevisionMacro(vtkCylinder,vtkImplicitFunction);
00054 void PrintSelf(ostream& os, vtkIndent indent);
00055
00057 static vtkCylinder *New();
00058
00060
00061 double EvaluateFunction(double x[3]);
00062 double EvaluateFunction(double x, double y, double z)
00063 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00065
00067 void EvaluateGradient(double x[3], double g[3]);
00068
00070
00071 vtkSetMacro(Radius,double);
00072 vtkGetMacro(Radius,double);
00074
00076
00077 vtkSetVector3Macro(Center,double);
00078 vtkGetVectorMacro(Center,double,3);
00080 protected:
00081 vtkCylinder();
00082 ~vtkCylinder() {};
00083
00084 double Radius;
00085 double Center[3];
00086
00087 private:
00088 vtkCylinder(const vtkCylinder&);
00089 void operator=(const vtkCylinder&);
00090 };
00091
00092 #endif
00093
00094