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
50#ifndef vtkRotationalExtrusionFilter_h
51#define vtkRotationalExtrusionFilter_h
52
53#include "vtkFiltersModelingModule.h" // For export macro
55
56VTK_ABI_NAMESPACE_BEGIN
57class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
58{
59public:
61 void PrintSelf(ostream& os, vtkIndent indent) override;
62
69
71
75 vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
76 vtkGetMacro(Resolution, int);
78
80
83 vtkSetMacro(Capping, vtkTypeBool);
84 vtkGetMacro(Capping, vtkTypeBool);
85 vtkBooleanMacro(Capping, vtkTypeBool);
87
89
92 vtkSetMacro(Angle, double);
93 vtkGetMacro(Angle, double);
95
97
100 vtkSetMacro(Translation, double);
101 vtkGetMacro(Translation, double);
103
105
108 vtkSetMacro(DeltaRadius, double);
109 vtkGetMacro(DeltaRadius, double);
111
113
116 vtkSetVector3Macro(RotationAxis, double);
117 vtkGetVector3Macro(RotationAxis, double);
119
120protected:
122 ~vtkRotationalExtrusionFilter() override = default;
123
127 double Angle;
130 double RotationAxis[3] = { 0, 0, 1 };
131
132private:
134 void operator=(const vtkRotationalExtrusionFilter&) = delete;
135};
136
137VTK_ABI_NAMESPACE_END
138#endif
a simple class to control print indentation
Definition vtkIndent.h:29
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:64
#define VTK_INT_MAX
Definition vtkType.h:144