VTK  9.3.20240328
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
109 #ifndef vtkRotationalExtrusionFilter_h
110 #define vtkRotationalExtrusionFilter_h
111 
112 #include "vtkFiltersModelingModule.h" // For export macro
113 #include "vtkPolyDataAlgorithm.h"
114 
115 VTK_ABI_NAMESPACE_BEGIN
116 class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
117 {
118 public:
120  void PrintSelf(ostream& os, vtkIndent indent) override;
121 
128 
130 
134  vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
135  vtkGetMacro(Resolution, int);
137 
139 
142  vtkSetMacro(Capping, vtkTypeBool);
143  vtkGetMacro(Capping, vtkTypeBool);
144  vtkBooleanMacro(Capping, vtkTypeBool);
146 
148 
151  vtkSetMacro(Angle, double);
152  vtkGetMacro(Angle, double);
154 
156 
159  vtkSetMacro(Translation, double);
160  vtkGetMacro(Translation, double);
162 
164 
167  vtkSetMacro(DeltaRadius, double);
168  vtkGetMacro(DeltaRadius, double);
170 
172 
175  vtkSetVector3Macro(RotationAxis, double);
176  vtkGetVector3Macro(RotationAxis, double);
178 
179 protected:
181  ~vtkRotationalExtrusionFilter() override = default;
182 
186  double Angle;
187  double Translation;
188  double DeltaRadius;
189  double RotationAxis[3] = { 0, 0, 1 };
190 
191 private:
193  void operator=(const vtkRotationalExtrusionFilter&) = delete;
194 };
195 
196 VTK_ABI_NAMESPACE_END
197 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
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