VTK
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 =========================================================================*/
38 #ifndef vtkUncertaintyTubeFilter_h
39 #define vtkUncertaintyTubeFilter_h
40 
41 #include "vtkFiltersGeneralModule.h" // For export macro
42 #include "vtkPolyDataAlgorithm.h"
43 
44 class vtkTubeArray;
45 
46 class VTKFILTERSGENERAL_EXPORT vtkUncertaintyTubeFilter : public vtkPolyDataAlgorithm
47 {
48 public:
50 
54  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
56 
60  static vtkUncertaintyTubeFilter *New();
61 
63 
67  vtkSetClampMacro(NumberOfSides,int,3,VTK_INT_MAX);
68  vtkGetMacro(NumberOfSides,int);
70 
71 protected:
73  ~vtkUncertaintyTubeFilter() VTK_OVERRIDE;
74 
75  // Integrate data
76  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
77  int BuildTubes(vtkPointData *pd, vtkPointData *outPD,
78  vtkCellData *cd, vtkCellData *outCD, vtkPolyData *output);
79 
80  //array of uncertainty tubes
81  vtkTubeArray *Tubes;
82  int NumberOfTubes;
83 
84  // number of sides of tube
85  int NumberOfSides;
86 
87 private:
88  vtkUncertaintyTubeFilter(const vtkUncertaintyTubeFilter&) VTK_DELETE_FUNCTION;
89  void operator=(const vtkUncertaintyTubeFilter&) VTK_DELETE_FUNCTION;
90 };
91 
92 #endif
represent and manipulate point attribute data
Definition: vtkPointData.h:37
Store vtkAlgorithm input/output information.
#define VTK_INT_MAX
Definition: vtkType.h:153
represent and manipulate cell attribute data
Definition: vtkCellData.h:38
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:85
static vtkPolyDataAlgorithm * New()
generate uncertainty tubes along a polyline
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:39
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.