Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkDiskSource.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDiskSource.h,v $
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
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&);  // Not implemented.
00088   void operator=(const vtkDiskSource&);  // Not implemented.
00089 };
00090 
00091 #endif
00092 
00093