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

itkLSMImageIO.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkLSMImageIO.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007/03/22 14:28:51 $
00007   Version:   $Revision: 1.2 $
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   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 __itkLSMImageIO_h
00021 #define __itkLSMImageIO_h
00022 
00023 #include "itkTIFFImageIO.h"
00024 #include <fstream>
00025 
00026 namespace itk
00027 {
00028 
00038 class ITK_EXPORT LSMImageIO : public TIFFImageIO
00039 {
00040 public:
00042   typedef LSMImageIO         Self;
00043   typedef ImageIOBase        Superclass;
00044   typedef SmartPointer<Self> Pointer;
00045 
00047   itkNewMacro(Self);
00048 
00050   itkTypeMacro(LSMImageIO, Superclass);
00051 
00052   /*-------- This part of the interface deals with reading data. ------ */
00053 
00056   virtual bool CanReadFile(const char*);
00057 
00059   virtual void ReadImageInformation();
00060 
00062   virtual void Read(void* buffer);
00063 
00064   /*-------- This part of the interfaces deals with writing data. ----- */
00065 
00068   virtual bool CanWriteFile(const char*);
00069 
00072   virtual void WriteImageInformation() {};
00073 
00076   virtual void Write(const void* buffer);
00077 
00078 protected:
00079   LSMImageIO();
00080   ~LSMImageIO();
00081   void PrintSelf(std::ostream& os, Indent indent) const;
00082 
00083 private:
00084   LSMImageIO(const Self&); //purposely not implemented
00085   void operator=(const Self&); //purposely not implemented
00086   void FillZeissStruct(char *z);
00087 };
00088 
00089 } // end namespace itk
00090 
00091 #endif // __itkLSMImageIO_h
00092 

Generated at Wed Nov 5 22:43:03 2008 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000