Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Graphics/vtkCylinderSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00047 #ifndef __vtkCylinderSource_h
00048 #define __vtkCylinderSource_h
00049
00050 #include "vtkPolyDataSource.h"
00051
00052 #include "vtkCell.h"
00053
00054 class VTK_GRAPHICS_EXPORT vtkCylinderSource : public vtkPolyDataSource
00055 {
00056 public:
00057 static vtkCylinderSource *New();
00058 vtkTypeRevisionMacro(vtkCylinderSource,vtkPolyDataSource);
00059 void PrintSelf(ostream& os, vtkIndent indent);
00060
00062
00063 vtkSetClampMacro(Height,float,0.0,VTK_LARGE_FLOAT)
00064 vtkGetMacro(Height,float);
00066
00068
00069 vtkSetClampMacro(Radius,float,0.0,VTK_LARGE_FLOAT)
00070 vtkGetMacro(Radius,float);
00072
00074
00075 vtkSetVector3Macro(Center,float);
00076 vtkGetVectorMacro(Center,float,3);
00078
00080
00081 vtkSetClampMacro(Resolution,int,0,VTK_CELL_SIZE)
00082 vtkGetMacro(Resolution,int);
00084
00086
00087 vtkSetMacro(Capping,int);
00088 vtkGetMacro(Capping,int);
00089 vtkBooleanMacro(Capping,int);
00091
00092 protected:
00093 vtkCylinderSource(int res=6);
00094 ~vtkCylinderSource() {};
00095
00096 void Execute();
00097 float Height;
00098 float Radius;
00099 float Center[3];
00100 int Resolution;
00101 int Capping;
00102
00103 private:
00104 vtkCylinderSource(const vtkCylinderSource&);
00105 void operator=(const vtkCylinderSource&);
00106 };
00107
00108 #endif
00109
00110