Orfeo Toolbox  3.16
itkPointSetToImageRegistrationMethod.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkPointSetToImageRegistrationMethod.h,v $
5  Language: C++
6  Date: $Date: 2009-01-26 21:45:56 $
7  Version: $Revision: 1.4 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkPointSetToImageRegistrationMethod_h
18 #define __itkPointSetToImageRegistrationMethod_h
19 
20 #include "itkProcessObject.h"
21 #include "itkImage.h"
24 #include "itkDataObjectDecorator.h"
25 
26 namespace itk
27 {
28 
62 template <typename TFixedPointSet, typename TMovingImage>
64 {
65 public:
71 
73  itkNewMacro(Self);
74 
77 
79  typedef TFixedPointSet FixedPointSetType;
80  typedef typename FixedPointSetType::ConstPointer FixedPointSetConstPointer;
81 
83  typedef TMovingImage MovingImageType;
84  typedef typename MovingImageType::ConstPointer MovingImageConstPointer;
85 
90 
94 
100 
104 
107 
111 
114 
116  void StartRegistration(void);
117 
119  itkSetConstObjectMacro( FixedPointSet, FixedPointSetType );
120  itkGetConstObjectMacro( FixedPointSet, FixedPointSetType );
121 
123  itkSetConstObjectMacro( MovingImage, MovingImageType );
124  itkGetConstObjectMacro( MovingImage, MovingImageType );
125 
127  itkSetObjectMacro( Optimizer, OptimizerType );
128  itkGetObjectMacro( Optimizer, OptimizerType );
129 
131  itkSetObjectMacro( Metric, MetricType );
132  itkGetObjectMacro( Metric, MetricType );
133 
135  itkSetObjectMacro( Transform, TransformType );
136  itkGetObjectMacro( Transform, TransformType );
137 
139  itkSetObjectMacro( Interpolator, InterpolatorType );
140  itkGetObjectMacro( Interpolator, InterpolatorType );
141 
143  virtual void SetInitialTransformParameters( const ParametersType & param );
144  itkGetConstReferenceMacro( InitialTransformParameters, ParametersType );
145 
148  itkGetConstReferenceMacro( LastTransformParameters, ParametersType );
149 
150 
152  void Initialize() throw (ExceptionObject);
153 
155  const TransformOutputType * GetOutput() const;
156 
159  virtual DataObjectPointer MakeOutput(unsigned int idx);
160 
163  unsigned long GetMTime() const;
164 
165 protected:
167  virtual ~PointSetToImageRegistrationMethod() {};
168  void PrintSelf(std::ostream& os, Indent indent) const;
169 
172  void GenerateData ();
173 
174 private:
175  PointSetToImageRegistrationMethod(const Self&); //purposely not implemented
176  void operator=(const Self&); //purposely not implemented
177 
180 
183 
186 
189 
190 };
191 
192 
193 } // end namespace itk
194 
195 
196 #ifndef ITK_MANUAL_INSTANTIATION
198 #endif
199 
200 #endif

Generated at Sat Feb 2 2013 23:59:45 for Orfeo Toolbox with doxygen 1.8.1.1