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: 2005/12/03 17:12:13 $
00007   Version:   $Revision: 1.5 $
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   
00044 template <class TInputImage, class TOutputImage>
00045 class ITK_EXPORT GetAverageSliceImageFilter : public AccumulateImageFilter<TInputImage,TOutputImage> 
00046 {
00047 public:
00049   typedef GetAverageSliceImageFilter  Self;
00050   typedef AccumulateImageFilter<TInputImage,TOutputImage>  Superclass;
00051   typedef SmartPointer<Self>   Pointer;
00052   typedef SmartPointer<const Self>  ConstPointer;
00053 
00055   itkNewMacro(Self);
00056 
00058   itkTypeMacro(GetAverageSliceImageFilter, AccumulateImageFilter);
00059 
00061   itkGetMacro( AveragedOutDimension, unsigned int );
00062   itkSetMacro( AveragedOutDimension, unsigned int );
00064 
00065 protected:
00066   GetAverageSliceImageFilter();
00067   virtual ~GetAverageSliceImageFilter() {};
00068   void PrintSelf(std::ostream& os, Indent indent) const;
00069 
00070 private:
00071   GetAverageSliceImageFilter(const Self&); //purposely not implemented
00072   void operator=(const Self&); //purposely not implemented
00073 
00074   unsigned int m_AveragedOutDimension;
00075 
00076 };
00077 
00078 } // end namespace itk
00079 
00080 #ifndef ITK_MANUAL_INSTANTIATION
00081 #include "itkGetAverageSliceImageFilter.txx"
00082 #endif
00083 
00084 #endif
00085 
00086 
00087 

Generated at Sun Sep 23 12:41:01 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000