VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Imaging/General/vtkImageVariance3D.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImageVariance3D.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 =========================================================================*/
00029 #ifndef vtkImageVariance3D_h
00030 #define vtkImageVariance3D_h
00031 
00032 
00033 #include "vtkImagingGeneralModule.h" // For export macro
00034 #include "vtkImageSpatialAlgorithm.h"
00035 
00036 class vtkImageEllipsoidSource;
00037 
00038 class VTKIMAGINGGENERAL_EXPORT vtkImageVariance3D : public vtkImageSpatialAlgorithm
00039 {
00040 public:
00041   static vtkImageVariance3D *New();
00042   vtkTypeMacro(vtkImageVariance3D,vtkImageSpatialAlgorithm);
00043   void PrintSelf(ostream& os, vtkIndent indent);
00044 
00048   void SetKernelSize(int size0, int size1, int size2);
00049 
00050 protected:
00051   vtkImageVariance3D();
00052   ~vtkImageVariance3D();
00053 
00054   vtkImageEllipsoidSource *Ellipse;
00055 
00056   virtual int RequestInformation (vtkInformation *request,
00057                                   vtkInformationVector **inputVector,
00058                                   vtkInformationVector *outputVector);
00059 
00060   void ThreadedRequestData(vtkInformation *request,
00061                            vtkInformationVector **inputVector,
00062                            vtkInformationVector *outputVector,
00063                            vtkImageData ***inData, vtkImageData **outData,
00064                            int extent[6], int id);
00065   virtual int RequestData(vtkInformation *request,
00066                           vtkInformationVector **inputVector,
00067                           vtkInformationVector *outputVector);
00068 
00069 private:
00070   vtkImageVariance3D(const vtkImageVariance3D&);  // Not implemented.
00071   void operator=(const vtkImageVariance3D&);  // Not implemented.
00072 };
00073 
00074 #endif