VTK  9.1.0
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=========================================================================*/
68#ifndef vtkRotationalExtrusionFilter_h
69#define vtkRotationalExtrusionFilter_h
70
71#include "vtkFiltersModelingModule.h" // For export macro
73
74class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
75{
76public:
78 void PrintSelf(ostream& os, vtkIndent indent) override;
79
86
88
92 vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
93 vtkGetMacro(Resolution, int);
95
97
100 vtkSetMacro(Capping, vtkTypeBool);
101 vtkGetMacro(Capping, vtkTypeBool);
102 vtkBooleanMacro(Capping, vtkTypeBool);
104
106
109 vtkSetMacro(Angle, double);
110 vtkGetMacro(Angle, double);
112
114
117 vtkSetMacro(Translation, double);
118 vtkGetMacro(Translation, double);
120
122
125 vtkSetMacro(DeltaRadius, double);
126 vtkGetMacro(DeltaRadius, double);
128
130
133 vtkSetVector3Macro(RotationAxis, double);
134 vtkGetVector3Macro(RotationAxis, double);
136
137protected:
139 ~vtkRotationalExtrusionFilter() override = default;
140
144 double Angle;
147 double RotationAxis[3] = { 0, 0, 1 };
148
149private:
151 void operator=(const vtkRotationalExtrusionFilter&) = delete;
152};
153
154#endif
a simple class to control print indentation
Definition: vtkIndent.h:43
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...
~vtkRotationalExtrusionFilter() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
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