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 =========================================================================*/
61 #ifndef vtkRotationalExtrusionFilter_h
62 #define vtkRotationalExtrusionFilter_h
63 
64 #include "vtkFiltersModelingModule.h" // For export macro
65 #include "vtkPolyDataAlgorithm.h"
66 
67 class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
68 {
69 public:
71  void PrintSelf(ostream& os, vtkIndent indent) override;
72 
79 
81 
85  vtkSetClampMacro(Resolution,int,1,VTK_INT_MAX);
86  vtkGetMacro(Resolution,int);
88 
90 
93  vtkSetMacro(Capping,vtkTypeBool);
94  vtkGetMacro(Capping,vtkTypeBool);
95  vtkBooleanMacro(Capping,vtkTypeBool);
97 
99 
102  vtkSetMacro(Angle,double);
103  vtkGetMacro(Angle,double);
105 
107 
110  vtkSetMacro(Translation,double);
111  vtkGetMacro(Translation,double);
113 
115 
118  vtkSetMacro(DeltaRadius,double);
119  vtkGetMacro(DeltaRadius,double);
121 
122 protected:
125 
129  double Angle;
130  double Translation;
131  double DeltaRadius;
132 private:
134  void operator=(const vtkRotationalExtrusionFilter&) = delete;
135 };
136 
137 #endif
sweep polygonal data creating "skirt" from free edges and lines, and lines from vertices ...
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
#define VTK_INT_MAX
Definition: vtkType.h:159
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.