ITK
6.0.0
Insight Toolkit
|
#include <itkRigid3DTransform.h>
Rigid3DTransform of a vector space (e.g. space coordinates)
This transform applies a rotation and translation in 3D space. The transform is specified as a rotation matrix around a arbitrary center and is followed by a translation.
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 12 elements. The first 9 parameters represents the rotation matrix in row-major order (where the column index varies the fastest). 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 in each dimension.
The Rigid3DTransform is intended to be a base class that defines a consistent family of transform types that respect rigid transformations. Only classes that derive from Rigid3DTransform should be used.
Definition at line 57 of file itkRigid3DTransform.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::MatrixOffsetTransformBase< double, 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 = 12 |
static constexpr unsigned int | SpaceDimension = 3 |
Static Public Attributes inherited from itk::MatrixOffsetTransformBase< double, 3, 3 > | |
static constexpr unsigned int | InputSpaceDimension |
static constexpr unsigned int | OutputSpaceDimension |
static constexpr unsigned int | ParametersDimension |
Static Public Attributes inherited from itk::Transform< double, VInputDimension, VOutputDimension > | |
static constexpr unsigned int | InputSpaceDimension |
static constexpr unsigned int | OutputSpaceDimension |
Static Public Attributes inherited from TransformBaseTemplate< double > | |
static constexpr TransformCategoryEnum | BSpline |
static constexpr TransformCategoryEnum | DisplacementField |
static constexpr TransformCategoryEnum | Linear |
static constexpr TransformCategoryEnum | Spline |
static constexpr TransformCategoryEnum | UnknownTransformCategory |
static constexpr TransformCategoryEnum | VelocityField |
Additional Inherited Members | |
Public Attributes inherited from itk::Transform< double, VInputDimension, VOutputDimension > | |
InverseJacobianPositionType &jacobian | const |
Static Protected Member Functions inherited from itk::Transform< double, VInputDimension, VOutputDimension > | |
static InverseTransformBasePointer | InvertTransform (const TTransform &transform) |
Protected Attributes inherited from itk::Transform< double, VInputDimension, VOutputDimension > | |
FixedParametersType | m_FixedParameters |
ParametersType | m_Parameters |
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::CenterType = InputPointType |
Definition at line 186 of file itkMatrixOffsetTransformBase.h.
using itk::Rigid3DTransform< TParametersValueType >::ConstPointer = SmartPointer<const Self> |
Definition at line 66 of file itkRigid3DTransform.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::InputCovariantVectorType = CovariantVector<TParametersValueType, Self::InputSpaceDimension> |
Standard covariant vector type for this class
Definition at line 153 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::InputPointType = Point<TParametersValueType, Self::InputSpaceDimension> |
Standard coordinate point type for this class
Definition at line 174 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::InputVectorType = Vector<TParametersValueType, Self::InputSpaceDimension> |
Standard vector type for this class
Definition at line 148 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::InputVnlVectorType = vnl_vector_fixed<TParametersValueType, Self::InputSpaceDimension> |
Standard vnl_vector type for this class
Definition at line 170 of file itkMatrixOffsetTransformBase.h.
using itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >::InverseJacobianPositionType = vnl_matrix_fixed<ParametersValueType, VInputDimension, VOutputDimension> |
Definition at line 139 of file itkTransform.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::InverseMatrixType = Matrix<TParametersValueType, Self::InputSpaceDimension, Self::OutputSpaceDimension> |
Standard inverse matrix type for this class
Definition at line 184 of file itkMatrixOffsetTransformBase.h.
using itk::Rigid3DTransform< TParametersValueType >::InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
Definition at line 107 of file itkRigid3DTransform.h.
using itk::Rigid3DTransform< TParametersValueType >::InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
Base inverse transform type. This type should not be changed to the concrete inverse transform type or inheritance would be lost.
Definition at line 106 of file itkRigid3DTransform.h.
using itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >::JacobianPositionType = vnl_matrix_fixed<ParametersValueType, VOutputDimension, VInputDimension> |
Definition at line 138 of file itkTransform.h.
using itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >::JacobianType = Array2D<ParametersValueType> |
Type of the Jacobian matrix.
Definition at line 137 of file itkTransform.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::MatrixType = Matrix<TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension> |
Standard matrix type for this class
Definition at line 180 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::MatrixValueType = typename MatrixType::ValueType |
Definition at line 181 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::OffsetType = OutputVectorType |
Definition at line 188 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::OutputCovariantVectorType = CovariantVector<TParametersValueType, Self::OutputSpaceDimension> |
Definition at line 154 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::OutputPointType = Point<TParametersValueType, Self::OutputSpaceDimension> |
Definition at line 176 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::OutputVectorType = Vector<TParametersValueType, Self::OutputSpaceDimension> |
Definition at line 149 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::OutputVectorValueType = typename OutputVectorType::ValueType |
Definition at line 150 of file itkMatrixOffsetTransformBase.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::OutputVnlVectorType = vnl_vector_fixed<TParametersValueType, Self::OutputSpaceDimension> |
Definition at line 171 of file itkMatrixOffsetTransformBase.h.
using itk::Rigid3DTransform< TParametersValueType >::Pointer = SmartPointer<Self> |
Definition at line 65 of file itkRigid3DTransform.h.
using itk::Transform< TParametersValueType, VInputDimension, VOutputDimension >::ScalarType = ParametersValueType |
Type of the scalar representing coordinate and vector elements.
Definition at line 145 of file itkTransform.h.
using itk::Rigid3DTransform< TParametersValueType >::Self = Rigid3DTransform |
Standard class type aliases.
Definition at line 63 of file itkRigid3DTransform.h.
using itk::Rigid3DTransform< TParametersValueType >::Superclass = MatrixOffsetTransformBase<TParametersValueType, 3, 3> |
Definition at line 64 of file itkRigid3DTransform.h.
using itk::MatrixOffsetTransformBase< TParametersValueType, VInputDimension, VOutputDimension >::TranslationType = OutputVectorType |
Definition at line 191 of file itkMatrixOffsetTransformBase.h.
|
protected |
|
protected |
|
overrideprotecteddefault |
|
override |
bool itk::Rigid3DTransform< TParametersValueType >::MatrixIsOrthogonal | ( | const MatrixType & | matrix, |
const TParametersValueType | tolerance = MatrixOrthogonalityTolerance< TParametersValueType >::GetTolerance() |
||
) |
Utility function to test if a matrix is orthogonal within a specified tolerance
|
static |
Run-time type information (and related methods).
|
overrideprotected |
Print contents of an Rigid3DTransform
|
override |
Directly set the rotation matrix of the transform.
|
virtual |
Directly set the rotation matrix of the transform.
|
overridevirtual |
Set the transformation from a container of parameters This is typically used by optimizers. There are 12 parameters. The first 9 represents the rotation matrix is row-major order and the last 3 represents the translation.
Implements itk::Transform< double, VInputDimension, VOutputDimension >.
Reimplemented in itk::VersorRigid3DTransform< double >, and itk::VersorTransform< double >.
void itk::Rigid3DTransform< TParametersValueType >::Translate | ( | const OffsetType & | offset, |
bool | pre = false |
||
) |
Compose the transformation with a translation
This method modifies self to include a translation of the origin. The translation is precomposed with self if pre is true, and postcomposed otherwise.
|
staticconstexpr |
Definition at line 76 of file itkRigid3DTransform.h.
|
staticconstexpr |
Definition at line 77 of file itkRigid3DTransform.h.
|
staticconstexpr |
Definition at line 78 of file itkRigid3DTransform.h.
|
staticconstexpr |
Dimension of the space.
Definition at line 75 of file itkRigid3DTransform.h.