#include <freSimilarity2DTransformController.h>


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 |
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.
| 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.
| FREE::Similarity2DTransformController::Similarity2DTransformController | ( | ) |
Implementation of FREE::Similarity2DTransformController ////////////
Definition at line 38 of file freSimilarity2DTransformController.cxx.
References FREE::ComponentControllerInterface::m_Description, and FREE::ComponentControllerInterface::UpdateControllerID().

| 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.
| [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.

| 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.

1.5.3 written by Dimitri van Heesch,
© 1997-2000