VTK  9.3.0
vtkRotationalExtrusionFilter.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
59 #ifndef vtkRotationalExtrusionFilter_h
60 #define vtkRotationalExtrusionFilter_h
61 
62 #include "vtkFiltersModelingModule.h" // For export macro
63 #include "vtkPolyDataAlgorithm.h"
64 
65 VTK_ABI_NAMESPACE_BEGIN
66 class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
67 {
68 public:
70  void PrintSelf(ostream& os, vtkIndent indent) override;
71 
78 
80 
84  vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
85  vtkGetMacro(Resolution, int);
87 
89 
92  vtkSetMacro(Capping, vtkTypeBool);
93  vtkGetMacro(Capping, vtkTypeBool);
94  vtkBooleanMacro(Capping, vtkTypeBool);
96 
98 
101  vtkSetMacro(Angle, double);
102  vtkGetMacro(Angle, double);
104 
106 
109  vtkSetMacro(Translation, double);
110  vtkGetMacro(Translation, double);
112 
114 
117  vtkSetMacro(DeltaRadius, double);
118  vtkGetMacro(DeltaRadius, double);
120 
122 
125  vtkSetVector3Macro(RotationAxis, double);
126  vtkGetVector3Macro(RotationAxis, double);
128 
129 protected:
131  ~vtkRotationalExtrusionFilter() override = default;
132 
136  double Angle;
137  double Translation;
138  double DeltaRadius;
139  double RotationAxis[3] = { 0, 0, 1 };
140 
141 private:
143  void operator=(const vtkRotationalExtrusionFilter&) = delete;
144 };
145 
146 VTK_ABI_NAMESPACE_END
147 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
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:64
#define VTK_INT_MAX
Definition: vtkType.h:144