FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder > Class Template Reference
[Transformation controller]

Controller class for a bspline based transformation. More...

#include <freBSplineDeformableTransformController.h>

Inheritance diagram for FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >:

Inheritance graph
FREE::ITKTransformControllerBase\< itk::BSplineDeformableTransform\< double, VDimension, VSplineOrder \>, VDimension \>FREE::TransformControllerBase\< TITKTransform, VDimension \>FREE::ComponentControllerBase\< TITKTransform \>FREE::ComponentControllerInterfaceFREE::ITKTransformControllerInterface\< TITKTransform::ScalarType, TITKTransform::InputSpaceDimension, TITKTransform::OutputSpaceDimension \>
[legend]
Collaboration diagram for FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >:

Collaboration graph
FREE::ITKTransformControllerBase\< itk::BSplineDeformableTransform\< double, VDimension, VSplineOrder \>, VDimension \>FREE::TransformControllerBase\< TITKTransform, VDimension \>FREE::ComponentControllerBase\< TITKTransform \>FREE::ComponentControllerInterfaceFREE::CtrlProfile::ProfileInheritanceFREE::XMLStringMultiMapFREE::XMLStreamObjectFREE::ITKTransformControllerInterface\< TITKTransform::ScalarType, TITKTransform::InputSpaceDimension, TITKTransform::OutputSpaceDimension \>
[legend]

List of all members.

Public Types

typedef
itk::BSplineDeformableTransform
< ScalarType,
VDimension,
VSplineOrder > 
ComponentType
typedef
ITKTransformControllerBase
< ComponentType,
VDimension > 
Superclass
typedef
Superclass::ComponentPointer 
ComponentPointer
typedef
Superclass::GenericComponentType 
GenericComponentType
typedef
Superclass::GenericComponentPointer 
GenericComponentPointer

Public Member Functions

virtual const char * GetNameOfClass () const
 DeclareParameterMacro (GridSize)
 DeclareParameterMacro (GridLowerSupportRegionSize)
 DeclareParameterMacro (GridUpperSupportRegionSize)
 DeclareParameterMacro (GridSpacing)
 DeclareParameterMacro (GridOrigin)
 DeclareParameterMacro (ComputeSpacing)
 DeclareParameterMacro (ComputeOrigin)
 DeclareMediaIDMacro (initialImage)
virtual ~BSplineDeformableTransformControllerBase ()

Protected Member Functions

 BSplineDeformableTransformControllerBase ()
virtual void GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const
void SetMediaCasted (const MediaID &mediaID, GenericMediaType *pMedia, ComponentType *pComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo) const
virtual bool SetInitialTransformValues (ComponentType *pTransformComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo, const int &iInitializeByITV) const
void ResetMainComponent (SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo) const
void CopyFixedParameters (ComponentType *pOrigin, ComponentType *pDestination) const


Detailed Description

template<unsigned int VDimension, unsigned int VSplineOrder>
class FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >

Controller class for a bspline based transformation.

BSplineDeformableTransformController is derived from ITKTransformControllerBase and is the control for a transformation based on a deformation field, represented by BSplines. The transformation is done by the itk::BSplineDeformableTransform.

Definition at line 45 of file freBSplineDeformableTransformController.h.


Member Typedef Documentation

template<unsigned int VDimension, unsigned int VSplineOrder>
typedef itk::BSplineDeformableTransform<ScalarType,VDimension,VSplineOrder> FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::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::ITKTransformControllerBase< TITKTransform, VDimension >.

Definition at line 48 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
typedef ITKTransformControllerBase<ComponentType, VDimension> FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::Superclass

Reimplemented from FREE::ITKTransformControllerBase< TITKTransform, VDimension >.

Definition at line 49 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
typedef Superclass::ComponentPointer FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::ComponentPointer

SmartPointer of the component class

Reimplemented from FREE::TransformControllerBase< TITKTransform, VDimension >.

Definition at line 50 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
typedef Superclass::GenericComponentType FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::GenericComponentType

Reimplemented from FREE::ITKTransformControllerBase< TITKTransform, VDimension >.

Definition at line 51 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
typedef Superclass::GenericComponentPointer FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::GenericComponentPointer

Reimplemented from FREE::ITKTransformControllerBase< TITKTransform, VDimension >.

Definition at line 52 of file freBSplineDeformableTransformController.h.


Constructor & Destructor Documentation

template<unsigned int VDimension, unsigned int VSplineOrder>
virtual FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::~BSplineDeformableTransformControllerBase (  )  [inline, virtual]

Definition at line 66 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::BSplineDeformableTransformControllerBase (  )  [inline, protected]

Definition at line 69 of file freBSplineDeformableTransformController.h.


Member Function Documentation

template<unsigned int VDimension, unsigned int VSplineOrder>
virtual const char* FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::GetNameOfClass (  )  const [inline, virtual]

Reimplemented from FREE::ITKTransformControllerBase< TITKTransform, VDimension >.

Reimplemented in FREE::BSpline3rdOrder2DTransformController, and FREE::BSpline3rdOrder3DTransformController.

Definition at line 54 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::DeclareParameterMacro ( GridSize   ) 

template<unsigned int VDimension, unsigned int VSplineOrder>
FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::DeclareParameterMacro ( GridLowerSupportRegionSize   ) 

template<unsigned int VDimension, unsigned int VSplineOrder>
FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::DeclareParameterMacro ( GridUpperSupportRegionSize   ) 

template<unsigned int VDimension, unsigned int VSplineOrder>
FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::DeclareParameterMacro ( GridSpacing   ) 

template<unsigned int VDimension, unsigned int VSplineOrder>
FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::DeclareParameterMacro ( GridOrigin   ) 

template<unsigned int VDimension, unsigned int VSplineOrder>
FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::DeclareParameterMacro ( ComputeSpacing   ) 

template<unsigned int VDimension, unsigned int VSplineOrder>
FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::DeclareParameterMacro ( ComputeOrigin   ) 

template<unsigned int VDimension, unsigned int VSplineOrder>
FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::DeclareMediaIDMacro ( initialImage   ) 

template<unsigned int VDimension, unsigned int VSplineOrder>
virtual void FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::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::TransformControllerBase< TITKTransform, VDimension >.

Definition at line 76 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
void FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::SetMediaCasted ( const MediaID mediaID,
GenericMediaType pMedia,
ComponentType pComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo 
) const [inline, protected]

Definition at line 137 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
virtual bool FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::SetInitialTransformValues ( ComponentType pTransformComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo,
const int &  iInitializeByITV 
) const [inline, protected, virtual]

Definition at line 147 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
void FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::ResetMainComponent ( SessionComponentCache pComponentCache,
SessionInfo pSessionInfo 
) const [inline, protected, virtual]

This function (called by ResetComponent()) resets the component of the passed cached. The default implementation is an simple recreation of the component and the reseting in the cache. In a derived class this function should be overridden, to provide a specific behavior.

Parameters:
[in,out] pComponentCache Pointer to the component cache, that should be actualized.
[in] pSessionInfo Pointer to the session info.

Reimplemented from FREE::ComponentControllerBase< TITKTransform >.

Definition at line 273 of file freBSplineDeformableTransformController.h.

template<unsigned int VDimension, unsigned int VSplineOrder>
void FREE::BSplineDeformableTransformControllerBase< VDimension, VSplineOrder >::CopyFixedParameters ( ComponentType pOrigin,
ComponentType pDestination 
) const [inline, protected]

Definition at line 313 of file freBSplineDeformableTransformController.h.


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