Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | 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 =========================================================================*/
00029 #ifndef __vtkDiskSource_h
00030 #define __vtkDiskSource_h
00031 
00032 #include "vtkPolyDataAlgorithm.h"
00033 
00034 class VTK_GRAPHICS_EXPORT vtkDiskSource : public vtkPolyDataAlgorithm 
00035 {
00036 public:
00037   static vtkDiskSource *New();
00038   vtkTypeRevisionMacro(vtkDiskSource,vtkPolyDataAlgorithm);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042 
00043   vtkSetClampMacro(InnerRadius,double,0.0,VTK_DOUBLE_MAX)
00044   vtkGetMacro(InnerRadius,double);
00046 
00048 
00049   vtkSetClampMacro(OuterRadius,double,0.0,VTK_DOUBLE_MAX)
00050   vtkGetMacro(OuterRadius,double);
00052 
00054 
00055   vtkSetClampMacro(RadialResolution,int,1,VTK_LARGE_INTEGER)
00056   vtkGetMacro(RadialResolution,int);
00058 
00060 
00061   vtkSetClampMacro(CircumferentialResolution,int,3,VTK_LARGE_INTEGER)
00062   vtkGetMacro(CircumferentialResolution,int);
00064 
00065 protected:
00066   vtkDiskSource();
00067   ~vtkDiskSource() {};
00068 
00069   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00070   double InnerRadius;
00071   double OuterRadius;
00072   int RadialResolution;
00073   int CircumferentialResolution;
00074 
00075 private:
00076   vtkDiskSource(const vtkDiskSource&);  // Not implemented.
00077   void operator=(const vtkDiskSource&);  // Not implemented.
00078 };
00079 
00080 #endif

Generated on Mon Jan 21 23:07:24 2008 for VTK by  doxygen 1.4.3-20050530