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);
00046 
00048   itkSetStringMacro(FileName);
00049 
00051   itkGetStringMacro(FileName);
00052 
00054   void Update();
00055 
00057   TransformListType * GetTransformList() {return & m_TransformList;}
00058 
00059 protected:
00060 
00061   std::string m_FileName;
00062 
00063   TransformFileReader();
00064   virtual ~TransformFileReader();
00065 
00066 private:
00067 
00068   TransformListType    m_TransformList;
00069 };
00070 
00071 } // namespace itk
00072 
00073 
00074 #endif // __itkTransformFileReader_h
00075 

Generated at Fri Sep 8 04:13:41 2006 for ITK by doxygen 1.4.7 written by Dimitri van Heesch, © 1997-2000