VTK
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 :
45 {
46 public:
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
55 
57 
61  vtkSetClampMacro(Resolution,int,1,VTK_INT_MAX);
62  vtkGetMacro(Resolution,int);
64 
66 
69  vtkSetClampMacro(SweepAngle,double,-360.,360.);
70  vtkGetMacro(SweepAngle,double);
72 
74 
77  vtkSetVector3Macro(AxisPosition,double);
78  vtkGetVector3Macro(AxisPosition,double);
80 
82 
85  vtkSetVector3Macro(AxisDirection,double);
86  vtkGetVector3Macro(AxisDirection,double);
88 
90 
95  vtkSetClampMacro(OutputPointsPrecision, int, SINGLE_PRECISION,
96  DEFAULT_PRECISION);
97  vtkGetMacro(OutputPointsPrecision, int);
99 
100 protected:
102  ~vtkVolumeOfRevolutionFilter() override;
103 
105  vtkInformationVector *) override;
106 
107  int FillInputPortInformation(int, vtkInformation *) override;
108 
110  double SweepAngle;
111  double AxisPosition[3];
112  double AxisDirection[3];
114 
115 private:
117  void operator=(const vtkVolumeOfRevolutionFilter&) = delete;
118 };
119 
120 #endif
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:159
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkVolumeOfRevolutionFilter::OutputPointsPrecision
int OutputPointsPrecision
Definition: vtkVolumeOfRevolutionFilter.h:113
vtkUnstructuredGridAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkUnstructuredGridAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkVolumeOfRevolutionFilter::SweepAngle
double SweepAngle
Definition: vtkVolumeOfRevolutionFilter.h:110
vtkUnstructuredGridAlgorithm::New
static vtkUnstructuredGridAlgorithm * New()
vtkUnstructuredGridAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition: vtkUnstructuredGridAlgorithm.h:40
vtkVolumeOfRevolutionFilter::Resolution
int Resolution
Definition: vtkVolumeOfRevolutionFilter.h:109
vtkVolumeOfRevolutionFilter
sweep data about a line to create a volume
Definition: vtkVolumeOfRevolutionFilter.h:43