Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkImageVariance3D.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageVariance3D.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00033 #ifndef __vtkImageVariance3D_h
00034 #define __vtkImageVariance3D_h
00035 
00036 
00037 #include "vtkImageSpatialFilter.h"
00038 
00039 class vtkImageEllipsoidSource;
00040 
00041 class VTK_IMAGING_EXPORT vtkImageVariance3D : public vtkImageSpatialFilter
00042 {
00043 public:
00044   static vtkImageVariance3D *New();
00045   vtkTypeRevisionMacro(vtkImageVariance3D,vtkImageSpatialFilter);
00046   void PrintSelf(ostream& os, vtkIndent indent);
00047   
00051   void SetKernelSize(int size0, int size1, int size2);
00052   
00053 protected:
00054   vtkImageVariance3D();
00055   ~vtkImageVariance3D();
00056 
00057   vtkImageEllipsoidSource *Ellipse;
00058     
00059   void ExecuteInformation(vtkImageData *inData, vtkImageData *outData);
00060   void ExecuteInformation(){this->vtkImageToImageFilter::ExecuteInformation();};
00061   void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, 
00062                        int extent[6], int id);
00063 private:
00064   vtkImageVariance3D(const vtkImageVariance3D&);  // Not implemented.
00065   void operator=(const vtkImageVariance3D&);  // Not implemented.
00066 };
00067 
00068 #endif
00069 
00070 
00071