VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Graphics
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
34
class
VTK_GRAPHICS_EXPORT
vtkDiskSource
:
public
vtkPolyDataAlgorithm
35
{
36
public
:
37
static
vtkDiskSource
*
New
();
38
vtkTypeMacro(
vtkDiskSource
,
vtkPolyDataAlgorithm
);
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
69
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*);
70
double
InnerRadius
;
71
double
OuterRadius
;
72
int
RadialResolution
;
73
int
CircumferentialResolution
;
74
75
private
:
76
vtkDiskSource
(
const
vtkDiskSource
&);
// Not implemented.
77
void
operator=(
const
vtkDiskSource
&);
// Not implemented.
78
};
79
80
#endif
Generated on Fri Aug 2 2013 12:19:49 for VTK by
1.8.4