go home Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
elxDisplacementMagnitudePenalty.h
Go to the documentation of this file.
1 /*======================================================================
2 
3  This file is part of the elastix software.
4 
5  Copyright (c) University Medical Center Utrecht. All rights reserved.
6  See src/CopyrightElastix.txt or http://elastix.isi.uu.nl/legal.php for
7  details.
8 
9  This software is distributed WITHOUT ANY WARRANTY; without even
10  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11  PURPOSE. See the above copyright notices for more information.
12 
13 ======================================================================*/
14 #ifndef __elxDisplacementMagnitudePenalty_H__
15 #define __elxDisplacementMagnitudePenalty_H__
16 
17 #include "elxIncludes.h"
19 
20 #include "elxTimer.h"
21 
22 namespace elastix
23 {
24 using namespace itk;
25 
43  template <class TElastix >
45  public
47  ITK_TYPENAME MetricBase<TElastix>::FixedImageType,
48  double >,
49  public MetricBase<TElastix>
50  {
51  public:
52 
57  double > Superclass1;
59  typedef SmartPointer<Self> Pointer;
60  typedef SmartPointer<const Self> ConstPointer;
61 
63  itkNewMacro( Self );
64 
67 
72  elxClassNameMacro( "DisplacementMagnitudePenalty" );
73 
75  typedef typename
91  typedef typename Superclass1::RealType RealType;
109  typedef typename
113  typedef typename
115  typedef typename
117 
119  itkStaticConstMacro( FixedImageDimension, unsigned int,
120  FixedImageType::ImageDimension );
121 
123  itkStaticConstMacro( MovingImageDimension, unsigned int,
124  MovingImageType::ImageDimension );
125 
134 
139 
143  virtual void Initialize( void ) throw (ExceptionObject);
144 
145  protected:
146 
149 
152 
153  private:
154 
156  DisplacementMagnitudePenalty( const Self& ); // purposely not implemented
158  void operator=( const Self& ); // purposely not implemented
159 
160  }; // end class DisplacementMagnitudePenalty
161 
162 
163 } // end namespace elastix
164 
165 
166 #ifndef ITK_MANUAL_INSTANTIATION
167 #include "elxDisplacementMagnitudePenalty.hxx"
168 #endif
169 
170 #endif // end #ifndef __elxDisplacementMagnitudePenalty_H__
171 


Generated on 27-06-2013 for elastix by doxygen 1.8.3.1 elastix logo