00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkMatlabTransformIO.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007-08-10 16:29:13 $ 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 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 __itkMatlabTransformIO_h 00018 #define __itkMatlabTransformIO_h 00019 #include "itkTransformIOBase.h" 00020 00021 namespace itk 00022 { 00023 class ITK_EXPORT MatlabTransformIO : public TransformIOBase 00024 { 00025 public: 00026 typedef MatlabTransformIO 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(MatlabTransformIO,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 MatlabTransformIO(); 00055 virtual ~MatlabTransformIO(); 00056 }; 00057 00058 } 00059 #endif // __itkMatlabTransformIO_h 00060