VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
37 #ifndef __vtkUncertaintyTubeFilter_h
38 #define __vtkUncertaintyTubeFilter_h
39 
40 #include "vtkFiltersGeneralModule.h" // For export macro
41 #include "vtkPolyDataAlgorithm.h"
42 
43 class vtkTubeArray;
44 
45 class VTKFILTERSGENERAL_EXPORT vtkUncertaintyTubeFilter : public vtkPolyDataAlgorithm
46 {
47 public:
49 
52  void PrintSelf(ostream& os, vtkIndent indent);
54 
56  static vtkUncertaintyTubeFilter *New();
57 
59 
61  vtkSetClampMacro(NumberOfSides,int,3,VTK_INT_MAX);
62  vtkGetMacro(NumberOfSides,int);
64 
65 protected:
68 
69  // Integrate data
70  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
71  int BuildTubes(vtkPointData *pd, vtkPointData *outPD,
72  vtkCellData *cd, vtkCellData *outCD, vtkPolyData *output);
73 
74  //array of uncertainty tubes
75  vtkTubeArray *Tubes;
77 
78  // number of sides of tube
80 
81 private:
82  vtkUncertaintyTubeFilter(const vtkUncertaintyTubeFilter&); // Not implemented.
83  void operator=(const vtkUncertaintyTubeFilter&); // Not implemented.
84 };
85 
86 #endif
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
represent and manipulate cell attribute data
Definition: vtkCellData.h:37
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition: vtkPolyData.h:82
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
generate uncertainty tubes along a polyline
Superclass for algorithms that produce only polydata as output.