VTK  9.2.6
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 =========================================================================*/
71 #ifndef vtkRotationalExtrusionFilter_h
72 #define vtkRotationalExtrusionFilter_h
73 
74 #include "vtkFiltersModelingModule.h" // For export macro
75 #include "vtkPolyDataAlgorithm.h"
76 
77 class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
78 {
79 public:
81  void PrintSelf(ostream& os, vtkIndent indent) override;
82 
89 
91 
95  vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
96  vtkGetMacro(Resolution, int);
98 
100 
103  vtkSetMacro(Capping, vtkTypeBool);
104  vtkGetMacro(Capping, vtkTypeBool);
105  vtkBooleanMacro(Capping, vtkTypeBool);
107 
109 
112  vtkSetMacro(Angle, double);
113  vtkGetMacro(Angle, double);
115 
117 
120  vtkSetMacro(Translation, double);
121  vtkGetMacro(Translation, double);
123 
125 
128  vtkSetMacro(DeltaRadius, double);
129  vtkGetMacro(DeltaRadius, double);
131 
133 
136  vtkSetVector3Macro(RotationAxis, double);
137  vtkGetVector3Macro(RotationAxis, double);
139 
140 protected:
142  ~vtkRotationalExtrusionFilter() override = default;
143 
147  double Angle;
148  double Translation;
149  double DeltaRadius;
150  double RotationAxis[3] = { 0, 0, 1 };
151 
152 private:
154  void operator=(const vtkRotationalExtrusionFilter&) = delete;
155 };
156 
157 #endif
a simple class to control print indentation
Definition: vtkIndent.h:49
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