VTK
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 #ifndef vtkRotationalExtrusionFilter_h
59 #define vtkRotationalExtrusionFilter_h
60 
61 #include "vtkFiltersModelingModule.h" // For export macro
62 #include "vtkPolyDataAlgorithm.h"
63 
64 class VTKFILTERSMODELING_EXPORT vtkRotationalExtrusionFilter : public vtkPolyDataAlgorithm
65 {
66 public:
68  void PrintSelf(ostream& os, vtkIndent indent) override;
69 
76 
78 
82  vtkSetClampMacro(Resolution,int,1,VTK_INT_MAX);
83  vtkGetMacro(Resolution,int);
85 
87 
90  vtkSetMacro(Capping,vtkTypeBool);
91  vtkGetMacro(Capping,vtkTypeBool);
92  vtkBooleanMacro(Capping,vtkTypeBool);
94 
96 
99  vtkSetMacro(Angle,double);
100  vtkGetMacro(Angle,double);
102 
104 
107  vtkSetMacro(Translation,double);
108  vtkGetMacro(Translation,double);
110 
112 
115  vtkSetMacro(DeltaRadius,double);
116  vtkGetMacro(DeltaRadius,double);
118 
119 protected:
122 
126  double Angle;
127  double Translation;
128  double DeltaRadius;
129 private:
131  void operator=(const vtkRotationalExtrusionFilter&) = delete;
132 };
133 
134 #endif
sweep polygonal data creating "skirt" from free edges and lines, and lines from vertices
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
#define VTK_INT_MAX
Definition: vtkType.h:159
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.