VTK
vtkDiskSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDiskSource.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 =========================================================================*/
29 #ifndef __vtkDiskSource_h
30 #define __vtkDiskSource_h
31 
32 #include "vtkPolyDataAlgorithm.h"
33 
35 {
36 public:
37  static vtkDiskSource *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
43  vtkSetClampMacro(InnerRadius,double,0.0,VTK_DOUBLE_MAX)
44  vtkGetMacro(InnerRadius,double);
46 
48 
49  vtkSetClampMacro(OuterRadius,double,0.0,VTK_DOUBLE_MAX)
50  vtkGetMacro(OuterRadius,double);
52 
54 
55  vtkSetClampMacro(RadialResolution,int,1,VTK_LARGE_INTEGER)
56  vtkGetMacro(RadialResolution,int);
58 
60 
61  vtkSetClampMacro(CircumferentialResolution,int,3,VTK_LARGE_INTEGER)
62  vtkGetMacro(CircumferentialResolution,int);
64 
65 protected:
66  vtkDiskSource();
67  ~vtkDiskSource() {};
68 
70  double InnerRadius;
71  double OuterRadius;
74 
75 private:
76  vtkDiskSource(const vtkDiskSource&); // Not implemented.
77  void operator=(const vtkDiskSource&); // Not implemented.
78 };
79 
80 #endif
#define VTK_GRAPHICS_EXPORT
int CircumferentialResolution
Definition: vtkDiskSource.h:73
#define VTK_DOUBLE_MAX
Definition: vtkType.h:133
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
double InnerRadius
Definition: vtkDiskSource.h:70
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:37
double OuterRadius
Definition: vtkDiskSource.h:71
create a disk with hole in center
Definition: vtkDiskSource.h:34
Store zero or more vtkInformation instances.
#define VTK_LARGE_INTEGER
Definition: vtkType.h:148