VTK
dox/Graphics/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 "vtkPolyDataAlgorithm.h"
00041 
00042 class vtkTubeArray;
00043 
00044 class VTK_GRAPHICS_EXPORT vtkUncertaintyTubeFilter : public vtkPolyDataAlgorithm
00045 {
00046 public:
00048 
00050   vtkTypeMacro(vtkUncertaintyTubeFilter,vtkPolyDataAlgorithm);
00051   void PrintSelf(ostream& os, vtkIndent indent);
00053 
00055   static vtkUncertaintyTubeFilter *New();
00056 
00058 
00060   vtkSetClampMacro(NumberOfSides,int,3,VTK_LARGE_INTEGER);
00061   vtkGetMacro(NumberOfSides,int);
00063 
00064 protected:
00065   vtkUncertaintyTubeFilter();
00066   ~vtkUncertaintyTubeFilter();
00067 
00068   // Integrate data
00069   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00070   int BuildTubes(vtkPointData *pd, vtkPointData *outPD,
00071                  vtkCellData *cd, vtkCellData *outCD, vtkPolyData *output);
00072 
00073   //array of uncertainty tubes
00074   vtkTubeArray *Tubes;
00075   int NumberOfTubes;
00076 
00077   // number of sides of tube
00078   int NumberOfSides;
00079 
00080 private:
00081   vtkUncertaintyTubeFilter(const vtkUncertaintyTubeFilter&);  // Not implemented.
00082   void operator=(const vtkUncertaintyTubeFilter&);  // Not implemented.
00083 };
00084 
00085 #endif