go home Home | Main Page | Topics | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages
itk::AdvancedEuler3DTransform< TScalarType > Class Template Reference

#include <itkAdvancedEuler3DTransform.h>

Detailed Description

template<typename TScalarType = double>
class itk::AdvancedEuler3DTransform< TScalarType >

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

This transform applies a rotation and translation to the space given 3 euler angles and a 3D translation. Rotation is about a user specified center.

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 represents three euler angle of rotation respectively about the X, Y and Z axis. 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 64 of file itkAdvancedEuler3DTransform.h.

Inheritance diagram for itk::AdvancedEuler3DTransform< TScalarType >:

Public Types

using AngleType = typename Superclass::ScalarType
using ConstPointer = SmartPointer<const Self>
using Pointer = SmartPointer<Self>
using Self = AdvancedEuler3DTransform
using Superclass = AdvancedRigid3DTransform<TScalarType>
Public Types inherited from itk::AdvancedRigid3DTransform< double >
using ConstPointer
typedef typename SpatialJacobianType::InternalMatrixType InternalMatrixType
typedef std::vector< SpatialHessianTypeJacobianOfSpatialHessianType
typedef std::vector< SpatialJacobianTypeJacobianOfSpatialJacobianType
typedef std::vector< uint64_t > NonZeroJacobianIndicesType
using Pointer
using Self
typedef FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
typedef Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
using Superclass
Public Types inherited from itk::AdvancedMatrixOffsetTransformBase< double, 3, 3 >
using CenterType
using ConstPointer
typedef typename SpatialJacobianType::InternalMatrixType InternalMatrixType
using InverseMatrixType
typedef std::vector< SpatialHessianTypeJacobianOfSpatialHessianType
typedef std::vector< SpatialJacobianTypeJacobianOfSpatialJacobianType
using MatrixType
typedef std::vector< uint64_t > NonZeroJacobianIndicesType
using OffsetType
using Pointer
using Self
typedef FixedArray< Matrix< ScalarType, InputSpaceDimension, InputSpaceDimension >, OutputSpaceDimension > SpatialHessianType
typedef Matrix< ScalarType, OutputSpaceDimension, InputSpaceDimension > SpatialJacobianType
using Superclass
using TranslationType
Public Types inherited from itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >
using ConstPointer
using InternalMatrixType
using InverseTransformBaseType
using JacobianOfSpatialHessianType
using JacobianOfSpatialJacobianType
using MovingImageGradientType
using MovingImageGradientValueType
using NonZeroJacobianIndicesType
using Pointer
using Self
using SpatialHessianType
using SpatialJacobianType
using Superclass
using TransformType
using TransformTypeConstPointer
using TransformTypePointer

Public Member Functions

virtual ScalarType GetAngleX () const
virtual ScalarType GetAngleY () const
virtual ScalarType GetAngleZ () const
virtual bool GetComputeZYX () const
const FixedParametersType & GetFixedParameters () const override
void GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
const ParametersType & GetParameters () const override
 ITK_DISALLOW_COPY_AND_MOVE (AdvancedEuler3DTransform)
 itkOverrideGetNameOfClassMacro (AdvancedEuler3DTransform)
 itkStaticConstMacro (InputSpaceDimension, unsigned int, 3)
 itkStaticConstMacro (OutputSpaceDimension, unsigned int, 3)
 itkStaticConstMacro (ParametersDimension, unsigned int, 6)
 itkStaticConstMacro (SpaceDimension, unsigned int, 3)
virtual void SetComputeZYX (const bool flag)
void SetFixedParameters (const FixedParametersType &parameters) override
void SetIdentity () override
void SetParameters (const ParametersType &parameters) override
void SetRotation (ScalarType angleX, ScalarType angleY, ScalarType angleZ)
Public Member Functions inherited from itk::AdvancedRigid3DTransform< double >
 ITK_DISALLOW_COPY_AND_MOVE (AdvancedRigid3DTransform)
 itkOverrideGetNameOfClassMacro (AdvancedRigid3DTransform)
 itkStaticConstMacro (SpaceDimension, unsigned int, 3)
bool MatrixIsOrthogonal (const MatrixType &matrix, double tol=1e-10)
void SetMatrix (const MatrixType &matrix) override
void SetParameters (const ParametersType &parameters) override
Public Member Functions inherited from itk::AdvancedMatrixOffsetTransformBase< double, 3, 3 >
const InputPointType & GetCenter () const
const FixedParametersType & GetFixedParameters () const override
void GetJacobian (const InputPointType &, JacobianType &, NonZeroJacobianIndicesType &) const override
void GetJacobianOfSpatialHessian (const InputPointType &, JacobianOfSpatialHessianType &, NonZeroJacobianIndicesType &) const override
void GetJacobianOfSpatialJacobian (const InputPointType &, JacobianOfSpatialJacobianType &, NonZeroJacobianIndicesType &) const override
const MatrixTypeGetMatrix () const
const ParametersType & GetParameters () const override
void GetSpatialHessian (const InputPointType &, SpatialHessianType &) const override
void GetSpatialJacobian (const InputPointType &, SpatialJacobianType &) const override
TransformCategoryEnum GetTransformCategory () const override
const OutputVectorType & GetTranslation () const
bool IsLinear () const override
 itkOverrideGetNameOfClassMacro (AdvancedMatrixOffsetTransformBase)
 itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions)
void SetCenter (const InputPointType &center)
void SetFixedParameters (const FixedParametersType &) override
void SetParameters (const ParametersType &parameters) override
void SetTranslation (const OutputVectorType &translation)
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector) const override
OutputPointType TransformPoint (const InputPointType &point) const override
OutputVectorType TransformVector (const InputVectorType &vector) const override
Public Member Functions inherited from itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >
void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const override
virtual void EvaluateJacobianWithImageGradientProduct (const InputPointType &inputPoint, const MovingImageGradientType &movingImageGradient, DerivativeType &imageJacobian, NonZeroJacobianIndicesType &nonZeroJacobianIndices) const
virtual bool GetHasNonZeroJacobianOfSpatialHessian () const
virtual bool GetHasNonZeroSpatialHessian () const
virtual NumberOfParametersType GetNumberOfNonZeroJacobianIndices () const
 ITK_DISALLOW_COPY_AND_MOVE (AdvancedTransform)
 itkOverrideGetNameOfClassMacro (AdvancedTransform)
 itkStaticConstMacro (InputSpaceDimension, unsigned int, NInputDimensions)

Static Public Member Functions

static Pointer New ()
Static Public Member Functions inherited from itk::AdvancedRigid3DTransform< double >
static Pointer New ()
Static Public Member Functions inherited from itk::AdvancedMatrixOffsetTransformBase< double, 3, 3 >
static Pointer New ()

Protected Member Functions

 AdvancedEuler3DTransform ()
void ComputeMatrix () override
void ComputeMatrixParameters () override
virtual void PrecomputeJacobianOfSpatialJacobian ()
void PrintSelf (std::ostream &os, Indent indent) const override
 ~AdvancedEuler3DTransform () override=default
Protected Member Functions inherited from itk::AdvancedRigid3DTransform< double >
 AdvancedRigid3DTransform (unsigned int paramDim)
void PrintSelf (std::ostream &s, Indent indent) const override
 ~AdvancedRigid3DTransform () override=default
Protected Member Functions inherited from itk::AdvancedMatrixOffsetTransformBase< double, 3, 3 >
 AdvancedMatrixOffsetTransformBase (const unsigned int paramDims=ParametersDimension)
virtual void ComputeOffset ()
void ComputeTranslation ()
const OutputVectorType & GetOffset () const
void PrintSelf (std::ostream &s, Indent indent) const override
void SetVarMatrix (const MatrixType &matrix)
void SetVarTranslation (const OutputVectorType &translation)
 ~AdvancedMatrixOffsetTransformBase () override=default
Protected Member Functions inherited from itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >
 AdvancedTransform ()=default
 ~AdvancedTransform () override=default

Private Attributes

ScalarType m_AngleX {}
ScalarType m_AngleY {}
ScalarType m_AngleZ {}
bool m_ComputeZYX {}

Additional Inherited Members

Protected Attributes inherited from itk::AdvancedMatrixOffsetTransformBase< double, 3, 3 >
JacobianOfSpatialHessianType m_JacobianOfSpatialHessian
JacobianOfSpatialJacobianType m_JacobianOfSpatialJacobian
NonZeroJacobianIndicesType m_NonZeroJacobianIndices
SpatialHessianType m_SpatialHessian
Protected Attributes inherited from itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >
bool m_HasNonZeroJacobianOfSpatialHessian
bool m_HasNonZeroSpatialHessian

Member Typedef Documentation

◆ AngleType

template<typename TScalarType = double>
using itk::AdvancedEuler3DTransform< TScalarType >::AngleType = typename Superclass::ScalarType

Definition at line 105 of file itkAdvancedEuler3DTransform.h.

◆ ConstPointer

template<typename TScalarType = double>
using itk::AdvancedEuler3DTransform< TScalarType >::ConstPointer = SmartPointer<const Self>

Definition at line 73 of file itkAdvancedEuler3DTransform.h.

◆ Pointer

template<typename TScalarType = double>
using itk::AdvancedEuler3DTransform< TScalarType >::Pointer = SmartPointer<Self>

Definition at line 72 of file itkAdvancedEuler3DTransform.h.

◆ Self

template<typename TScalarType = double>
using itk::AdvancedEuler3DTransform< TScalarType >::Self = AdvancedEuler3DTransform

Standard class typedefs.

Definition at line 70 of file itkAdvancedEuler3DTransform.h.

◆ Superclass

template<typename TScalarType = double>
using itk::AdvancedEuler3DTransform< TScalarType >::Superclass = AdvancedRigid3DTransform<TScalarType>

Definition at line 71 of file itkAdvancedEuler3DTransform.h.

Constructor & Destructor Documentation

◆ AdvancedEuler3DTransform()

template<typename TScalarType = double>
itk::AdvancedEuler3DTransform< TScalarType >::AdvancedEuler3DTransform ( )
protected

◆ ~AdvancedEuler3DTransform()

template<typename TScalarType = double>
itk::AdvancedEuler3DTransform< TScalarType >::~AdvancedEuler3DTransform ( )
overrideprotecteddefault

Member Function Documentation

◆ ComputeMatrix()

template<typename TScalarType = double>
void itk::AdvancedEuler3DTransform< TScalarType >::ComputeMatrix ( )
overrideprotectedvirtual

Compute the components of the rotation matrix in the superclass.

Reimplemented from itk::AdvancedMatrixOffsetTransformBase< double, 3, 3 >.

◆ ComputeMatrixParameters()

template<typename TScalarType = double>
void itk::AdvancedEuler3DTransform< TScalarType >::ComputeMatrixParameters ( )
overrideprotectedvirtual

◆ GetAngleX()

template<typename TScalarType = double>
virtual ScalarType itk::AdvancedEuler3DTransform< TScalarType >::GetAngleX ( ) const
virtual

◆ GetAngleY()

template<typename TScalarType = double>
virtual ScalarType itk::AdvancedEuler3DTransform< TScalarType >::GetAngleY ( ) const
virtual

◆ GetAngleZ()

template<typename TScalarType = double>
virtual ScalarType itk::AdvancedEuler3DTransform< TScalarType >::GetAngleZ ( ) const
virtual

◆ GetComputeZYX()

template<typename TScalarType = double>
virtual bool itk::AdvancedEuler3DTransform< TScalarType >::GetComputeZYX ( ) const
virtual

◆ GetFixedParameters()

template<typename TScalarType = double>
const FixedParametersType & itk::AdvancedEuler3DTransform< TScalarType >::GetFixedParameters ( ) const
override

◆ GetJacobian()

template<typename TScalarType = double>
void itk::AdvancedEuler3DTransform< TScalarType >::GetJacobian ( const InputPointType & ,
JacobianType & ,
NonZeroJacobianIndicesType &  ) const
overridevirtual

Compute the Jacobian of the transformation.

Implements itk::AdvancedTransform< double, NInputDimensions, NOutputDimensions >.

◆ GetParameters()

template<typename TScalarType = double>
const ParametersType & itk::AdvancedEuler3DTransform< TScalarType >::GetParameters ( ) const
override

◆ ITK_DISALLOW_COPY_AND_MOVE()

template<typename TScalarType = double>
itk::AdvancedEuler3DTransform< TScalarType >::ITK_DISALLOW_COPY_AND_MOVE ( AdvancedEuler3DTransform< TScalarType > )

◆ itkOverrideGetNameOfClassMacro()

template<typename TScalarType = double>
itk::AdvancedEuler3DTransform< TScalarType >::itkOverrideGetNameOfClassMacro ( AdvancedEuler3DTransform< TScalarType > )

Run-time type information (and related methods).

◆ itkStaticConstMacro() [1/4]

template<typename TScalarType = double>
itk::AdvancedEuler3DTransform< TScalarType >::itkStaticConstMacro ( InputSpaceDimension ,
unsigned int ,
3  )

◆ itkStaticConstMacro() [2/4]

template<typename TScalarType = double>
itk::AdvancedEuler3DTransform< TScalarType >::itkStaticConstMacro ( OutputSpaceDimension ,
unsigned int ,
3  )

◆ itkStaticConstMacro() [3/4]

template<typename TScalarType = double>
itk::AdvancedEuler3DTransform< TScalarType >::itkStaticConstMacro ( ParametersDimension ,
unsigned int ,
6  )

◆ itkStaticConstMacro() [4/4]

template<typename TScalarType = double>
itk::AdvancedEuler3DTransform< TScalarType >::itkStaticConstMacro ( SpaceDimension ,
unsigned int ,
3  )

Dimension of the space.

◆ New()

template<typename TScalarType = double>
Pointer itk::AdvancedEuler3DTransform< TScalarType >::New ( )
static

New macro for creation of through a Smart Pointer.

◆ PrecomputeJacobianOfSpatialJacobian()

template<typename TScalarType = double>
virtual void itk::AdvancedEuler3DTransform< TScalarType >::PrecomputeJacobianOfSpatialJacobian ( )
protectedvirtual

Update the m_JacobianOfSpatialJacobian.

◆ PrintSelf()

template<typename TScalarType = double>
void itk::AdvancedEuler3DTransform< TScalarType >::PrintSelf ( std::ostream & os,
Indent indent ) const
overrideprotected

◆ SetComputeZYX()

template<typename TScalarType = double>
virtual void itk::AdvancedEuler3DTransform< TScalarType >::SetComputeZYX ( const bool flag)
virtual

The Euler angle representation of a rotation is not unique and depends on the order of rotations. In general there are 12 options. This class supports two of them, ZXY and ZYX. The default is ZXY. These functions set and get the value which indicates whether the rotation is ZYX or ZXY.

◆ SetFixedParameters()

template<typename TScalarType = double>
void itk::AdvancedEuler3DTransform< TScalarType >::SetFixedParameters ( const FixedParametersType & parameters)
override

◆ SetIdentity()

template<typename TScalarType = double>
void itk::AdvancedEuler3DTransform< TScalarType >::SetIdentity ( )
overridevirtual

◆ SetParameters()

template<typename TScalarType = double>
void itk::AdvancedEuler3DTransform< TScalarType >::SetParameters ( const ParametersType & parameters)
override

Set/Get the transformation from a container of parameters This is typically used by optimizers. There are 6 parameters. The first three represent the angles to rotate around the coordinate axis, and the last three represents the offset.

◆ SetRotation()

template<typename TScalarType = double>
void itk::AdvancedEuler3DTransform< TScalarType >::SetRotation ( ScalarType angleX,
ScalarType angleY,
ScalarType angleZ )

Set the rotational part of the transform.

Member Data Documentation

◆ m_AngleX

template<typename TScalarType = double>
ScalarType itk::AdvancedEuler3DTransform< TScalarType >::m_AngleX {}
private

Definition at line 175 of file itkAdvancedEuler3DTransform.h.

◆ m_AngleY

template<typename TScalarType = double>
ScalarType itk::AdvancedEuler3DTransform< TScalarType >::m_AngleY {}
private

Definition at line 176 of file itkAdvancedEuler3DTransform.h.

◆ m_AngleZ

template<typename TScalarType = double>
ScalarType itk::AdvancedEuler3DTransform< TScalarType >::m_AngleZ {}
private

Definition at line 177 of file itkAdvancedEuler3DTransform.h.

◆ m_ComputeZYX

template<typename TScalarType = double>
bool itk::AdvancedEuler3DTransform< TScalarType >::m_ComputeZYX {}
private

Definition at line 178 of file itkAdvancedEuler3DTransform.h.



Generated on 26-02-2026 for elastix by doxygen 1.16.1 (669aeeefca743c148e2d935b3d3c69535c7491e6) elastix logo