vtkCylinderSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00043 #ifndef __vtkCylinderSource_h
00044 #define __vtkCylinderSource_h
00045
00046 #include "vtkPolyDataSource.h"
00047
00048 #include "vtkCell.h"
00049
00050 class VTK_GRAPHICS_EXPORT vtkCylinderSource : public vtkPolyDataSource
00051 {
00052 public:
00053 static vtkCylinderSource *New();
00054 vtkTypeRevisionMacro(vtkCylinderSource,vtkPolyDataSource);
00055 void PrintSelf(ostream& os, vtkIndent indent);
00056
00058
00059 vtkSetClampMacro(Height,double,0.0,VTK_DOUBLE_MAX)
00060 vtkGetMacro(Height,double);
00062
00064
00065 vtkSetClampMacro(Radius,double,0.0,VTK_DOUBLE_MAX)
00066 vtkGetMacro(Radius,double);
00068
00070
00071 vtkSetVector3Macro(Center,double);
00072 vtkGetVectorMacro(Center,double,3);
00074
00076
00077 vtkSetClampMacro(Resolution,int,2,VTK_CELL_SIZE)
00078 vtkGetMacro(Resolution,int);
00080
00082
00083 vtkSetMacro(Capping,int);
00084 vtkGetMacro(Capping,int);
00085 vtkBooleanMacro(Capping,int);
00087
00088 protected:
00089 vtkCylinderSource(int res=6);
00090 ~vtkCylinderSource() {};
00091
00092 void Execute();
00093 double Height;
00094 double Radius;
00095 double Center[3];
00096 int Resolution;
00097 int Capping;
00098
00099 private:
00100 vtkCylinderSource(const vtkCylinderSource&);
00101 void operator=(const vtkCylinderSource&);
00102 };
00103
00104 #endif
00105
00106