FREE::Rigid2DTransformController Class Reference
[Transformation controller]

Controller class for an euler transform in 2 dimensions. More...

#include <freRigid2DTransformController.h>

Inheritance diagram for FREE::Rigid2DTransformController:

Inheritance graph
FREE::MatrixOffsetTransformControllerBase\< itk::Rigid2DTransform\< 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::Rigid2DTransformController:

Collaboration graph
FREE::MatrixOffsetTransformControllerBase\< itk::Rigid2DTransform\< 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::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


Detailed Description

Controller class for an euler transform in 2 dimensions.

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.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

FREE::Rigid2DTransformController::Rigid2DTransformController (  ) 

Implementation of FREE::Rigid2DTransformController /////////////////

Definition at line 34 of file freRigid2DTransformController.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::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.

Here is the call graph for this function:

FREE::TransformSetupAdaptor::GetInitialTransformParametersFREE::ParameterCollection::GetParameterValueFREE::ComponentSetup::ParametersFREE::TransformControllerBase\< TMatrixOffsetTransform, VDimension \>::SetInitialTransformValuesFREE::ParameterCollection::SetParameterValueFREE::SessionComponentCache::SetupFREE::SessionComponentCache::SetupIsAssignedFREE::ParameterCollection::GetParameterIndex

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.

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

Here is the call graph for this function:

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


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