VTK
dox/Filters/General/vtkUncertaintyTubeFilter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkUncertaintyTubeFilter.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00037 #ifndef __vtkUncertaintyTubeFilter_h
00038 #define __vtkUncertaintyTubeFilter_h
00039 
00040 #include "vtkFiltersGeneralModule.h" // For export macro
00041 #include "vtkPolyDataAlgorithm.h"
00042 
00043 class vtkTubeArray;
00044 
00045 class VTKFILTERSGENERAL_EXPORT vtkUncertaintyTubeFilter : public vtkPolyDataAlgorithm
00046 {
00047 public:
00049 
00051   vtkTypeMacro(vtkUncertaintyTubeFilter,vtkPolyDataAlgorithm);
00052   void PrintSelf(ostream& os, vtkIndent indent);
00054 
00056   static vtkUncertaintyTubeFilter *New();
00057 
00059 
00061   vtkSetClampMacro(NumberOfSides,int,3,VTK_INT_MAX);
00062   vtkGetMacro(NumberOfSides,int);
00064 
00065 protected:
00066   vtkUncertaintyTubeFilter();
00067   ~vtkUncertaintyTubeFilter();
00068 
00069   // Integrate data
00070   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00071   int BuildTubes(vtkPointData *pd, vtkPointData *outPD,
00072                  vtkCellData *cd, vtkCellData *outCD, vtkPolyData *output);
00073 
00074   //array of uncertainty tubes
00075   vtkTubeArray *Tubes;
00076   int NumberOfTubes;
00077 
00078   // number of sides of tube
00079   int NumberOfSides;
00080 
00081 private:
00082   vtkUncertaintyTubeFilter(const vtkUncertaintyTubeFilter&);  // Not implemented.
00083   void operator=(const vtkUncertaintyTubeFilter&);  // Not implemented.
00084 };
00085 
00086 #endif