ITK  6.0.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Private Attributes | List of all members
itk::QuaternionRigidTransform< TParametersValueType > Class Template Reference

#include <itkQuaternionRigidTransform.h>

Detailed Description

template<typename TParametersValueType = double>
class itk::QuaternionRigidTransform< TParametersValueType >

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

This transform applies a rotation and translation to the space given a quaternion 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 7 elements. The first 4 elements are the components of the quaternion 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 48 of file itkQuaternionRigidTransform.h.

+ Inheritance diagram for itk::QuaternionRigidTransform< TParametersValueType >:
+ Collaboration diagram for itk::QuaternionRigidTransform< TParametersValueType >:

Public Types

using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = QuaternionRigidTransform
 
using Superclass = Rigid3DTransform< TParametersValueType >
 
using VnlQuaternionType = vnl_quaternion< TParametersValueType >
 
- Public Types inherited from itk::Rigid3DTransform< TParametersValueType >
using ConstPointer = SmartPointer< const Self >
 
using InverseTransformBasePointer = typename InverseTransformBaseType::Pointer
 
using InverseTransformBaseType = typename Superclass::InverseTransformBaseType
 
using Pointer = SmartPointer< Self >
 
using Self = Rigid3DTransform
 
using Superclass = MatrixOffsetTransformBase< TParametersValueType, 3, 3 >
 
- Public Types inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >
using CenterType = InputPointType
 
using ConstPointer = SmartPointer< const Self >
 
using InputCovariantVectorType = CovariantVector< TParametersValueType, Self::InputSpaceDimension >
 
using InputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType >
 
using InputPointType = Point< TParametersValueType, Self::InputSpaceDimension >
 
using InputPointValueType = typename InputPointType::ValueType
 
using InputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, VInputDimension >
 
using InputTensorEigenVectorType = CovariantVector< TParametersValueType, InputDiffusionTensor3DType::Dimension >
 
using InputVectorPixelType = VariableLengthVector< TParametersValueType >
 
using InputVectorType = Vector< TParametersValueType, Self::InputSpaceDimension >
 
using InputVnlVectorType = vnl_vector_fixed< TParametersValueType, Self::InputSpaceDimension >
 
using InverseJacobianPositionType = vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension >
 
using InverseMatrixType = Matrix< TParametersValueType, Self::InputSpaceDimension, Self::OutputSpaceDimension >
 
using InverseTransformBasePointer = typename InverseTransformBaseType::Pointer
 
using InverseTransformBaseType = typename Superclass::InverseTransformBaseType
 
using InverseTransformType = MatrixOffsetTransformBase< TParametersValueType, VOutputDimension, VInputDimension >
 
using JacobianPositionType = vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension >
 
using JacobianType = Array2D< ParametersValueType >
 
using MatrixType = Matrix< TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension >
 
using MatrixValueType = typename MatrixType::ValueType
 
using OffsetType = OutputVectorType
 
using OffsetValueType = typename OffsetType::ValueType
 
using OutputCovariantVectorType = CovariantVector< TParametersValueType, Self::OutputSpaceDimension >
 
using OutputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType >
 
using OutputPointType = Point< TParametersValueType, Self::OutputSpaceDimension >
 
using OutputPointValueType = typename OutputPointType::ValueType
 
using OutputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, VOutputDimension >
 
using OutputVectorPixelType = VariableLengthVector< TParametersValueType >
 
using OutputVectorType = Vector< TParametersValueType, Self::OutputSpaceDimension >
 
using OutputVectorValueType = typename OutputVectorType::ValueType
 
using OutputVnlVectorType = vnl_vector_fixed< TParametersValueType, Self::OutputSpaceDimension >
 
using Pointer = SmartPointer< Self >
 
using ScalarType = ParametersValueType
 
using Self = MatrixOffsetTransformBase
 
using Superclass = Transform< TParametersValueType, VInputDimension, VOutputDimension >
 
using TranslationType = OutputVectorType
 
using TranslationValueType = typename TranslationType::ValueType
 
- Public Types inherited from itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >
using ConstPointer = SmartPointer< const Self >
 
using DerivativeType = Array< ParametersValueType >
 
using DirectionChangeMatrix = Matrix< double, Self::OutputSpaceDimension, Self::InputSpaceDimension >
 
using InputCovariantVectorType = CovariantVector< TParametersValueType, VInputDimension >
 
using InputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType >
 
using InputDirectionMatrix = Matrix< double, Self::InputSpaceDimension, Self::InputSpaceDimension >
 
using InputPointType = Point< TParametersValueType, VInputDimension >
 
using InputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, VInputDimension >
 
using InputVectorPixelType = VariableLengthVector< TParametersValueType >
 
using InputVectorType = Vector< TParametersValueType, VInputDimension >
 
using InputVnlVectorType = vnl_vector_fixed< TParametersValueType, VInputDimension >
 
using InverseJacobianPositionType = vnl_matrix_fixed< ParametersValueType, VInputDimension, VOutputDimension >
 
using InverseTransformBasePointer = typename InverseTransformBaseType::Pointer
 
using InverseTransformBaseType = Transform< TParametersValueType, VOutputDimension, VInputDimension >
 
using JacobianPositionType = vnl_matrix_fixed< ParametersValueType, VOutputDimension, VInputDimension >
 
using JacobianType = Array2D< ParametersValueType >
 
using MatrixType = Matrix< TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension >
 
using OutputCovariantVectorType = CovariantVector< TParametersValueType, VOutputDimension >
 
using OutputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType >
 
using OutputDirectionMatrix = Matrix< double, Self::OutputSpaceDimension, Self::OutputSpaceDimension >
 
using OutputPointType = Point< TParametersValueType, VOutputDimension >
 
using OutputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, VOutputDimension >
 
using OutputVectorPixelType = VariableLengthVector< TParametersValueType >
 
using OutputVectorType = Vector< TParametersValueType, VOutputDimension >
 
using OutputVnlVectorType = vnl_vector_fixed< TParametersValueType, VOutputDimension >
 
using Pointer = SmartPointer< Self >
 
using ScalarType = ParametersValueType
 
using Self = Transform
 
using Superclass = TransformBaseTemplate< TParametersValueType >
 

Public Member Functions

void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &jacobian) const override
 
const char * GetNameOfClass () const override
 
const ParametersType & GetParameters () const override
 
const VnlQuaternionTypeGetRotation () const
 
void SetIdentity () override
 
void SetParameters (const ParametersType &parameters) override
 
void SetRotation (const VnlQuaternionType &rotation)
 
- Public Member Functions inherited from itk::Rigid3DTransform< TParametersValueType >
const char * GetNameOfClass () const override
 
bool MatrixIsOrthogonal (const MatrixType &matrix, const TParametersValueType tolerance=MatrixOrthogonalityTolerance< TParametersValueType >::GetTolerance())
 
void SetMatrix (const MatrixType &matrix) override
 
virtual void SetMatrix (const MatrixType &matrix, const TParametersValueType tolerance)
 
void SetParameters (const ParametersType &parameters) override
 
void Translate (const OffsetType &offset, bool pre=false)
 
- Public Member Functions inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >
void Compose (const Self *other, bool pre=false)
 
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &pnt, InverseJacobianPositionType &jacobian) const
 
void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, InverseJacobianPositionType &jac) const override
 
void ComputeJacobianWithRespectToParameters (const InputPointType &p, JacobianType &jacobian) const override
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianPositionType &) const
 
void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianPositionType &jac) const override
 
const InputPointTypeGetCenter () const
 
const FixedParametersType & GetFixedParameters () const override
 
InverseTransformBasePointer GetInverseTransform () const override
 
virtual const MatrixTypeGetMatrix () const
 
const char * GetNameOfClass () const override
 
const OutputVectorTypeGetOffset () const
 
const ParametersType & GetParameters () const override
 
TransformCategoryEnum GetTransformCategory () const override
 
const OutputVectorTypeGetTranslation () const
 
bool IsLinear () const override
 
void SetFixedParameters (const FixedParametersType &) override
 
void SetParameters (const ParametersType &parameters) override
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vec) const override
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &) const
 
OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vect) const override
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &inputTensor, const InputPointType &point) const
 
OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor) const override
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor) const override
 
OutputPointType TransformPoint (const InputPointType &point) const override
 
virtual OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &) const
 
OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor) const override
 
virtual OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &) const
 
OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor) const override
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &) const
 
OutputVectorPixelType TransformVector (const InputVectorPixelType &vect) const override
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
OutputVectorType TransformVector (const InputVectorType &vect) const override
 
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &vect) const override
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
 
void SetOffset (const OutputVectorType &offset)
 
void SetCenter (const InputPointType &center)
 
void SetTranslation (const OutputVectorType &translation)
 
bool GetInverse (InverseTransformType *inverse) const
 
- Public Member Functions inherited from itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >
virtual void ComputeJacobianWithRespectToParametersCachedTemporaries (const InputPointType &p, JacobianType &jacobian, JacobianType &) const
 
void CopyInFixedParameters (const FixedParametersValueType *const begin, const FixedParametersValueType *const end) override
 
void CopyInParameters (const ParametersValueType *const begin, const ParametersValueType *const end) override
 
const FixedParametersType & GetFixedParameters () const override
 
unsigned int GetInputSpaceDimension () const override
 
bool GetInverse (Self *) const
 
const char * GetNameOfClass () const override
 
virtual NumberOfParametersType GetNumberOfFixedParameters () const
 
virtual NumberOfParametersType GetNumberOfLocalParameters () const
 
NumberOfParametersType GetNumberOfParameters () const override
 
unsigned int GetOutputSpaceDimension () const override
 
const ParametersType & GetParameters () const override
 
TransformCategoryEnum GetTransformCategory () const override
 
std::string GetTransformTypeAsString () const override
 
 itkCloneMacro (Self)
 
void SetParametersByValue (const ParametersType &p) override
 
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 &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
virtual OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &inputTensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, 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 void UpdateTransformParameters (const DerivativeType &update, ParametersValueType factor=1.0)
 
 itkLegacyMacro (virtual void ComputeJacobianWithRespectToPosition(const InputPointType &x, JacobianType &jacobian) const)
 
 itkLegacyMacro (virtual void ComputeInverseJacobianWithRespectToPosition(const InputPointType &x, JacobianType &jacobian) const)
 
template<typename TImage >
std::enable_if_t< TImage::ImageDimension==VInputDimension &&TImage::ImageDimension==VOutputDimension, void > ApplyToImageMetadata (TImage *image) const
 
template<typename TImage >
std::enable_if_t< TImage::ImageDimension==VInputDimension &&TImage::ImageDimension==VOutputDimension, void > ApplyToImageMetadata (SmartPointer< TImage > image) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::Rigid3DTransform< TParametersValueType >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int InputSpaceDimension = 3
 
static constexpr unsigned int OutputSpaceDimension = 3
 
static constexpr unsigned int ParametersDimension = 7
 
static constexpr unsigned int SpaceDimension = 3
 
- Static Public Attributes inherited from itk::Rigid3DTransform< TParametersValueType >
static constexpr unsigned int InputSpaceDimension = 3
 
static constexpr unsigned int OutputSpaceDimension = 3
 
static constexpr unsigned int ParametersDimension = 12
 
static constexpr unsigned int SpaceDimension = 3
 
- Static Public Attributes inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >
static constexpr unsigned int InputSpaceDimension
 
static constexpr unsigned int OutputSpaceDimension
 
static constexpr unsigned int ParametersDimension
 
- Static Public Attributes inherited from itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >
static constexpr unsigned int InputSpaceDimension = VInputDimension
 
static constexpr unsigned int OutputSpaceDimension = VOutputDimension
 

Protected Member Functions

void ComputeMatrix () override
 
void ComputeMatrixParameters () override
 
const InverseMatrixTypeGetInverseMatrix () const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
 QuaternionRigidTransform ()
 
 QuaternionRigidTransform (unsigned int parametersDimension)
 
void SetVarRotation (const VnlQuaternionType &rotation)
 
 ~QuaternionRigidTransform () override=default
 
- Protected Member Functions inherited from itk::Rigid3DTransform< TParametersValueType >
void PrintSelf (std::ostream &os, Indent indent) const override
 
 Rigid3DTransform ()
 
 Rigid3DTransform (unsigned int paramDim)
 
 ~Rigid3DTransform () override=default
 
- Protected Member Functions inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 >
virtual void ComputeOffset ()
 
virtual void ComputeTranslation ()
 
const InverseMatrixTypeGetInverseMatrix () const
 
virtual bool GetSingular () const
 
const InverseMatrixTypeGetVarInverseMatrix () const
 
bool InverseMatrixIsOld () const
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
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)
 
 ~MatrixOffsetTransformBase () override=default
 
 MatrixOffsetTransformBase (unsigned int paramDims=ParametersDimension)
 
- Protected Member Functions inherited from itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >
LightObject::Pointer InternalClone () const override
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType &, const InverseJacobianPositionType &) const
 
 Transform ()=default
 
 Transform (NumberOfParametersType numberOfParameters)
 
 ~Transform () override=default
 

Private Attributes

VnlQuaternionType m_Rotation {}
 

Additional Inherited Members

- Static Protected Member Functions inherited from itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >
template<typename TTransform >
static InverseTransformBasePointer InvertTransform (const TTransform &transform)
 
- Protected Attributes inherited from itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >
FixedParametersType m_FixedParameters {}
 
ParametersType m_Parameters {}
 

Member Typedef Documentation

◆ ConstPointer

template<typename TParametersValueType = double>
using itk::QuaternionRigidTransform< TParametersValueType >::ConstPointer = SmartPointer<const Self>

Definition at line 57 of file itkQuaternionRigidTransform.h.

◆ Pointer

template<typename TParametersValueType = double>
using itk::QuaternionRigidTransform< TParametersValueType >::Pointer = SmartPointer<Self>

Definition at line 56 of file itkQuaternionRigidTransform.h.

◆ Self

template<typename TParametersValueType = double>
using itk::QuaternionRigidTransform< TParametersValueType >::Self = QuaternionRigidTransform

Standard class type aliases.

Definition at line 54 of file itkQuaternionRigidTransform.h.

◆ Superclass

template<typename TParametersValueType = double>
using itk::QuaternionRigidTransform< TParametersValueType >::Superclass = Rigid3DTransform<TParametersValueType>

Definition at line 55 of file itkQuaternionRigidTransform.h.

◆ VnlQuaternionType

template<typename TParametersValueType = double>
using itk::QuaternionRigidTransform< TParametersValueType >::VnlQuaternionType = vnl_quaternion<TParametersValueType>

VnlQuaternion type.

Definition at line 96 of file itkQuaternionRigidTransform.h.

Constructor & Destructor Documentation

◆ QuaternionRigidTransform() [1/2]

template<typename TParametersValueType = double>
itk::QuaternionRigidTransform< TParametersValueType >::QuaternionRigidTransform ( unsigned int  parametersDimension)
protected

◆ QuaternionRigidTransform() [2/2]

template<typename TParametersValueType = double>
itk::QuaternionRigidTransform< TParametersValueType >::QuaternionRigidTransform ( )
protected

◆ ~QuaternionRigidTransform()

template<typename TParametersValueType = double>
itk::QuaternionRigidTransform< TParametersValueType >::~QuaternionRigidTransform ( )
overrideprotecteddefault

Member Function Documentation

◆ ComputeJacobianWithRespectToParameters()

template<typename TParametersValueType = double>
void itk::QuaternionRigidTransform< TParametersValueType >::ComputeJacobianWithRespectToParameters ( const InputPointType p,
JacobianType jacobian 
) const
overridevirtual

Compute the Jacobian of the transformation. 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.

Implements itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >.

◆ ComputeMatrix()

template<typename TParametersValueType = double>
void itk::QuaternionRigidTransform< TParametersValueType >::ComputeMatrix ( )
overrideprotectedvirtual

◆ ComputeMatrixParameters()

template<typename TParametersValueType = double>
void itk::QuaternionRigidTransform< TParametersValueType >::ComputeMatrixParameters ( )
overrideprotectedvirtual

◆ GetInverseMatrix()

template<typename TParametersValueType = double>
const InverseMatrixType& itk::QuaternionRigidTransform< TParametersValueType >::GetInverseMatrix ( ) const
protected

◆ GetNameOfClass()

template<typename TParametersValueType = double>
const char* itk::QuaternionRigidTransform< TParametersValueType >::GetNameOfClass ( ) const
override

◆ GetParameters()

template<typename TParametersValueType = double>
const ParametersType& itk::QuaternionRigidTransform< TParametersValueType >::GetParameters ( ) const
override

◆ GetRotation()

template<typename TParametersValueType = double>
const VnlQuaternionType& itk::QuaternionRigidTransform< TParametersValueType >::GetRotation ( ) const
inline

Get the rotation from an QuaternionRigidTransform. This method returns the value of the rotation of the QuaternionRigidTransform.

Definition at line 110 of file itkQuaternionRigidTransform.h.

◆ New()

template<typename TParametersValueType = double>
static Pointer itk::QuaternionRigidTransform< TParametersValueType >::New ( )
static

New macro for creation of through a Smart Pointer

◆ PrintSelf()

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

◆ SetIdentity()

template<typename TParametersValueType = double>
void itk::QuaternionRigidTransform< TParametersValueType >::SetIdentity ( )
overridevirtual

◆ SetParameters()

template<typename TParametersValueType = double>
void itk::QuaternionRigidTransform< TParametersValueType >::SetParameters ( const ParametersType &  parameters)
overridevirtual

Set the transformation from a container of parameters. This is typically used by optimizers. There are 7 parameters. The first four represents the quaternion and the last three represents the offset.

Implements itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >.

◆ SetRotation()

template<typename TParametersValueType = double>
void itk::QuaternionRigidTransform< TParametersValueType >::SetRotation ( const VnlQuaternionType rotation)

Compute the Jacobian Matrix of the transformation at one point Set the rotation of the rigid transform. This method sets the rotation of a QuaternionRigidTransform to a value specified by the user.

◆ SetVarRotation()

template<typename TParametersValueType = double>
void itk::QuaternionRigidTransform< TParametersValueType >::SetVarRotation ( const VnlQuaternionType rotation)
inlineprotected

Definition at line 154 of file itkQuaternionRigidTransform.h.

Member Data Documentation

◆ InputSpaceDimension

template<typename TParametersValueType = double>
constexpr unsigned int itk::QuaternionRigidTransform< TParametersValueType >::InputSpaceDimension = 3
staticconstexpr

Dimension of parameters

Definition at line 66 of file itkQuaternionRigidTransform.h.

◆ m_Rotation

template<typename TParametersValueType = double>
VnlQuaternionType itk::QuaternionRigidTransform< TParametersValueType >::m_Rotation {}
private

Rotation of the transformation.

Definition at line 167 of file itkQuaternionRigidTransform.h.

◆ OutputSpaceDimension

template<typename TParametersValueType = double>
constexpr unsigned int itk::QuaternionRigidTransform< TParametersValueType >::OutputSpaceDimension = 3
staticconstexpr

Definition at line 67 of file itkQuaternionRigidTransform.h.

◆ ParametersDimension

template<typename TParametersValueType = double>
constexpr unsigned int itk::QuaternionRigidTransform< TParametersValueType >::ParametersDimension = 7
staticconstexpr

Definition at line 69 of file itkQuaternionRigidTransform.h.

◆ SpaceDimension

template<typename TParametersValueType = double>
constexpr unsigned int itk::QuaternionRigidTransform< TParametersValueType >::SpaceDimension = 3
staticconstexpr

Definition at line 68 of file itkQuaternionRigidTransform.h.


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