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

itkTransformFileReader.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkTransformFileReader.h,v $
00005   Language:  C++
00006   Date:      $Date: 2005/03/28 20:46:37 $
00007   Version:   $Revision: 1.3 $
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 __itkTransformFileReader_h
00018 #define __itkTransformFileReader_h
00019 
00020 #include "itkLightProcessObject.h"
00021 #include "metaTransform.h"
00022 #include "itkTransformBase.h"
00023 
00024 namespace itk
00025 {
00026 
00027 class TransformFileReader : public LightProcessObject
00028 {
00029 public:
00030 
00032   typedef TransformFileReader Self;
00033   typedef SmartPointer<Self> Pointer;
00034   typedef TransformBase TransformType;
00035   typedef TransformType::ParametersType ParametersType;
00036   typedef TransformType::Pointer TransformPointer;
00037   typedef std::list<TransformPointer> TransformListType;
00038 
00040   itkNewMacro(Self);
00041 
00043   typedef Object Superclass;
00044   itkTypeMacro(TransformFileReader, LightProcessObject);
00045 
00047   itkSetStringMacro(FileName);
00048 
00050   itkGetStringMacro(FileName);
00051 
00053   void Update();
00054 
00056   TransformListType * GetTransformList() {return & m_TransformList;}
00057 
00058 protected:
00059 
00060   std::string m_FileName;
00061 
00062   TransformFileReader();
00063   virtual ~TransformFileReader();
00064 
00065 private:
00066 
00067   TransformListType    m_TransformList;
00068 };
00069 
00070 } // namespace itk
00071 
00072 
00073 #endif // __itkTransformFileReader_h

Generated at Thu May 25 00:09:31 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000