#include <irtkHomogeneousTransformationIterator.h>


This class implements a fast access iterator 3D for homogeneous matrix transformations.
NOTE: This class has NO copy constructor
Definition at line 26 of file irtkHomogeneousTransformationIterator.h.
Public Member Functions | |
| irtkHomogeneousTransformationIterator (irtkHomogeneousTransformation *=NULL) | |
| Constructor. | |
| void | Initialize (irtkBaseImage *target, irtkBaseImage *source, double x=0, double y=0, double z=0) |
| Initialize iterator. | |
| void | NextX () |
| Advance iterator in x-direction. | |
| void | NextX (double) |
| Advance iterator in x-direction by a certain amount. | |
| void | NextY () |
| Advance iterator in y-direction. | |
| void | NextY (double) |
| Advance iterator in y-direction by a certain amount. | |
| void | NextZ () |
| Advance iterator in z-direction. | |
| void | NextZ (double) |
| Advance iterator in z-direction by a certain amount. | |
| void | SetTransformation (irtkHomogeneousTransformation *pTransformation) |
| Sets the transformation for the iterator. | |
Public Attributes | |
| double | _xx |
| Current x,y,z position in x-direction. | |
| double | _xy |
| double | _xz |
| double | _yx |
| Current x,y,z position in y-direction. | |
| double | _yy |
| double | _yz |
| double | _zx |
| Current x,y,z position in z-direction. | |
| double | _zy |
| double | _zz |
| double | _xdx |
| Current x,y,z offsets in x-direction. | |
| double | _xdy |
| double | _xdz |
| double | _ydx |
| Current x,y,z offsets in y-direction. | |
| double | _ydy |
| double | _ydz |
| double | _zdx |
| Current x,y,z offsets in z-direction. | |
| double | _zdy |
| double | _zdz |
| void irtkHomogeneousTransformationIterator::Initialize | ( | irtkBaseImage * | target, | |
| irtkBaseImage * | source, | |||
| double | x = 0, |
|||
| double | y = 0, |
|||
| double | z = 0 | |||
| ) | [inline] |
Initialize iterator.
This function initializes the transformation iterator at point x, y, z with voxel offsets 1, 1, 1
Definition at line 86 of file irtkHomogeneousTransformationIterator.h.
References irtkPoint::_x, _xdx, _xx, irtkPoint::_y, _ydx, _yx, irtkPoint::_z, _zdx, _zx, irtkBaseImage::GetImageToWorldMatrix(), and irtkBaseImage::GetWorldToImageMatrix().
| void irtkHomogeneousTransformationIterator::SetTransformation | ( | irtkHomogeneousTransformation * | pTransformation | ) | [inline] |
Sets the transformation for the iterator.
Definition at line 118 of file irtkHomogeneousTransformationIterator.h.