00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date$ 00006 Version: $Revision$ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or http://www.mitk.org/copyright.html 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 00018 #ifndef MITKREGISTRATIONBASE_H 00019 #define MITKREGISTRATIONBASE_H 00020 00021 #include "mitkImageToImageFilter.h" 00022 #include "MitkDeformableRegistrationExports.h" 00023 00024 namespace mitk { 00025 00035 class MITK_DEFORMABLEREGISTRATION_EXPORT RegistrationBase : public ImageToImageFilter 00036 { 00037 public: 00038 mitkClassMacro(RegistrationBase, ImageToImageFilter); 00039 00043 itkNewMacro(Self); 00044 00048 virtual void SetReferenceImage( Image::Pointer fixedImage); 00049 00050 protected: 00051 00055 RegistrationBase(); 00056 00060 virtual ~RegistrationBase(); 00061 00065 virtual void AddStepsToDo(int steps); 00066 00070 virtual void SetProgress(const itk::EventObject&); 00071 00075 virtual void SetRemainingProgress(int steps); 00076 00077 Image::Pointer m_ReferenceImage; 00078 }; 00079 00080 } // namespace mitk 00081 00082 #endif // MITKREGISTRATIONBASE_H