#include <mlTSubImage.h>

Public Member Functions | |
| TSubImageCursor (TSubImage< DATATYPE > &subImage) | |
Getting the cursor position as pointer to data. | |
| DATATYPE * | getPointer () const |
| Returns current cursor position (i.e., return the memory address of the voxel the cursor points to). | |
| DATATYPE * | getPointerWithOffset (const ImageVector &offset) const |
Returns cursor position of voxel given from current cursor shifted by offset. | |
| DATATYPE * | getPointerWithOffset (MLint dx, MLint dy, MLint dz) const |
Returns cursor position of voxel given from current cursor shifted by (dx, dy, dz). | |
Set voxel values at cursor position. | |
| void | setValue (DATATYPE value) const |
Sets voxel value at cursor position to value. | |
| void | setValueWithOffset (const ImageVector &offset, DATATYPE value) const |
Sets voxel value at (cursor position + offset) to value. | |
| void | setValueWithOffset (MLint dx, MLint dy, MLint dz, DATATYPE value) const |
Sets voxel value at (cursor position + (dx, dy, dz)) to value. | |
Deprecated | |
| DATATYPE * | getCursorPos () const |
| DATATYPE * | getCursorPos (const ImageVector &dp) const |
| DATATYPE * | getCursorPos (MLint dx, MLint dy, MLint dz) const |
| void | setCursorVal (DATATYPE val) const |
| void | setCursorVal (const ImageVector &dp, DATATYPE val) const |
| void | setCursorVal (MLint dx, MLint dy, MLint dz, DATATYPE val) const |
Definition at line 1743 of file mlTSubImage.h.
| ml::TSubImageCursor< DATATYPE >::TSubImageCursor | ( | TSubImage< DATATYPE > & | subImage | ) | [inline] |
Definition at line 1749 of file mlTSubImage.h.
| DATATYPE* ml::TSubImageCursor< DATATYPE >::getCursorPos | ( | MLint | dx, | |
| MLint | dy, | |||
| MLint | dz | |||
| ) | const [inline] |
| DATATYPE* ml::TSubImageCursor< DATATYPE >::getCursorPos | ( | const ImageVector & | dp | ) | const [inline] |
| DATATYPE* ml::TSubImageCursor< DATATYPE >::getCursorPos | ( | ) | const [inline] |
| DATATYPE* ml::TSubImageCursor< DATATYPE >::getPointer | ( | ) | const [inline] |
Returns current cursor position (i.e., return the memory address of the voxel the cursor points to).
Definition at line 1757 of file mlTSubImage.h.
Referenced by ml::TSubImage< DATATYPE >::fillBordersWithInputValues().
| DATATYPE* ml::TSubImageCursor< DATATYPE >::getPointerWithOffset | ( | MLint | dx, | |
| MLint | dy, | |||
| MLint | dz | |||
| ) | const [inline] |
Returns cursor position of voxel given from current cursor shifted by (dx, dy, dz).
Definition at line 1761 of file mlTSubImage.h.
| DATATYPE* ml::TSubImageCursor< DATATYPE >::getPointerWithOffset | ( | const ImageVector & | offset | ) | const [inline] |
Returns cursor position of voxel given from current cursor shifted by offset.
Definition at line 1759 of file mlTSubImage.h.
| void ml::TSubImageCursor< DATATYPE >::setCursorVal | ( | MLint | dx, | |
| MLint | dy, | |||
| MLint | dz, | |||
| DATATYPE | val | |||
| ) | const [inline] |
| void ml::TSubImageCursor< DATATYPE >::setCursorVal | ( | const ImageVector & | dp, | |
| DATATYPE | val | |||
| ) | const [inline] |
| void ml::TSubImageCursor< DATATYPE >::setCursorVal | ( | DATATYPE | val | ) | const [inline] |
| void ml::TSubImageCursor< DATATYPE >::setValue | ( | DATATYPE | value | ) | const [inline] |
Sets voxel value at cursor position to value.
Definition at line 1773 of file mlTSubImage.h.
Referenced by ml::TSubImage< DATATYPE >::fillBordersWithBorderValues().
| void ml::TSubImageCursor< DATATYPE >::setValueWithOffset | ( | MLint | dx, | |
| MLint | dy, | |||
| MLint | dz, | |||
| DATATYPE | value | |||
| ) | const [inline] |
Sets voxel value at (cursor position + (dx, dy, dz)) to value.
Definition at line 1777 of file mlTSubImage.h.
| void ml::TSubImageCursor< DATATYPE >::setValueWithOffset | ( | const ImageVector & | offset, | |
| DATATYPE | value | |||
| ) | const [inline] |
Sets voxel value at (cursor position + offset) to value.
Definition at line 1775 of file mlTSubImage.h.
1.5.8