VTK  9.2.5
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 =========================================================================*/
121 #ifndef vtkRotationalExtrusionFilter_h
122 #define vtkRotationalExtrusionFilter_h
123 
124 #include "vtkFiltersModelingModule.h" // For export macro
125 #include "vtkPolyDataAlgorithm.h"
126 
127 class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
128 {
129 public:
131  void PrintSelf(ostream& os, vtkIndent indent) override;
132 
139 
141 
145  vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
146  vtkGetMacro(Resolution, int);
148 
150 
153  vtkSetMacro(Capping, vtkTypeBool);
154  vtkGetMacro(Capping, vtkTypeBool);
155  vtkBooleanMacro(Capping, vtkTypeBool);
157 
159 
162  vtkSetMacro(Angle, double);
163  vtkGetMacro(Angle, double);
165 
167 
170  vtkSetMacro(Translation, double);
171  vtkGetMacro(Translation, double);
173 
175 
178  vtkSetMacro(DeltaRadius, double);
179  vtkGetMacro(DeltaRadius, double);
181 
183 
186  vtkSetVector3Macro(RotationAxis, double);
187  vtkGetVector3Macro(RotationAxis, double);
189 
190 protected:
192  ~vtkRotationalExtrusionFilter() override = default;
193 
197  double Angle;
198  double Translation;
199  double DeltaRadius;
200  double RotationAxis[3] = { 0, 0, 1 };
201 
202 private:
204  void operator=(const vtkRotationalExtrusionFilter&) = delete;
205 };
206 
207 #endif
a simple class to control print indentation
Definition: vtkIndent.h:119
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
~vtkRotationalExtrusionFilter() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
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) override
Methods invoked by print to print information about the object including superclasses.
int vtkTypeBool
Definition: vtkABI.h:69
#define VTK_INT_MAX
Definition: vtkType.h:155