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

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

#include <freConsistencySOMetricController.h>

Inheritance diagram for FREE::ConsistencySOMetricControllerBase< TControlledMetric >:

Inheritance graph
FREE::Consistency2DSOMetricController\< FREE::ConsistencyRegistrationMetric\< 2 \> \>FREE::Consistency3DSOMetricController\< FREE::ConsistencyRegistrationMetric\< 3 \> \>FREE::SetupOptimizationMetricControllerBase\< TControlledMetric \>FREE::ComponentControllerBase\< TControlledMetric \>FREE::ComponentControllerInterface
[legend]
Collaboration diagram for FREE::ConsistencySOMetricControllerBase< TControlledMetric >:

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

List of all members.

Public Types

typedef TControlledMetric ComponentType
typedef
SetupOptimizationMetricControllerBase
< ComponentType
Superclass

Public Member Functions

 itkTypeMacro (ConsistencySOMetricControllerBase, SetupOptimizationMetricControllerBase)

Protected Member Functions

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


Detailed Description

template<class TControlledMetric>
class FREE::ConsistencySOMetricControllerBase< TControlledMetric >

Controller class for a registration quality metric.

ConsistencySOMetricControllerBase is the base class for the control of metrics that are used as measure for the quality property consistency.

Definition at line 42 of file freConsistencySOMetricController.h.


Member Typedef Documentation

template<class TControlledMetric>
typedef TControlledMetric FREE::ConsistencySOMetricControllerBase< 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::SetupOptimizationMetricControllerBase< TControlledMetric >.

Reimplemented in FREE::Consistency2DSOMetricController, and FREE::Consistency3DSOMetricController.

Definition at line 46 of file freConsistencySOMetricController.h.

template<class TControlledMetric>
typedef SetupOptimizationMetricControllerBase<ComponentType> FREE::ConsistencySOMetricControllerBase< TControlledMetric >::Superclass

Reimplemented from FREE::SetupOptimizationMetricControllerBase< TControlledMetric >.

Reimplemented in FREE::Consistency2DSOMetricController, and FREE::Consistency3DSOMetricController.

Definition at line 47 of file freConsistencySOMetricController.h.


Constructor & Destructor Documentation

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

Definition at line 52 of file freConsistencySOMetricController.h.


Member Function Documentation

template<class TControlledMetric>
FREE::ConsistencySOMetricControllerBase< TControlledMetric >::itkTypeMacro ( ConsistencySOMetricControllerBase< TControlledMetric >  ,
SetupOptimizationMetricControllerBase   
)

template<class TControlledMetric>
virtual void FREE::ConsistencySOMetricControllerBase< 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::SetupOptimizationMetricControllerBase< TControlledMetric >.

Definition at line 59 of file freConsistencySOMetricController.h.

template<class TControlledMetric>
void FREE::ConsistencySOMetricControllerBase< 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 >.

Definition at line 70 of file freConsistencySOMetricController.h.


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