ITK  4.6.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions > Class Template Reference

#include <itkMatrixOffsetTransformBase.h>

+ Inheritance diagram for itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >:
+ Collaboration diagram for itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >:

Detailed Description

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
class itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >

Matrix and Offset transformation of a vector space (e.g. space coordinates)

This class serves as a base class for transforms that can be expressed as a linear transformation plus a constant offset (e.g., affine, similarity and rigid transforms). This base class also provides the concept of using a center of rotation and a translation instead of an offset.

As derived instances of this class are specializations of an affine transform, any two of these transformations may be composed and the result is an affine transformation. However, the order is important. Given two affine transformations T1 and T2, we will say that "precomposing T1 with T2" yields the transformation which applies T1 to the source, and then applies T2 to that result to obtain the target. Conversely, we will say that "postcomposing T1 with T2" yields the transformation which applies T2 to the source, and then applies T1 to that result to obtain the target. (Whether T1 or T2 comes first lexicographically depends on whether you choose to write mappings from right-to-left or vice versa; we avoid the whole problem by referring to the order of application rather than the textual order.)

Template Parameters
ScalarTThe type to be used for scalar numeric values. Either float or double.
NInputDimensionsThe number of dimensions of the input vector space.
NOutputDimensionsThe number of dimensions of the output vector space.

This class provides several methods for setting the matrix and offset defining the transform. To support the registration framework, the transform parameters can also be set as an Array<double> of size (NInputDimension + 1) * NOutputDimension using method SetParameters(). The first (NOutputDimension x NInputDimension) parameters defines the matrix in row-major order (where the column index varies the fastest). The last NOutputDimension parameters defines the translation in each dimensions.

Definition at line 76 of file itkMatrixOffsetTransformBase.h.

Public Types

typedef InputPointType CenterType
 
typedef SmartPointer< const SelfConstPointer
 
typedef
Superclass::InputDiffusionTensor3DType 
InputDiffusionTensor3DType
 
typedef
Superclass::InputSymmetricSecondRankTensorType 
InputSymmetricSecondRankTensorType
 
typedef CovariantVector
< TScalar,
InputDiffusionTensor3DType::Dimension > 
InputTensorEigenVectorType
 
typedef
Superclass::InputVectorPixelType 
InputVectorPixelType
 
typedef Matrix< TScalar,
itkGetStaticConstMacro(InputSpaceDimension),
itkGetStaticConstMacro(OutputSpaceDimension)> 
InverseMatrixType
 
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
 
typedef
Superclass::InverseTransformBaseType 
InverseTransformBaseType
 
typedef Superclass::JacobianType JacobianType
 
typedef OutputVectorType OffsetType
 
typedef OffsetType::ValueType OffsetValueType
 
typedef
Superclass::OutputDiffusionTensor3DType 
OutputDiffusionTensor3DType
 
typedef
Superclass::OutputSymmetricSecondRankTensorType 
OutputSymmetricSecondRankTensorType
 
typedef
Superclass::OutputVectorPixelType 
OutputVectorPixelType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef Superclass::ScalarType ScalarType
 
typedef MatrixOffsetTransformBase Self
 
typedef Transform< TScalar,
NInputDimensions,
NOutputDimensions > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
typedef OutputVectorType TranslationType
 
typedef TranslationType::ValueType TranslationValueType
 
typedef Vector< TScalar,
itkGetStaticConstMacro(InputSpaceDimension)> 
InputVectorType
 
typedef Vector< TScalar,
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputVectorType
 
typedef OutputVectorType::ValueType OutputVectorValueType
 
typedef CovariantVector
< TScalar,
itkGetStaticConstMacro(InputSpaceDimension)> 
InputCovariantVectorType
 
typedef CovariantVector
< TScalar,
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputCovariantVectorType
 
typedef vnl_vector_fixed
< TScalar,
itkGetStaticConstMacro(InputSpaceDimension)> 
InputVnlVectorType
 
typedef vnl_vector_fixed
< TScalar,
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputVnlVectorType
 
typedef Point< TScalar,
itkGetStaticConstMacro(InputSpaceDimension)> 
InputPointType
 
typedef InputPointType::ValueType InputPointValueType
 
typedef Point< TScalar,
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputPointType
 
typedef OutputPointType::ValueType OutputPointValueType
 
typedef Matrix< TScalar,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
MatrixType
 
typedef MatrixType::ValueType MatrixValueType
 
- Public Types inherited from itk::Transform< TScalar, NInputDimensions, NOutputDimensions >
typedef SmartPointer< const SelfConstPointer
 
typedef Array
< ParametersValueType
DerivativeType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
DirectionChangeMatrix
 
typedef CovariantVector
< TScalar, NInputDimensions > 
InputCovariantVectorType
 
typedef DiffusionTensor3D
< TScalar > 
InputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(InputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
InputDirectionMatrix
 
typedef Point< TScalar,
NInputDimensions > 
InputPointType
 
typedef
SymmetricSecondRankTensor
< TScalar, NInputDimensions > 
InputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TScalar > 
InputVectorPixelType
 
typedef Vector< TScalar,
NInputDimensions > 
InputVectorType
 
typedef vnl_vector_fixed
< TScalar, NInputDimensions > 
InputVnlVectorType
 
typedef
InverseTransformBaseType::Pointer 
InverseTransformBasePointer
 
typedef Transform< TScalar,
NOutputDimensions,
NInputDimensions > 
InverseTransformBaseType
 
typedef Array2D
< ParametersValueType
JacobianType
 
typedef Matrix< TScalar,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(InputSpaceDimension)> 
MatrixType
 
typedef
Superclass::NumberOfParametersType 
NumberOfParametersType
 
typedef CovariantVector
< TScalar, NOutputDimensions > 
OutputCovariantVectorType
 
typedef DiffusionTensor3D
< TScalar > 
OutputDiffusionTensor3DType
 
typedef Matrix< double,
itkGetStaticConstMacro(OutputSpaceDimension),
itkGetStaticConstMacro(OutputSpaceDimension)> 
OutputDirectionMatrix
 
typedef Point< TScalar,
NOutputDimensions > 
OutputPointType
 
typedef
SymmetricSecondRankTensor
< TScalar, NOutputDimensions > 
OutputSymmetricSecondRankTensorType
 
typedef VariableLengthVector
< TScalar > 
OutputVectorPixelType
 
typedef Vector< TScalar,
NOutputDimensions > 
OutputVectorType
 
typedef vnl_vector_fixed
< TScalar, NOutputDimensions > 
OutputVnlVectorType
 
typedef Superclass::ParametersType ParametersType
 
typedef
Superclass::ParametersValueType 
ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TScalar ScalarType
 
typedef Transform Self
 
typedef TransformBaseTemplate
< TScalar > 
Superclass
 
typedef
Superclass::TransformCategoryType 
TransformCategoryType
 
- Public Types inherited from itk::TransformBaseTemplate< TScalar >
typedef SmartPointer< const SelfConstPointer
 
typedef IdentifierType NumberOfParametersType
 
typedef OptimizerParameters
< ParametersValueType
ParametersType
 
typedef TScalar ParametersValueType
 
typedef SmartPointer< SelfPointer
 
typedef TransformBaseTemplate Self
 
typedef Object Superclass
 
enum  TransformCategoryType {
  UnknownTransformCategory =0,
  Linear =1,
  BSpline =2,
  Spline =3,
  DisplacementField =4,
  VelocityField =5
}
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

void Compose (const Self *other, bool pre=0)
 
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jac) const
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &x, JacobianType &j) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jac) const
 
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const InputPointTypeGetCenter () const
 
virtual const ParametersTypeGetFixedParameters (void) const
 
virtual InverseTransformBasePointer GetInverseTransform () const
 
virtual const MatrixTypeGetMatrix () const
 
virtual const char * GetNameOfClass () const
 
const OutputVectorTypeGetOffset (void) const
 
const ParametersTypeGetParameters (void) const
 
virtual TransformCategoryType GetTransformCategory () const
 
const OutputVectorTypeGetTranslation (void) const
 
virtual bool IsLinear () const
 
virtual void SetFixedParameters (const ParametersType &)
 
virtual void SetIdentity (void)
 
void SetParameters (const ParametersType &parameters)
 
OutputCovariantVectorType TransformCovariantVector (const InputCovariantVectorType &vector) const
 
OutputVectorPixelType TransformCovariantVector (const InputVectorPixelType &vector) const
 
OutputDiffusionTensor3DType TransformDiffusionTensor3D (const InputDiffusionTensor3DType &tensor) const
 
OutputVectorPixelType TransformDiffusionTensor3D (const InputVectorPixelType &tensor) const
 
OutputPointType TransformPoint (const InputPointType &point) const
 
OutputSymmetricSecondRankTensorType TransformSymmetricSecondRankTensor (const InputSymmetricSecondRankTensorType &tensor) const
 
OutputVectorPixelType TransformSymmetricSecondRankTensor (const InputVectorPixelType &tensor) const
 
OutputVectorType TransformVector (const InputVectorType &vector) const
 
OutputVnlVectorType TransformVector (const InputVnlVectorType &vector) const
 
OutputVectorPixelType TransformVector (const InputVectorPixelType &vector) const
 
virtual void SetMatrix (const MatrixType &matrix)
 
void SetOffset (const OutputVectorType &offset)
 
void SetCenter (const InputPointType &center)
 
void SetTranslation (const OutputVectorType &translation)
 
bool GetInverse (Self *inverse) const
 
- Public Member Functions inherited from itk::Transform< TScalar, NInputDimensions, NOutputDimensions >
virtual void ComputeInverseJacobianWithRespectToPosition (const InputPointType &x, JacobianType &jacobian) const
 
virtual void ComputeJacobianWithRespectToParameters (const InputPointType &, JacobianType &) const =0
 
virtual void ComputeJacobianWithRespectToParametersCachedTemporaries (const InputPointType &p, JacobianType &jacobian, JacobianType &) const
 
virtual void ComputeJacobianWithRespectToPosition (const InputPointType &, JacobianType &) const
 
unsigned int GetInputSpaceDimension (void) const
 
bool GetInverse (Self *) const
 
virtual NumberOfParametersType GetNumberOfLocalParameters (void) const
 
virtual NumberOfParametersType GetNumberOfParameters (void) const
 
unsigned int GetOutputSpaceDimension (void) const
 
virtual std::string GetTransformTypeAsString () const
 
 itkCloneMacro (Self)
 
virtual void SetFixedParameters (const ParametersType &)=0
 
virtual void SetParameters (const ParametersType &)=0
 
virtual void SetParametersByValue (const ParametersType &p)
 
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, TScalar factor=1.0)
 
- Public Member Functions inherited from itk::TransformBaseTemplate< TScalar >
virtual void SetParametersByValue (const ParametersType &p)=0
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary (void)
 
const MetaDataDictionaryGetMetaDataDictionary (void) 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
 
virtual void Register () const ITK_OVERRIDE
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetReferenceCount (int) ITK_OVERRIDE
 
virtual void UnRegister () const ITK_OVERRIDE
 
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 Member Functions

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 const unsigned int InputSpaceDimension = NInputDimensions
 
static const unsigned int OutputSpaceDimension = NOutputDimensions
 
static const unsigned int ParametersDimension = NOutputDimensions * ( NInputDimensions + 1 )
 
- Static Public Attributes inherited from itk::Transform< TScalar, NInputDimensions, NOutputDimensions >
static const unsigned int InputSpaceDimension = NInputDimensions
 
static const unsigned int OutputSpaceDimension = NOutputDimensions
 

Protected Member Functions

virtual void ComputeMatrix (void)
 
virtual void ComputeMatrixParameters (void)
 
virtual void ComputeOffset (void)
 
virtual void ComputeTranslation (void)
 
const InverseMatrixTypeGetInverseMatrix (void) const
 
const InverseMatrixTypeGetVarInverseMatrix (void) const
 
bool InverseMatrixIsOld (void) const
 
void PrintSelf (std::ostream &s, Indent indent) const
 
void SetVarCenter (const InputPointType &center)
 
void SetVarInverseMatrix (const InverseMatrixType &matrix) const
 
void SetVarMatrix (const MatrixType &matrix)
 
void SetVarOffset (const OutputVectorType &offset)
 
void SetVarTranslation (const OutputVectorType &translation)
 
virtual ~MatrixOffsetTransformBase ()
 
 MatrixOffsetTransformBase (const MatrixType &matrix, const OutputVectorType &offset)
 
 MatrixOffsetTransformBase (unsigned int paramDims)
 
 MatrixOffsetTransformBase ()
 
- Protected Member Functions inherited from itk::Transform< TScalar, NInputDimensions, NOutputDimensions >
virtual LightObject::Pointer InternalClone () const
 
OutputDiffusionTensor3DType PreservationOfPrincipalDirectionDiffusionTensor3DReorientation (const InputDiffusionTensor3DType, const JacobianType) const
 
 Transform ()
 
 Transform (NumberOfParametersType NumberOfParameters)
 
virtual ~Transform ()
 
- Protected Member Functions inherited from itk::TransformBaseTemplate< TScalar >
 TransformBaseTemplate ()
 
virtual ~TransformBaseTemplate ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- 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 ()
 

Private Member Functions

 MatrixOffsetTransformBase (const Self &other)
 
const Selfoperator= (const Self &)
 

Private Attributes

InputPointType m_Center
 
InverseMatrixType m_InverseMatrix
 
TimeStamp m_InverseMatrixMTime
 
MatrixType m_Matrix
 
TimeStamp m_MatrixMTime
 
OutputVectorType m_Offset
 
bool m_Singular
 
OutputVectorType m_Translation
 

Additional Inherited Members

- Protected Types inherited from itk::LightObject
typedef int InternalReferenceCountType
 
- Protected Attributes inherited from itk::Transform< TScalar, NInputDimensions, NOutputDimensions >
DirectionChangeMatrix m_DirectionChange
 
ParametersType m_FixedParameters
 
ParametersType m_Parameters
 
- Protected Attributes inherited from itk::LightObject
InternalReferenceCountType m_ReferenceCount
 
SimpleFastMutexLock m_ReferenceCountLock
 

Member Typedef Documentation

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef InputPointType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::CenterType

Definition at line 182 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef SmartPointer<const Self> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ConstPointer

Definition at line 87 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef CovariantVector<TScalar, itkGetStaticConstMacro(InputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputCovariantVectorType

Standard covariant vector type for this class

Definition at line 126 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::InputDiffusionTensor3DType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputDiffusionTensor3DType

Standard diffusion tensor type for this class

Definition at line 137 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Point<TScalar, itkGetStaticConstMacro(InputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputPointType

Standard coordinate point type for this class

Definition at line 162 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef InputPointType::ValueType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputPointValueType

Standard coordinate point type for this class

Definition at line 163 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::InputSymmetricSecondRankTensorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputSymmetricSecondRankTensorType

Standard tensor type for this class

Definition at line 143 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef CovariantVector<TScalar, InputDiffusionTensor3DType::Dimension> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputTensorEigenVectorType

Definition at line 148 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::InputVectorPixelType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputVectorPixelType

Definition at line 132 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Vector<TScalar, itkGetStaticConstMacro(InputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputVectorType

Standard vector type for this class

Definition at line 117 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef vnl_vector_fixed<TScalar, itkGetStaticConstMacro(InputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputVnlVectorType

Standard vnl_vector type for this class

Definition at line 153 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Matrix<TScalar, itkGetStaticConstMacro(InputSpaceDimension), itkGetStaticConstMacro(OutputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InverseMatrixType

Standard inverse matrix type for this class

Definition at line 180 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef InverseTransformBaseType::Pointer itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InverseTransformBasePointer

Definition at line 194 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::InverseTransformBaseType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::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 193 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::JacobianType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::JacobianType

Jacobian Type

Definition at line 107 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Matrix<TScalar, itkGetStaticConstMacro(OutputSpaceDimension), itkGetStaticConstMacro(InputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::MatrixType

Standard matrix type for this class

Definition at line 173 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef MatrixType::ValueType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::MatrixValueType

Standard matrix type for this class

Definition at line 174 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef OutputVectorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OffsetType

Definition at line 184 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef OffsetType::ValueType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OffsetValueType

Definition at line 185 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef CovariantVector<TScalar, itkGetStaticConstMacro(OutputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputCovariantVectorType

Standard covariant vector type for this class

Definition at line 129 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::OutputDiffusionTensor3DType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputDiffusionTensor3DType

Definition at line 139 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Point<TScalar, itkGetStaticConstMacro(OutputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputPointType

Standard coordinate point type for this class

Definition at line 166 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef OutputPointType::ValueType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputPointValueType

Standard coordinate point type for this class

Definition at line 167 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::OutputSymmetricSecondRankTensorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputSymmetricSecondRankTensorType

Definition at line 145 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::OutputVectorPixelType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputVectorPixelType

Definition at line 133 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Vector<TScalar, itkGetStaticConstMacro(OutputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputVectorType

Standard vector type for this class

Definition at line 119 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef OutputVectorType::ValueType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputVectorValueType

Standard vector type for this class

Definition at line 120 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef vnl_vector_fixed<TScalar, itkGetStaticConstMacro(OutputSpaceDimension)> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputVnlVectorType

Standard vnl_vector type for this class

Definition at line 156 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::ParametersType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ParametersType

Parameters Type

Definition at line 103 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::ParametersValueType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ParametersValueType

Definition at line 104 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef SmartPointer<Self> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::Pointer

Definition at line 86 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::ScalarType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ScalarType

Standard scalar type for this class

Definition at line 113 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef MatrixOffsetTransformBase itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::Self

Standard typedefs

Definition at line 81 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Transform<TScalar, NInputDimensions, NOutputDimensions> itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::Superclass

Definition at line 84 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef Superclass::TransformCategoryType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformCategoryType

Transform category type.

Definition at line 110 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef OutputVectorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TranslationType

Definition at line 187 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
typedef TranslationType::ValueType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TranslationValueType

Definition at line 189 of file itkMatrixOffsetTransformBase.h.

Constructor & Destructor Documentation

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::MatrixOffsetTransformBase ( const MatrixType matrix,
const OutputVectorType offset 
)
protected

Construct an MatrixOffsetTransformBase object

This method constructs a new MatrixOffsetTransformBase object and
initializes the matrix and offset parts of the transformation
to values specified by the caller.  If the arguments are
omitted, then the MatrixOffsetTransformBase is initialized to an identity
transformation in the appropriate number of dimensions.  
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::MatrixOffsetTransformBase ( unsigned int  paramDims)
protected

Construct an MatrixOffsetTransformBase object

This method constructs a new MatrixOffsetTransformBase object and
initializes the matrix and offset parts of the transformation
to values specified by the caller.  If the arguments are
omitted, then the MatrixOffsetTransformBase is initialized to an identity
transformation in the appropriate number of dimensions.  
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::MatrixOffsetTransformBase ( )
protected

Construct an MatrixOffsetTransformBase object

This method constructs a new MatrixOffsetTransformBase object and
initializes the matrix and offset parts of the transformation
to values specified by the caller.  If the arguments are
omitted, then the MatrixOffsetTransformBase is initialized to an identity
transformation in the appropriate number of dimensions.  
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::~MatrixOffsetTransformBase ( )
protectedvirtual

Destroy an MatrixOffsetTransformBase object

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::MatrixOffsetTransformBase ( const Self other)
private

Member Function Documentation

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::Compose ( const Self other,
bool  pre = 0 
)

Compose with another MatrixOffsetTransformBase

This method composes self with another MatrixOffsetTransformBase of the same dimension, modifying self to be the composition of self and other. If the argument pre is true, then other is precomposed with self; that is, the resulting transformation consists of first applying other to the source, followed by self. If pre is false or omitted, then other is post-composed with self; that is the resulting transformation consists of first applying self to the source, followed by other. This updates the Translation based on current center.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ComputeInverseJacobianWithRespectToPosition ( const InputPointType x,
JacobianType jac 
) const
virtual

Get the jacobian with respect to position. This simply returns the inverse of the current Matrix. jac will be resized as needed, but it's more efficient if it's already properly sized.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ComputeJacobianWithRespectToParameters ( const InputPointType x,
JacobianType j 
) 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. Get local Jacobian for the given point j will sized properly as needed.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ComputeJacobianWithRespectToPosition ( const InputPointType x,
JacobianType jac 
) const
virtual

Get the jacobian with respect to position. This simply returns the current Matrix. jac will be resized as needed, but it's more efficient if it's already properly sized.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ComputeMatrix ( void  )
protectedvirtual
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ComputeMatrixParameters ( void  )
protectedvirtual
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ComputeOffset ( void  )
protectedvirtual
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ComputeTranslation ( void  )
protectedvirtual
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual::itk::LightObject::Pointer itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::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::Object.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const InputPointType& itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetCenter ( void  ) const
inline

Get center of rotation of the MatrixOffsetTransformBase

This method returns the point used as the fixed center of rotation for the MatrixOffsetTransformBase. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 300 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual const ParametersType& itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetFixedParameters ( void  ) const
virtual
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
bool itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetInverse ( Self inverse) const

Create inverse of an affine transformation

This populates the parameters an affine transform such that
the transform is the inverse of self. If self is not invertible,
an exception is thrown.
Note that by default the inverese transform is centered at
the origin. If you need to compute the inverse centered at a point, p,
* transform2->SetCenter( p );
* transform1->GetInverse( transform2 );
*

transform2 will now contain the inverse of transform1 and will with its center set to p. Flipping the two statements will produce an incorrect transform.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const InverseMatrixType& itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetInverseMatrix ( void  ) const
protected
Deprecated:
Use GetInverse for public API instead. Method will eventually be made a protected member function
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual InverseTransformBasePointer itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetInverseTransform ( ) const
virtual
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual const MatrixType& itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetMatrix ( void  ) const
inlinevirtual

Get matrix of an MatrixOffsetTransformBase

This method returns the value of the matrix of the MatrixOffsetTransformBase. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 235 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual const char* itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetNameOfClass ( ) const
virtual
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const OutputVectorType& itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetOffset ( void  ) const
inline

Get offset of an MatrixOffsetTransformBase

This method returns the offset value of the MatrixOffsetTransformBase. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 260 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const ParametersType& itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetParameters ( void  ) const
virtual

Get the Transformation Parameters.

Reimplemented from itk::Transform< TScalar, NInputDimensions, NOutputDimensions >.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual TransformCategoryType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetTransformCategory ( ) const
inlinevirtual

Indicates the category transform. e.g. an affine transform, or a local one, e.g. a deformation field.

Reimplemented from itk::Transform< TScalar, NInputDimensions, NOutputDimensions >.

Definition at line 204 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const OutputVectorType& itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetTranslation ( void  ) const
inline

Get translation component of the MatrixOffsetTransformBase

This method returns the translation used after rotation about the center point. To define an affine transform, you must set the matrix, center, and translation OR the matrix and offset

Definition at line 324 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const InverseMatrixType& itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::GetVarInverseMatrix ( void  ) const
inlineprotected

Definition at line 477 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
bool itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InverseMatrixIsOld ( void  ) const
inlineprotected

Definition at line 485 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual bool itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::IsLinear ( ) const
inlinevirtual

Indicates that this transform is linear. That is, given two points P and Q, and scalar coefficients a and b, then

      T( a*P + b*Q ) = a * T(P) + b * T(Q)

Reimplemented from itk::Transform< TScalar, NInputDimensions, NOutputDimensions >.

Reimplemented in itk::ScaleTransform< TScalar, NDimensions >.

Definition at line 442 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
static Pointer itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::New ( )
static

New macro for creation of through a Smart Pointer

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const Self& itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::operator= ( const Self )
private
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::PrintSelf ( std::ostream &  s,
Indent  indent 
) const
protectedvirtual

Print contents of an MatrixOffsetTransformBase

Reimplemented from itk::Object.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetCenter ( const InputPointType center)
inline

Set center of rotation of an MatrixOffsetTransformBase

This method sets the center of rotation of an MatrixOffsetTransformBase
to a fixed point - for most transforms derived from this class,
this point is not a "parameter" of the transform - the exception is that
"centered" transforms have center as a parameter during optimization.

This method updates offset wrt to current translation and matrix.
That is, changing the center changes the transform!

WARNING: When using the Center, we strongly recommend only changing the
matrix and translation to define a transform.   Changing a transform's
center, changes the mapping between spaces - specifically, translation is
not changed with respect to that new center, and so the offset is updated
to * maintain the consistency with translation.   If a center is not used,
or is set before the matrix and the offset, then it is safe to change the
offset directly.
       As a rule of thumb, if you wish to set the center explicitly, set
before Offset computations are done.

To define an affine transform, you must set the matrix,
center, and translation OR the matrix and offset  

Definition at line 287 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetFixedParameters ( const ParametersType )
virtual
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetIdentity ( void  )
virtual
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
virtual void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetMatrix ( const MatrixType matrix)
inlinevirtual

Set matrix of an MatrixOffsetTransformBase

This method sets the matrix of an MatrixOffsetTransformBase to a
value specified by the user.

This updates the Offset wrt to current translation
and center.  See the warning regarding offset-versus-translation
in the documentation for SetCenter.

To define an affine transform, you must set the matrix,
center, and translation OR the matrix and offset  

Definition at line 220 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetOffset ( const OutputVectorType offset)
inline

Set offset (origin) of an MatrixOffset TransformBase.

This method sets the offset of an MatrixOffsetTransformBase to a
value specified by the user.
This updates Translation wrt current center.  See the warning regarding
offset-versus-translation in the documentation for SetCenter.
To define an affine transform, you must set the matrix,
center, and translation OR the matrix and offset  

Definition at line 248 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetParameters ( const ParametersType parameters)
virtual

Set the transformation from a container of parameters. The first (NOutputDimension x NInputDimension) parameters define the matrix and the last NOutputDimension parameters the translation. Offset is updated based on current center.

Implements itk::TransformBaseTemplate< TScalar >.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetTranslation ( const OutputVectorType translation)
inline

Set translation of an MatrixOffsetTransformBase

This method sets the translation of an MatrixOffsetTransformBase.
This updates Offset to reflect current translation.
To define an affine transform, you must set the matrix,
center, and translation OR the matrix and offset  

Definition at line 311 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetVarCenter ( const InputPointType center)
inlineprotected

Definition at line 520 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetVarInverseMatrix ( const InverseMatrixType matrix) const
inlineprotected

Definition at line 481 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetVarMatrix ( const MatrixType matrix)
inlineprotected

Definition at line 501 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetVarOffset ( const OutputVectorType offset)
inlineprotected

Definition at line 515 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
void itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::SetVarTranslation ( const OutputVectorType translation)
inlineprotected

Definition at line 508 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputCovariantVectorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformCovariantVector ( const InputCovariantVectorType vector) const
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputVectorPixelType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformCovariantVector ( const InputVectorPixelType vector) const
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputDiffusionTensor3DType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformDiffusionTensor3D ( const InputDiffusionTensor3DType tensor) const
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputVectorPixelType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformDiffusionTensor3D ( const InputVectorPixelType tensor) const
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputPointType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformPoint ( const InputPointType point) const

Transform by an affine transformation

This method applies the affine transform given by self to a given point or vector, returning the transformed point or vector. The TransformPoint method transforms its argument as an affine point, whereas the TransformVector method transforms its argument as a vector.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputSymmetricSecondRankTensorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformSymmetricSecondRankTensor ( const InputSymmetricSecondRankTensorType tensor) const
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputVectorPixelType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformSymmetricSecondRankTensor ( const InputVectorPixelType tensor) const
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputVectorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformVector ( const InputVectorType vector) const
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputVnlVectorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformVector ( const InputVnlVectorType vector) const
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputVectorPixelType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::TransformVector ( const InputVectorPixelType vector) const

Member Data Documentation

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const unsigned int itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::InputSpaceDimension = NInputDimensions
static

Dimension of the domain space.

Definition at line 96 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
InputPointType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::m_Center
private
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
InverseMatrixType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::m_InverseMatrix
mutableprivate
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
TimeStamp itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::m_InverseMatrixMTime
mutableprivate
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
MatrixType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::m_Matrix
private
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
TimeStamp itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::m_MatrixMTime
private
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputVectorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::m_Offset
private
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
bool itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::m_Singular
mutableprivate

Definition at line 533 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
OutputVectorType itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::m_Translation
private
template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const unsigned int itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::OutputSpaceDimension = NOutputDimensions
static

Dimension of the domain space.

Definition at line 97 of file itkMatrixOffsetTransformBase.h.

template<typename TScalar = double, unsigned int NInputDimensions = 3, unsigned int NOutputDimensions = 3>
const unsigned int itk::MatrixOffsetTransformBase< TScalar, NInputDimensions, NOutputDimensions >::ParametersDimension = NOutputDimensions * ( NInputDimensions + 1 )
static

Dimension of the domain space.

Definition at line 99 of file itkMatrixOffsetTransformBase.h.


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