ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkv3Rigid3DTransform.h>
ITK3.x compatible Rigid3DTransform of a vector space (e.g. space coordinates)
NOTE: In ITK4, the itkNewMacro() was removed from itk::Rigid3DTransform. This class, itkv3::Rigid3DTransform provides the ITK3.x functionality. The purpose of the class is provide ITKv3 functionality while allowing the user to turn off ITKV3_COMPATIBILITY.
Even though the name Rigid3DTransform is conceptually closer to what a user may expect, the VersorRigid3DTransform is often a much better transform to use during optimization proceedures from both a speed perspective (lower dimensional parameter space), and stability standpoint (versors do not suffer from rotational gimble lock).
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.
Definition at line 63 of file itkv3Rigid3DTransform.h.
Public Types | |
using | CenterType = typename Superclass::CenterType |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | InputCovariantVectorType = typename Superclass::InputCovariantVectorType |
using | InputPointType = typename Superclass::InputPointType |
using | InputVectorType = typename Superclass::InputVectorType |
using | InputVnlVectorType = typename Superclass::InputVnlVectorType |
using | InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
using | InverseMatrixType = typename Superclass::InverseMatrixType |
using | InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
using | InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
using | JacobianPositionType = typename Superclass::JacobianPositionType |
using | JacobianType = typename Superclass::JacobianType |
using | MatrixType = typename Superclass::MatrixType |
using | MatrixValueType = typename Superclass::MatrixValueType |
using | OffsetType = typename Superclass::OffsetType |
using | OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType |
using | OutputPointType = typename Superclass::OutputPointType |
using | OutputVectorType = typename Superclass::OutputVectorType |
using | OutputVectorValueType = typename Superclass::OutputVectorValueType |
using | OutputVnlVectorType = typename Superclass::OutputVnlVectorType |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = typename Superclass::ScalarType |
using | Self = Rigid3DTransform |
using | Superclass = itk::Rigid3DTransform< TParametersValueType > |
using | TranslationType = typename Superclass::TranslationType |
Public Types inherited from itk::Rigid3DTransform< TParametersValueType > | |
using | CenterType = typename Superclass::CenterType |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | InputCovariantVectorType = typename Superclass::InputCovariantVectorType |
using | InputPointType = typename Superclass::InputPointType |
using | InputVectorType = typename Superclass::InputVectorType |
using | InputVnlVectorType = typename Superclass::InputVnlVectorType |
using | InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
using | InverseMatrixType = typename Superclass::InverseMatrixType |
using | InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
using | InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
using | JacobianPositionType = typename Superclass::JacobianPositionType |
using | JacobianType = typename Superclass::JacobianType |
using | MatrixType = typename Superclass::MatrixType |
using | MatrixValueType = typename Superclass::MatrixValueType |
using | OffsetType = typename Superclass::OffsetType |
using | OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType |
using | OutputPointType = typename Superclass::OutputPointType |
using | OutputVectorType = typename Superclass::OutputVectorType |
using | OutputVectorValueType = typename Superclass::OutputVectorValueType |
using | OutputVnlVectorType = typename Superclass::OutputVnlVectorType |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = typename Superclass::ScalarType |
using | Self = Rigid3DTransform |
using | Superclass = MatrixOffsetTransformBase< TParametersValueType, 3, 3 > |
using | TranslationType = typename Superclass::TranslationType |
Public Types inherited from itk::MatrixOffsetTransformBase< TParametersValueType, 3, 3 > | |
using | CenterType = InputPointType |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | InputCovariantVectorType = CovariantVector< TParametersValueType, Self::InputSpaceDimension > |
using | InputDiffusionTensor3DType = typename Superclass::InputDiffusionTensor3DType |
using | InputPointType = Point< TParametersValueType, Self::InputSpaceDimension > |
using | InputPointValueType = typename InputPointType::ValueType |
using | InputSymmetricSecondRankTensorType = typename Superclass::InputSymmetricSecondRankTensorType |
using | InputTensorEigenVectorType = CovariantVector< TParametersValueType, InputDiffusionTensor3DType::Dimension > |
using | InputVectorPixelType = typename Superclass::InputVectorPixelType |
using | InputVectorType = Vector< TParametersValueType, Self::InputSpaceDimension > |
using | InputVnlVectorType = vnl_vector_fixed< TParametersValueType, Self::InputSpaceDimension > |
using | InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
using | InverseMatrixType = Matrix< TParametersValueType, Self::InputSpaceDimension, Self::OutputSpaceDimension > |
using | InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
using | InverseTransformBaseType = typename Superclass::InverseTransformBaseType |
using | JacobianPositionType = typename Superclass::JacobianPositionType |
using | JacobianType = typename Superclass::JacobianType |
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 = typename Superclass::OutputDiffusionTensor3DType |
using | OutputPointType = Point< TParametersValueType, Self::OutputSpaceDimension > |
using | OutputPointValueType = typename OutputPointType::ValueType |
using | OutputSymmetricSecondRankTensorType = typename Superclass::OutputSymmetricSecondRankTensorType |
using | OutputVectorPixelType = typename Superclass::OutputVectorPixelType |
using | OutputVectorType = Vector< TParametersValueType, Self::OutputSpaceDimension > |
using | OutputVectorValueType = typename OutputVectorType::ValueType |
using | OutputVnlVectorType = vnl_vector_fixed< TParametersValueType, Self::OutputSpaceDimension > |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = typename Superclass::ScalarType |
using | Self = MatrixOffsetTransformBase |
using | Superclass = Transform< TParametersValueType, NInputDimensions, NOutputDimensions > |
using | TransformCategoryType = typename Superclass::TransformCategoryType |
using | TranslationType = OutputVectorType |
using | TranslationValueType = typename TranslationType::ValueType |
Public Types inherited from itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions > | |
using | ConstPointer = SmartPointer< const Self > |
using | DerivativeType = Array< ParametersValueType > |
using | DirectionChangeMatrix = Matrix< double, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
using | FixedParametersType = typename Superclass::FixedParametersType |
using | FixedParametersValueType = typename Superclass::FixedParametersValueType |
using | InputCovariantVectorType = CovariantVector< TParametersValueType, NInputDimensions > |
using | InputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType > |
using | InputDirectionMatrix = Matrix< double, Self::InputSpaceDimension, Self::InputSpaceDimension > |
using | InputPointType = Point< TParametersValueType, NInputDimensions > |
using | InputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, NInputDimensions > |
using | InputVectorPixelType = VariableLengthVector< TParametersValueType > |
using | InputVectorType = Vector< TParametersValueType, NInputDimensions > |
using | InputVnlVectorType = vnl_vector_fixed< TParametersValueType, NInputDimensions > |
using | InverseJacobianPositionType = vnl_matrix_fixed< ParametersValueType, NInputDimensions, NOutputDimensions > |
using | InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
using | InverseTransformBaseType = Transform< TParametersValueType, NOutputDimensions, NInputDimensions > |
using | JacobianPositionType = vnl_matrix_fixed< ParametersValueType, NOutputDimensions, NInputDimensions > |
using | JacobianType = Array2D< ParametersValueType > |
using | MatrixType = Matrix< TParametersValueType, Self::OutputSpaceDimension, Self::InputSpaceDimension > |
using | NumberOfParametersType = typename Superclass::NumberOfParametersType |
using | OutputCovariantVectorType = CovariantVector< TParametersValueType, NOutputDimensions > |
using | OutputDiffusionTensor3DType = DiffusionTensor3D< TParametersValueType > |
using | OutputDirectionMatrix = Matrix< double, Self::OutputSpaceDimension, Self::OutputSpaceDimension > |
using | OutputPointType = Point< TParametersValueType, NOutputDimensions > |
using | OutputSymmetricSecondRankTensorType = SymmetricSecondRankTensor< TParametersValueType, NOutputDimensions > |
using | OutputVectorPixelType = VariableLengthVector< TParametersValueType > |
using | OutputVectorType = Vector< TParametersValueType, NOutputDimensions > |
using | OutputVnlVectorType = vnl_vector_fixed< TParametersValueType, NOutputDimensions > |
using | ParametersType = typename Superclass::ParametersType |
using | ParametersValueType = typename Superclass::ParametersValueType |
using | Pointer = SmartPointer< Self > |
using | ScalarType = ParametersValueType |
using | Self = Transform |
using | Superclass = TransformBaseTemplate< TParametersValueType > |
using | TransformCategoryType = typename Superclass::TransformCategoryType |
Public Types inherited from itk::TransformBaseTemplate< TParametersValueType > | |
using | ConstPointer = SmartPointer< const Self > |
using | FixedParametersType = OptimizerParameters< FixedParametersValueType > |
using | FixedParametersValueType = double |
using | NumberOfParametersType = IdentifierType |
using | ParametersType = OptimizerParameters< ParametersValueType > |
using | ParametersValueType = TParametersValueType |
using | Pointer = SmartPointer< Self > |
using | Self = TransformBaseTemplate |
using | Superclass = Object |
enum | TransformCategoryType { UnknownTransformCategory =0, Linear =1, BSpline =2, Spline =3, DisplacementField =4, VelocityField =5 } |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
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 Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
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::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, NInputDimensions, NOutputDimensions > | |
static constexpr unsigned int | InputSpaceDimension = NInputDimensions |
static constexpr unsigned int | OutputSpaceDimension = NOutputDimensions |
Additional Inherited Members | |
Protected Attributes inherited from itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions > | |
DirectionChangeMatrix | m_DirectionChange |
FixedParametersType | m_FixedParameters |
ParametersType | m_Parameters |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
using itk::v3::Rigid3DTransform< TParametersValueType >::CenterType = typename Superclass::CenterType |
Definition at line 108 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::ConstPointer = SmartPointer<const Self> |
Definition at line 73 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::FixedParametersType = typename Superclass::FixedParametersType |
Definition at line 90 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::FixedParametersValueType = typename Superclass::FixedParametersValueType |
Definition at line 91 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::InputCovariantVectorType = typename Superclass::InputCovariantVectorType |
Definition at line 99 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::InputPointType = typename Superclass::InputPointType |
Definition at line 103 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::InputVectorType = typename Superclass::InputVectorType |
Definition at line 96 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::InputVnlVectorType = typename Superclass::InputVnlVectorType |
Definition at line 101 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType |
Definition at line 94 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::InverseMatrixType = typename Superclass::InverseMatrixType |
Definition at line 106 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::InverseTransformBasePointer = typename InverseTransformBaseType::Pointer |
Definition at line 115 of file itkv3Rigid3DTransform.h.
using itk::v3::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 114 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::JacobianPositionType = typename Superclass::JacobianPositionType |
Definition at line 93 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::JacobianType = typename Superclass::JacobianType |
Definition at line 92 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::MatrixType = typename Superclass::MatrixType |
Definition at line 105 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::MatrixValueType = typename Superclass::MatrixValueType |
Definition at line 107 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::OffsetType = typename Superclass::OffsetType |
Definition at line 110 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType |
Definition at line 100 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::OutputPointType = typename Superclass::OutputPointType |
Definition at line 104 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::OutputVectorType = typename Superclass::OutputVectorType |
Definition at line 97 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::OutputVectorValueType = typename Superclass::OutputVectorValueType |
Definition at line 98 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::OutputVnlVectorType = typename Superclass::OutputVnlVectorType |
Definition at line 102 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::ParametersType = typename Superclass::ParametersType |
Definition at line 88 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::ParametersValueType = typename Superclass::ParametersValueType |
Definition at line 89 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::Pointer = SmartPointer<Self> |
Definition at line 72 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::ScalarType = typename Superclass::ScalarType |
Definition at line 95 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::Self = Rigid3DTransform |
Standard class type aliases.
Definition at line 70 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::Superclass = itk::Rigid3DTransform<TParametersValueType> |
Definition at line 71 of file itkv3Rigid3DTransform.h.
using itk::v3::Rigid3DTransform< TParametersValueType >::TranslationType = typename Superclass::TranslationType |
Definition at line 109 of file itkv3Rigid3DTransform.h.
|
protecteddefault |
|
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::Rigid3DTransform< TParametersValueType >.
|
inline |
Get an inverse of this transform.
Definition at line 118 of file itkv3Rigid3DTransform.h.
|
inlineoverridevirtual |
Return an inverse of this transform.
Reimplemented from itk::Transform< TParametersValueType, NInputDimensions, NOutputDimensions >.
Definition at line 124 of file itkv3Rigid3DTransform.h.
References itk::SmartPointer< TObjectType >::GetPointer().
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::Rigid3DTransform< TParametersValueType >.
|
static |
New macro for creation of through a Smart Pointer
|
static |
Definition at line 84 of file itkv3Rigid3DTransform.h.
|
static |
Definition at line 85 of file itkv3Rigid3DTransform.h.
|
static |
Definition at line 86 of file itkv3Rigid3DTransform.h.
|
static |
Dimension of the space.
Definition at line 83 of file itkv3Rigid3DTransform.h.