VTK  9.0.20210223
vtkUncertaintyTubeFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkUncertaintyTubeFilter.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 =========================================================================*/
35 #ifndef vtkUncertaintyTubeFilter_h
36 #define vtkUncertaintyTubeFilter_h
37 
38 #include "vtkFiltersGeneralModule.h" // For export macro
39 #include "vtkPolyDataAlgorithm.h"
40 
41 class vtkTubeArray;
42 
43 class VTKFILTERSGENERAL_EXPORT vtkUncertaintyTubeFilter : public vtkPolyDataAlgorithm
44 {
45 public:
47 
51  void PrintSelf(ostream& os, vtkIndent indent) override;
53 
57  static vtkUncertaintyTubeFilter* New();
58 
60 
64  vtkSetClampMacro(NumberOfSides, int, 3, VTK_INT_MAX);
65  vtkGetMacro(NumberOfSides, int);
67 
68 protected:
70  ~vtkUncertaintyTubeFilter() override;
71 
72  // Integrate data
74  int BuildTubes(vtkPointData* pd, vtkPointData* outPD, vtkCellData* cd, vtkCellData* outCD,
75  vtkPolyData* output);
76 
77  // array of uncertainty tubes
78  vtkTubeArray* Tubes;
80 
81  // number of sides of tube
83 
84 private:
86  void operator=(const vtkUncertaintyTubeFilter&) = delete;
87 };
88 
89 #endif
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:155
vtkUncertaintyTubeFilter::NumberOfSides
int NumberOfSides
Definition: vtkUncertaintyTubeFilter.h:82
vtkPointData
represent and manipulate point attribute data
Definition: vtkPointData.h:32
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkUncertaintyTubeFilter::NumberOfTubes
int NumberOfTubes
Definition: vtkUncertaintyTubeFilter.h:79
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkUncertaintyTubeFilter::Tubes
vtkTubeArray * Tubes
Definition: vtkUncertaintyTubeFilter.h:78
vtkCellData
represent and manipulate cell attribute data
Definition: vtkCellData.h:32
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkUncertaintyTubeFilter
generate uncertainty tubes along a polyline
Definition: vtkUncertaintyTubeFilter.h:43
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:41