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

itkImageWriter.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkImageWriter.h,v $
00005   Language:  C++
00006   Date:      $Date: 2002/05/15 02:05:07 $
00007   Version:   $Revision: 1.4 $
00008 
00009   Copyright (c) 2002 Insight Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012   Portions of this code are covered under the VTK copyright.
00013   See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details.
00014 
00015      This software is distributed WITHOUT ANY WARRANTY; without even 
00016      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00017      PURPOSE.  See the above copyright notices for more information.
00018 
00019 =========================================================================*/
00020 #ifndef __itkImageWriter_h
00021 #define __itkImageWriter_h
00022 
00023 #include "itkWriter.h"
00024 
00025 namespace itk
00026 {
00027 
00034 template <class TInputImage>
00035 class ITK_EXPORT ImageWriter : public Writer
00036 {
00037 public:
00039   typedef ImageWriter          Self;
00040   typedef Writer   Superclass;
00041   typedef SmartPointer<Self>  Pointer;
00042   typedef SmartPointer<const Self>  ConstPointer;
00043 
00045   typedef TInputImage InputImageType;
00046   typedef typename InputImageType::Pointer InputImagePointer;
00047 
00049   itkTypeMacro(ImageWriter,Writer);
00050 
00052   void SetInput(const TInputImage *input);
00053 
00055   const InputImageType * GetInput(void);
00056 
00057 protected:
00058   ImageWriter() {}
00059   ~ImageWriter() {}
00060   void PrintSelf(std::ostream& os, Indent indent) const;
00061 
00062 private:
00063   ImageWriter(const Self&); //purposely not implemented
00064   void operator=(const Self&); //purposely not implemented
00065 };
00066 
00067 } // end namespace itk
00068   
00069 #ifndef ITK_MANUAL_INSTANTIATION
00070 #include "itkImageWriter.txx"
00071 #endif
00072 
00073 #endif
00074   

Generated at Wed Mar 12 01:13:02 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000