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

itkBoxSigmaImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkBoxSigmaImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2008-08-07 09:33:14 $
00007   Version:   $Revision: 1.1 $
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 
00018 #ifndef __itkBoxSigmaImageFilter_h
00019 #define __itkBoxSigmaImageFilter_h
00020 
00021 #include "itkBoxImageFilter.h"
00022 
00023 namespace itk {
00024 
00032 template<class TInputImage, class TOutputImage=TInputImage>
00033 class ITK_EXPORT BoxSigmaImageFilter : 
00034     public BoxImageFilter<TInputImage, TOutputImage>
00035 {
00036 public:
00038   typedef BoxSigmaImageFilter                        Self;
00039   typedef BoxImageFilter<TInputImage, TOutputImage>  Superclass;
00040   typedef SmartPointer<Self>                         Pointer;
00041   typedef SmartPointer<const Self>                   ConstPointer;
00042 
00044   itkNewMacro(Self);  
00045 
00047   itkTypeMacro(BoxSigmaImageFilter, BoxImageFilter);
00048 
00050   typedef TInputImage                                InputImageType;
00051   typedef TOutputImage                               OutputImageType;
00052   typedef typename TInputImage::RegionType           RegionType;
00053   typedef typename TInputImage::SizeType             SizeType;
00054   typedef typename TInputImage::IndexType            IndexType;
00055   typedef typename TInputImage::PixelType            PixelType;
00056   typedef typename TInputImage::OffsetType           OffsetType;
00057   typedef typename Superclass::OutputImageRegionType OutputImageRegionType;
00058   typedef typename TOutputImage::PixelType           OutputPixelType;
00059 
00061   itkStaticConstMacro(OutputImageDimension, unsigned int,
00062                       TOutputImage::ImageDimension);
00063   itkStaticConstMacro(InputImageDimension, unsigned int,
00064                       TInputImage::ImageDimension);
00066 
00067 
00068 #ifdef ITK_USE_CONCEPT_CHECKING
00069 
00070   itkConceptMacro(SameDimension,
00071                   (Concept::SameDimension<itkGetStaticConstMacro(InputImageDimension),itkGetStaticConstMacro(OutputImageDimension)>));
00072 
00073   
00075 #endif
00076 
00077     
00078 protected:
00079   BoxSigmaImageFilter();
00080   ~BoxSigmaImageFilter() {};
00081 
00083   void  ThreadedGenerateData (const OutputImageRegionType& 
00084                               outputRegionForThread,
00085                               int threadId);
00086 
00087 private:
00088   BoxSigmaImageFilter(const Self&); //purposely not implemented
00089   void operator=(const Self&); //purposely not implemented
00090 
00091 }; // end of class
00092 
00093 } // end namespace itk
00094   
00095 #ifndef ITK_MANUAL_INSTANTIATION
00096 #include "itkBoxSigmaImageFilter.txx"
00097 #endif
00098 
00099 #endif
00100 

Generated at Tue Sep 15 02:26:14 2009 for ITK by doxygen 1.5.8 written by Dimitri van Heesch, © 1997-2000