#include <freMatrixOffsetTransformControllerBase.h>


Public Types | |
| typedef TMatrixOffsetTransform | ComponentType |
| typedef ITKTransformControllerBase < TMatrixOffsetTransform, VDimension > | Superclass |
| typedef Superclass::GenericComponentType | GenericComponentType |
| typedef Superclass::GenericComponentPointer | GenericComponentPointer |
Public Member Functions | |
| virtual const char * | GetNameOfClass () const |
| DeclareParameterMacro (CenterInitializationType) | |
| DeclareParameterMacro (Center) | |
| DeclareMediaIDMacro (movingInitialImage) | |
| DeclareMediaIDMacro (fixedInitialImage) | |
Protected Member Functions | |
| MatrixOffsetTransformControllerBase () | |
| virtual void | SetMediaCasted (const MediaID &mediaID, GenericMediaType *pMedia, ComponentType *pComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo) const |
| virtual void | GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const |
| bool | SetInitialTransformValues (ComponentType *pTransformComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo, const int &iInitializeByITV) const |
| virtual void | CopyFixedParameters (ComponentType *pOrigin, ComponentType *pDestination) const |
Definition at line 37 of file freMatrixOffsetTransformControllerBase.h.
| typedef TMatrixOffsetTransform FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::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< TMatrixOffsetTransform, VDimension >.
Reimplemented in FREE::AffineTransformControllerBase< iDimension >, FREE::CenteredAffineTransformControllerBase< iDimension >, FREE::CenteredEuler3DTransformController, FREE::CenteredRigid2DTransformController, FREE::Euler3DTransformController, FREE::Rigid2DTransformController, FREE::Similarity2DTransformController, FREE::VersorRigid3DTransformController, FREE::VersorTransformController, FREE::AffineTransformControllerBase< 2 >, FREE::AffineTransformControllerBase< 3 >, FREE::CenteredAffineTransformControllerBase< 2 >, and FREE::CenteredAffineTransformControllerBase< 3 >.
Definition at line 40 of file freMatrixOffsetTransformControllerBase.h.
| typedef ITKTransformControllerBase<TMatrixOffsetTransform, VDimension> FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::Superclass |
Reimplemented from FREE::ITKTransformControllerBase< TMatrixOffsetTransform, VDimension >.
Reimplemented in FREE::AffineTransformControllerBase< iDimension >, FREE::CenteredAffineTransformControllerBase< iDimension >, FREE::CenteredEuler3DTransformController, FREE::CenteredRigid2DTransformController, FREE::Euler3DTransformController, FREE::Rigid2DTransformController, FREE::Similarity2DTransformController, FREE::VersorRigid3DTransformController, FREE::VersorTransformController, FREE::AffineTransformControllerBase< 2 >, FREE::AffineTransformControllerBase< 3 >, FREE::CenteredAffineTransformControllerBase< 2 >, and FREE::CenteredAffineTransformControllerBase< 3 >.
Definition at line 41 of file freMatrixOffsetTransformControllerBase.h.
| typedef Superclass::GenericComponentType FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::GenericComponentType |
Reimplemented from FREE::ITKTransformControllerBase< TMatrixOffsetTransform, VDimension >.
Definition at line 43 of file freMatrixOffsetTransformControllerBase.h.
| typedef Superclass::GenericComponentPointer FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::GenericComponentPointer |
Reimplemented from FREE::ITKTransformControllerBase< TMatrixOffsetTransform, VDimension >.
Definition at line 44 of file freMatrixOffsetTransformControllerBase.h.
| FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::MatrixOffsetTransformControllerBase | ( | ) | [inline, protected] |
The Constructor of this class is protected, because this class should be used only as ancestor for derived classes
Definition at line 37 of file freMatrixOffsetTransformControllerBase.txx.
References FREE::ComponentControllerInterface::m_Description, and FREE::ComponentControllerInterface::UpdateControllerID().

| virtual const char* FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::GetNameOfClass | ( | ) | const [inline, virtual] |
Reimplemented from FREE::ITKTransformControllerBase< TMatrixOffsetTransform, VDimension >.
Reimplemented in FREE::AffineTransformControllerBase< iDimension >, FREE::Affine2DTransformController, FREE::Affine3DTransformController, FREE::CenteredAffineTransformControllerBase< iDimension >, FREE::CenteredAffine2DTransformController, FREE::CenteredAffine3DTransformController, FREE::CenteredEuler3DTransformController, FREE::CenteredRigid2DTransformController, FREE::Euler3DTransformController, FREE::Rigid2DTransformController, FREE::Similarity2DTransformController, FREE::VersorRigid3DTransformController, FREE::VersorTransformController, FREE::AffineTransformControllerBase< 2 >, FREE::AffineTransformControllerBase< 3 >, FREE::CenteredAffineTransformControllerBase< 2 >, and FREE::CenteredAffineTransformControllerBase< 3 >.
Definition at line 46 of file freMatrixOffsetTransformControllerBase.h.
| FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::DeclareParameterMacro | ( | CenterInitializationType | ) |
Reimplemented in FREE::VersorRigid3DTransformController.
| FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::DeclareParameterMacro | ( | Center | ) |
Reimplemented in FREE::VersorRigid3DTransformController.
| FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::DeclareMediaIDMacro | ( | movingInitialImage | ) |
| FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::DeclareMediaIDMacro | ( | fixedInitialImage | ) |
| void FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::SetMediaCasted | ( | const MediaID & | mediaID, | |
| GenericMediaType * | pMedia, | |||
| ComponentType * | pComponent, | |||
| SessionComponentCache * | pComponentCache, | |||
| SessionInfo * | pSessionInfo | |||
| ) | const [inline, protected, virtual] |
Definition at line 75 of file freMatrixOffsetTransformControllerBase.txx.
References FREE::TransformControllerBase< TMatrixOffsetTransform, VDimension >::SetMediaCasted(), and FREE::DirectSessionComponentAccessor::SetRepositoryElement().

| void FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::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.
| [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< TMatrixOffsetTransform, VDimension >.
Reimplemented in FREE::Affine2DTransformController, FREE::Affine3DTransformController, FREE::CenteredAffineTransformControllerBase< iDimension >, FREE::CenteredAffine2DTransformController, FREE::CenteredAffine3DTransformController, FREE::CenteredEuler3DTransformController, FREE::CenteredRigid2DTransformController, FREE::Euler3DTransformController, FREE::Rigid2DTransformController, FREE::Similarity2DTransformController, FREE::VersorRigid3DTransformController, FREE::VersorTransformController, FREE::CenteredAffineTransformControllerBase< 2 >, and FREE::CenteredAffineTransformControllerBase< 3 >.
Definition at line 47 of file freMatrixOffsetTransformControllerBase.txx.
References FREE::cParam_CurrentTransformValues, FREE::cParam_InitialTransformValues, FREE::cParam_TransformScale, FREE::DASet, FREE::TransformControllerBase< TMatrixOffsetTransform, VDimension >::GenerateProfile(), FREE::CtrlProfile::ControllerProfileBase::MediaMap(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), FREE::Parameter::PVTDouble, and FREE::Parameter::PVTInteger.
Referenced by FREE::Euler3DTransformController::GenerateProfile(), FREE::CenteredRigid2DTransformController::GenerateProfile(), and FREE::CenteredEuler3DTransformController::GenerateProfile().

| bool FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::SetInitialTransformValues | ( | ComponentType * | pTransformComponent, | |
| SessionComponentCache * | pComponentCache, | |||
| SessionInfo * | pSessionInfo, | |||
| const int & | iInitializeByITV | |||
| ) | const [inline, protected] |
This version initializes the transform component of a matrix offset based transform.
Definition at line 92 of file freMatrixOffsetTransformControllerBase.txx.
References catchAllNPassMacro, FREE::ReferencePointsAccessor< iDimension >::FixedPointsExist(), FREE::ReferencePointsAccessor< iDimension >::GetFixedPoint(), FREE::ReferencePointsAccessor< iDimension >::GetFixedPointsCount(), FREE::TransformSetupAdaptor::GetInitialTransformParameters(), FREE::SessionAccessor::GetLinkedMedia(), FREE::ReferencePointsAccessor< iDimension >::GetMovingPoint(), FREE::ReferencePointsAccessor< iDimension >::GetMovingPointsCount(), FREE::SessionAccessor::GetParameterValue(), FREE::ReferencePointsAccessor< iDimension >::MovingPointsExist(), FREE::SessionComponentCache::Setup(), FREE::SessionComponentCache::SetupIsAssigned(), and throwCtrlExceptionMacro.
Referenced by FREE::Euler3DTransformController::SetInitialTransformValues(), FREE::CenteredRigid2DTransformController::SetInitialTransformValues(), and FREE::CenteredEuler3DTransformController::SetInitialTransformValues().

| void FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >::CopyFixedParameters | ( | ComponentType * | pOrigin, | |
| ComponentType * | pDestination | |||
| ) | const [inline, protected, virtual] |
This Function copies the fixed parameters from one instance of the transform to another. The default implementation is no copying at all, because a lot of transform have no fixed parameters. Setting therefore would cause an exception.
| [in] | pOrigin | Pointer to transform which is source of the fixed parameters |
| [in,out] | pDestination | Pointer to the transform that should get the fixed parameters set. |
Reimplemented from FREE::ITKTransformControllerBase< TMatrixOffsetTransform, VDimension >.
Definition at line 224 of file freMatrixOffsetTransformControllerBase.txx.
1.5.3 written by Dimitri van Heesch,
© 1997-2000