VTK
vtkSectorSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkSectorSource.h
5 
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
26 #ifndef __vtkSectorSource_h
27 #define __vtkSectorSource_h
28 
29 #include "vtkPolyDataAlgorithm.h"
30 
32 {
33 public:
34  static vtkSectorSource *New();
36  void PrintSelf(ostream& os, vtkIndent indent);
37 
39 
40  vtkSetClampMacro(InnerRadius,double,0.0,VTK_DOUBLE_MAX)
41  vtkGetMacro(InnerRadius,double);
43 
45 
46  vtkSetClampMacro(OuterRadius,double,0.0,VTK_DOUBLE_MAX)
47  vtkGetMacro(OuterRadius,double);
49 
51 
52  vtkSetClampMacro(ZCoord,double,0.0,VTK_DOUBLE_MAX)
53  vtkGetMacro(ZCoord,double);
55 
57 
58  vtkSetClampMacro(RadialResolution,int,1,VTK_LARGE_INTEGER)
59  vtkGetMacro(RadialResolution,int);
61 
63 
64  vtkSetClampMacro(CircumferentialResolution,int,3,VTK_LARGE_INTEGER)
65  vtkGetMacro(CircumferentialResolution,int);
67 
69 
70  vtkSetClampMacro(StartAngle,double,0.0,VTK_DOUBLE_MAX)
71  vtkGetMacro(StartAngle,double);
73 
75 
76  vtkSetClampMacro(EndAngle,double,0.0,VTK_DOUBLE_MAX)
77  vtkGetMacro(EndAngle,double);
79 
80 protected:
82  ~vtkSectorSource() {};
83 
85  double InnerRadius;
86  double OuterRadius;
87  double ZCoord;
90  double StartAngle;
91  double EndAngle;
92 
93 private:
94  vtkSectorSource(const vtkSectorSource&); // Not implemented.
95  void operator=(const vtkSectorSource&); // Not implemented.
96 };
97 
98 #endif