vtkDiskSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00040 #ifndef __vtkDiskSource_h
00041 #define __vtkDiskSource_h
00042
00043 #include "vtkPolyDataSource.h"
00044
00045 class VTK_GRAPHICS_EXPORT vtkDiskSource : public vtkPolyDataSource
00046 {
00047 public:
00048 static vtkDiskSource *New();
00049 vtkTypeRevisionMacro(vtkDiskSource,vtkPolyDataSource);
00050 void PrintSelf(ostream& os, vtkIndent indent);
00051
00053
00054 vtkSetClampMacro(InnerRadius,double,0.0,VTK_DOUBLE_MAX)
00055 vtkGetMacro(InnerRadius,double);
00057
00059
00060 vtkSetClampMacro(OuterRadius,double,0.0,VTK_DOUBLE_MAX)
00061 vtkGetMacro(OuterRadius,double);
00063
00065
00066 vtkSetClampMacro(RadialResolution,int,1,VTK_LARGE_INTEGER)
00067 vtkGetMacro(RadialResolution,int);
00069
00071
00072 vtkSetClampMacro(CircumferentialResolution,int,3,VTK_LARGE_INTEGER)
00073 vtkGetMacro(CircumferentialResolution,int);
00075
00076 protected:
00077 vtkDiskSource();
00078 ~vtkDiskSource() {};
00079
00080 void Execute();
00081 double InnerRadius;
00082 double OuterRadius;
00083 int RadialResolution;
00084 int CircumferentialResolution;
00085
00086 private:
00087 vtkDiskSource(const vtkDiskSource&);
00088 void operator=(const vtkDiskSource&);
00089 };
00090
00091 #endif
00092
00093