FREE::AccuracySOMetricControllerBase< TControlledMetric > Class Template Reference
[Metric controllerSetup optimization metric]

Controller class for a registration quality metric. More...

#include <freAccuracySOMetricController.h>

Inheritance diagram for FREE::AccuracySOMetricControllerBase< TControlledMetric >:

Inheritance graph
FREE::Accuracy2DSOMetricController\< FREE::AccuracySOMetric\< 2 \> \>FREE::Accuracy3DSOMetricController\< FREE::AccuracySOMetric\< 3 \> \>FREE::ConstrainedAccuracySOMetricControllerBase\< TControlledMetric \>FREE::SetupOptimizationMultiThreadMetricControllerBase\< TControlledMetric \>FREE::SetupOptimizationMetricControllerBase\< TControlledMetric \>FREE::ComponentControllerBase\< TControlledMetric \>FREE::ComponentControllerInterfaceFREE::ConstrainedAccuracy2DSOMetricController\< FREE::ConstrainedAccuracySOMetric\< 2 \> \>FREE::ConstrainedAccuracy3DSOMetricController\< FREE::ConstrainedAccuracySOMetric\< 3 \> \>
[legend]
Collaboration diagram for FREE::AccuracySOMetricControllerBase< TControlledMetric >:

Collaboration graph
FREE::SetupOptimizationMultiThreadMetricControllerBase\< TControlledMetric \>FREE::SetupOptimizationMetricControllerBase\< TControlledMetric \>FREE::ComponentControllerBase\< TControlledMetric \>FREE::ComponentControllerInterfaceFREE::CtrlProfile::ProfileInheritanceFREE::XMLStringMultiMapFREE::XMLStreamObject
[legend]

List of all members.

Public Types

typedef TControlledMetric ComponentType
typedef
SetupOptimizationMultiThreadMetricControllerBase
< ComponentType
Superclass

Public Member Functions

 DeclareParameterMacro (UseField)
 DeclareParameterMacro (ComputeAdaptationMean)
 DeclareParameterMacro (ResultField)
 DeclareParameterMacro (ReferenceField)
 DeclareParameterMacro (ReferencePoints)
 DeclareParameterMacro (MovingPoints)
 itkTypeMacro (AccuracySOMetricControllerBase, SetupOptimizationMultiThreadMetricControllerBase)

Protected Member Functions

 AccuracySOMetricControllerBase ()
virtual void GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const
virtual void ActualizeMainComponent (ComponentType *pMainComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo, const unsigned int &iActLevel) const
void SetStatisticEntryMainComponent (StatisticEntry &rStatisticEntry, ComponentType *pMainComponent, SessionComponentCache *pMainComponentCache, SessionInfo *pSessionInfo, StatisticDictionary &rDictionary) const


Detailed Description

template<class TControlledMetric>
class FREE::AccuracySOMetricControllerBase< TControlledMetric >

Controller class for a registration quality metric.

AccuracySOMetricControllerBase is the base class for the control of metrics that are a measure of the quality of the property accuracy.

Definition at line 43 of file freAccuracySOMetricController.h.


Member Typedef Documentation

template<class TControlledMetric>
typedef TControlledMetric FREE::AccuracySOMetricControllerBase< TControlledMetric >::ComponentType

The component class managed by the controller. The component class must be a derivation from itk::LightObject to ensure the ability to use the smartpointer concept of itk

Reimplemented from FREE::SetupOptimizationMultiThreadMetricControllerBase< TControlledMetric >.

Reimplemented in FREE::Accuracy2DSOMetricController, FREE::Accuracy3DSOMetricController, FREE::ConstrainedAccuracySOMetricControllerBase< TControlledMetric >, FREE::ConstrainedAccuracy2DSOMetricController, FREE::ConstrainedAccuracy3DSOMetricController, FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 2 > >, and FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 3 > >.

Definition at line 53 of file freAccuracySOMetricController.h.

template<class TControlledMetric>
typedef SetupOptimizationMultiThreadMetricControllerBase<ComponentType> FREE::AccuracySOMetricControllerBase< TControlledMetric >::Superclass

Reimplemented from FREE::SetupOptimizationMultiThreadMetricControllerBase< TControlledMetric >.

Reimplemented in FREE::Accuracy2DSOMetricController, FREE::Accuracy3DSOMetricController, FREE::ConstrainedAccuracySOMetricControllerBase< TControlledMetric >, FREE::ConstrainedAccuracy2DSOMetricController, FREE::ConstrainedAccuracy3DSOMetricController, FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 2 > >, and FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 3 > >.

Definition at line 54 of file freAccuracySOMetricController.h.


Constructor & Destructor Documentation

template<class TControlledMetric>
FREE::AccuracySOMetricControllerBase< TControlledMetric >::AccuracySOMetricControllerBase (  )  [inline, protected]

Definition at line 59 of file freAccuracySOMetricController.h.


Member Function Documentation

template<class TControlledMetric>
FREE::AccuracySOMetricControllerBase< TControlledMetric >::DeclareParameterMacro ( UseField   ) 

template<class TControlledMetric>
FREE::AccuracySOMetricControllerBase< TControlledMetric >::DeclareParameterMacro ( ComputeAdaptationMean   ) 

template<class TControlledMetric>
FREE::AccuracySOMetricControllerBase< TControlledMetric >::DeclareParameterMacro ( ResultField   ) 

template<class TControlledMetric>
FREE::AccuracySOMetricControllerBase< TControlledMetric >::DeclareParameterMacro ( ReferenceField   ) 

template<class TControlledMetric>
FREE::AccuracySOMetricControllerBase< TControlledMetric >::DeclareParameterMacro ( ReferencePoints   ) 

template<class TControlledMetric>
FREE::AccuracySOMetricControllerBase< TControlledMetric >::DeclareParameterMacro ( MovingPoints   ) 

template<class TControlledMetric>
FREE::AccuracySOMetricControllerBase< TControlledMetric >::itkTypeMacro ( AccuracySOMetricControllerBase< TControlledMetric >  ,
SetupOptimizationMultiThreadMetricControllerBase   
)

template<class TControlledMetric>
virtual void FREE::AccuracySOMetricControllerBase< TControlledMetric >::GenerateProfile ( CtrlProfile::ControllerProfile profile,
const SessionComponentCache pComponentCache,
bool  bRegardOldSetup 
) const [inline, protected, virtual]

Adjusts the current profile according to the definitions of the controller.
Method should call the superclass variant to regard demands of basic controllers.

Parameters:
[in,out] profile Reference of the current profile.
[in] pComponentCache Pointer to the cache indicating the location of the component that should be profiled. This pointer can be null. In this case only a default profile that isn't context sensitive is wanted (others aren't possible anyway)
[in] bRegardOldSetup If true, the setup of pComponentCache is valid and should be regarded when the profile is generated. Otherwise just use defaults if setup information is needed.

Reimplemented from FREE::SetupOptimizationMultiThreadMetricControllerBase< TControlledMetric >.

Reimplemented in FREE::ConstrainedAccuracySOMetricControllerBase< TControlledMetric >, FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 2 > >, and FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 3 > >.

Definition at line 66 of file freAccuracySOMetricController.h.

template<class TControlledMetric>
virtual void FREE::AccuracySOMetricControllerBase< TControlledMetric >::ActualizeMainComponent ( ComponentType pMainComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo,
const unsigned int &  iActLevel 
) const [inline, protected, virtual]

This function (called by ActualizeComponent()) actualizes the passed component with the setup information considering the actual resolution level of the ongoing registration. In a derived class this function should be overridden to provide a specific behavior.

Parameters:
[in,out] pMainComponent Pointer to the main component. Can also be retrieved via component cache, but offered directly and already casted for more convenience.
[in,out] pComponentCache Pointer to the component cache that should be actualized.
[in] pSessionInfo Pointer to the session info.
[in] iActLevel Indicates which layer of a parameter should be used, if the parameter is layer sensitive (e.g. as resolution level of a registration). Default is 0.

Reimplemented from FREE::SetupOptimizationMultiThreadMetricControllerBase< TControlledMetric >.

Reimplemented in FREE::ConstrainedAccuracySOMetricControllerBase< TControlledMetric >, FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 2 > >, and FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 3 > >.

Definition at line 82 of file freAccuracySOMetricController.h.

template<class TControlledMetric>
void FREE::AccuracySOMetricControllerBase< TControlledMetric >::SetStatisticEntryMainComponent ( StatisticEntry rStatisticEntry,
ComponentType pMainComponent,
SessionComponentCache pMainComponentCache,
SessionInfo pSessionInfo,
StatisticDictionary rDictionary 
) const [inline, protected, virtual]

This function (called by SetStatisticEntry()) records any statistical information of the passed component In a derived class this function should be overridden to provide a specific behavior.

Parameters:
[in,out] rStatisticEntry reference to the Statistic object, where the relevant information should be stored.
[in] pMainComponent Pointer to the casted component. Also available via cache, but already casted for convenience.
[in] pMainComponentCache Pointer to the component cache.
[in] pSessionInfo Pointer to the session info
[in,out] rDictionary Dictionary with information about the stored facts (e.g. Type, Name) The entry in the dictionary should set by the controller if needed.

Reimplemented from FREE::ComponentControllerBase< TControlledMetric >.

Reimplemented in FREE::ConstrainedAccuracySOMetricControllerBase< TControlledMetric >, FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 2 > >, and FREE::ConstrainedAccuracySOMetricControllerBase< FREE::ConstrainedAccuracySOMetric< 3 > >.

Definition at line 122 of file freAccuracySOMetricController.h.


The documentation for this class was generated from the following file:
Generated at Sat Oct 13 18:22:28 2007 for f.r.e.e. - Flexible Registration and Evaluation Engine by doxygen 1.5.3 written by Dimitri van Heesch, © 1997-2000