VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Filters/Modeling/vtkSectorSource.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003 Program:   Visualization Toolkit
00004 Module:    vtkSectorSource.h
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 =========================================================================*/
00026 #ifndef vtkSectorSource_h
00027 #define vtkSectorSource_h
00028 
00029 #include "vtkFiltersModelingModule.h" // For export macro
00030 #include "vtkPolyDataAlgorithm.h"
00031 
00032 class VTKFILTERSMODELING_EXPORT vtkSectorSource : public vtkPolyDataAlgorithm
00033 {
00034 public:
00035   static vtkSectorSource *New();
00036   vtkTypeMacro(vtkSectorSource,vtkPolyDataAlgorithm);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040 
00041   vtkSetClampMacro(InnerRadius,double,0.0,VTK_DOUBLE_MAX)
00042     vtkGetMacro(InnerRadius,double);
00044 
00046 
00047   vtkSetClampMacro(OuterRadius,double,0.0,VTK_DOUBLE_MAX)
00048     vtkGetMacro(OuterRadius,double);
00050 
00052 
00053   vtkSetClampMacro(ZCoord,double,0.0,VTK_DOUBLE_MAX)
00054     vtkGetMacro(ZCoord,double);
00056 
00058 
00059   vtkSetClampMacro(RadialResolution,int,1,VTK_INT_MAX)
00060     vtkGetMacro(RadialResolution,int);
00062 
00064 
00065   vtkSetClampMacro(CircumferentialResolution,int,3,VTK_INT_MAX)
00066     vtkGetMacro(CircumferentialResolution,int);
00068 
00070 
00071   vtkSetClampMacro(StartAngle,double,0.0,VTK_DOUBLE_MAX)
00072     vtkGetMacro(StartAngle,double);
00074 
00076 
00077   vtkSetClampMacro(EndAngle,double,0.0,VTK_DOUBLE_MAX)
00078     vtkGetMacro(EndAngle,double);
00080 
00081 protected:
00082   vtkSectorSource();
00083   ~vtkSectorSource() {}
00084 
00085   int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00086   double InnerRadius;
00087   double OuterRadius;
00088   double ZCoord;
00089   int RadialResolution;
00090   int CircumferentialResolution;
00091   double StartAngle;
00092   double EndAngle;
00093 
00094 private:
00095   vtkSectorSource(const vtkSectorSource&);  // Not implemented.
00096   void operator=(const vtkSectorSource&);  // Not implemented.
00097 };
00098 
00099 #endif