VTK
vtkRotationalExtrusionFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkRotationalExtrusionFilter.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=========================================================================*/
64#ifndef vtkRotationalExtrusionFilter_h
65#define vtkRotationalExtrusionFilter_h
66
67#include "vtkFiltersModelingModule.h" // For export macro
69
70class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
71{
72public:
74 void PrintSelf(ostream& os, vtkIndent indent);
75
82
84
88 vtkSetClampMacro(Resolution,int,1,VTK_INT_MAX);
89 vtkGetMacro(Resolution,int);
91
93
96 vtkSetMacro(Capping,int);
97 vtkGetMacro(Capping,int);
98 vtkBooleanMacro(Capping,int);
100
102
105 vtkSetMacro(Angle,double);
106 vtkGetMacro(Angle,double);
108
110
113 vtkSetMacro(Translation,double);
114 vtkGetMacro(Translation,double);
116
118
121 vtkSetMacro(DeltaRadius,double);
122 vtkGetMacro(DeltaRadius,double);
124
125protected:
128
132 double Angle;
135private:
137 void operator=(const vtkRotationalExtrusionFilter&) VTK_DELETE_FUNCTION;
138};
139
140#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
sweep polygonal data creating "skirt" from free edges and lines, and lines from vertices
static vtkRotationalExtrusionFilter * New()
Create object with capping on, angle of 360 degrees, resolution = 12, and no translation along z-axis...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_INT_MAX
Definition: vtkType.h:153