ML Reference
|
Base class for all TSubImage Cursors. More...
#include <mlTSubImage.h>
Public Member Functions | |
Positioning and movement of voxel cursor. | |
void | setSubImagePosition (const ImageVector &position) |
Sets cursor to the given position relative to the origin of the subimage region. | |
void | setSubImagePosition (MLint x, MLint y, MLint z) |
Sets cursor to the given 3d position (x , y , z ) relative to the origin of the subimage region. | |
void | setImagePosition (const ImageVector &position) |
Sets cursor to the given 6d position relative to the origin of the complete image region. | |
void | setImagePosition (MLint x, MLint y, MLint z) |
Sets cursor to the given 3d position (x , y , z ) relative to the origin of the complete image region. | |
void | setPosition (const DATATYPE *pointer) |
Sets cursor to the given pointer where the pointer is the memory address of the voxel. | |
void | moveByOffset (const ImageVector &offset) |
Moves cursor to cursor position + offset . | |
void | moveByOffset (MLint x, MLint y, MLint z) |
Moves cursor to cursor position + (x , y , z ). | |
void | moveX () |
Moves cursor forward in x direction. | |
void | moveY () |
Moves cursor forward in y direction. | |
void | moveZ () |
Moves cursor forward in z direction. | |
void | moveC () |
Moves cursor forward in c direction. | |
void | moveT () |
Moves cursor forward in t direction. | |
void | moveU () |
Moves cursor forward in u direction. | |
void | reverseMoveX () |
Moves cursor backward in x direction. | |
void | reverseMoveY () |
Moves cursor backward in y direction. | |
void | reverseMoveZ () |
Moves cursor backward in z direction. | |
void | reverseMoveC () |
Moves cursor backward in c direction. | |
void | reverseMoveT () |
Moves cursor backward in t direction. | |
void | reverseMoveU () |
Moves cursor backward in u direction. | |
Get voxel values at cursor position. | |
DATATYPE | getValue () const |
Returns voxel value at cursor position. | |
DATATYPE | getValueWithOffset (const ImageVector &offset) const |
Returns voxel value at (cursor position + offset ). | |
DATATYPE | getValueWithOffset (MLint dx, MLint dy, MLint dz) const |
Return voxel value at (cursor position + (dx , dy , dz )) | |
Protected Member Functions | |
TSubImageCursorBase (const TSubImage< DATATYPE > &subImage) | |
Protected Attributes | |
DATATYPE * | _data |
SubImage data. | |
ImageVector | _subImageOffset |
SubImage offset in original image. | |
ImageVector | _stride |
Stride for the sub image. | |
DATATYPE * | _cursor |
Cursor address for image data access. | |
Base class for all TSubImage Cursors.
Definition at line 824 of file mlTSubImage.h.
|
inlineprotected |
Definition at line 828 of file mlTSubImage.h.
References ml::SubImage::getBox(), ml::TSubImage< DATATYPE >::getData(), ml::SubImage::getStride(), and ml::TSubImageBox< intT >::v1.
|
inline |
Returns voxel value at cursor position.
Definition at line 895 of file mlTSubImage.h.
|
inline |
Returns voxel value at (cursor position + offset
).
Definition at line 898 of file mlTSubImage.h.
|
inline |
Return voxel value at (cursor position + (dx
, dy
, dz
))
Definition at line 901 of file mlTSubImage.h.
|
inline |
Moves cursor to cursor position + offset
.
Definition at line 856 of file mlTSubImage.h.
|
inline |
Moves cursor to cursor position + (x
, y
, z
).
Definition at line 858 of file mlTSubImage.h.
|
inline |
Moves cursor forward in c direction.
Definition at line 866 of file mlTSubImage.h.
|
inline |
Moves cursor forward in t direction.
Definition at line 868 of file mlTSubImage.h.
|
inline |
Moves cursor forward in u direction.
Definition at line 870 of file mlTSubImage.h.
|
inline |
Moves cursor forward in x direction.
Definition at line 860 of file mlTSubImage.h.
|
inline |
Moves cursor forward in y direction.
Definition at line 862 of file mlTSubImage.h.
|
inline |
Moves cursor forward in z direction.
Definition at line 864 of file mlTSubImage.h.
|
inline |
Moves cursor backward in c direction.
Definition at line 878 of file mlTSubImage.h.
|
inline |
Moves cursor backward in t direction.
Definition at line 880 of file mlTSubImage.h.
|
inline |
Moves cursor backward in u direction.
Definition at line 882 of file mlTSubImage.h.
|
inline |
Moves cursor backward in x direction.
Definition at line 872 of file mlTSubImage.h.
|
inline |
Moves cursor backward in y direction.
Definition at line 874 of file mlTSubImage.h.
|
inline |
Moves cursor backward in z direction.
Definition at line 876 of file mlTSubImage.h.
|
inline |
Sets cursor to the given 6d position
relative to the origin of the complete image region.
I.e., the position p=getBox.v1() is considered the origin of the subimage region.
Definition at line 849 of file mlTSubImage.h.
References _ML_TSUBIMG_SUBDOT6.
|
inline |
Sets cursor to the given 3d position (x
, y
, z
) relative to the origin of the complete image region.
I.e., the position p=getBox.v1() is considered the origin of the subimage region.
Definition at line 852 of file mlTSubImage.h.
References _ML_TSUBIMG_SUBDOT3.
|
inline |
Sets cursor to the given pointer
where the pointer
is the memory address of the voxel.
Definition at line 854 of file mlTSubImage.h.
|
inline |
Sets cursor to the given position
relative to the origin of the subimage region.
I.e., the position (0,0,0,0,0,0) is considered the origin of the subimage.
Definition at line 843 of file mlTSubImage.h.
|
inline |
Sets cursor to the given 3d position (x
, y
, z
) relative to the origin of the subimage region.
I.e., the position (0,0,0,0,0,0) is considered the origin of the subimage.
Definition at line 846 of file mlTSubImage.h.
|
protected |
Cursor address for image data access.
Definition at line 913 of file mlTSubImage.h.
|
protected |
SubImage data.
Definition at line 907 of file mlTSubImage.h.
|
protected |
Stride for the sub image.
Definition at line 911 of file mlTSubImage.h.
|
protected |
SubImage offset in original image.
Definition at line 909 of file mlTSubImage.h.