#include <freRigid2DTransformController.h>


Public Types | |
| typedef itk::Rigid2DTransform < ScalarType > | ComponentType |
| typedef MatrixOffsetTransformControllerBase < ComponentType, 2 > | Superclass |
Public Member Functions | |
| virtual const char * | GetNameOfClass () const |
| Rigid2DTransformController () | |
Protected Member Functions | |
| virtual bool | SetInitialTransformValues (ComponentType *pTransformComponent, SessionComponentCache *pComponentCache, SessionInfo *pSessionInfo, const int &iInitializeByITV) const |
| virtual void | GenerateProfile (CtrlProfile::ControllerProfile &profile, const SessionComponentCache *pComponentCache, bool bRegardOldSetup) const |
Rigid2DTransformController is derived from MatrixOffsetTransformController and is the control for transforms, which represents rotations combined with a translation. The rotations is given by 1 euler angel and the translation by a 2 element vector. The transformation is done by the itk::Rigid2DTransform.
Definition at line 44 of file freRigid2DTransformController.h.
| typedef itk::Rigid2DTransform<ScalarType> FREE::Rigid2DTransformController::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 freRigid2DTransformController.h.
| typedef MatrixOffsetTransformControllerBase<ComponentType, 2> FREE::Rigid2DTransformController::Superclass |
Reimplemented from FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >.
Definition at line 48 of file freRigid2DTransformController.h.
| FREE::Rigid2DTransformController::Rigid2DTransformController | ( | ) |
Implementation of FREE::Rigid2DTransformController /////////////////
Definition at line 34 of file freRigid2DTransformController.cxx.
References FREE::ComponentControllerInterface::m_Description, and FREE::ComponentControllerInterface::UpdateControllerID().

| virtual const char* FREE::Rigid2DTransformController::GetNameOfClass | ( | ) | const [inline, virtual] |
Reimplemented from FREE::MatrixOffsetTransformControllerBase< TMatrixOffsetTransform, VDimension >.
Definition at line 50 of file freRigid2DTransformController.h.
| bool FREE::Rigid2DTransformController::SetInitialTransformValues | ( | ComponentType * | pTransformComponent, | |
| SessionComponentCache * | pComponentCache, | |||
| SessionInfo * | pSessionInfo, | |||
| const int & | iInitializeByITV | |||
| ) | const [protected, virtual] |
Definition at line 56 of file freRigid2DTransformController.cxx.
References FREE::cParam_CurrentTransformValues, FREE::TransformSetupAdaptor::GetInitialTransformParameters(), FREE::ParameterCollection::GetParameterValue(), FREE::ComponentSetup::Parameters(), FREE::TransformControllerBase< TMatrixOffsetTransform, VDimension >::SetInitialTransformValues(), FREE::ParameterCollection::SetParameterValue(), FREE::SessionComponentCache::Setup(), FREE::SessionComponentCache::SetupIsAssigned(), throwCtrlExceptionMacro, and throwExceptionMacro.

| void FREE::Rigid2DTransformController::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 42 of file freRigid2DTransformController.cxx.
References FREE::cParam_CurrentTransformValues, FREE::cParam_InitialTransformValues, FREE::cParam_TransformScale, FREE::TransformControllerBase< TMatrixOffsetTransform, VDimension >::GenerateProfile(), FREE::CtrlProfile::ControllerProfileBase::Parameters(), and FREE::Parameter::PVTDouble.

1.5.3 written by Dimitri van Heesch,
© 1997-2000