aimstil  5.0.5
til::Affine< T > Class Template Reference

A affine mathematical object. More...

#include <til/AffineTransform.h>

Inheritance diagram for til::Affine< T >:

Public Member Functions

 Affine ()
 
 Affine (const Matrix3< T > &m, const numeric_array< T, 3 > &transl)
 
const Matrix3< T > & getMatrix () const
 
const numeric_array< T, 3 > & getTransl () const
 
Matrix3< T > & getMatrix ()
 
numeric_array< T, 3 > & getTransl ()
 
void setMatrix (const Matrix3< T > &m)
 
void setTransl (const numeric_array< T, 3 > &transl)
 
void reset ()
 

Detailed Description

template<typename T>
class til::Affine< T >

A affine mathematical object.

Note that this object represents a mathematical object, not a coordinate transform between images. Indeed, a mathematical affine transform is completely independant of images and knows nothing about them. On the other hand, an affine coordinate transform between images has to be able to deal with such things as world/volume coordinates, and have standardized API with other types of mapping to be able to template over such types. For affine coordinate transforms, see AffineMap

Definition at line 29 of file AffineTransform.h.

Constructor & Destructor Documentation

◆ Affine() [1/2]

template<typename T>
til::Affine< T >::Affine ( )
inline

Definition at line 34 of file AffineTransform.h.

◆ Affine() [2/2]

template<typename T>
til::Affine< T >::Affine ( const Matrix3< T > &  m,
const numeric_array< T, 3 > &  transl 
)
inline

Definition at line 35 of file AffineTransform.h.

Member Function Documentation

◆ getMatrix() [1/2]

template<typename T>
const Matrix3<T>& til::Affine< T >::getMatrix ( ) const
inline

◆ getMatrix() [2/2]

template<typename T>
Matrix3<T>& til::Affine< T >::getMatrix ( )
inline

Definition at line 43 of file AffineTransform.h.

◆ getTransl() [1/2]

template<typename T>
const numeric_array<T,3>& til::Affine< T >::getTransl ( ) const
inline

◆ getTransl() [2/2]

template<typename T>
numeric_array<T,3>& til::Affine< T >::getTransl ( )
inline

Definition at line 44 of file AffineTransform.h.

◆ reset()

template<typename T>
void til::Affine< T >::reset ( )
inline

Definition at line 52 of file AffineTransform.h.

Referenced by til::computeAffineTransformBetween().

◆ setMatrix()

template<typename T>
void til::Affine< T >::setMatrix ( const Matrix3< T > &  m)
inline

Definition at line 46 of file AffineTransform.h.

◆ setTransl()

template<typename T>
void til::Affine< T >::setTransl ( const numeric_array< T, 3 > &  transl)
inline

Definition at line 47 of file AffineTransform.h.


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