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 "vtkFiltersModelingModule.h" // For export macro
30 #include "vtkPolyDataAlgorithm.h"
31 
33 {
34 public:
35  static vtkSectorSource *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
41  vtkSetClampMacro(InnerRadius,double,0.0,VTK_DOUBLE_MAX)
42  vtkGetMacro(InnerRadius,double);
44 
46 
47  vtkSetClampMacro(OuterRadius,double,0.0,VTK_DOUBLE_MAX)
48  vtkGetMacro(OuterRadius,double);
50 
52 
53  vtkSetClampMacro(ZCoord,double,0.0,VTK_DOUBLE_MAX)
54  vtkGetMacro(ZCoord,double);
56 
58 
59  vtkSetClampMacro(RadialResolution,int,1,VTK_INT_MAX)
60  vtkGetMacro(RadialResolution,int);
62 
64 
65  vtkSetClampMacro(CircumferentialResolution,int,3,VTK_INT_MAX)
66  vtkGetMacro(CircumferentialResolution,int);
68 
70 
71  vtkSetClampMacro(StartAngle,double,0.0,VTK_DOUBLE_MAX)
72  vtkGetMacro(StartAngle,double);
74 
76 
77  vtkSetClampMacro(EndAngle,double,0.0,VTK_DOUBLE_MAX)
78  vtkGetMacro(EndAngle,double);
80 
81 protected:
83  ~vtkSectorSource() {}
84 
86  double InnerRadius;
87  double OuterRadius;
88  double ZCoord;
91  double StartAngle;
92  double EndAngle;
93 
94 private:
95  vtkSectorSource(const vtkSectorSource&); // Not implemented.
96  void operator=(const vtkSectorSource&); // Not implemented.
97 };
98 
99 #endif
#define VTK_DOUBLE_MAX
Definition: vtkType.h:142
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_INT_MAX
Definition: vtkType.h:132
#define VTKFILTERSMODELING_EXPORT
create a sector of a disk
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:38
Store zero or more vtkInformation instances.