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

itkScalarToArrayCastImageFilter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkScalarToArrayCastImageFilter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2003/09/10 14:28:55 $
00007   Version:   $Revision: 1.4 $
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 __itkScalarToArrayCastImageFilter_h
00018 #define __itkScalarToArrayCastImageFilter_h
00019 
00020 #include "itkImageToImageFilter.h"
00021 
00022 namespace itk
00023 {
00024   
00041 template <class TInputImage, class TOutputImage>
00042 class ITK_EXPORT ScalarToArrayCastImageFilter :
00043     public ImageToImageFilter< TInputImage, TOutputImage >
00044 {
00045 public:
00047   typedef ScalarToArrayCastImageFilter  Self;
00048   typedef ImageToImageFilter< TInputImage, TOutputImage >  Superclass;
00049   typedef SmartPointer<Self>   Pointer;
00050   typedef SmartPointer<const Self>  ConstPointer;
00051 
00053   itkNewMacro(Self);
00054   itkTypeMacro(ScalarToArrayCastImageFilter, ImageToImageFilter) ;
00055 
00056   typedef typename Superclass::OutputImageRegionType OutputImageRegionType ;
00057   typedef typename TOutputImage::PixelType OutputImagePixelType ;
00058 
00059 protected:
00060   ScalarToArrayCastImageFilter() ;
00061   virtual ~ScalarToArrayCastImageFilter() {}
00062   
00063   void ThreadedGenerateData(const OutputImageRegionType &outputRegionForThread,
00064                             int threadId) ;
00065  
00066 private:
00067   ScalarToArrayCastImageFilter(const Self&); //purposely not implemented
00068   void operator=(const Self&); //purposely not implemented
00069 };
00070 
00071 } // end namespace itk
00072 
00073 #ifndef ITK_MANUAL_INSTANTIATION
00074 #include "itkScalarToArrayCastImageFilter.txx"
00075 #endif
00076 
00077 #endif

Generated at Thu May 25 00:00:21 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000