ML Reference
ml::ConstTSubImageCursor< DATATYPE > Class Template Reference

Cursor to access const data of a TSubImage. More...

#include <mlTSubImage.h>

Inheritance diagram for ml::ConstTSubImageCursor< DATATYPE >:
ml::TSubImageCursorBase< DATATYPE >

List of all members.

Public Member Functions

 ConstTSubImageCursor (const TSubImage< DATATYPE > &subImage)
Getting the cursor position as const pointer to data.
const DATATYPE * getPointer () const
 Returns current cursor position (i.e., return the memory address of the voxel the cursor points to).
const DATATYPE * getPointerWithOffset (const ImageVector &offset) const
 Returns cursor position of voxel given from current cursor shifted by offset.
const DATATYPE * getPointerWithOffset (MLint dx, MLint dy, MLint dz) const
 Returns cursor position of voxel given from current cursor shifted by (dx, dy, dz).
Deprecated
const DATATYPE * getCursorPos () const
const DATATYPE * getCursorPos (const ImageVector &dp) const
const DATATYPE * getCursorPos (MLint dx, MLint dy, MLint dz) const

Detailed Description

template<typename DATATYPE>
class ml::ConstTSubImageCursor< DATATYPE >

Cursor to access const data of a TSubImage.

Definition at line 1197 of file mlTSubImage.h.


Constructor & Destructor Documentation

template<typename DATATYPE >
ml::ConstTSubImageCursor< DATATYPE >::ConstTSubImageCursor ( const TSubImage< DATATYPE > &  subImage) [inline]

Definition at line 1202 of file mlTSubImage.h.


Member Function Documentation

template<typename DATATYPE >
const DATATYPE* ml::ConstTSubImageCursor< DATATYPE >::getCursorPos ( ) const [inline]
Deprecated:
Use getPointer() instead.

Definition at line 1227 of file mlTSubImage.h.

template<typename DATATYPE >
const DATATYPE* ml::ConstTSubImageCursor< DATATYPE >::getCursorPos ( const ImageVector dp) const [inline]
Deprecated:
Use getPointerWithOffset() instead.

Definition at line 1230 of file mlTSubImage.h.

template<typename DATATYPE >
const DATATYPE* ml::ConstTSubImageCursor< DATATYPE >::getCursorPos ( MLint  dx,
MLint  dy,
MLint  dz 
) const [inline]
Deprecated:
Use getPointerWithOffset() instead.

Definition at line 1233 of file mlTSubImage.h.

template<typename DATATYPE >
const DATATYPE* ml::ConstTSubImageCursor< DATATYPE >::getPointer ( ) const [inline]

Returns current cursor position (i.e., return the memory address of the voxel the cursor points to).

Definition at line 1210 of file mlTSubImage.h.

template<typename DATATYPE >
const DATATYPE* ml::ConstTSubImageCursor< 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 1214 of file mlTSubImage.h.

template<typename DATATYPE >
const DATATYPE* ml::ConstTSubImageCursor< DATATYPE >::getPointerWithOffset ( const ImageVector offset) const [inline]

Returns cursor position of voxel given from current cursor shifted by offset.

Definition at line 1212 of file mlTSubImage.h.


The documentation for this class was generated from the following file: