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

itkTxtTransformIO.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkTxtTransformIO.h,v $
00005   Language:  C++
00006   Date:      $Date: 2007-08-09 15:16:00 $
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 #ifndef __itkTxtTransformIO_h
00018 #define __itkTxtTransformIO_h
00019 #include "itkTransformIOBase.h"
00020 
00021 namespace itk
00022 {
00023 class ITK_EXPORT TxtTransformIO : public TransformIOBase
00024 {
00025 public:
00026   typedef TxtTransformIO                Self;
00027   typedef TransformIOBase               Superclass;
00028   typedef SmartPointer<Self>            Pointer;
00029   typedef TransformBase                 TransformType;
00030   typedef Superclass::TransformPointer  TransformPointer;
00031   typedef Superclass::TransformListType TransformListType;
00033   itkTypeMacro(TxtTransformIO,TransformIOBase);
00034   itkNewMacro(Self);
00036 
00039   virtual bool CanReadFile(const char*);
00040 
00043   virtual bool CanWriteFile(const char*);
00044 
00046   virtual void Read();
00047 
00051   virtual void Write();
00052 
00053 protected:
00054   TxtTransformIO();
00055   virtual ~TxtTransformIO();
00056 private:
00058   std::string trim(std::string const& source, char const* delims = " \t\r\n");
00059 };
00060 
00061 }
00062 #endif // __itkTxtTransformIO_h
00063 

Generated at Thu May 28 11:50:20 2009 for ITK by doxygen 1.5.5 written by Dimitri van Heesch, © 1997-2000