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 
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
VTK_INT_MAX
#define VTK_INT_MAX
Definition: vtkType.h:153
vtkPointData
represent and manipulate point attribute data
Definition: vtkPointData.h:38
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkUncertaintyTubeFilter::vtkUncertaintyTubeFilter
vtkUncertaintyTubeFilter()
vtkUncertaintyTubeFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkPolyDataAlgorithm.h
vtkCellData
represent and manipulate cell attribute data
Definition: vtkCellData.h:39
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkUncertaintyTubeFilter
generate uncertainty tubes along a polyline
Definition: vtkUncertaintyTubeFilter.h:47
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkUncertaintyTubeFilter::~vtkUncertaintyTubeFilter
~vtkUncertaintyTubeFilter() override
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:86
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:45
vtkUncertaintyTubeFilter::New
static vtkUncertaintyTubeFilter * New()
Object factory method to instantiate this class.