00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef __freVersorTransformOptimizerController_h
00023 #define __freVersorTransformOptimizerController_h
00024
00025 #include "freSVNonLinearOptimizerControllerBase.h"
00026
00027 #include "itkVersorTransformOptimizer.h"
00028
00029 namespace FREE
00030 {
00031
00042 freControllerIDMacro(VersorTransformOptimizerController, "Versor Transform Optimizer");
00043 class VersorTransformOptimizerController : public SVNonLinearOptimizerControllerBase<itk::VersorTransformOptimizer>
00044 {
00045 public:
00046 itkTypeMacro(VersorTransformOptimizerController, SVNonLinearOptimizerControllerBase);
00047
00048 typedef itk::VersorTransformOptimizer ComponentType;
00049 typedef SVNonLinearOptimizerControllerBase<ComponentType> Superclass;
00050
00051 virtual MeasuresType GetCurrentValue(ComponentType* pOptimizer) const;
00052
00053 VersorTransformOptimizerController();
00054
00055 protected:
00056 virtual void GenerateProfile(CtrlProfile::ControllerProfile& profile,
00057 const SessionComponentCache* pComponentCache,
00058 bool bRegardOldSetup) const;
00059
00060 virtual void ActualizeMainComponent(ComponentType* pMainComponent,
00061 SessionComponentCache* pComponentCache,
00062 SessionInfo* pSessionInfo,
00063 const unsigned int& iActLevel) const;
00064
00065
00066 virtual void SetStatisticEntryMainComponent(StatisticEntry& rStatisticEntry,
00067 ComponentType* pMainComponent,
00068 SessionComponentCache* pMainComponentCache,
00069 SessionInfo* pSessionInfo,
00070 StatisticDictionary& rDictionary) const;
00071
00072 };
00073
00074 }
00075
00076 #endif