NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkIterationUpdateCommand.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef itkIterationUpdateCommand_h
16 #define itkIterationUpdateCommand_h
17 
18 #include <NifTKConfigure.h>
20 
21 #include <itkCommand.h>
22 #include <itkSingleValuedNonLinearOptimizer.h>
23 
24 namespace itk
25 {
26 
38 class NIFTKITK_WINEXPORT ITK_EXPORT IterationUpdateCommand : public Command
39 {
40 public:
42  typedef itk::Command Superclass;
43  typedef itk::SmartPointer<Self> Pointer;
44  typedef itk::SingleValuedNonLinearOptimizer OptimizerType;
45  typedef const OptimizerType *OptimizerPointer;
46  typedef OptimizerType::ParametersType ParametersType;
47  typedef OptimizerType::MeasureType MeasureType;
48 
50  itkTypeMacro( IterationUpdateCommand, Command );
51 
53  itkNewMacro( Self );
54 
58  void Execute(itk::Object *caller, const itk::EventObject & event) override;
59 
63  void Execute(const itk::Object * object, const itk::EventObject & event) override;
64 
65 protected:
66 
69 
71  virtual void DoExecute(const itk::Object * object, const itk::EventObject & event);
72 
73 private:
74 
75  IterationUpdateCommand(const Self & other); // Purposely not implemented
76  const Self & operator=( const Self & ); // Purposely not implemented
77 
78 };
79 
80 } // end namespace
81 
82 #endif
83 
Simply prints out the registration params, so we can track registration.
Definition: itkIterationUpdateCommand.h:38
itk::SingleValuedNonLinearOptimizer OptimizerType
Definition: itkIterationUpdateCommand.h:44
#define NIFTKITK_WINEXPORT
Definition: niftkITKWin32ExportHeader.h:28
Definition: niftkITKAffineResampleImage.cxx:74
const OptimizerType * OptimizerPointer
Definition: itkIterationUpdateCommand.h:45
OptimizerType::MeasureType MeasureType
Definition: itkIterationUpdateCommand.h:47
itk::SmartPointer< Self > Pointer
Definition: itkIterationUpdateCommand.h:43
itk::Command Superclass
Definition: itkIterationUpdateCommand.h:42
cl_event event
Definition: glew.h:3231
OptimizerType::ParametersType ParametersType
Definition: itkIterationUpdateCommand.h:46
IterationUpdateCommand Self
Definition: itkIterationUpdateCommand.h:41