VTK  9.3.20240318
vtkVolumeOfRevolutionFilter.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
25 #ifndef vtkVolumeOfRevolutionFilter_h
26 #define vtkVolumeOfRevolutionFilter_h
27 
28 #include "vtkFiltersModelingModule.h" // For export macro
30 
31 VTK_ABI_NAMESPACE_BEGIN
32 class VTKFILTERSMODELING_EXPORT vtkVolumeOfRevolutionFilter : public vtkUnstructuredGridAlgorithm
33 {
34 public:
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
43 
45 
49  vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
50  vtkGetMacro(Resolution, int);
52 
54 
57  vtkSetClampMacro(SweepAngle, double, -360., 360.);
58  vtkGetMacro(SweepAngle, double);
60 
62 
65  vtkSetVector3Macro(AxisPosition, double);
66  vtkGetVector3Macro(AxisPosition, double);
68 
70 
73  vtkSetVector3Macro(AxisDirection, double);
74  vtkGetVector3Macro(AxisDirection, double);
76 
78 
83  vtkSetClampMacro(OutputPointsPrecision, int, SINGLE_PRECISION, DEFAULT_PRECISION);
84  vtkGetMacro(OutputPointsPrecision, int);
86 
87 protected:
90 
92 
94 
96  double SweepAngle;
97  double AxisPosition[3];
98  double AxisDirection[3];
100 
101 private:
103  void operator=(const vtkVolumeOfRevolutionFilter&) = delete;
104 };
105 
106 VTK_ABI_NAMESPACE_END
107 #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 unstructured grid as output.
sweep data about a line to create a volume
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkVolumeOfRevolutionFilter() override
static vtkVolumeOfRevolutionFilter * New()
Create object with sweep angle of 360 degrees, resolution = 12, axis position (0,0,...
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
#define VTK_INT_MAX
Definition: vtkType.h:144