A transformation list. More...
#include <cmtkXformList.h>


Public Types | |
| typedef XformList | Self |
| This class. | |
| typedef SmartPointer< Self > | SmartPtr |
| Smart pointer. | |
| typedef SmartConstPointer< Self > | SmartConstPtr |
| Smart pointer to const. | |
Public Member Functions | |
| XformList (const Types::Coordinate epsilon=0.0) | |
| Constructor. | |
| void | SetEpsilon (const Types::Coordinate epsilon) |
| Set epsilon. | |
| void | Add (const Xform::SmartConstPtr &xform, const bool inverse=false, const Types::Coordinate globalScale=1.0) |
| Add a transformation the the end of the list, i.e., to be applied after the current list of transformations. | |
| void | AddToFront (const Xform::SmartConstPtr &xform, const bool inverse=false, const Types::Coordinate globalScale=1.0) |
| Add a transformation the the end of the list, i.e., to be applied before the current list of transformations. | |
| bool | ApplyInPlace (Xform::SpaceVectorType &v) const |
| Apply a sequence of (inverse) transformations. | |
| bool | GetJacobian (const Xform::SpaceVectorType &v, Types::DataItem &jacobian, const bool correctGlobalScale=true) const |
| Get the Jacobian determinant of a sequence of transformations. | |
| bool | AllAffine () const |
| Is this transformation list all affine? | |
| Self | MakeAllAffine () const |
| Make all-affine copy of this transformation list. | |
Private Attributes | |
| Types::Coordinate | m_Epsilon |
| Error threshold for inverse approximation. | |
A transformation list.
Definition at line 51 of file cmtkXformList.h.
| typedef XformList cmtk::XformList::Self |
This class.
Definition at line 61 of file cmtkXformList.h.
Smart pointer to const.
Definition at line 67 of file cmtkXformList.h.
| typedef SmartPointer<Self> cmtk::XformList::SmartPtr |
Smart pointer.
Definition at line 64 of file cmtkXformList.h.
| cmtk::XformList::XformList | ( | const Types::Coordinate | epsilon = 0.0 ) |
[inline] |
Constructor.
Definition at line 70 of file cmtkXformList.h.
| void cmtk::XformList::Add | ( | const Xform::SmartConstPtr & | xform, |
| const bool | inverse = false, |
||
| const Types::Coordinate | globalScale = 1.0 |
||
| ) |
Add a transformation the the end of the list, i.e., to be applied after the current list of transformations.
Definition at line 37 of file cmtkXformList.cxx.
Referenced by cmtk::XformListIO::MakeFromStringList().
| void cmtk::XformList::AddToFront | ( | const Xform::SmartConstPtr & | xform, |
| const bool | inverse = false, |
||
| const Types::Coordinate | globalScale = 1.0 |
||
| ) |
Add a transformation the the end of the list, i.e., to be applied before the current list of transformations.
Definition at line 44 of file cmtkXformList.cxx.
| bool cmtk::XformList::AllAffine | ( | ) | const |
Is this transformation list all affine?
Definition at line 137 of file cmtkXformList.cxx.
| bool cmtk::XformList::ApplyInPlace | ( | Xform::SpaceVectorType & | v ) | const |
Apply a sequence of (inverse) transformations.
Definition at line 50 of file cmtkXformList.cxx.
Referenced by cmtk::ReformatVolume::ReformatMasked(), and cmtk::ReformatVolume::ReformatUnmasked().
| bool cmtk::XformList::GetJacobian | ( | const Xform::SpaceVectorType & | v, |
| Types::DataItem & | jacobian, | ||
| const bool | correctGlobalScale = true |
||
| ) | const |
Get the Jacobian determinant of a sequence of transformations.
Definition at line 88 of file cmtkXformList.cxx.
Referenced by cmtk::ReformatVolume::Jacobian::operator()().
| cmtk::XformList cmtk::XformList::MakeAllAffine | ( | ) | const |
Make all-affine copy of this transformation list.
Definition at line 148 of file cmtkXformList.cxx.
| void cmtk::XformList::SetEpsilon | ( | const Types::Coordinate | epsilon ) | [inline] |
Set epsilon.
Definition at line 73 of file cmtkXformList.h.
Types::Coordinate cmtk::XformList::m_Epsilon [private] |
Error threshold for inverse approximation.
Definition at line 57 of file cmtkXformList.h.
1.7.2