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: 2006/08/31 21:39:00 $
00007   Version:   $Revision: 1.4 $
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   TransformFileReader(const Self&); //purposely not implemented
00061   void operator=(const Self&); //purposely not implemented
00062    
00063   std::string m_FileName;
00064 
00065   TransformFileReader();
00066   virtual ~TransformFileReader();
00067 
00068 private:
00069 
00070   TransformListType    m_TransformList;
00071 };
00072 
00073 } // namespace itk
00074 
00075 
00076 #endif // __itkTransformFileReader_h
00077 

Generated at Mon Mar 12 03:13:40 2007 for ITK by doxygen 1.5.1 written by Dimitri van Heesch, © 1997-2000