Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkGetAverageSliceImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGetAverageSliceImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-10-16 16:45:07 $
00007   Version:   $Revision: 1.7 $
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even 
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __itkGetAverageSliceImageFilter_h
00018 #define __itkGetAverageSliceImageFilter_h
00019 
00020 #include "itkAccumulateImageFilter.h"
00021   
00022 namespace itk
00023 {
00024   
00046 template <class TInputImage, class TOutputImage>
00047 class ITK_EXPORT GetAverageSliceImageFilter : public AccumulateImageFilter<TInputImage,TOutputImage> 
00048 {
00049 public:
00051   typedef GetAverageSliceImageFilter                       Self;
00052   typedef AccumulateImageFilter<TInputImage,TOutputImage>  Superclass;
00053   typedef SmartPointer<Self>                               Pointer;
00054   typedef SmartPointer<const Self>                         ConstPointer;
00055 
00057   itkNewMacro(Self);
00058 
00060   itkTypeMacro(GetAverageSliceImageFilter, AccumulateImageFilter);
00061 
00063   itkGetMacro( AveragedOutDimension, unsigned int );
00064   itkSetMacro( AveragedOutDimension, unsigned int );
00066 
00067 protected:
00068   GetAverageSliceImageFilter();
00069   virtual ~GetAverageSliceImageFilter() {};
00070   void PrintSelf(std::ostream& os, Indent indent) const;
00071 
00072 private:
00073   GetAverageSliceImageFilter(const Self&); //purposely not implemented
00074   void operator=(const Self&); //purposely not implemented
00075 
00076   unsigned int m_AveragedOutDimension;
00077 
00078 };
00079 
00080 } // end namespace itk
00081 
00082 #ifndef ITK_MANUAL_INSTANTIATION
00083 #include "itkGetAverageSliceImageFilter.txx"
00084 #endif
00085 
00086 #endif
00087 

Generated at Wed Nov 5 21:36:24 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000