VTK  9.2.6
vtkVolumeOfRevolutionFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkVolumeOfRevolutionFilter.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 =========================================================================*/
37 #ifndef vtkVolumeOfRevolutionFilter_h
38 #define vtkVolumeOfRevolutionFilter_h
39 
40 #include "vtkFiltersModelingModule.h" // For export macro
42 
43 class VTKFILTERSMODELING_EXPORT vtkVolumeOfRevolutionFilter : public vtkUnstructuredGridAlgorithm
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
54 
56 
60  vtkSetClampMacro(Resolution, int, 1, VTK_INT_MAX);
61  vtkGetMacro(Resolution, int);
63 
65 
68  vtkSetClampMacro(SweepAngle, double, -360., 360.);
69  vtkGetMacro(SweepAngle, double);
71 
73 
76  vtkSetVector3Macro(AxisPosition, double);
77  vtkGetVector3Macro(AxisPosition, double);
79 
81 
84  vtkSetVector3Macro(AxisDirection, double);
85  vtkGetVector3Macro(AxisDirection, double);
87 
89 
94  vtkSetClampMacro(OutputPointsPrecision, int, SINGLE_PRECISION, DEFAULT_PRECISION);
95  vtkGetMacro(OutputPointsPrecision, int);
97 
98 protected:
101 
103 
105 
107  double SweepAngle;
108  double AxisPosition[3];
109  double AxisDirection[3];
111 
112 private:
114  void operator=(const vtkVolumeOfRevolutionFilter&) = delete;
115 };
116 
117 #endif
a simple class to control print indentation
Definition: vtkIndent.h:119
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:155