ITK  4.2.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::VersorRigid3DTransform< TScalarType > Class Template Reference

#include <itkVersorRigid3DTransform.h>

+ Inheritance diagram for itk::VersorRigid3DTransform< TScalarType >:
+ Collaboration diagram for itk::VersorRigid3DTransform< TScalarType >:

List of all members.

Public Types

typedef Superclass::AngleType AngleType
typedef Superclass::AxisType AxisType
typedef Superclass::AxisValueType AxisValueType
typedef Superclass::CenterType CenterType
typedef SmartPointer< const SelfConstPointer
typedef
Superclass::InputCovariantVectorType 
InputCovariantVectorType
typedef Superclass::InputPointType InputPointType
typedef Superclass::InputVectorType InputVectorType
typedef
Superclass::InputVnlVectorType 
InputVnlVectorType
typedef
Superclass::InverseMatrixType 
InverseMatrixType
typedef Superclass::JacobianType JacobianType
typedef Superclass::MatrixType MatrixType
typedef Superclass::OffsetType OffsetType
typedef
Superclass::OutputCovariantVectorType 
OutputCovariantVectorType
typedef Superclass::OutputPointType OutputPointType
typedef
Superclass::OutputVectorType 
OutputVectorType
typedef
Superclass::OutputVnlVectorType 
OutputVnlVectorType
typedef Superclass::ParametersType ParametersType
typedef
Superclass::ParameterValueType 
ParameterValueType
typedef SmartPointer< SelfPointer
typedef Superclass::ScalarType ScalarType
typedef VersorRigid3DTransform Self
typedef VersorTransform
< TScalarType > 
Superclass
typedef Superclass::TranslationType TranslationType
typedef
Superclass::TranslationValueType 
TranslationValueType
typedef Superclass::VersorType VersorType
- Public Types inherited from itk::VersorTransform< TScalarType >
typedef vnl_quaternion
< TScalarType > 
VnlQuaternionType
- Public Types inherited from itk::Rigid3DTransform< TScalarType >
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
typedef
Superclass::InverseTransformBaseType 
InverseTransformBaseType
typedef Superclass::MatrixValueType MatrixValueType
typedef
Superclass::OutputVectorValueType 
OutputVectorValueType
typedef
Superclass::ParametersValueType 
ParametersValueType
- Public Types inherited from itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >
typedef
Superclass::InputDiffusionTensor3DType 
InputDiffusionTensor3DType
typedef
Superclass::InputSymmetricSecondRankTensorType 
InputSymmetricSecondRankTensorType
typedef CovariantVector
< TScalarType,
InputDiffusionTensor3DType::Dimension > 
InputTensorEigenVectorType
typedef
Superclass::InputVectorPixelType 
InputVectorPixelType
typedef OffsetType::ValueType OffsetValueType
typedef
Superclass::OutputDiffusionTensor3DType 
OutputDiffusionTensor3DType
typedef
Superclass::OutputSymmetricSecondRankTensorType 
OutputSymmetricSecondRankTensorType
typedef
Superclass::OutputVectorPixelType 
OutputVectorPixelType
typedef InputPointType::ValueType InputPointValueType
typedef OutputPointType::ValueType OutputPointValueType
- Public Types inherited from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >
typedef Array
< ParametersValueType
DerivativeType
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
DirectionChangeMatrix
typedef Matrix< double,
itkGetStaticConstMacro(InputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
InputDirectionMatrix
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputDirectionMatrix
- Public Types inherited from itk::TransformBase
- Public Types inherited from itk::Object
- Public Types inherited from itk::LightObject

Public Member Functions

virtual void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &jacobian) const
virtual ::itk::LightObject::Pointer CreateAnother (void) const
virtual const char * GetNameOfClass () const
virtual const ParametersTypeGetParameters (void) const
void SetParameters (const ParametersType &parameters)
- Public Member Functions inherited from itk::VersorTransform< TScalarType >
virtual const VersorTypeGetVersor ()
virtual void SetIdentity (void)
void SetRotation (const VersorType &versor)
void SetRotation (const AxisType &axis, AngleType angle)
- Public Member Functions inherited from itk::Rigid3DTransform< TScalarType >
bool MatrixIsOrthogonal (const MatrixType &matrix, double tol=1e-10)
virtual void SetMatrix (const MatrixType &matrix)
void Translate (const OffsetType &offset, bool pre=false)
 itkLegacyMacro (InputPointType BackTransform(const OutputPointType &point) const)
 itkLegacyMacro (InputVectorType BackTransform(const OutputVectorType &vector) const)
 itkLegacyMacro (InputVnlVectorType BackTransform(const OutputVnlVectorType &vector) const)
 itkLegacyMacro (InputCovariantVectorType BackTransform(const OutputCovariantVectorType &vector) const)
- Public Member Functions inherited from itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >
void Compose (const Self *other, bool pre=0)
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jac) const
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &x, JacobianType &j) const
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jac) const
const InputPointTypeGetCenter () const
virtual const ParametersTypeGetFixedParameters (void) const
virtual InverseTransformBasePointer GetInverseTransform () const
virtual const MatrixTypeGetMatrix () const
const OutputVectorTypeGetOffset (void) const
const OutputVectorTypeGetTranslation (void) const
virtual bool IsLinear () const
virtual void SetFixedParameters (const ParametersType &)
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector) const
OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector) const
OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor) const
OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor) const
OutputPointType TransformPoint (const InputPointType &point) const
OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor) const
OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor) const
OutputVectorType TransformVector (const InputVectorType &vector) const
OutputVnlVectorType TransformVector (const InputVnlVectorType &vector) const
OutputVectorPixelType TransformVector (const InputVectorPixelType &vector) const
virtual void SetMatrix (const MatrixType &matrix)
void SetOffset (const OutputVectorType &offset)
void SetCenter (const InputPointType &center)
void SetTranslation (const OutputVectorType &translation)
bool GetInverse (Self *inverse) const
- Public Member Functions inherited from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >
unsigned int GetInputSpaceDimension (void) const
virtual NumberOfParametersType GetNumberOfLocalParameters (void) const
virtual NumberOfParametersType GetNumberOfParameters (void) const
unsigned int GetOutputSpaceDimension (void) const
virtual std::string GetTransformTypeAsString () const
virtual bool HasLocalSupport () const
 itkCloneMacro (Self)
virtual void SetParametersByValue (const ParametersType &p)
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor, const InputPointType &point) const
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor, const InputPointType &point) const
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor, const InputPointType &point) const
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor, const InputPointType &point) const
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
virtual void UpdateTransformParameters (const DerivativeType &update, TScalarType factor=1.0)
- Public Member Functions inherited from itk::TransformBase
virtual void SetFixedParameters (const ParametersType &)=0
virtual void SetParameters (const ParametersType &)=0
virtual void SetParametersByValue (const ParametersType &p)=0
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
unsigned long AddObserver (const EventObject &event, Command *) const
virtual void DebugOff () const
virtual void DebugOn () const
CommandGetCommand (unsigned long tag)
bool GetDebug () const
MetaDataDictionaryGetMetaDataDictionary (void)
const MetaDataDictionaryGetMetaDataDictionary (void) const
virtual unsigned long GetMTime () const
virtual const TimeStampGetTimeStamp () const
bool HasObserver (const EventObject &event) const
void InvokeEvent (const EventObject &)
void InvokeEvent (const EventObject &) const
virtual void Modified () const
virtual void Register () const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetDebug (bool debugFlag) const
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
virtual void SetReferenceCount (int)
virtual void UnRegister () const
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
virtual int GetReferenceCount () const
void Print (std::ostream &os, Indent indent=0) const

Static Public Member Functions

static Pointer New ()

Static Public Attributes

static const unsigned int SpaceDimension = 3
static const unsigned int InputSpaceDimension = 3
static const unsigned int OutputSpaceDimension = 3
static const unsigned int ParametersDimension = 6
- Static Public Attributes inherited from itk::VersorTransform< TScalarType >
- Static Public Attributes inherited from itk::Rigid3DTransform< TScalarType >
- Static Public Attributes inherited from itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >
- Static Public Attributes inherited from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >

Protected Member Functions

void PrintSelf (std::ostream &os, Indent indent) const
 VersorRigid3DTransform (const MatrixType &matrix, const OutputVectorType &offset)
 VersorRigid3DTransform (unsigned int paramDim)
 VersorRigid3DTransform ()
 ~VersorRigid3DTransform ()
- Protected Member Functions inherited from itk::VersorTransform< TScalarType >
void ComputeMatrix (void)
void ComputeMatrixParameters (void)
void SetVarVersor (const VersorType &newVersor)
 ~VersorTransform ()
 VersorTransform (const MatrixType &matrix, const OutputVectorType &offset)
 VersorTransform (unsigned int paramDims)
 VersorTransform ()
- Protected Member Functions inherited from itk::Rigid3DTransform< TScalarType >
 Rigid3DTransform (const MatrixType &matrix, const OutputVectorType &offset)
 Rigid3DTransform (unsigned int paramDim)
 Rigid3DTransform ()
 ~Rigid3DTransform ()
- Protected Member Functions inherited from itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >
virtual void ComputeOffset (void)
virtual void ComputeTranslation (void)
const InverseMatrixTypeGetInverseMatrix (void) const
const InverseMatrixTypeGetVarInverseMatrix (void) const
bool InverseMatrixIsOld (void) const
void SetVarCenter (const InputPointType &center)
void SetVarInverseMatrix (const InverseMatrixType &matrix) const
void SetVarMatrix (const MatrixType &matrix)
void SetVarOffset (const OutputVectorType &offset)
void SetVarTranslation (const OutputVectorType &translation)
virtual ~MatrixOffsetTransformBase ()
 MatrixOffsetTransformBase (const MatrixType &matrix, const OutputVectorType &offset)
 MatrixOffsetTransformBase (unsigned int paramDims)
 MatrixOffsetTransformBase ()
- Protected Member Functions inherited from itk::Transform< TScalarType, NInputDimensions, NOutputDimensions >
virtual LightObject::Pointer InternalClone () const
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType, const JacobianType) const
 Transform ()
 Transform (NumberOfParametersType NumberOfParameters)
virtual ~Transform ()
- Protected Member Functions inherited from itk::TransformBase
 TransformBase ()
virtual ~TransformBase ()
- Protected Member Functions inherited from itk::Object
 Object ()
bool PrintObservers (std::ostream &os, Indent indent) const
virtual void SetTimeStamp (const TimeStamp &time)
virtual ~Object ()
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
virtual void PrintHeader (std::ostream &os, Indent indent) const
virtual void PrintTrailer (std::ostream &os, Indent indent) const
virtual ~LightObject ()

Private Member Functions

void operator= (const Self &)
 VersorRigid3DTransform (const Self &)

Detailed Description

template<class TScalarType = double>
class itk::VersorRigid3DTransform< TScalarType >

VersorRigid3DTransform of a vector space (e.g. space coordinates)

This transform applies a rotation and translation to the space The parameters for this transform can be set either using individual Set methods or in serialized form using SetParameters() and SetFixedParameters().

The serialization of the optimizable parameters is an array of 6 elements. The first 3 elements are the components of the versor representation of 3D rotation. The last 3 parameters defines the translation in each dimension.

The serialization of the fixed parameters is an array of 3 elements defining the center of rotation.

Definition at line 47 of file itkVersorRigid3DTransform.h.


Member Typedef Documentation

template<class TScalarType = double>
typedef Superclass::AngleType itk::VersorRigid3DTransform< TScalarType >::AngleType
template<class TScalarType = double>
typedef Superclass::AxisType itk::VersorRigid3DTransform< TScalarType >::AxisType
template<class TScalarType = double>
typedef Superclass::AxisValueType itk::VersorRigid3DTransform< TScalarType >::AxisValueType
template<class TScalarType = double>
typedef Superclass::CenterType itk::VersorRigid3DTransform< TScalarType >::CenterType
template<class TScalarType = double>
typedef SmartPointer<const Self> itk::VersorRigid3DTransform< TScalarType >::ConstPointer
template<class TScalarType = double>
typedef Superclass::InputCovariantVectorType itk::VersorRigid3DTransform< TScalarType >::InputCovariantVectorType
template<class TScalarType = double>
typedef Superclass::InputPointType itk::VersorRigid3DTransform< TScalarType >::InputPointType
template<class TScalarType = double>
typedef Superclass::InputVectorType itk::VersorRigid3DTransform< TScalarType >::InputVectorType
template<class TScalarType = double>
typedef Superclass::InputVnlVectorType itk::VersorRigid3DTransform< TScalarType >::InputVnlVectorType
template<class TScalarType = double>
typedef Superclass::InverseMatrixType itk::VersorRigid3DTransform< TScalarType >::InverseMatrixType
template<class TScalarType = double>
typedef Superclass::JacobianType itk::VersorRigid3DTransform< TScalarType >::JacobianType
template<class TScalarType = double>
typedef Superclass::MatrixType itk::VersorRigid3DTransform< TScalarType >::MatrixType
template<class TScalarType = double>
typedef Superclass::OffsetType itk::VersorRigid3DTransform< TScalarType >::OffsetType
template<class TScalarType = double>
typedef Superclass::OutputCovariantVectorType itk::VersorRigid3DTransform< TScalarType >::OutputCovariantVectorType
template<class TScalarType = double>
typedef Superclass::OutputPointType itk::VersorRigid3DTransform< TScalarType >::OutputPointType
template<class TScalarType = double>
typedef Superclass::OutputVectorType itk::VersorRigid3DTransform< TScalarType >::OutputVectorType
template<class TScalarType = double>
typedef Superclass::OutputVnlVectorType itk::VersorRigid3DTransform< TScalarType >::OutputVnlVectorType
template<class TScalarType = double>
typedef Superclass::ParametersType itk::VersorRigid3DTransform< TScalarType >::ParametersType
template<class TScalarType = double>
typedef Superclass::ParameterValueType itk::VersorRigid3DTransform< TScalarType >::ParameterValueType
template<class TScalarType = double>
typedef SmartPointer<Self> itk::VersorRigid3DTransform< TScalarType >::Pointer
template<class TScalarType = double>
typedef Superclass::ScalarType itk::VersorRigid3DTransform< TScalarType >::ScalarType
template<class TScalarType = double>
typedef VersorRigid3DTransform itk::VersorRigid3DTransform< TScalarType >::Self
template<class TScalarType = double>
typedef VersorTransform<TScalarType> itk::VersorRigid3DTransform< TScalarType >::Superclass
template<class TScalarType = double>
typedef Superclass::TranslationType itk::VersorRigid3DTransform< TScalarType >::TranslationType
template<class TScalarType = double>
typedef Superclass::TranslationValueType itk::VersorRigid3DTransform< TScalarType >::TranslationValueType
template<class TScalarType = double>
typedef Superclass::VersorType itk::VersorRigid3DTransform< TScalarType >::VersorType

Constructor & Destructor Documentation

template<class TScalarType = double>
itk::VersorRigid3DTransform< TScalarType >::VersorRigid3DTransform ( const MatrixType matrix,
const OutputVectorType offset 
)
protected
template<class TScalarType = double>
itk::VersorRigid3DTransform< TScalarType >::VersorRigid3DTransform ( unsigned int  paramDim)
protected
template<class TScalarType = double>
itk::VersorRigid3DTransform< TScalarType >::VersorRigid3DTransform ( )
protected
template<class TScalarType = double>
itk::VersorRigid3DTransform< TScalarType >::~VersorRigid3DTransform ( )
inlineprotected

Definition at line 115 of file itkVersorRigid3DTransform.h.

template<class TScalarType = double>
itk::VersorRigid3DTransform< TScalarType >::VersorRigid3DTransform ( const Self )
private

Member Function Documentation

template<class TScalarType = double>
virtual void itk::VersorRigid3DTransform< TScalarType >::ComputeJacobianWithRespectToParameters ( const InputPointType p,
JacobianType jacobian 
) const
virtual

This method computes the Jacobian matrix of the transformation. given point or vector, returning the transformed point or vector. The rank of the Jacobian will also indicate if the transform is invertible at this point.

Reimplemented from itk::VersorTransform< TScalarType >.

Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::ScaleVersor3DTransform< TScalarType >, and itk::Similarity3DTransform< TScalarType >.

template<class TScalarType = double>
virtual::itk::LightObject::Pointer itk::VersorRigid3DTransform< TScalarType >::CreateAnother ( void  ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::VersorTransform< TScalarType >.

Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.

template<class TScalarType = double>
virtual const char* itk::VersorRigid3DTransform< TScalarType >::GetNameOfClass ( ) const
virtual
template<class TScalarType = double>
virtual const ParametersType& itk::VersorRigid3DTransform< TScalarType >::GetParameters ( void  ) const
virtual
template<class TScalarType = double>
static Pointer itk::VersorRigid3DTransform< TScalarType >::New ( )
static
template<class TScalarType = double>
void itk::VersorRigid3DTransform< TScalarType >::operator= ( const Self )
private
template<class TScalarType = double>
void itk::VersorRigid3DTransform< TScalarType >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
protectedvirtual
template<class TScalarType = double>
void itk::VersorRigid3DTransform< TScalarType >::SetParameters ( const ParametersType parameters)
virtual

Set the transformation from a container of parameters This is typically used by optimizers. There are 6 parameters. The first three represent the versor, the last three represent the translation.

Reimplemented from itk::VersorTransform< TScalarType >.

Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.


Member Data Documentation

template<class TScalarType = double>
const unsigned int itk::VersorRigid3DTransform< TScalarType >::InputSpaceDimension = 3
static
template<class TScalarType = double>
const unsigned int itk::VersorRigid3DTransform< TScalarType >::OutputSpaceDimension = 3
static
template<class TScalarType = double>
const unsigned int itk::VersorRigid3DTransform< TScalarType >::ParametersDimension = 6
static
template<class TScalarType = double>
const unsigned int itk::VersorRigid3DTransform< TScalarType >::SpaceDimension = 3
static

Dimension of parameters.

Reimplemented from itk::VersorTransform< TScalarType >.

Reimplemented in itk::Similarity3DTransform< TScalarType >.

Definition at line 64 of file itkVersorRigid3DTransform.h.


The documentation for this class was generated from the following file: