FREE::Similarity2DTransformController Class Reference
[Transformation controller]

Controllerclass for rotations, translation and homogeneous scaling in 2D. More...

#include <freSimilarity2DTransformController.h>

Inheritance diagram for FREE::Similarity2DTransformController:

Inheritance graph
FREE::MatrixOffsetTransformControllerBase\< itk::Similarity2DTransform\< double \>, 2 \>FREE::ITKTransformControllerBase\< TMatrixOffsetTransform, VDimension \>FREE::TransformControllerBase\< TMatrixOffsetTransform, VDimension \>FREE::ComponentControllerBase\< TMatrixOffsetTransform \>FREE::ComponentControllerInterfaceFREE::ITKTransformControllerInterface\< TMatrixOffsetTransform::ScalarType, TMatrixOffsetTransform::InputSpaceDimension, TMatrixOffsetTransform::OutputSpaceDimension \>
[legend]
Collaboration diagram for FREE::Similarity2DTransformController:

Collaboration graph
FREE::MatrixOffsetTransformControllerBase\< itk::Similarity2DTransform\< double \>, 2 \>FREE::ITKTransformControllerBase\< TMatrixOffsetTransform, VDimension \>FREE::TransformControllerBase\< TMatrixOffsetTransform, VDimension \>FREE::ComponentControllerBase\< TMatrixOffsetTransform \>FREE::ComponentControllerInterfaceFREE::CtrlProfile::ProfileInheritanceFREE::XMLStringMultiMapFREE::XMLStreamObjectFREE::ITKTransformControllerInterface\< TMatrixOffsetTransform::ScalarType, TMatrixOffsetTransform::InputSpaceDimension, TMatrixOffsetTransform::OutputSpaceDimension \>
[legend]

List of all members.

Public Types

typedef
itk::Similarity2DTransform
< ScalarType
ComponentType
typedef
MatrixOffsetTransformControllerBase
< ComponentType, 2 > 
Superclass

Public Member Functions

virtual const char * GetNameOfClass () const
 Similarity2DTransformController ()

Protected Member Functions

virtual void GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const
virtual bool SetInitialTransformValues (ComponentType *pTransformComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo, const int &iInitializeByITV) const


Detailed Description

Controllerclass for rotations, translation and homogeneous scaling in 2D.

Similarity2DTransformController is derived from MatrixOffsetTransformControllerBase and is the control for transforms, which represents rotations, translation and homogeneous scaling in 2D. The transformation is done by the itk::Similarity2DTransform. Because of the limitation to 2D images, the Similarity2DTransformController will raise an exception, if used in 3D.

Definition at line 44 of file freSimilarity2DTransformController.h.


Member Typedef Documentation

typedef itk::Similarity2DTransform<ScalarType> FREE::Similarity2DTransformController::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::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >.

Definition at line 47 of file freSimilarity2DTransformController.h.

typedef MatrixOffsetTransformControllerBase<ComponentType, 2> FREE::Similarity2DTransformController::Superclass

Reimplemented from FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >.

Definition at line 48 of file freSimilarity2DTransformController.h.


Constructor & Destructor Documentation

FREE::Similarity2DTransformController::Similarity2DTransformController (  ) 

Implementation of FREE::Similarity2DTransformController ////////////

Definition at line 38 of file freSimilarity2DTransformController.cxx.

References FREE::ComponentControllerInterface::m_Description, and FREE::ComponentControllerInterface::UpdateControllerID().

Here is the call graph for this function:

FREE::ComponentControllerInterface::UpdateControllerIDFREE::CtrlProfile::ProfileInheritance::AddAncestorFREE::XMLStringMultiMap::AddElementFREE::CtrlProfile::ProfileInheritance::IndexOfAncestorFREE::XMLStringMultiMap::SetElementDataFREE::XMLStringMultiMap::GetElementDataFREE::XMLStringMultiMap::Size


Member Function Documentation

virtual const char* FREE::Similarity2DTransformController::GetNameOfClass (  )  const [inline, virtual]

Reimplemented from FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >.

Definition at line 50 of file freSimilarity2DTransformController.h.

void FREE::Similarity2DTransformController::GenerateProfile ( CtrlProfile::ControllerProfile profile,
const SessionComponentCache pComponentCache,
bool  bRegardOldSetup 
) const [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::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >.

Definition at line 46 of file freSimilarity2DTransformController.cxx.

References FREE::cParam_CurrentTransformValues, FREE::cParam_InitialisationMethod, FREE::cParam_InitialTransformValues, FREE::cParam_TransformScale, FREE::cParamDsc_InitialisationMethod, FREE::TransformControllerBase< TMatrixOffsetTransform, VDimension >::GenerateProfile(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), FREE::Parameter::PVTDouble, and FREE::Parameter::PVTInteger.

Here is the call graph for this function:

FREE::TransformControllerBase\< TMatrixOffsetTransform, VDimension \>::GenerateProfileFREE::CtrlProfile::ControllerProfileBase::Parameters

bool FREE::Similarity2DTransformController::SetInitialTransformValues ( ComponentType pTransformComponent,
SessionComponentCache pComponentCache,
SessionInfo pSessionInfo,
const int &  iInitializeByITV 
) const [protected, virtual]

Definition at line 61 of file freSimilarity2DTransformController.cxx.

References FREE::RotationInitializer< iDimension >::AddReferencePair(), FREE::RotationInitializer< iDimension >::AddToSchedule(), FREE::RotationInitializer< iDimension >::ClearSchedule(), FREE::RotationInitializer< iDimension >::ComputeRotations(), FREE::cParam_CurrentTransformValues, FREE::ReferencePointsAccessor< iDimension >::FixedPointsExist(), FREE::ReferencePointsAccessor< iDimension >::GetFixedPointArray(), FREE::ReferencePointsAccessor< iDimension >::GetFixedPointsCount(), FREE::ReferencePointsAccessor< iDimension >::GetMovingPointArray(), FREE::RotationInitializer< iDimension >::GetRotation(), FREE::ReferencePointsAccessor< iDimension >::MovingPointsExist(), FREE::ComponentSetup::Parameters(), FREE::RA_Z, FREE::RotationInitializer< iDimension >::SetCenterPair(), FREE::ParameterCollection::SetParameterValue(), FREE::SessionComponentCache::Setup(), FREE::SessionComponentCache::SetupIsAssigned(), and throwCtrlExceptionMacro.

Here is the call graph for this function:

FREE::RotationInitializer::AddReferencePairFREE::RotationInitializer::AddToScheduleFREE::RotationInitializer::ClearScheduleFREE::RotationInitializer::ComputeRotationsFREE::ReferencePointsAccessor::FixedPointsExistFREE::ReferencePointsAccessor::GetFixedPointArrayFREE::ReferencePointsAccessor::GetFixedPointsCountFREE::ReferencePointsAccessor::GetMovingPointArrayFREE::ReferencePointsAccessor::MovingPointsExistFREE::RotationInitializer::GetRotationFREE::ComponentSetup::ParametersFREE::RotationInitializer::SetCenterPairFREE::ParameterCollection::SetParameterValueFREE::SessionComponentCache::SetupFREE::SessionComponentCache::SetupIsAssignedFREE::RotationInitializer::CalculateRotationAngelFREE::ReferencePointsAccessor::GetFixedPointFREE::ReferencePointsAccessor::GetMovingPointFREE::RotationInitializer::SetFixedCenterFREE::RotationInitializer::SetMovingCenterFREE::ParameterCollection::GetParameterIndex


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