NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
itkReconstructionAndRegistrationUpdateCommand.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 itkReconstructionAndRegistrationUpdateCommand_h
16 #define itkReconstructionAndRegistrationUpdateCommand_h
17 
18 #include <NifTKConfigure.h>
20 
21 #include <itkCommand.h>
22 #include <itkSingleValuedNonLinearOptimizer.h>
23 
24 namespace itk
25 {
26 
37 {
38 public:
40  typedef itk::Command Superclass;
41  typedef itk::SmartPointer<Self> Pointer;
42 
43  typedef itk::SingleValuedNonLinearOptimizer OptimizerType;
44  typedef const OptimizerType *OptimizerPointer;
45  typedef OptimizerType::ParametersType ParametersType;
46  typedef OptimizerType::MeasureType MeasureType;
47 
49  itkTypeMacro( ReconstructionAndRegistrationUpdateCommand, Command );
50 
52  itkNewMacro( Self );
53 
57  void Execute(itk::Object *caller, const itk::EventObject & event) override;
58 
62  void Execute(const itk::Object * object, const itk::EventObject & event) override;
63 
64 protected:
65 
68 
70  virtual void DoExecute(const itk::Object * object, const itk::EventObject & event) ;
71 
72 private:
73 
74  ReconstructionAndRegistrationUpdateCommand(const Self & other); // Purposely not implemented
75  const Self & operator=( const Self & ); // Purposely not implemented
76 
77  unsigned int m_Iteration;
78 
79 };
80 
81 } // end namespace
82 
83 #endif
84 
const OptimizerType * OptimizerPointer
Definition: itkReconstructionAndRegistrationUpdateCommand.h:44
itk::SmartPointer< Self > Pointer
Definition: itkReconstructionAndRegistrationUpdateCommand.h:41
#define NIFTKITK_WINEXPORT
Definition: niftkITKWin32ExportHeader.h:28
Definition: niftkITKAffineResampleImage.cxx:74
ReconstructionAndRegistrationUpdateCommand Self
Definition: itkReconstructionAndRegistrationUpdateCommand.h:39
itk::Command Superclass
Definition: itkReconstructionAndRegistrationUpdateCommand.h:40
itk::SingleValuedNonLinearOptimizer OptimizerType
Definition: itkReconstructionAndRegistrationUpdateCommand.h:43
Override this class to redefine DoExecute().
Definition: itkReconstructionAndRegistrationUpdateCommand.h:36
OptimizerType::MeasureType MeasureType
Definition: itkReconstructionAndRegistrationUpdateCommand.h:46
cl_event event
Definition: glew.h:3231
OptimizerType::ParametersType ParametersType
Definition: itkReconstructionAndRegistrationUpdateCommand.h:45