Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Filtering/vtkCylinder.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00049 #ifndef __vtkCylinder_h
00050 #define __vtkCylinder_h
00051
00052 #include "vtkImplicitFunction.h"
00053
00054 class VTK_FILTERING_EXPORT vtkCylinder : public vtkImplicitFunction
00055 {
00056 public:
00057 vtkTypeRevisionMacro(vtkCylinder,vtkImplicitFunction);
00058 void PrintSelf(ostream& os, vtkIndent indent);
00059
00061 static vtkCylinder *New();
00062
00064
00065 float EvaluateFunction(float x[3]);
00066 float EvaluateFunction(float x, float y, float z)
00067 {return this->vtkImplicitFunction::EvaluateFunction(x, y, z); } ;
00069
00071 void EvaluateGradient(float x[3], float g[3]);
00072
00074
00075 vtkSetMacro(Radius,float);
00076 vtkGetMacro(Radius,float);
00078
00080
00081 vtkSetVector3Macro(Center,float);
00082 vtkGetVectorMacro(Center,float,3);
00084 protected:
00085 vtkCylinder();
00086 ~vtkCylinder() {};
00087
00088 float Radius;
00089 float Center[3];
00090
00091 private:
00092 vtkCylinder(const vtkCylinder&);
00093 void operator=(const vtkCylinder&);
00094 };
00095
00096 #endif
00097
00098