| 
    ML Reference
    
   | 
 
Predeclaration for cursor. More...
#include <mlTSubImage.h>
  
Public Member Functions | |
| TSubImageCursor (TSubImage< DATATYPE > &subImage) | |
Getting the cursor position as pointer to data.  | |
Returns the current cursor position (i.e., returns the memory address of the voxel the cursor points to).  | |
| DATATYPE * | getPointer () const | 
| DATATYPE * | getPointerWithOffset (const ImageVector &offset) const | 
Returns the cursor position of the voxel computed from the current cursor shifted by offset.   | |
| DATATYPE * | getPointerWithOffset (MLint dx, MLint dy, MLint dz) const | 
Returns the cursor position of the voxel computed from the current cursor shifted by (dx, dy, dz).   | |
Set voxel values at the cursor position.  | |
| void | setValue (DATATYPE value) const | 
Sets the voxel value at the cursor position to value.   | |
| void | setValueWithOffset (const ImageVector &offset, DATATYPE value) const | 
Sets the voxel value at (cursor position + offset) to value.   | |
| void | setValueWithOffset (MLint dx, MLint dy, MLint dz, DATATYPE value) const | 
Sets the voxel value at (cursor position + (dx, dy, dz)) to value.   | |
  Public Member Functions inherited from ml::TSubImageCursorBase< DATATYPE > | |
| void | setSubImagePosition (const ImageVector &position) | 
Sets the cursor to the given position relative to the origin of the subimage region.   | |
| void | setSubImagePosition (MLint x, MLint y, MLint z) | 
Sets the cursor to the given 3D position (x, y, z) relative to the origin of the subimage region.   | |
| void | setImagePosition (const ImageVector &position) | 
Sets the cursor to the given 6D position relative to the origin of the complete image region.   | |
| void | setImagePosition (MLint x, MLint y, MLint z) | 
Sets the cursor to the given 3D position (x, y, z) relative to the origin of the complete image region.   | |
| void | setPosition (const DATATYPE *pointer) | 
Sets the cursor to the given pointer where the pointer is the memory address of the voxel.   | |
| void | moveByOffset (const ImageVector &offset) | 
Moves the cursor to cursor position + offset.   | |
| void | moveByOffset (MLint x, MLint y, MLint z) | 
Moves the cursor to cursor position + (x, y, z).   | |
| void | moveX () | 
| Moves the cursor forward in x direction.   | |
| void | moveY () | 
| Moves the cursor forward in y direction.   | |
| void | moveZ () | 
| Moves the cursor forward in z direction.   | |
| void | moveC () | 
| Moves the cursor forward in c direction.   | |
| void | moveT () | 
| Moves the cursor forward in t direction.   | |
| void | moveU () | 
| Moves the cursor forward in u direction.   | |
| void | reverseMoveX () | 
| Moves the cursor backward in x direction.   | |
| void | reverseMoveY () | 
| Moves the cursor backward in y direction.   | |
| void | reverseMoveZ () | 
| Moves the cursor backward in z direction.   | |
| void | reverseMoveC () | 
| Moves the cursor backward in c direction.   | |
| void | reverseMoveT () | 
| Moves the cursor backward in t direction.   | |
| void | reverseMoveU () | 
| Moves the cursor backward in u direction.   | |
| DATATYPE | getValue () const | 
| Returns the voxel value at cursor position.   | |
| DATATYPE | getValueWithOffset (const ImageVector &offset) const | 
Returns the voxel value at (cursor position + offset).   | |
| DATATYPE | getValueWithOffset (MLint dx, MLint dy, MLint dz) const | 
Return the voxel value at (cursor position + (dx, dy, dz))   | |
Additional Inherited Members | |
  Protected Member Functions inherited from ml::TSubImageCursorBase< DATATYPE > | |
| TSubImageCursorBase (const TSubImage< DATATYPE > &subImage) | |
  Protected Attributes inherited from ml::TSubImageCursorBase< DATATYPE > | |
| DATATYPE * | _data | 
| SubImage data.   | |
| ImageVector | _subImageOffset | 
| SubImage offset in original image.   | |
| ImageVector | _stride | 
| Stride for the subimage.   | |
| DATATYPE * | _cursor | 
| Cursor address for image data access.   | |
Predeclaration for cursor.
Cursor to access data of a TSubImage for reading and writing.
Definition at line 946 of file mlTSubImage.h.
      
  | 
  inline | 
Definition at line 952 of file mlTSubImage.h.
      
  | 
  inline | 
Definition at line 960 of file mlTSubImage.h.
      
  | 
  inline | 
Returns the cursor position of the voxel computed from the current cursor shifted by offset. 
Definition at line 962 of file mlTSubImage.h.
      
  | 
  inline | 
Returns the cursor position of the voxel computed from the current cursor shifted by (dx, dy, dz). 
Definition at line 964 of file mlTSubImage.h.
      
  | 
  inline | 
Sets the voxel value at the cursor position to value. 
Definition at line 976 of file mlTSubImage.h.
      
  | 
  inline | 
Sets the voxel value at (cursor position + offset) to value. 
Definition at line 978 of file mlTSubImage.h.
      
  | 
  inline | 
Sets the voxel value at (cursor position + (dx, dy, dz)) to value. 
Definition at line 980 of file mlTSubImage.h.