#include <freCenteredRigidTransformController.h>


Public Types | |
| typedef itk::CenteredRigid3DTransform < ScalarType > | ComponentType |
| typedef ITKTransformControllerBase < ComponentType, 3 > | Superclass |
Public Member Functions | |
| virtual const char * | GetNameOfClass () const |
| CenteredRigid3DTransformController () | |
Protected Member Functions | |
| virtual bool | SetInitialTransformValues (ComponentType *pTransformComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo, const int &iInitializeByITV) const |
| virtual void | ActualizeReferencesMainComponent (const TransformationFieldPolyStorageType *pTransformField, const TransformationFieldPolyStorageType *pInverseTransformField, ComponentSetup *pComponentSetup) const |
CenteredRigid3DTransformController is derived from ITKTransformControllerBase and is the control for a center based transformation, which is composed of a rotation around the center and a translation. The transformation is done by the itk::CenteredRigid3DTransform (class developed for f.r.e.e.).
Definition at line 45 of file freCenteredRigidTransformController.h.
| typedef itk::CenteredRigid3DTransform<ScalarType> FREE::CenteredRigid3DTransformController::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 freCenteredRigidTransformController.h.
| typedef ITKTransformControllerBase<ComponentType, 3> FREE::CenteredRigid3DTransformController::Superclass |
Reimplemented from FREE::ITKTransformControllerBase< TITKTransform, VDimension >.
Definition at line 49 of file freCenteredRigidTransformController.h.
| FREE::CenteredRigid3DTransformController::CenteredRigid3DTransformController | ( | ) |
Implementation of FREE::CenteredRigid3DTransformController /////////
Definition at line 231 of file freCenteredRigidTransformController.cxx.
References FREE::cParam_InitialisationMethod, FREE::cParam_InitialTransformValues, FREE::cParam_TransformScale, FREE::cParamDsc_InitialisationMethod, FREE::DASet, FREE::Parameter::PVTDouble, and FREE::Parameter::PVTInteger.
| virtual const char* FREE::CenteredRigid3DTransformController::GetNameOfClass | ( | ) | const [inline, virtual] |
Reimplemented from FREE::ITKTransformControllerBase< TITKTransform, VDimension >.
Definition at line 51 of file freCenteredRigidTransformController.h.
| bool FREE::CenteredRigid3DTransformController::SetInitialTransformValues | ( | ComponentType * | pTransformComponent, | |
| SessionComponentCache * | pComponentCache, | |||
| SessionInfo * | pSessionInfo, | |||
| const int & | iInitializeByITV | |||
| ) | const [protected, virtual] |
add the calculated initial translation and center to the setup, to be present for the Registrator, when using set initialposition.
Definition at line 252 of file freCenteredRigidTransformController.cxx.
References FREE::RotationInitializer< iDimension >::AddReferencePair(), FREE::RotationInitializer< iDimension >::AddToSchedule(), catchAllNPassMacro, FREE::RotationInitializer< iDimension >::ClearSchedule(), FREE::RotationInitializer< iDimension >::ComputeRotations(), FREE::cParam_CurrentTransformValues, FREE::ReferencePointsAccessor< iDimension >::FixedPointsExist(), FREE::CenterInitializer< TPixel, iDimension >::GeometryOn(), FREE::CenterInitializer< TPixel, iDimension >::GetCenter(), FREE::ReferencePointsAccessor< iDimension >::GetFixedPointArray(), FREE::ReferencePointsAccessor< iDimension >::GetFixedPointsCount(), FREE::TransformSetupAdaptor::GetInitialTransformParameters(), FREE::ReferencePointsAccessor< iDimension >::GetMovingPointArray(), FREE::ParameterCollection::GetParameterValue(), FREE::RotationInitializer< iDimension >::GetRotation(), FREE::CenterInitializer< TPixel, iDimension >::MomentsOn(), FREE::ReferencePointsAccessor< iDimension >::MovingPointsExist(), FREE::ComponentSetup::Parameters(), FREE::RA_X, FREE::RA_Y, FREE::RA_Z, FREE::RotationInitializer< iDimension >::SetCenterPair(), FREE::CenterInitializer< TPixel, iDimension >::SetImage(), FREE::ParameterCollection::SetParameterValue(), FREE::SessionComponentCache::Setup(), FREE::SessionComponentCache::SetupIsAssigned(), FREE::RotationInitializer< iDimension >::SetUseRotationWeight(), throwCtrlExceptionMacro, and throwExceptionMacro.

| void FREE::CenteredRigid3DTransformController::ActualizeReferencesMainComponent | ( | const TransformationFieldPolyStorageType * | pTransformField, | |
| const TransformationFieldPolyStorageType * | pInverseTransformField, | |||
| ComponentSetup * | pComponentSetup | |||
| ) | const [protected, virtual] |
Definition at line 386 of file freCenteredRigidTransformController.cxx.
References FREE::cParam_InitialTransformValues, FREE::ParameterCollection::GetParameterValue(), FREE::ImagePolyStorage< TPixel2D, TPixel3D >::GetPixelByPhysicalPoint(), FREE::ComponentSetup::Parameters(), and FREE::ParameterCollection::SetParameterValue().

1.5.3 written by Dimitri van Heesch,
© 1997-2000