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

itkGE4ImageIO.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkGE4ImageIO.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-06-14 12:30:10 $
00007   Version:   $Revision: 1.14 $
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 
00034 #ifndef __itkGE4ImageIO_h
00035 #define __itkGE4ImageIO_h
00036 
00037 #include "itkIPLCommonImageIO.h"
00038 
00039 namespace itk
00040 {
00041 
00049 class ITK_EXPORT GE4ImageIO : public IPLCommonImageIO
00050 {
00051 public:
00053   typedef GE4ImageIO         Self;
00054   typedef IPLCommonImageIO   Superclass;
00055   typedef SmartPointer<Self> Pointer;
00056 
00058   itkNewMacro(Self);
00059 
00061   itkTypeMacro(GE4ImageIO, Superclass);
00062 
00063   /*-------- This part of the interfaces deals with reading data. ----- */
00064 
00071   virtual bool CanReadFile(const char* FileNameToRead);
00072 
00074   // Implemented in superclass
00075   //      virtual void ReadImageInformation();
00076 
00078   // Implemented in superclass
00079   // virtual const std::type_info& GetPixelType() const;
00080 
00082   // Implemented in superclass
00083   //      virtual void Read(void* buffer);
00084 
00088   // Implemented in superclass
00089   // virtual unsigned int GetComponentSize() const;
00090 
00091   /*-------- This part of the interfaces deals with writing data. ----- */
00092 
00093   /* * Determine if the file can be written with this ImageIO implementation.
00094    * \param FileNameToWrite The name of the file to test for writing.
00095    * \author Hans J. Johnson
00096    * \post Sets classes ImageIOBase::m_FileName variable to be FileNameToWrite
00097    * \return Returns true if this ImageIO can write the file specified.
00098   */
00099   // Implemented in superclass
00100   // virtual bool CanWriteFile(const char * FileNameToWrite);
00101 
00102   /* * Set the spacing and dimension information for the set filename. */
00103   // Implemented in superclass
00104   // virtual void WriteImageInformation();
00105 
00106   /* * Writes the data to disk from the memory buffer provided. Make sure
00107    * that the IORegions has been set properly. */
00108   // Implemented in superclass
00109   // virtual void Write(const void* buffer);
00110 protected:
00111   GE4ImageIO();
00112   ~GE4ImageIO();
00113   // Implemented in Superclass
00114   // void PrintSelf(std::ostream& os, Indent indent) const;
00115   virtual GEImageHeader *ReadHeader(const char *FileNameToRead);
00116 private:
00117   GE4ImageIO(const Self&); //purposely not implemented
00118   float MvtSunf (int numb);
00119 
00120   void operator=(const Self&); //purposely not implemented
00121 };
00122 
00123 } // end namespace itk
00124 
00125 #endif // __itkGE4ImageIO_h
00126 

Generated at Fri Apr 16 18:23:37 2010 for ITK by doxygen 1.6.1 written by Dimitri van Heesch, © 1997-2000