FREE::TransformFunctionAccessor< TTransformBase > Class Template Reference

Interface for all registration processors using itk::Transform. More...

#include <freTransformFunctionAccessor.h>

Collaboration diagram for FREE::TransformFunctionAccessor< TTransformBase >:

Collaboration graph
FREE::IDPathFREE::XMLStreamObjectFREE::XMLStringMultiMapFREE::SessionComponentCacheFREE::ComponentCacheCollection\< TCache \>FREE::KeyedCollectionBase\< std::string, TCache, FREE::ComponentCacheIdentifier\< TCache \> \>FREE::SmartCollectionBase\< TElement \>FREE::CollectionBase\< TElement, itk::SmartPointer\< TElement \> \>FREE::ComponentControllerInterfaceFREE::CtrlProfile::ProfileInheritance
[legend]

List of all members.

Public Types

typedef TTransformBase TransformType
typedef
TransformType::Pointer 
TransformPointer
typedef ImageTypes
< TransformType::OutputSpaceDimension >
::InternalImageType 
ImageType
typedef
ImageType::RegionType 
RegionType
typedef
ImageType::SpacingType 
SpacingType
typedef ImageTypes
< TransformType::OutputSpaceDimension >
::PointType 
PointType
typedef
TransformType::ParametersType 
TransformParametersType
typedef
ITKTransformControllerInterface
< typename
TransformType::ScalarType,
TransformType::InputSpaceDimension,
TransformType::OutputSpaceDimension > 
ITKTransformControllerInterfaceType
typedef
ITKTransformControllerInterfaceType::TransformFunctionMediaType 
TransformFunctionMediaType
typedef
ITKTransformControllerInterfaceType::TransformFunctionMediaPointer 
TransformFunctionMediaPointer

Public Member Functions

virtual const char * GetNameOfClass () const
virtual
TransformFunctionMediaPointer 
GetTransformationFunction (const TransformParametersType &parameters, const PointType &origin, const RegionType &region, const SpacingType &spacing)
virtual
TransformFunctionMediaPointer 
GetTransformationFunction (const TransformParametersType &parameters)
virtual
TransformFunctionMediaPointer 
GetInverseTransformationFunction (const TransformParametersType &parameters, const PointType &origin, const RegionType &region, const SpacingType &spacing)
virtual
TransformFunctionMediaPointer 
GetInverseTransformationFunction (const TransformParametersType &parameters)
 TransformFunctionAccessor (SessionComponentCache &cache, const IDPath &transformID)

Protected Member Functions

void GetTransformControllerAndCache (const ITKTransformControllerInterfaceType *&pController, SessionComponentCache *&pCache)

Protected Attributes

IDPath m_TransformID
SessionComponentCachem_Cache


Detailed Description

template<class TTransformBase>
class FREE::TransformFunctionAccessor< TTransformBase >

Interface for all registration processors using itk::Transform.

TransformFunctionAccessor is an interface for all registration processor using itk::Transform or a derivative. It offers the transform that can be used by the processor and also methods to retrieve transform functions and to compute a transformation field based on the function. The methods NotfiyProgress() and TransformationIsValid() are abstract and must be implemented.

Definition at line 45 of file freTransformFunctionAccessor.h.


Member Typedef Documentation

template<class TTransformBase>
typedef TTransformBase FREE::TransformFunctionAccessor< TTransformBase >::TransformType

Base class of transformations, derivates used in every rigid registration.

Definition at line 49 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
typedef TransformType::Pointer FREE::TransformFunctionAccessor< TTransformBase >::TransformPointer

Definition at line 53 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
typedef ImageTypes<TransformType::OutputSpaceDimension>::InternalImageType FREE::TransformFunctionAccessor< TTransformBase >::ImageType

Definition at line 55 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
typedef ImageType::RegionType FREE::TransformFunctionAccessor< TTransformBase >::RegionType

Definition at line 56 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
typedef ImageType::SpacingType FREE::TransformFunctionAccessor< TTransformBase >::SpacingType

Definition at line 57 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
typedef ImageTypes<TransformType::OutputSpaceDimension>::PointType FREE::TransformFunctionAccessor< TTransformBase >::PointType

Definition at line 58 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
typedef TransformType::ParametersType FREE::TransformFunctionAccessor< TTransformBase >::TransformParametersType

Definition at line 60 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
typedef ITKTransformControllerInterface<typename TransformType::ScalarType, TransformType::InputSpaceDimension, TransformType::OutputSpaceDimension> FREE::TransformFunctionAccessor< TTransformBase >::ITKTransformControllerInterfaceType

Definition at line 64 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
typedef ITKTransformControllerInterfaceType::TransformFunctionMediaType FREE::TransformFunctionAccessor< TTransformBase >::TransformFunctionMediaType

Definition at line 65 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
typedef ITKTransformControllerInterfaceType::TransformFunctionMediaPointer FREE::TransformFunctionAccessor< TTransformBase >::TransformFunctionMediaPointer

Definition at line 66 of file freTransformFunctionAccessor.h.


Constructor & Destructor Documentation

template<class TTransformBase>
FREE::TransformFunctionAccessor< TTransformBase >::TransformFunctionAccessor ( SessionComponentCache cache,
const IDPath transformID 
) [inline]

Definition at line 90 of file freTransformFunctionAccessor.txx.

References FREE::TransformFunctionAccessor< TTransformBase >::m_TransformID.


Member Function Documentation

template<class TTransformBase>
virtual const char* FREE::TransformFunctionAccessor< TTransformBase >::GetNameOfClass (  )  const [inline, virtual]

Run-time type information (and related methods).

Definition at line 49 of file freTransformFunctionAccessor.h.

template<class TTransformBase>
TransformFunctionAccessor< TTransformBase >::TransformFunctionMediaPointer FREE::TransformFunctionAccessor< TTransformBase >::GetTransformationFunction ( const TransformParametersType parameters,
const PointType origin,
const RegionType region,
const SpacingType spacing 
) [inline, virtual]

This function gets a transformation function from the transform controller with the passed transform parameters.

Parameters:
[in] parameters Transform parameters the transform function should get
[in] origin Origin of the transformation field
[in] region Largest possible region of the transformation field
[in] spacing Spacing of the transformation field
Returns:
Pointer to the transformation field
Implementation of FREE::TransformFunctionAccessor //////////////////////

Definition at line 37 of file freTransformFunctionAccessor.txx.

Referenced by FREE::RigidRegistrationControllerBase< TControlledRigidProcessor >::GetMediaCasted().

template<class TTransformBase>
TransformFunctionAccessor< TTransformBase >::TransformFunctionMediaPointer FREE::TransformFunctionAccessor< TTransformBase >::GetTransformationFunction ( const TransformParametersType parameters  )  [inline, virtual]

Definition at line 50 of file freTransformFunctionAccessor.txx.

References FREE::ITKTransformControllerInterface< TScalarType, NInputDimensions, NOutputDimensions >::GenerateTransformationFunction(), and FREE::TransformFunctionAccessor< TTransformBase >::GetTransformControllerAndCache().

Here is the call graph for this function:

FREE::ITKTransformControllerInterface::GenerateTransformationFunctionFREE::TransformFunctionAccessor::GetTransformControllerAndCacheFREE::SessionComponentCache::ControllerFREE::SessionComponentCache::ControllerIsAssignedFREE::SessionComponentCache::GetCacheByIDPathFREE::IDPath::ToStrFREE::SessionComponentCache::GetControllerIDFREE::ComponentControllerInterface::IsRelatedToFREE::SessionComponentCache::GetConstCacheByIDPathFREE::KeyedCollectionBase::GetElementFREE::IDPath::GetFirstComponentFREE::SessionComponentCache::GetParentCacheFREE::SessionComponentCache::GetRootCacheFREE::IDPath::GetSubIDPathFREE::IDPath::SetAbsoluteFREE::IDPath::IsAbsoluteFREE::IDPath::IsEmptyFREE::KeyedCollectionBase::GetElementIndexFREE::IDPath::GetComponentFREE::IDPath::SizeFREE::IDPath::AssembleIDPathFREE::IDPath::AddComponentFREE::ComponentControllerInterface::ControllerIDFREE::CtrlProfile::ProfileInheritance::IsChildOfFREE::CtrlProfile::ProfileInheritance::IndexOfAncestorFREE::XMLStringMultiMap::GetElementDataFREE::XMLStringMultiMap::Size

template<class TTransformBase>
TransformFunctionAccessor< TTransformBase >::TransformFunctionMediaPointer FREE::TransformFunctionAccessor< TTransformBase >::GetInverseTransformationFunction ( const TransformParametersType parameters,
const PointType origin,
const RegionType region,
const SpacingType spacing 
) [inline, virtual]

This function gets a inverse transformation function from the transform controller based on the passed transform parameters.

Remarks:
The result is NULL if the function cannot be inverted.
Parameters:
[in] parameters Transform parameters the transform function should get
[in] origin Origin of the transformation field
[in] region Largest possible region of the transformation field
[in] spacing Spacing of the transformation field
Returns:
Pointer to the transformation field

Definition at line 64 of file freTransformFunctionAccessor.txx.

Referenced by FREE::RigidRegistrationControllerBase< TControlledRigidProcessor >::GetMediaCasted().

template<class TTransformBase>
TransformFunctionAccessor< TTransformBase >::TransformFunctionMediaPointer FREE::TransformFunctionAccessor< TTransformBase >::GetInverseTransformationFunction ( const TransformParametersType parameters  )  [inline, virtual]

Definition at line 77 of file freTransformFunctionAccessor.txx.

References FREE::ITKTransformControllerInterface< TScalarType, NInputDimensions, NOutputDimensions >::GenerateInverseTransformationFunction(), and FREE::TransformFunctionAccessor< TTransformBase >::GetTransformControllerAndCache().

Here is the call graph for this function:

FREE::ITKTransformControllerInterface::GenerateInverseTransformationFunctionFREE::TransformFunctionAccessor::GetTransformControllerAndCacheFREE::SessionComponentCache::ControllerFREE::SessionComponentCache::ControllerIsAssignedFREE::SessionComponentCache::GetCacheByIDPathFREE::IDPath::ToStrFREE::SessionComponentCache::GetControllerIDFREE::ComponentControllerInterface::IsRelatedToFREE::SessionComponentCache::GetConstCacheByIDPathFREE::KeyedCollectionBase::GetElementFREE::IDPath::GetFirstComponentFREE::SessionComponentCache::GetParentCacheFREE::SessionComponentCache::GetRootCacheFREE::IDPath::GetSubIDPathFREE::IDPath::SetAbsoluteFREE::IDPath::IsAbsoluteFREE::IDPath::IsEmptyFREE::KeyedCollectionBase::GetElementIndexFREE::IDPath::GetComponentFREE::IDPath::SizeFREE::IDPath::AssembleIDPathFREE::IDPath::AddComponentFREE::ComponentControllerInterface::ControllerIDFREE::CtrlProfile::ProfileInheritance::IsChildOfFREE::CtrlProfile::ProfileInheritance::IndexOfAncestorFREE::XMLStringMultiMap::GetElementDataFREE::XMLStringMultiMap::Size

template<class TTransformBase>
void FREE::TransformFunctionAccessor< TTransformBase >::GetTransformControllerAndCache ( const ITKTransformControllerInterfaceType *&  pController,
SessionComponentCache *&  pCache 
) [inline, protected]

This function gets the cache specified by the IDPath and the associated controller.

Definition at line 98 of file freTransformFunctionAccessor.txx.

References FREE::SessionComponentCache::Controller(), FREE::SessionComponentCache::ControllerIsAssigned(), FREE::SessionComponentCache::GetCacheByIDPath(), FREE::SessionComponentCache::GetControllerID(), FREE::ComponentControllerInterface::IsRelatedTo(), FREE::TransformFunctionAccessor< TTransformBase >::m_Cache, FREE::TransformFunctionAccessor< TTransformBase >::m_TransformID, throwExceptionMacro, and FREE::IDPath::ToStr().

Referenced by FREE::TransformFunctionAccessor< TTransformBase >::GetInverseTransformationFunction(), and FREE::TransformFunctionAccessor< TTransformBase >::GetTransformationFunction().

Here is the call graph for this function:

FREE::SessionComponentCache::ControllerFREE::SessionComponentCache::ControllerIsAssignedFREE::SessionComponentCache::GetCacheByIDPathFREE::IDPath::ToStrFREE::SessionComponentCache::GetControllerIDFREE::ComponentControllerInterface::IsRelatedToFREE::SessionComponentCache::GetConstCacheByIDPathFREE::KeyedCollectionBase::GetElementFREE::IDPath::GetFirstComponentFREE::SessionComponentCache::GetParentCacheFREE::SessionComponentCache::GetRootCacheFREE::IDPath::GetSubIDPathFREE::IDPath::SetAbsoluteFREE::IDPath::IsAbsoluteFREE::IDPath::IsEmptyFREE::KeyedCollectionBase::GetElementIndexFREE::IDPath::GetComponentFREE::IDPath::SizeFREE::IDPath::AssembleIDPathFREE::IDPath::AddComponentFREE::ComponentControllerInterface::ControllerIDFREE::CtrlProfile::ProfileInheritance::IsChildOfFREE::CtrlProfile::ProfileInheritance::IndexOfAncestorFREE::XMLStringMultiMap::GetElementDataFREE::XMLStringMultiMap::Size


Member Data Documentation

template<class TTransformBase>
IDPath FREE::TransformFunctionAccessor< TTransformBase >::m_TransformID [protected]

IDPath to the transform cache

Definition at line 97 of file freTransformFunctionAccessor.h.

Referenced by FREE::TransformFunctionAccessor< TTransformBase >::GetTransformControllerAndCache(), and FREE::TransformFunctionAccessor< TTransformBase >::TransformFunctionAccessor().

template<class TTransformBase>
SessionComponentCache& FREE::TransformFunctionAccessor< TTransformBase >::m_Cache [protected]

Pointer to a component cache within the session where the transform is located.

Definition at line 100 of file freTransformFunctionAccessor.h.

Referenced by FREE::TransformFunctionAccessor< TTransformBase >::GetTransformControllerAndCache().


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