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

itkPointSetToSpatialObjectDemonsRegistration.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    $RCSfile: itkPointSetToSpatialObjectDemonsRegistration.h,v $
00005   Language:  C++
00006   Date:      $Date: 2009-01-26 21:45:56 $
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 __itkPointSetToSpatialObjectDemonsRegistration_h
00018 #define __itkPointSetToSpatialObjectDemonsRegistration_h
00019 
00020 #include "itkProcessObject.h"
00021 #include "itkImage.h"
00022 #include "itkPointSetToImageMetric.h"
00023 #include "itkSingleValuedNonLinearOptimizer.h"
00024 
00025 namespace itk
00026 {
00027 
00051 template <typename TFixedPointSet, typename TMovingSpatialObject>
00052 class ITK_EXPORT PointSetToSpatialObjectDemonsRegistration : public ProcessObject 
00053 {
00054 public:
00056   typedef PointSetToSpatialObjectDemonsRegistration  Self;
00057   typedef ProcessObject                              Superclass;
00058   typedef SmartPointer<Self>                         Pointer;
00059   typedef SmartPointer<const Self>                   ConstPointer;
00060 
00062   itkNewMacro(Self);
00063 
00065   itkTypeMacro(PointSetToSpatialObjectDemonsRegistration, ProcessObject);
00066 
00068   typedef          TFixedPointSet                   FixedPointSetType;
00069   typedef typename FixedPointSetType::ConstPointer  FixedPointSetConstPointer;
00070 
00072   typedef          TMovingSpatialObject             MovingSpatialObjectType;
00073   typedef typename MovingSpatialObjectType::ConstPointer    MovingSpatialObjectConstPointer;
00074 
00076   void StartRegistration(void);
00077 
00079   itkSetConstObjectMacro( FixedPointSet, FixedPointSetType );
00080   itkGetConstObjectMacro( FixedPointSet, FixedPointSetType ); 
00082 
00084   itkSetConstObjectMacro( MovingSpatialObject, MovingSpatialObjectType );
00085   itkGetConstObjectMacro( MovingSpatialObject, MovingSpatialObjectType );
00087 
00088 protected:
00089   PointSetToSpatialObjectDemonsRegistration();
00090   virtual ~PointSetToSpatialObjectDemonsRegistration() {};
00091   void PrintSelf(std::ostream& os, Indent indent) const;
00092 
00093 private:
00094   PointSetToSpatialObjectDemonsRegistration(const Self&); //purposely not implemented
00095   void operator=(const Self&); //purposely not implemented
00096   
00097   MovingSpatialObjectConstPointer  m_MovingSpatialObject;
00098   FixedPointSetConstPointer        m_FixedPointSet;
00099 
00100   
00101 };
00102 
00103 
00104 } // end namespace itk
00105 
00106 
00107 #ifndef ITK_MANUAL_INSTANTIATION
00108 #include "itkPointSetToSpatialObjectDemonsRegistration.txx"
00109 #endif
00110 
00111 #endif
00112 

Generated at Mon Jul 12 2010 19:28:26 for ITK by doxygen 1.7.1 written by Dimitri van Heesch, © 1997-2000