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=========================================================================*/
58
59#ifndef vtkRotationalExtrusionFilter_h
60#define vtkRotationalExtrusionFilter_h
61
62#include "vtkFiltersModelingModule.h" // For export macro
64
65class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
66{
67public:
69 void PrintSelf(ostream& os, vtkIndent indent) override;
70
77
79
83 vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
84 vtkGetMacro(Resolution, int);
86
88
91 vtkSetMacro(Capping, vtkTypeBool);
92 vtkGetMacro(Capping, vtkTypeBool);
93 vtkBooleanMacro(Capping, vtkTypeBool);
95
97
100 vtkSetMacro(Angle, double);
101 vtkGetMacro(Angle, double);
103
105
108 vtkSetMacro(Translation, double);
109 vtkGetMacro(Translation, double);
111
113
116 vtkSetMacro(DeltaRadius, double);
117 vtkGetMacro(DeltaRadius, double);
119
121
124 vtkSetVector3Macro(RotationAxis, double);
125 vtkGetVector3Macro(RotationAxis, double);
127
128protected:
130 ~vtkRotationalExtrusionFilter() override = default;
131
135 double Angle;
138 double RotationAxis[3] = { 0, 0, 1 };
139
140private:
142 void operator=(const vtkRotationalExtrusionFilter&) = delete;
143};
144
145#endif
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
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