ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions > Class Template Reference

#include <itkMultiTransform.h>

+ Inheritance diagram for itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >:
+ Collaboration diagram for itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >:

Detailed Description

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
class itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >

This abstract class contains a list of transforms and provides basic methods.

This abstract base class is used by classes that operate on a list of sub-transforms. The sub-transforms can have a different dimensionality than the container transform.

Transforms are stored in a container (queue), in the following order: $ T_0, T_1, ... , T_N-1 $

Transforms are added via a single method, AddTransform(). This adds the transforms to the back of the queue. A single method for adding transforms is meant to simplify the interface and prevent errors.

Inverse todo

TODO

Interface Issues/Comments x The PushFrontTransform and PushBackTransform methods are protected to force the user to use the AddTransform method, forcing the order of transforms. Are there use cases where the user would need to insert transforms at the front of the queue? Or at arbitrary positions?

GetParameters efficiency optimization Can we optimize this to only query the sub-transforms when the params in the sub transforms have changed since the previous call? Can't use Modified time b/c that will get updated in sub-transforms with every call to SetParameters. Is this worth worrying about? i.e. how much time will it take in the overall registration process? Probably very little.

Definition at line 64 of file itkMultiTransform.h.

Public Types

using ConstPointer = SmartPointer< const Self >
 
using DerivativeType = typename Superclass::DerivativeType
 
using FixedParametersType = typename Superclass::FixedParametersType
 
using FixedParametersValueType = typename Superclass::FixedParametersValueType
 
using InputCovariantVectorType = typename Superclass::InputCovariantVectorType
 
using InputDiffusionTensor3DType = typename Superclass::InputDiffusionTensor3DType
 
using InputPointType = typename Superclass::InputPointType
 
using InputSymmetricSecondRankTensorType = typename Superclass::InputSymmetricSecondRankTensorType
 
using InputVectorPixelType = typename Superclass::InputVectorPixelType
 
using InputVectorType = typename Superclass::InputVectorType
 
using InputVnlVectorType = typename Superclass::InputVnlVectorType
 
using InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType
 
using InverseTransformBasePointer = typename Superclass::InverseTransformBasePointer
 
using JacobianPositionType = typename Superclass::JacobianPositionType
 
using JacobianType = typename Superclass::JacobianType
 
using NumberOfParametersType = typename Superclass::NumberOfParametersType
 
using OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType
 
using OutputDiffusionTensor3DType = typename Superclass::OutputDiffusionTensor3DType
 
using OutputPointType = typename Superclass::OutputPointType
 
using OutputSymmetricSecondRankTensorType = typename Superclass::OutputSymmetricSecondRankTensorType
 
using OutputVectorPixelType = typename Superclass::OutputVectorPixelType
 
using OutputVectorType = typename Superclass::OutputVectorType
 
using OutputVnlVectorType = typename Superclass::OutputVnlVectorType
 
using ParametersType = typename Superclass::ParametersType
 
using ParametersValueType = typename Superclass::ParametersValueType
 
using Pointer = SmartPointer< Self >
 
using ScalarType = ParametersValueType
 
using Self = MultiTransform
 
using SubTransformInverseTransformBasePointer = typename TransformType::InverseTransformBasePointer
 
using Superclass = Transform< TParametersValueType, NDimensions, NSubDimensions >
 
using TransformCategoryType = typename Superclass::TransformCategoryType
 
using TransformQueueType = std::deque< TransformTypePointer >
 
using TransformType = Transform< TParametersValueType, NSubDimensions, NSubDimensions >
 
using TransformTypePointer = typename TransformType::Pointer
 
- Public Types inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
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
 

Public Member Functions

virtual void AddTransform (TransformType *t)
 
virtual void AppendTransform (TransformType *t)
 
virtual const TransformTypeGetBackTransform () const
 
const FixedParametersTypeGetFixedParameters () const override
 
virtual const TransformTypeGetFrontTransform () const
 
bool GetInverse (Self *inverse) const
 
virtual const char * GetNameOfClass () const
 
virtual const TransformTypePointer GetNthTransform (SizeValueType n) const
 
virtual const TransformTypeGetNthTransformConstPointer (const SizeValueType n) const
 
virtual TransformTypeGetNthTransformModifiablePointer (const SizeValueType n) const
 
NumberOfParametersType GetNumberOfFixedParameters () const override
 
NumberOfParametersType GetNumberOfLocalParameters () const override
 
NumberOfParametersType GetNumberOfParameters () const override
 
virtual SizeValueType GetNumberOfTransforms () const
 
const ParametersTypeGetParameters () const override
 
TransformCategoryType GetTransformCategory () const override
 
virtual const TransformQueueTypeGetTransformQueue () const
 
bool IsLinear () const override
 
virtual bool IsTransformQueueEmpty () const
 
virtual void PrependTransform (TransformType *t)
 
virtual void RemoveTransform ()
 
void SetFixedParameters (const FixedParametersType &fixedParameters) override
 
void SetParameters (const ParametersType &p) override
 
void UpdateTransformParameters (const DerivativeType &update, ScalarType factor=1.0) override
 
virtual void ClearTransformQueue ()
 
- Public Member Functions inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const =0
 
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 FixedParametersTypeGetFixedParameters () const override
 
unsigned int GetInputSpaceDimension () const override
 
bool GetInverse (Self *) const
 
virtual InverseTransformBasePointer GetInverseTransform () const
 
NumberOfParametersType GetNumberOfParameters () const override
 
unsigned int GetOutputSpaceDimension () const override
 
const ParametersTypeGetParameters () const override
 
TransformCategoryType GetTransformCategory () const override
 
std::string GetTransformTypeAsString () const override
 
 itkCloneMacro (Self)
 
void SetFixedParameters (const FixedParametersType &) override=0
 
void SetParameters (const ParametersType &) override=0
 
void SetParametersByValue (const ParametersType &p) override
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &) const
 
virtual OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &) const
 
virtual OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor, const InputPointType &point) const
 
virtual OutputPointType TransformPoint (const InputPointType &) const =0
 
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor, const InputPointType &point) const
 
virtual
OutputSymmetricSecondRankTensorType 
TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor, const InputPointType &point) const
 
virtual OutputVectorType TransformVector (const InputVectorType &) const
 
virtual OutputVectorType TransformVector (const InputVectorType &vector, const InputPointType &point) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &) const
 
virtual OutputVnlVectorType TransformVector (const InputVnlVectorType &vector, const InputPointType &point) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &) const
 
virtual OutputVectorPixelType TransformVector (const InputVectorPixelType &vector, const InputPointType &point) const
 
virtual void UpdateTransformParameters (const DerivativeType &update, ParametersValueType factor=1.0)
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianPositionType &) const
 
 itkLegacyMacro (virtual void ComputeJacobianWithRespectToPosition(const InputPointType &x, JacobianType &jacobian) const)
 
 itkLegacyMacro (virtual void ComputeInverseJacobianWithRespectToPosition(const InputPointType &x, JacobianType &jacobian) const)
 
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, InverseJacobianPositionType &jacobian) const
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
LightObject::Pointer CreateAnother () const override
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexceptoverride
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Attributes

static constexpr unsigned int InputDimension = NDimensions
 
static constexpr unsigned int OutputDimension = NDimensions
 
static constexpr unsigned int SubInputDimension = NSubDimensions
 
static constexpr unsigned int SubOutputDimension = NSubDimensions
 
- Static Public Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
static constexpr unsigned int InputSpaceDimension
 
static constexpr unsigned int OutputSpaceDimension
 

Protected Member Functions

 MultiTransform ()
 
virtual void PopBackTransform ()
 
virtual void PopFrontTransform ()
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
virtual void PushBackTransform (TransformTypePointer t)
 
virtual void PushFrontTransform (TransformTypePointer t)
 
 ~MultiTransform () override=default
 
- Protected Member Functions inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
LightObject::Pointer InternalClone () const override
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType &, const InverseJacobianPositionType &) const
 
 Transform ()
 
 Transform (NumberOfParametersType NumberOfParameters)
 
 ~Transform () override=default
 
- Protected Member Functions inherited from itk::TransformBaseTemplate< TParametersValueType >
 TransformBaseTemplate ()=default
 
 ~TransformBaseTemplate () override=default
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
 ~Object () override
 
- Protected Member Functions inherited from itk::LightObject
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Protected Attributes

ModifiedTimeType m_LocalParametersUpdateTime
 
NumberOfParametersType m_NumberOfLocalParameters
 
TransformQueueType m_TransformQueue
 
- Protected Attributes inherited from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >
DirectionChangeMatrix m_DirectionChange
 
FixedParametersType m_FixedParameters
 
ParametersType m_Parameters
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Additional Inherited Members

- 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 ()
 

Member Typedef Documentation

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::ConstPointer = SmartPointer<const Self>

Definition at line 74 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::DerivativeType = typename Superclass::DerivativeType

Derivative type

Definition at line 93 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::FixedParametersType = typename Superclass::FixedParametersType

Definition at line 88 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::FixedParametersValueType = typename Superclass::FixedParametersValueType

Definition at line 89 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InputCovariantVectorType = typename Superclass::InputCovariantVectorType

Standard covariant vector type for this class

Definition at line 117 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InputDiffusionTensor3DType = typename Superclass::InputDiffusionTensor3DType

Standard DiffusionTensor3D type alias for this class

Definition at line 129 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InputPointType = typename Superclass::InputPointType

Standard coordinate point type for this class.

Definition at line 109 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InputSymmetricSecondRankTensorType = typename Superclass::InputSymmetricSecondRankTensorType

Standard SymmetricSecondRankTensor type alias for this class

Definition at line 133 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InputVectorPixelType = typename Superclass::InputVectorPixelType

Standard Vectorpixel type for this class

Definition at line 125 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InputVectorType = typename Superclass::InputVectorType

Standard vector type for this class.

Definition at line 113 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InputVnlVectorType = typename Superclass::InputVnlVectorType

Standard vnl_vector type for this class.

Definition at line 121 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InverseJacobianPositionType = typename Superclass::InverseJacobianPositionType

Definition at line 98 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InverseTransformBasePointer = typename Superclass::InverseTransformBasePointer

InverseTransform type.

Definition at line 106 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::JacobianPositionType = typename Superclass::JacobianPositionType

Definition at line 97 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::JacobianType = typename Superclass::JacobianType

Jacobian type.

Definition at line 96 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::NumberOfParametersType = typename Superclass::NumberOfParametersType

The number of parameters defininig this transform.

Definition at line 145 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::OutputCovariantVectorType = typename Superclass::OutputCovariantVectorType

Definition at line 118 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::OutputDiffusionTensor3DType = typename Superclass::OutputDiffusionTensor3DType

Definition at line 130 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::OutputPointType = typename Superclass::OutputPointType

Definition at line 110 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::OutputSymmetricSecondRankTensorType = typename Superclass::OutputSymmetricSecondRankTensorType

Definition at line 134 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::OutputVectorPixelType = typename Superclass::OutputVectorPixelType

Definition at line 126 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::OutputVectorType = typename Superclass::OutputVectorType

Definition at line 114 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::OutputVnlVectorType = typename Superclass::OutputVnlVectorType

Definition at line 122 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::ParametersType = typename Superclass::ParametersType

Parameters type.

Definition at line 86 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::ParametersValueType = typename Superclass::ParametersValueType

Definition at line 87 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::Pointer = SmartPointer<Self>

Definition at line 73 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::ScalarType = ParametersValueType

Definition at line 90 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::Self = MultiTransform

Standard class type aliases.

Definition at line 71 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::SubTransformInverseTransformBasePointer = typename TransformType::InverseTransformBasePointer

InverseTransform type.

Definition at line 139 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::Superclass = Transform<TParametersValueType, NDimensions, NSubDimensions>

Definition at line 72 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::TransformCategoryType = typename Superclass::TransformCategoryType

Transform category type.

Definition at line 101 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::TransformQueueType = std::deque<TransformTypePointer>

Transform queue type

Definition at line 142 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::TransformType = Transform<TParametersValueType, NSubDimensions, NSubDimensions >

Sub transform type

Definition at line 80 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
using itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::TransformTypePointer = typename TransformType::Pointer

Definition at line 81 of file itkMultiTransform.h.

Constructor & Destructor Documentation

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::MultiTransform ( )
protected

Flatten the transform queue such that there are no nested composite transforms.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::~MultiTransform ( )
overrideprotecteddefault

Member Function Documentation

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::AddTransform ( TransformType t)
inlinevirtual

Functionality for sub transforms Add transforms to the queue, as stack. Most-recently added transform is always at back of queue, index N-1.

Definition at line 159 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::AppendTransform ( TransformType t)
inlinevirtual

Same as AddTransform

Definition at line 165 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::ClearTransformQueue ( )
inlinevirtual

Clear the transform queue.

Reimplemented in itk::CompositeTransform< TParametersValueType, NDimensions >.

Definition at line 236 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual const TransformType* itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetBackTransform ( ) const
inlinevirtual

Definition at line 190 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
const FixedParametersType& itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetFixedParameters ( ) const
overridevirtual

Get the fixed parameters.

Implements itk::TransformBaseTemplate< TParametersValueType >.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual const TransformType* itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetFrontTransform ( ) const
inlinevirtual

Get transforms at the front and the back of the queue

Definition at line 184 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
bool itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetInverse ( Self inverse) const

Returns a boolean indicating whether it is possible or not to compute the inverse of this current Transform. If it is possible, then the inverse of the transform is returned in the inverseTransform variable passed by the user. The inverse consists of the inverse of each sub-transform, in the same order as the forward transforms.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual const char* itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

Reimplemented in itk::CompositeTransform< TParametersValueType, NDimensions >.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual const TransformTypePointer itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetNthTransform ( SizeValueType  n) const
inlinevirtual

Definition at line 196 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual const TransformType* itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetNthTransformConstPointer ( const SizeValueType  n) const
inlinevirtual

Definition at line 212 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual TransformType* itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetNthTransformModifiablePointer ( const SizeValueType  n) const
inlinevirtual

Get the Nth transform.

Warning
No bounds checking is performed.

Definition at line 206 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
NumberOfParametersType itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetNumberOfFixedParameters ( ) const
overridevirtual

Return the number of parameters that define the constant elements of a Transfom

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
NumberOfParametersType itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetNumberOfLocalParameters ( ) const
overridevirtual

Return the number of local parameters that completely defines the Transform at an individual voxel. For transforms with local support, this will enable downstream computation of the jacobian wrt only the local support region. For instance, in the case of a deformation field, this will be equal to the number of image dimensions. If it is an affine transform, this will be the same as the GetNumberOfParameters().

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
NumberOfParametersType itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetNumberOfParameters ( ) const
overridevirtual

Return the number of parameters that completely define the Transfom

Implements itk::TransformBaseTemplate< TParametersValueType >.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual SizeValueType itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetNumberOfTransforms ( ) const
inlinevirtual

Return the number of sub-transforms.

Definition at line 230 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
const ParametersType& itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetParameters ( ) const
overridevirtual

Get/Set Parameter functions work on all sub-transforms. The parameter data from each sub-transform is concatenated into a single ParametersType object.

Note
The sub-transforms are read in forward queue order, so the returned array is ordered in the same way. That is, first sub-transform to be added is returned first in the parameter array.

Implements itk::TransformBaseTemplate< TParametersValueType >.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
TransformCategoryType itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetTransformCategory ( ) const
overridevirtual

If all sub-transforms are of the same category, return that category. Otherwise return UnknownTransformCategory.

Implements itk::TransformBaseTemplate< TParametersValueType >.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual const TransformQueueType& itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::GetTransformQueue ( ) const
inlinevirtual

Access transform queue

Definition at line 218 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
bool itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::IsLinear ( ) const
overridevirtual

If all sub-transforms are linear, then the multi-transform is linear.

Reimplemented from itk::Transform< TParametersValueType, NDimensions, NSubDimensions >.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual bool itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::IsTransformQueueEmpty ( ) const
inlinevirtual

Misc. functionality

Definition at line 224 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::PopBackTransform ( )
inlineprotectedvirtual
template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::PopFrontTransform ( )
inlineprotectedvirtual
template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::PrependTransform ( TransformType t)
inlinevirtual

Add transform to the front of the stack

Definition at line 171 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Object.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::PushBackTransform ( TransformTypePointer  t)
inlineprotectedvirtual

Definition at line 306 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::PushFrontTransform ( TransformTypePointer  t)
inlineprotectedvirtual

Definition at line 300 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
virtual void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::RemoveTransform ( )
inlinevirtual

Remove transform from the back of the queue, index N-1

Definition at line 177 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::SetFixedParameters ( const FixedParametersType fixedParameters)
override
template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::SetParameters ( const ParametersType p)
override
template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
void itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::UpdateTransformParameters ( const DerivativeType update,
ScalarType  factor = 1.0 
)
override

Update the transform's parameters by the values in update. See GetParameters() for parameter ordering.

Member Data Documentation

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
constexpr unsigned int itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::InputDimension = NDimensions
static

Dimension of the domain spaces.

Definition at line 148 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
ModifiedTimeType itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::m_LocalParametersUpdateTime
mutableprotected

Definition at line 329 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
NumberOfParametersType itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::m_NumberOfLocalParameters
mutableprotected

Cache to save time returning the number of local parameters

Definition at line 328 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
TransformQueueType itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::m_TransformQueue
mutableprotected

Transform container object.

Definition at line 325 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
constexpr unsigned int itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::OutputDimension = NDimensions
static

Definition at line 149 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
constexpr unsigned int itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::SubInputDimension = NSubDimensions
static

Definition at line 151 of file itkMultiTransform.h.

template<typename TParametersValueType = double, unsigned int NDimensions = 3, unsigned int NSubDimensions = NDimensions>
constexpr unsigned int itk::MultiTransform< TParametersValueType, NDimensions, NSubDimensions >::SubOutputDimension = NSubDimensions
static

Definition at line 152 of file itkMultiTransform.h.


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