ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkVersorTransform.h>
VersorTransform of a vector space (e.g. space coordinates)
This transform applies a rotation to the space. Rotation is about a user specified center.
The serialization of the optimizable parameters is an array of 3 elements representing the right part of the versor.
The serialization of the fixed parameters is an array of 3 elements defining the center of rotation.
TODO: Need to make sure that the translation parameters in the baseclass cannot be set to non-zero values.
Definition at line 48 of file itkVersorTransform.h.
typedef VersorType::ValueType itk::VersorTransform< TScalarType >::AngleType |
Reimplemented in itk::Similarity3DTransform< TScalarType >, itk::ScaleSkewVersor3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 94 of file itkVersorTransform.h.
typedef VersorType::VectorType itk::VersorTransform< TScalarType >::AxisType |
Reimplemented in itk::Similarity3DTransform< TScalarType >, itk::ScaleSkewVersor3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 93 of file itkVersorTransform.h.
typedef AxisType::ValueType itk::VersorTransform< TScalarType >::AxisValueType |
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, and itk::VersorRigid3DTransform< TScalarType >.
Definition at line 95 of file itkVersorTransform.h.
typedef Superclass::CenterType itk::VersorTransform< TScalarType >::CenterType |
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 85 of file itkVersorTransform.h.
typedef SmartPointer<const Self> itk::VersorTransform< TScalarType >::ConstPointer |
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 56 of file itkVersorTransform.h.
typedef Superclass::InputCovariantVectorType itk::VersorTransform< TScalarType >::InputCovariantVectorType |
Standard covariant vector type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 81 of file itkVersorTransform.h.
typedef Superclass::InputPointType itk::VersorTransform< TScalarType >::InputPointType |
Standard coordinate point type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 75 of file itkVersorTransform.h.
typedef Superclass::InputVectorType itk::VersorTransform< TScalarType >::InputVectorType |
Standard vector type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 77 of file itkVersorTransform.h.
typedef Superclass::InputVnlVectorType itk::VersorTransform< TScalarType >::InputVnlVectorType |
Standard vnl_vector type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 79 of file itkVersorTransform.h.
typedef Superclass::InverseMatrixType itk::VersorTransform< TScalarType >::InverseMatrixType |
Standard inverse matrix type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 84 of file itkVersorTransform.h.
typedef Superclass::JacobianType itk::VersorTransform< TScalarType >::JacobianType |
Jacobian Type
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 73 of file itkVersorTransform.h.
typedef Superclass::MatrixType itk::VersorTransform< TScalarType >::MatrixType |
Standard matrix type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 83 of file itkVersorTransform.h.
typedef Superclass::OffsetType itk::VersorTransform< TScalarType >::OffsetType |
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 86 of file itkVersorTransform.h.
typedef Superclass::OutputCovariantVectorType itk::VersorTransform< TScalarType >::OutputCovariantVectorType |
Standard covariant vector type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 82 of file itkVersorTransform.h.
typedef Superclass::OutputPointType itk::VersorTransform< TScalarType >::OutputPointType |
Standard coordinate point type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 76 of file itkVersorTransform.h.
typedef Superclass::OutputVectorType itk::VersorTransform< TScalarType >::OutputVectorType |
Standard vector type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 78 of file itkVersorTransform.h.
typedef Superclass::OutputVnlVectorType itk::VersorTransform< TScalarType >::OutputVnlVectorType |
Standard vnl_vector type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 80 of file itkVersorTransform.h.
typedef Superclass::ParametersType itk::VersorTransform< TScalarType >::ParametersType |
Parameters Type
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 72 of file itkVersorTransform.h.
typedef ParametersType::ValueType itk::VersorTransform< TScalarType >::ParameterValueType |
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, and itk::VersorRigid3DTransform< TScalarType >.
Definition at line 96 of file itkVersorTransform.h.
typedef SmartPointer<Self> itk::VersorTransform< TScalarType >::Pointer |
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 55 of file itkVersorTransform.h.
typedef Superclass::ScalarType itk::VersorTransform< TScalarType >::ScalarType |
Standard scalar type for this class
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 74 of file itkVersorTransform.h.
typedef VersorTransform itk::VersorTransform< TScalarType >::Self |
Standard Self Typedef
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 53 of file itkVersorTransform.h.
typedef Rigid3DTransform<TScalarType> itk::VersorTransform< TScalarType >::Superclass |
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 54 of file itkVersorTransform.h.
typedef Versor<TScalarType> itk::VersorTransform< TScalarType >::VersorType |
Versor Type
Reimplemented in itk::Similarity3DTransform< TScalarType >, itk::ScaleSkewVersor3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 92 of file itkVersorTransform.h.
typedef vnl_quaternion<TScalarType> itk::VersorTransform< TScalarType >::VnlQuaternionType |
VnlQuaternion Type
Definition at line 89 of file itkVersorTransform.h.
itk::VersorTransform< TScalarType >::VersorTransform | ( | const MatrixType & | matrix, |
const OutputVectorType & | offset | ||
) | [protected] |
Construct an VersorTransform object
itk::VersorTransform< TScalarType >::VersorTransform | ( | unsigned int | paramDims | ) | [protected] |
Construct an VersorTransform object
itk::VersorTransform< TScalarType >::VersorTransform | ( | ) | [protected] |
Construct an VersorTransform object
itk::VersorTransform< TScalarType >::~VersorTransform | ( | ) | [inline, protected] |
Destroy an VersorTransform object
Definition at line 137 of file itkVersorTransform.h.
itk::VersorTransform< TScalarType >::VersorTransform | ( | const Self & | other | ) | [private] |
Copy a VersorTransform object
virtual void itk::VersorTransform< TScalarType >::ComputeJacobianWithRespectToParameters | ( | const InputPointType & | p, |
JacobianType & | jacobian | ||
) | const [virtual] |
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.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::ScaleVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, and itk::VersorRigid3DTransform< TScalarType >.
void itk::VersorTransform< TScalarType >::ComputeMatrix | ( | void | ) | [protected, virtual] |
Compute Matrix Compute the components of the rotation matrix in the superclass
Reimplemented from itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::ScaleVersor3DTransform< TScalarType >, and itk::Similarity3DTransform< TScalarType >.
void itk::VersorTransform< TScalarType >::ComputeMatrixParameters | ( | void | ) | [protected, virtual] |
Reimplemented from itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::ScaleVersor3DTransform< TScalarType >, and itk::Similarity3DTransform< TScalarType >.
virtual::itk::LightObject::Pointer itk::VersorTransform< 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::MatrixOffsetTransformBase< TScalarType, 3, 3 >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
virtual const char* itk::VersorTransform< TScalarType >::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
const ParametersType& itk::VersorTransform< TScalarType >::GetParameters | ( | void | ) | const [virtual] |
Get the Transformation Parameters.
Reimplemented from itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::ScaleVersor3DTransform< TScalarType >, and itk::VersorRigid3DTransform< TScalarType >.
virtual const VersorType& itk::VersorTransform< TScalarType >::GetVersor | ( | ) | [virtual] |
static Pointer itk::VersorTransform< TScalarType >::New | ( | ) | [static] |
New macro for creation of through a Smart Pointer
Reimplemented from itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
const Self& itk::VersorTransform< TScalarType >::operator= | ( | const Self & | ) | [private] |
Assignment operator
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::ScaleVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, and itk::VersorRigid3DTransform< TScalarType >.
void itk::VersorTransform< TScalarType >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Print contents of a VersorTransform
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::ScaleVersor3DTransform< TScalarType >, and itk::VersorRigid3DTransform< TScalarType >.
virtual void itk::VersorTransform< TScalarType >::SetIdentity | ( | void | ) | [virtual] |
Set the parameters to the IdentityTransform
Reimplemented from itk::MatrixOffsetTransformBase< TScalarType, 3, 3 >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::ScaleVersor3DTransform< TScalarType >, and itk::Similarity3DTransform< TScalarType >.
void itk::VersorTransform< TScalarType >::SetParameters | ( | const ParametersType & | parameters | ) | [virtual] |
Set the transformation from a container of parameters This is typically used by optimizers.
There are 3 parameters. They represent the components of the right part of the versor. This can be seen as the components of the vector parallel to the rotation axis and multiplied by vcl_sin( angle / 2 ).
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::ScaleVersor3DTransform< TScalarType >, and itk::VersorRigid3DTransform< TScalarType >.
void itk::VersorTransform< TScalarType >::SetRotation | ( | const VersorType & | versor | ) |
Set the rotational part of the transform
void itk::VersorTransform< TScalarType >::SetRotation | ( | const AxisType & | axis, |
AngleType | angle | ||
) |
virtual void itk::VersorTransform< TScalarType >::SetRotationMatrix | ( | const MatrixType & | matrix | ) | [inline, protected, virtual] |
This method must be made protected here because it is not a safe way of initializing the Versor
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Definition at line 143 of file itkVersorTransform.h.
void itk::VersorTransform< TScalarType >::SetVarVersor | ( | const VersorType & | newVersor | ) | [inline, protected] |
Definition at line 148 of file itkVersorTransform.h.
const unsigned int itk::VersorTransform< TScalarType >::InputSpaceDimension = 3 [static] |
Dimension of parameters
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 66 of file itkVersorTransform.h.
VersorType itk::VersorTransform< TScalarType >::m_Versor [private] |
Versor containing the rotation
Definition at line 170 of file itkVersorTransform.h.
const unsigned int itk::VersorTransform< TScalarType >::OutputSpaceDimension = 3 [static] |
Dimension of parameters
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 67 of file itkVersorTransform.h.
const unsigned int itk::VersorTransform< TScalarType >::ParametersDimension = 3 [static] |
Dimension of parameters
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::ScaleSkewVersor3DTransform< TScalarType >, itk::Similarity3DTransform< TScalarType >, itk::VersorRigid3DTransform< TScalarType >, and itk::ScaleVersor3DTransform< TScalarType >.
Definition at line 68 of file itkVersorTransform.h.
const unsigned int itk::VersorTransform< TScalarType >::SpaceDimension = 3 [static] |
Dimension of parameters
Reimplemented from itk::Rigid3DTransform< TScalarType >.
Reimplemented in itk::Similarity3DTransform< TScalarType >, and itk::VersorRigid3DTransform< TScalarType >.
Definition at line 65 of file itkVersorTransform.h.