MeVisLab Toolbox Reference
|
The TVirtualVolume class implements random access to a paged input image or a pure virtual image without mapping more than a limited number of bytes. Pages of the input volume are mapped temporarily into memory when needed. If no input volume is specified the pages are created and filled with a fill value. When the permitted amount of memory is exceeded then older mapped pages are removed. When pages are written they are mapped until the virtual volume instance is removed or if they are explicitly cleared by the application. More...
#include <mlTVirtualVolume.h>
Public Types | |
typedef DATATYPE | ComponentType |
A typedef to "export" the type of voxels components. More... | |
Public Member Functions | |
TVirtualVolume (VirtualVolume &vVol) | |
Constructor 1. More... | |
TVirtualVolume (PagedImage *image, MLint maxNumKB=-1, bool areExceptionsOn=false) | |
Convenience constructor (2) creating an untyped virtual volume inside the typed one to avoid additional management of the untyped instance. More... | |
TVirtualVolume (const ImageVector &ext, MLdouble fillVal=0, MLint maxNumKB=-1, bool areExceptionsOn=false) | |
Convenience constructor (3) creating an untyped virtual volume inside the typed one to avoid additional management of the untyped instance. More... | |
virtual | ~TVirtualVolume () |
Destructor. More... | |
VirtualVolume & | getVirtualVolume () |
Returns the pointer to the wrapped untyped virtual volume. More... | |
void | getValues (const ImageVector *pos, DATATYPE *results, MLuint num) |
Get a set of voxels from the virtual volume. More... | |
DATATYPE | getValue (const ImageVector &pos) |
Get a voxel value from the virtual volume. More... | |
void | setValue (const ImageVector &pos, DATATYPE data) |
Write a voxel into the virtual volume. More... | |
void | setCursorPosition (const ImageVector &pos) |
Set the cursor to a certain position. More... | |
const ImageVector & | getCursorPosition () const |
Return the current cursor coordinates. More... | |
void | setCursorValue (DATATYPE val) |
Set value under cursor and lock page. More... | |
DATATYPE | getCursorValue () |
Return value under cursor. More... | |
bool | isMapped (const ImageVector &pos) const |
Returns true if voxel is mapped into memory, otherwise it returns false. More... | |
void | moveCursorByOffset (const ImageVector &off) |
Shift cursor to current position + offset. More... | |
void | fill (const SubImageBox &box, DATATYPE value) |
Fill the area box in the virtual image with voxel value value. More... | |
void | copyToSubImage (TSubImage< DATATYPE > &outSubImg) |
Copy area from the virtual volume into the subimage given by outSubImg. More... | |
void | copyFromSubImage (const TSubImage< DATATYPE > &inImg, const SubImageBox &box, const ImageVector &pos) |
Copy the area given by box from inImg to the position p of the virtual volume. More... | |
template<typename OUTDTYPE > | |
void | copyMaskToSubImage (TSubImage< OUTDTYPE > &outSubImg, BitImage &maskBits, bool maskValue=true, bool writeBK=false, OUTDTYPE bkVal=ml_cast_from_scalar< OUTDTYPE >(0)) |
Takes overlapping region from *this, outSubImg and maskBits and copies all voxels from *this to outSubImg if the corresponding bit in maskBits has the value maskValue. More... | |
DATATYPE * | getWrittenPageData (MLuint32 wp) const |
Returns typed pointer to data of written page with page id wp. More... | |
Move cursor to next higher/lower position. | |
void | moveCursorX () |
void | moveCursorY () |
void | moveCursorZ () |
void | moveCursorC () |
void | moveCursorT () |
void | moveCursorU () |
void | reverseMoveCursorX () |
void | reverseMoveCursorY () |
void | reverseMoveCursorZ () |
void | reverseMoveCursorC () |
void | reverseMoveCursorT () |
void | reverseMoveCursorU () |
Linear image traversal. | |
Set cursor to default position (0,0,0,0,0,0). | |
void | resetCursor () |
Set cursor to default position (0,0,0,0,0,0). More... | |
bool | moveCursorXWrapAround () |
Special cursor move: Increment x coordinate of cursor. More... | |
Static Public Member Functions | |
static MLint | getIntValueWrapped (void *vv, const ImageVector &pos) |
Wrapper functions for non template application interfaces. More... | |
static MLint64 | getInt64ValueWrapped (void *vv, const ImageVector &pos) |
static MLdouble | getDoubleValueWrapped (void *vv, const ImageVector &pos) |
static MLldouble | getLDoubleValueWrapped (void *vv, const ImageVector &pos) |
static MLint | getIntCursorValueWrapped (void *vv) |
static MLint64 | getInt64CursorValueWrapped (void *vv) |
static MLdouble | getDoubleCursorValueWrapped (void *vv) |
static MLldouble | getLDoubleCursorValueWrapped (void *vv) |
static const ImageVector & | getCursorPositionWrapped (void *vv) |
static bool | isMappedWrapped (void *vv, const ImageVector &pos) |
static void | setCursorPositionWrapped (void *vv, const ImageVector &pos) |
static void | setIntValueWrapped (void *vv, const ImageVector &pos, MLint v) |
static void | setInt64ValueWrapped (void *vv, const ImageVector &pos, MLint64 v) |
static void | setDoubleValueWrapped (void *vv, const ImageVector &pos, MLdouble v) |
static void | setLDoubleValueWrapped (void *vv, const ImageVector &pos, MLldouble v) |
static void | setIntCursorValueWrapped (void *vv, MLint v) |
static void | setInt64CursorValueWrapped (void *vv, MLint64 v) |
static void | setDoubleCursorValueWrapped (void *vv, MLdouble v) |
static void | setLDoubleCursorValueWrapped (void *vv, MLldouble v) |
static void | fillIntWrapped (void *vv, const ImageVector &v1, const ImageVector &v2, MLint v) |
static void | fillInt64Wrapped (void *vv, const ImageVector &v1, const ImageVector &v2, MLint64 v) |
static void | fillDoubleWrapped (void *vv, const ImageVector &v1, const ImageVector &v2, MLdouble v) |
static void | fillLDoubleWrapped (void *vv, const ImageVector &v1, const ImageVector &v2, MLldouble v) |
static void | moveCursorXWrapped (void *vv) |
static void | moveCursorYWrapped (void *vv) |
static void | moveCursorZWrapped (void *vv) |
static void | moveCursorCWrapped (void *vv) |
static void | moveCursorTWrapped (void *vv) |
static void | moveCursorUWrapped (void *vv) |
static void | reverseMoveCursorXWrapped (void *vv) |
static void | reverseMoveCursorYWrapped (void *vv) |
static void | reverseMoveCursorZWrapped (void *vv) |
static void | reverseMoveCursorCWrapped (void *vv) |
static void | reverseMoveCursorTWrapped (void *vv) |
static void | reverseMoveCursorUWrapped (void *vv) |
static void | moveCursorByOffsetWrapped (void *vv, const ImageVector &off) |
static void | resetCursorWrapped (void *vv) |
static bool | moveCursorXWrapAroundWrapped (void *vv) |
Protected Member Functions | |
TVirtualVolume () | |
Hide the default constructor to avoid incorrect usage due to missing initializations. More... | |
TVirtualVolume & | operator= (const TVirtualVolume &) |
Hide the default assignment operator to avoid incorrect usage due to missing initializations. More... | |
void | _init (VirtualVolume &vVol) |
Initialize the typed virtual volume. A valid virtual volume should be passed. More... | |
void | _cleanUp () |
Clean up all settings. Implements the destruction sequence. More... | |
Both with and without tests and exceptions is implemented. | |
DATATYPE | _getVoxel1D (const ImageVector &pos) |
Get voxel method for a certain dimension. (1d) More... | |
DATATYPE | _getVoxel2D (const ImageVector &pos) |
Get voxel method for a certain dimension. (2d) More... | |
DATATYPE | _getVoxel3D (const ImageVector &pos) |
Get voxel method for a certain dimension. (3d) More... | |
DATATYPE | _getVoxel4D (const ImageVector &pos) |
Get voxel method for a certain dimension. (4d) More... | |
DATATYPE | _getVoxel5D (const ImageVector &pos) |
Get voxel method for a certain dimension. (5d) More... | |
DATATYPE | _getVoxel6D (const ImageVector &pos) |
Get voxel method for a certain dimension. (6d) More... | |
DATATYPE | _getVoxel1DE (const ImageVector &pos) |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (1D) More... | |
DATATYPE | _getVoxel2DE (const ImageVector &pos) |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (2d) More... | |
DATATYPE | _getVoxel3DE (const ImageVector &pos) |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (3d) More... | |
DATATYPE | _getVoxel4DE (const ImageVector &pos) |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (4d) More... | |
DATATYPE | _getVoxel5DE (const ImageVector &pos) |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (5d) More... | |
DATATYPE | _getVoxel6DE (const ImageVector &pos) |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (6d) More... | |
Implementation of 6 setValue versions, optimized to the image dimensions. | |
In all functions first calculate the page index by dividing the coordinate components by their page extents and by multiplying them with _strides. Then call the page data access function by calling the function pointer in the page. That function maps the page if necessary. Then compute the index into that page by multiplying the coordinate components with _pStrides. Both with and without tests and exceptions is implemented. | |
void | _setVoxel1D (const ImageVector &pos, DATATYPE voxVal) |
Set voxel method for a certain dimension. (1d) More... | |
void | _setVoxel2D (const ImageVector &pos, DATATYPE voxVal) |
Set voxel method for a certain dimension. (2d) More... | |
void | _setVoxel3D (const ImageVector &pos, DATATYPE voxVal) |
Set voxel method for a certain dimension. (3d) More... | |
void | _setVoxel4D (const ImageVector &pos, DATATYPE voxVal) |
Set voxel method for a certain dimension. (4d) More... | |
void | _setVoxel5D (const ImageVector &pos, DATATYPE voxVal) |
Set voxel method for a certain dimension. (5d) More... | |
void | _setVoxel6D (const ImageVector &pos, DATATYPE voxVal) |
Set voxel method for a certain dimension. (6d) More... | |
void | _setVoxel1DE (const ImageVector &pos, DATATYPE voxVal) |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (1d) More... | |
void | _setVoxel2DE (const ImageVector &pos, DATATYPE voxVal) |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (2d) More... | |
void | _setVoxel3DE (const ImageVector &pos, DATATYPE voxVal) |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (3d) More... | |
void | _setVoxel4DE (const ImageVector &pos, DATATYPE voxVal) |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (4d) More... | |
void | _setVoxel5DE (const ImageVector &pos, DATATYPE voxVal) |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (5d) More... | |
void | _setVoxel6DE (const ImageVector &pos, DATATYPE voxVal) |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (6d) More... | |
Implementation of 6 isMapped versions, optimized to the image dimensions. | |
In all functions first calculate the page index by dividing the coordinate components by their page extents and by multiplying them with _strides. Then it looks whether the function to access the page is set or the load page function. Both with and without tests and exceptions is implemented. | |
bool | _isMapped1D (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (1d) More... | |
bool | _isMapped2D (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (2d) More... | |
bool | _isMapped3D (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (3d) More... | |
bool | _isMapped4D (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (4d) More... | |
bool | _isMapped5D (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (6d) More... | |
bool | _isMapped6D (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (6d) More... | |
bool | _isMapped1DE (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (1d) Throws exception if out of range. More... | |
bool | _isMapped2DE (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (2d) Throws exception if out of range. More... | |
bool | _isMapped3DE (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (3d) Throws exception if out of range. More... | |
bool | _isMapped4DE (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (4d) Throws exception if out of range. More... | |
bool | _isMapped5DE (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (6d) Throws exception if out of range. More... | |
bool | _isMapped6DE (const ImageVector &pos) const |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (6d) Throws exception if out of range. More... | |
Set the cursor to a certain position in 1D-6D, without and with exceptions. | |
Cursor offsetting implementation. | |
void | _setCursorPos1D (const ImageVector &p) |
Set cursor position for a certain dimension. (1d) More... | |
void | _setCursorPos2D (const ImageVector &p) |
Set cursor position for a certain dimension. (2d) More... | |
void | _setCursorPos3D (const ImageVector &p) |
Set cursor position for a certain dimension. (3d) More... | |
void | _setCursorPos4D (const ImageVector &p) |
Set cursor position for a certain dimension. (4d) More... | |
void | _setCursorPos5D (const ImageVector &p) |
Set cursor position for a certain dimension. (5d) More... | |
void | _setCursorPos6D (const ImageVector &p) |
Set cursor position for a certain dimension. (6d) More... | |
void | _setCursorPos1DE (const ImageVector &p) |
Set cursor position for a certain dimension with testing and exception throw if necessary. (1d) More... | |
void | _setCursorPos2DE (const ImageVector &p) |
Set cursor position for a certain dimension with testing and exception throw if necessary. (2d) More... | |
void | _setCursorPos3DE (const ImageVector &p) |
Set cursor position for a certain dimension with testing and exception throw if necessary. (3d) More... | |
void | _setCursorPos4DE (const ImageVector &p) |
Set cursor position for a certain dimension with testing and exception throw if necessary. (4d) More... | |
void | _setCursorPos5DE (const ImageVector &p) |
Set cursor position for a certain dimension with testing and exception throw if necessary. (5d) More... | |
void | _setCursorPos6DE (const ImageVector &p) |
Set cursor position for a certain dimension with testing and exception throw if necessary. (6d) More... | |
void | _moveCursorOffset1D (const ImageVector &p) |
Move cursor by an offset to a new position. (1d) More... | |
void | _moveCursorOffset2D (const ImageVector &p) |
Move cursor by an offset to a new position. (2d) More... | |
void | _moveCursorOffset3D (const ImageVector &p) |
Move cursor by an offset to a new position. (3d) More... | |
void | _moveCursorOffset4D (const ImageVector &p) |
Move cursor by an offset to a new position. (4d) More... | |
void | _moveCursorOffset5D (const ImageVector &p) |
Move cursor by an offset to a new position. (5d) More... | |
void | _moveCursorOffset6D (const ImageVector &p) |
Move cursor by an offset to a new position. (6d) More... | |
void | _moveCursorOffset1DE (const ImageVector &p) |
Move cursor by an offset to a new position with testing and exception throw if necessary. (1d) More... | |
void | _moveCursorOffset2DE (const ImageVector &p) |
Move cursor by an offset to a new position with testing and exception throw if necessary. (2d) More... | |
void | _moveCursorOffset3DE (const ImageVector &p) |
Move cursor by an offset to a new position with testing and exception throw if necessary. (3d) More... | |
void | _moveCursorOffset4DE (const ImageVector &p) |
Move cursor by an offset to a new position with testing and exception throw if necessary. (4d) More... | |
void | _moveCursorOffset5DE (const ImageVector &p) |
Move cursor by an offset to a new position with testing and exception throw if necessary. (5d) More... | |
void | _moveCursorOffset6DE (const ImageVector &p) |
Move cursor by an offset to a new position with testing and exception throw if necessary. (6d) More... | |
Move cursor to next higher position. The *E versions throw ML_OUT_OF_RANGE exceptions when outside the image. | |
Cursor movement implementation. | |
void | _moveFX () |
void | _moveFY () |
void | _moveFZ () |
void | _moveFC () |
void | _moveFT () |
void | _moveFU () |
void | _moveFXE () |
void | _moveFYE () |
void | _moveFZE () |
void | _moveFCE () |
void | _moveFTE () |
void | _moveFUE () |
Move cursor to next lower position. The *E versions throw ML_OUT_OF_RANGE exceptions when outside the image. | |
void | _moveBX () |
void | _moveBY () |
void | _moveBZ () |
void | _moveBC () |
void | _moveBT () |
void | _moveBU () |
void | _moveBXE () |
void | _moveBYE () |
void | _moveBZE () |
void | _moveBCE () |
void | _moveBTE () |
void | _moveBUE () |
Static Protected Member Functions | |
Static functions to wrap/call the correct function to get/set voxel methods. Only one of these set/get methods is | |
called via the function pointers _getVoxelFunc and _setVoxelFunc for a certain image dimension. All other functions are usually not used for that dimension. Both with and without tests and exceptions are implemented. | |
static DATATYPE | _getVoxel1DCB (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel2DCB (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel3DCB (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel4DCB (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel5DCB (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel6DCB (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel1DCBE (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel2DCBE (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel3DCBE (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel4DCBE (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel5DCBE (TVirtualVolume *obj, const ImageVector &pos) |
static DATATYPE | _getVoxel6DCBE (TVirtualVolume *obj, const ImageVector &pos) |
static void | _setVoxel1DCB (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel2DCB (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel3DCB (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel4DCB (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel5DCB (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel6DCB (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel1DCBE (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel2DCBE (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel3DCBE (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel4DCBE (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel5DCBE (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static void | _setVoxel6DCBE (TVirtualVolume *obj, const ImageVector &pos, DATATYPE voxVal) |
static bool | _isMapped1DCB (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped2DCB (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped3DCB (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped4DCB (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped5DCB (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped6DCB (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped1DCBE (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped2DCBE (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped3DCBE (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped4DCBE (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped5DCBE (const TVirtualVolume *obj, const ImageVector &pos) |
static bool | _isMapped6DCBE (const TVirtualVolume *obj, const ImageVector &pos) |
1-6D static functions with and without exceptions to wrap the correct setCursorPosition function for any dimension. | |
static void | _setCursorPos1DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos2DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos3DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos4DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos5DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos6DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos1DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos2DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos3DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos4DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos5DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _setCursorPos6DCBE (TVirtualVolume *obj, const ImageVector &p) |
1-6D static functions with and without exceptions to wrap the correct moveCursorPos function for any dimension. | |
static void | _moveCursorOffset1DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset2DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset3DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset4DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset5DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset6DCB (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset1DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset2DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset3DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset4DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset5DCBE (TVirtualVolume *obj, const ImageVector &p) |
static void | _moveCursorOffset6DCBE (TVirtualVolume *obj, const ImageVector &p) |
Static version:Move cursor to next higher position. The *E versions throw ML_OUT_OF_RANGE exceptions when outside the image. | |
static void | _moveFXCB (TVirtualVolume *obj) |
static void | _moveFYCB (TVirtualVolume *obj) |
static void | _moveFZCB (TVirtualVolume *obj) |
static void | _moveFCCB (TVirtualVolume *obj) |
static void | _moveFTCB (TVirtualVolume *obj) |
static void | _moveFUCB (TVirtualVolume *obj) |
static void | _moveFXCBE (TVirtualVolume *obj) |
static void | _moveFYCBE (TVirtualVolume *obj) |
static void | _moveFZCBE (TVirtualVolume *obj) |
static void | _moveFCCBE (TVirtualVolume *obj) |
static void | _moveFTCBE (TVirtualVolume *obj) |
static void | _moveFUCBE (TVirtualVolume *obj) |
Static version:Move cursor to next lower position. The *E versions throw ML_OUT_OF_RANGE exceptions when outside the image. | |
static void | _moveBXCB (TVirtualVolume *obj) |
static void | _moveBYCB (TVirtualVolume *obj) |
static void | _moveBZCB (TVirtualVolume *obj) |
static void | _moveBCCB (TVirtualVolume *obj) |
static void | _moveBTCB (TVirtualVolume *obj) |
static void | _moveBUCB (TVirtualVolume *obj) |
static void | _moveBXCBE (TVirtualVolume *obj) |
static void | _moveBYCBE (TVirtualVolume *obj) |
static void | _moveBZCBE (TVirtualVolume *obj) |
static void | _moveBCCBE (TVirtualVolume *obj) |
static void | _moveBTCBE (TVirtualVolume *obj) |
static void | _moveBUCBE (TVirtualVolume *obj) |
The TVirtualVolume class implements random access to a paged input image or a pure virtual image without mapping more than a limited number of bytes. Pages of the input volume are mapped temporarily into memory when needed. If no input volume is specified the pages are created and filled with a fill value. When the permitted amount of memory is exceeded then older mapped pages are removed. When pages are written they are mapped until the virtual volume instance is removed or if they are explicitly cleared by the application.
Accesses to the virtual volume can simple be performed with setValue and getValue. The accesses by the setValue and getValue are well optimized code which might be between 9 (1D), 18 (3D) and 36 (6D) instructions per voxel if the page below position is already mapped.
A cursor manager is also available to move a cursor forward with moveF*, backwards with moveB* methods. About 5-9 instructions might be executed for these move methods.
Accesses to voxels below cursor are available with setCursorValue and getCursorValue. On good compilers and already mapped pages they might use about 5-7 instructions.
So the cursor approach will probably be faster on data volumes with more than 2 dimensions.
Notes:
All calls of virtual volume accesses can be executed with or without testing of correctness (see areExceptionsOn parameter of constructors). If areExceptionsOn is true then all accesses to the virtual volume are tested and if necessary exceptions are thrown which can be caught by the code calling the virtual volume methods. Otherwise most functions perform no testing. Note that exception handling versions are slower than with disabled exceptions.
There are also some routines to get the boxes of the currently written pages. It is also possible to read/write the data of the written pages directly.
EXCEPTIONS:
The following exceptions are thrown if areExceptionsOn is passed as true to the constructors and errors occur:
Other exception resulting from failures of page requesting could also be thrown. They usually are returned redirected from getTile-commands.
If areExceptionsOn == false then no exceptions are thrown and many errors are handled by calling the ML_PRINT*() error macros and terminating the function/method. The virtual volume instance will be invalidated then. Invalid voxel accesses or memory failures during voxel accesses will destroy program state or cause unknown exceptions.
Note that areExceptionsOn == true degrades performance of voxel accesses.
Definition at line 210 of file mlTVirtualVolume.h.
typedef DATATYPE ml::TVirtualVolume< DATATYPE >::ComponentType |
A typedef to "export" the type of voxels components.
Definition at line 223 of file mlTVirtualVolume.h.
|
inlineprotected |
Hide the default constructor to avoid incorrect usage due to missing initializations.
Definition at line 214 of file mlTVirtualVolume.h.
|
inline |
Constructor 1.
A valid VirtualVolume vVol must be passed. vVol is not destroyed by the destructor when this is deleted (see destructor comments).
Definition at line 227 of file mlTVirtualVolume.h.
|
inline |
Convenience constructor (2) creating an untyped virtual volume inside the typed one to avoid additional management of the untyped instance.
For documentation of parameters see corresponding constructor of VirtualVolume. Note that this constructor builds a significant VirtualVolume data structure inside, which will be destroyed automatically on TVirtualVolume destruction (see destructor comments).
Definition at line 240 of file mlTVirtualVolume.h.
References MLGetDataTypeFromPtr().
|
inline |
Convenience constructor (3) creating an untyped virtual volume inside the typed one to avoid additional management of the untyped instance.
For documentation of parameters see corresponding constructor of VirtualVolume. Note that this constructor builds a significant VirtualVolume data structure inside which will be destroyed automatically on TVirtualVolume destruction (see destructor comments).
Definition at line 257 of file mlTVirtualVolume.h.
References MLGetDataTypeFromPtr().
|
inlinevirtual |
Destructor.
Destroys this instance. The used untyped virtualVolume instance vVol is left unchanged if it was passed as reference to the constructor 1 (the TVirtualVolume(VirtualVolume &vVol)). If it was automatically created by any of the convenience constructors 2 or 3 it also will be deleted.
Definition at line 273 of file mlTVirtualVolume.h.
|
protected |
Clean up all settings. Implements the destruction sequence.
Definition at line 1544 of file mlTVirtualVolume.h.
|
inlineprotected |
Get voxel method for a certain dimension. (1d)
Definition at line 1586 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, and ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel1DCB().
|
inlinestaticprotected |
Definition at line 859 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel1D().
|
inlinestaticprotected |
Definition at line 866 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel1DE().
|
inlineprotected |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (1D)
Definition at line 1594 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ML_OUT_OF_RANGE, and ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel1DCBE().
|
inlineprotected |
Get voxel method for a certain dimension. (2d)
Definition at line 1605 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel2DCB().
|
inlinestaticprotected |
Definition at line 860 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel2D().
|
inlinestaticprotected |
Definition at line 867 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel2DE().
|
inlineprotected |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (2d)
Definition at line 1613 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel2DCBE().
|
inlineprotected |
Get voxel method for a certain dimension. (3d)
Definition at line 1626 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel3DCB().
|
inlinestaticprotected |
Definition at line 861 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel3D().
|
inlinestaticprotected |
Definition at line 868 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel3DE().
|
inlineprotected |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (3d)
Definition at line 1636 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel3DCBE().
|
inlineprotected |
Get voxel method for a certain dimension. (4d)
Definition at line 1653 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel4DCB().
|
inlinestaticprotected |
Definition at line 862 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel4D().
|
inlinestaticprotected |
Definition at line 869 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel4DE().
|
inlineprotected |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (4d)
Definition at line 1667 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel4DCBE().
|
inlineprotected |
Get voxel method for a certain dimension. (5d)
Definition at line 1687 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel5DCB().
|
inlinestaticprotected |
Definition at line 863 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel5D().
|
inlinestaticprotected |
Definition at line 870 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel5DE().
|
inlineprotected |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (5d)
Definition at line 1703 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel5DCBE().
|
inlineprotected |
Get voxel method for a certain dimension. (6d)
Definition at line 1727 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel6DCB().
|
inlinestaticprotected |
Definition at line 864 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel6D().
|
inlinestaticprotected |
Definition at line 871 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_getVoxel6DE().
|
inlineprotected |
Get voxel at a position for a certain dimension with testing and exception throw if necessary. (6d)
Definition at line 1745 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_getVoxel6DCBE().
|
protected |
Initialize the typed virtual volume. A valid virtual volume should be passed.
Initialize the typed virtual volume.
A valid virtual volume must be passed. Note that this function does NOT change the _convenienceInstance pointer (which must initialized to NULL or to a valid local instance before).
Select the correct cursor movement functions for exception case.
Select the correct cursor movement functions for non exception case.
Definition at line 1367 of file mlTVirtualVolume.h.
References ml::VirtualVolume::getDataType(), ml::VirtualVolume::getDim(), ML_BAD_DATA_TYPE, ML_BAD_DIMENSION, ML_PRINT_ERROR, ML_PRINT_FATAL_ERROR, and MLGetDataTypeFromPtr().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (1d)
Definition at line 2440 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, and ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped1DCB().
|
inlinestaticprotected |
Definition at line 887 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped1D().
|
inlinestaticprotected |
Definition at line 894 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped1DE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (1d) Throws exception if out of range.
Definition at line 2448 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ML_OUT_OF_RANGE, and ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped1DCBE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (2d)
Definition at line 2460 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped2DCB().
|
inlinestaticprotected |
Definition at line 888 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped2D().
|
inlinestaticprotected |
Definition at line 895 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped2DE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (2d) Throws exception if out of range.
Definition at line 2468 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped2DCBE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (3d)
Definition at line 2481 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped3DCB().
|
inlinestaticprotected |
Definition at line 889 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped3D().
|
inlinestaticprotected |
Definition at line 896 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped3DE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (3d) Throws exception if out of range.
Definition at line 2491 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped3DCBE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (4d)
Definition at line 2508 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped4DCB().
|
inlinestaticprotected |
Definition at line 890 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped4D().
|
inlinestaticprotected |
Definition at line 897 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped4DE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (4d) Throws exception if out of range.
Definition at line 2519 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped4DCBE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (6d)
Definition at line 2538 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped5DCB().
|
inlinestaticprotected |
Definition at line 891 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped5D().
|
inlinestaticprotected |
Definition at line 898 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped5DE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (6d) Throws exception if out of range.
Definition at line 2550 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped5DCBE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (6d)
Definition at line 2572 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped6DCB().
|
inlinestaticprotected |
Definition at line 892 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped6D().
|
inlinestaticprotected |
Definition at line 899 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_isMapped6DE().
|
inlineprotected |
Returns true if voxel is mapped in memory for a certain dimension, otherwise false. (6d) Throws exception if out of range.
Definition at line 2585 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_isMapped6DCBE().
|
inlineprotected |
Definition at line 1057 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBCCB().
|
inlinestaticprotected |
Definition at line 1085 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBC().
|
inlinestaticprotected |
Definition at line 1092 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBCE().
|
inlineprotected |
Definition at line 1070 of file mlTVirtualVolume.h.
References _VV_MOVEBE_TEST.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBCCBE().
|
inlineprotected |
Definition at line 1058 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBTCB().
|
inlinestaticprotected |
Definition at line 1086 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBT().
|
inlinestaticprotected |
Definition at line 1093 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBTE().
|
inlineprotected |
Definition at line 1071 of file mlTVirtualVolume.h.
References _VV_MOVEBE_TEST.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBTCBE().
|
inlineprotected |
Definition at line 1059 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBUCB().
|
inlinestaticprotected |
Definition at line 1087 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBU().
|
inlinestaticprotected |
Definition at line 1094 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBUE().
|
inlineprotected |
Definition at line 1072 of file mlTVirtualVolume.h.
References _VV_MOVEBE_TEST.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBUCBE().
|
inlineprotected |
Definition at line 1054 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBXCB().
|
inlinestaticprotected |
Definition at line 1082 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBX().
|
inlinestaticprotected |
Definition at line 1089 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBXE().
|
inlineprotected |
Definition at line 1067 of file mlTVirtualVolume.h.
References _VV_MOVEBE_TEST.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBXCBE().
|
inlineprotected |
Definition at line 1055 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBYCB().
|
inlinestaticprotected |
Definition at line 1083 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBY().
|
inlinestaticprotected |
Definition at line 1090 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBYE().
|
inlineprotected |
Definition at line 1068 of file mlTVirtualVolume.h.
References _VV_MOVEBE_TEST.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBYCBE().
|
inlineprotected |
Definition at line 1056 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBZCB().
|
inlinestaticprotected |
Definition at line 1084 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBZ().
|
inlinestaticprotected |
Definition at line 1091 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveBZE().
|
inlineprotected |
Definition at line 1069 of file mlTVirtualVolume.h.
References _VV_MOVEBE_TEST.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveBZCBE().
|
inlineprotected |
Move cursor by an offset to a new position. (1d)
Definition at line 2218 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset1DCB().
|
inlinestaticprotected |
Definition at line 978 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset1D().
|
inlinestaticprotected |
Definition at line 985 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset1DE().
|
inlineprotected |
Move cursor by an offset to a new position with testing and exception throw if necessary. (1d)
Definition at line 2227 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE, and ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset1DCBE().
|
inlineprotected |
Move cursor by an offset to a new position. (2d)
Definition at line 2240 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset2DCB().
|
inlinestaticprotected |
Definition at line 979 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset2D().
|
inlinestaticprotected |
Definition at line 986 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset2DE().
|
inlineprotected |
Move cursor by an offset to a new position with testing and exception throw if necessary. (2d)
Definition at line 2250 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset2DCBE().
|
inlineprotected |
Move cursor by an offset to a new position. (3d)
Definition at line 2265 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset3DCB().
|
inlinestaticprotected |
Definition at line 980 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset3D().
|
inlinestaticprotected |
Definition at line 987 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset3DE().
|
inlineprotected |
Move cursor by an offset to a new position with testing and exception throw if necessary. (3d)
Definition at line 2278 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset3DCBE().
|
inlineprotected |
Move cursor by an offset to a new position. (4d)
Definition at line 2298 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset4DCB().
|
inlinestaticprotected |
Definition at line 981 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset4D().
|
inlinestaticprotected |
Definition at line 988 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset4DE().
|
inlineprotected |
Move cursor by an offset to a new position with testing and exception throw if necessary. (4d)
Definition at line 2313 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset4DCBE().
|
inlineprotected |
Move cursor by an offset to a new position. (5d)
Definition at line 2336 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset5DCB().
|
inlinestaticprotected |
Definition at line 982 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset5D().
|
inlinestaticprotected |
Definition at line 989 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset5DE().
|
inlineprotected |
Move cursor by an offset to a new position with testing and exception throw if necessary. (5d)
Definition at line 2356 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset5DCBE().
|
inlineprotected |
Move cursor by an offset to a new position. (6d)
Definition at line 2385 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset6DCB().
|
inlinestaticprotected |
Definition at line 983 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset6D().
|
inlinestaticprotected |
Definition at line 990 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveCursorOffset6DE().
|
inlineprotected |
Move cursor by an offset to a new position with testing and exception throw if necessary. (6d)
Definition at line 2405 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveCursorOffset6DCBE().
|
inlineprotected |
Definition at line 1018 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFCCB().
|
inlinestaticprotected |
Definition at line 1037 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFC().
|
inlinestaticprotected |
Definition at line 1044 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFCE().
|
inlineprotected |
Definition at line 1025 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFCCBE().
|
inlineprotected |
Definition at line 1019 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFTCB().
|
inlinestaticprotected |
Definition at line 1038 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFT().
|
inlinestaticprotected |
Definition at line 1045 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFTE().
|
inlineprotected |
Definition at line 1026 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFTCBE().
|
inlineprotected |
Definition at line 1020 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFUCB().
|
inlinestaticprotected |
Definition at line 1039 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFU().
|
inlinestaticprotected |
Definition at line 1046 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFUE().
|
inlineprotected |
Definition at line 1027 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFUCBE().
|
inlineprotected |
Definition at line 1015 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFXCB().
|
inlinestaticprotected |
Definition at line 1034 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFX().
|
inlinestaticprotected |
Definition at line 1041 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFXE().
|
inlineprotected |
Definition at line 1022 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFXCBE().
|
inlineprotected |
Definition at line 1016 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFYCB().
|
inlinestaticprotected |
Definition at line 1035 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFY().
|
inlinestaticprotected |
Definition at line 1042 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFYE().
|
inlineprotected |
Definition at line 1023 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFYCBE().
|
inlineprotected |
Definition at line 1017 of file mlTVirtualVolume.h.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFZCB().
|
inlinestaticprotected |
Definition at line 1036 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFZ().
|
inlinestaticprotected |
Definition at line 1043 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_moveFZE().
|
inlineprotected |
Definition at line 1024 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE.
Referenced by ml::TVirtualVolume< DATATYPE >::_moveFZCBE().
|
inlineprotected |
Set cursor position for a certain dimension. (1d)
Definition at line 1992 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos1DCB().
|
inlinestaticprotected |
Definition at line 933 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos1D().
|
inlinestaticprotected |
Definition at line 940 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos1DE().
|
inlineprotected |
Set cursor position for a certain dimension with testing and exception throw if necessary. (1d)
Definition at line 2001 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE, and ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos1DCBE().
|
inlineprotected |
Set cursor position for a certain dimension. (2d)
Definition at line 2014 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos2DCB().
|
inlinestaticprotected |
Definition at line 934 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos2D().
|
inlinestaticprotected |
Definition at line 941 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos2DE().
|
inlineprotected |
Set cursor position for a certain dimension with testing and exception throw if necessary. (2d)
Definition at line 2025 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos2DCBE().
|
inlineprotected |
Set cursor position for a certain dimension. (3d)
Definition at line 2041 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos3DCB().
|
inlinestaticprotected |
Definition at line 935 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos3D().
|
inlinestaticprotected |
Definition at line 942 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos3DE().
|
inlineprotected |
Set cursor position for a certain dimension with testing and exception throw if necessary. (3d)
Definition at line 2054 of file mlTVirtualVolume.h.
References ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos3DCBE().
|
inlineprotected |
Set cursor position for a certain dimension. (4d)
Definition at line 2074 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos4DCB().
|
inlinestaticprotected |
Definition at line 936 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos4D().
|
inlinestaticprotected |
Definition at line 943 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos4DE().
|
inlineprotected |
Set cursor position for a certain dimension with testing and exception throw if necessary. (4d)
Definition at line 2089 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos4DCBE().
|
inlineprotected |
Set cursor position for a certain dimension. (5d)
Definition at line 2112 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos5DCB().
|
inlinestaticprotected |
Definition at line 937 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos5D().
|
inlinestaticprotected |
Definition at line 944 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos5DE().
|
inlineprotected |
Set cursor position for a certain dimension with testing and exception throw if necessary. (5d)
Definition at line 2130 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos5DCBE().
|
inlineprotected |
Set cursor position for a certain dimension. (6d)
Definition at line 2159 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos6DCB().
|
inlinestaticprotected |
Definition at line 938 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos6D().
|
inlinestaticprotected |
Definition at line 945 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setCursorPos6DE().
|
inlineprotected |
Set cursor position for a certain dimension with testing and exception throw if necessary. (6d)
Definition at line 2179 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setCursorPos6DCBE().
|
inlineprotected |
Set voxel method for a certain dimension. (1d)
Definition at line 1780 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, and ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel1DCB().
|
inlinestaticprotected |
Definition at line 873 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel1D().
|
inlinestaticprotected |
Definition at line 880 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel1DE().
|
inlineprotected |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (1d)
Definition at line 1789 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ML_OUT_OF_RANGE, and ml::TVector6DBase< CompIntType >::x.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel1DCBE().
|
inlineprotected |
Set voxel method for a certain dimension. (2d)
Definition at line 1802 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel2DCB().
|
inlinestaticprotected |
Definition at line 874 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel2D().
|
inlinestaticprotected |
Definition at line 881 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel2DE().
|
inlineprotected |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (2d)
Definition at line 1811 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, and ml::TVector6DBase< CompIntType >::y.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel2DCBE().
|
inlineprotected |
Set voxel method for a certain dimension. (3d)
Definition at line 1825 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel3DCB().
|
inlinestaticprotected |
Definition at line 875 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel3D().
|
inlinestaticprotected |
Definition at line 882 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel3DE().
|
inlineprotected |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (3d)
Definition at line 1836 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel3DCBE().
|
inlineprotected |
Set voxel method for a certain dimension. (4d)
Definition at line 1854 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel4DCB().
|
inlinestaticprotected |
Definition at line 876 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel4D().
|
inlinestaticprotected |
Definition at line 883 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel4DE().
|
inlineprotected |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (4d)
Definition at line 1869 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel4DCBE().
|
inlineprotected |
Set voxel method for a certain dimension. (5d)
Definition at line 1892 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel5DCB().
|
inlinestaticprotected |
Definition at line 877 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel5D().
|
inlinestaticprotected |
Definition at line 884 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel5DE().
|
inlineprotected |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (5d)
Definition at line 1909 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel5DCBE().
|
inlineprotected |
Set voxel method for a certain dimension. (6d)
Definition at line 1936 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ml::TVector6DBase< CompIntType >::c, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel6DCB().
|
inlinestaticprotected |
Definition at line 878 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel6D().
|
inlinestaticprotected |
Definition at line 885 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::_setVoxel6DE().
|
inlineprotected |
Set voxel at a position for a certain dimension with testing and exception throw if necessary. (6d)
Definition at line 1955 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, ml::PageBuffer::_locked, ml::TVector6DBase< CompIntType >::c, ML_OUT_OF_RANGE, ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
Referenced by ml::TVirtualVolume< DATATYPE >::_setVoxel6DCBE().
void ml::TVirtualVolume< DATATYPE >::copyFromSubImage | ( | const TSubImage< DATATYPE > & | inImg, |
const SubImageBox & | box, | ||
const ImageVector & | pos | ||
) |
Copy the area given by box from inImg to the position p of the virtual volume.
Copy area from inImg into virtual volume.
The box position (0,0,0,0,0,0) is considered the first valid voxel in inImg. Before copying the region is limited to valid overlapping areas.
Definition at line 1326 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ml::SubImage::getBoxFromImageExtent(), ml::TSubImage< DATATYPE >::getSubImageValue(), ml::WEMSetOp::intersect(), ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TSubImageBox< intT >::v1, ml::TSubImageBox< intT >::v2, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
|
inline |
Takes overlapping region from *this, outSubImg and maskBits and copies all voxels from *this to outSubImg if the corresponding bit in maskBits has the value maskValue.
If the value differs the value bkVal is only written if writeBK is true; otherwise the value in outSubImg is left unchanged. Non-overlapping regions of *this, outSubImg and maskBits are not read, checked or handled. Cursor positions of outSubImg, maskBits and *this are used but restored after usage. Values from this are simply cast from DATATYPE to OUTDTYPE before writing them into outSubimg.
outSubImg | is the target subimage to be filled with masked voxels from *this in regions overlapping *this and maskBits. |
maskBits | specifies voxels mask. If a bit mask value equals maskVal then the voxel from *this is copied to outSubImg if it's within the image extents. |
maskValue | is the value which must be the bit value in maskBits to force a copy of a voxel value to outSubImg; default is true. |
writeBK | determines whether voxel values in outSubImg are filled with bkVal in the case that voxel is not masked; default is false. |
bkVal | is the value written in the case that the corresponding voxel is not masked, that writeBK is true and that voxel is within overlapping range of *this, outSubImg and maskBits; default is 0. |
Definition at line 392 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ml::SubImage::getBox(), ml::BitImage::getCursorPosition(), ml::BitImage::getCursorValue(), ml::BitImage::getExtent(), ml::TSubImage< DATATYPE >::getImagePointer(), ml::TSubImageBox< intT >::intersect(), ml::WEMSetOp::intersect(), ml::BitImage::moveCursorX(), ml::BitImage::setCursorPosition(), ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TSubImageBox< intT >::v1, ml::TSubImageBox< intT >::v2, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
void ml::TVirtualVolume< DATATYPE >::copyToSubImage | ( | TSubImage< DATATYPE > & | outSubImg | ) |
Copy area from the virtual volume into the subimage given by outSubImg.
Copy area from virtual volume into outSubImg.
Note that only valid regions of the virtual volumes are read - if outSubImg reaches outside the virtual volume the corresponding areas are not read, i.e. these regions are left undefined in outSubImg.
Definition at line 1317 of file mlTVirtualVolume.h.
References ml::TVirtualVolume< DATATYPE >::copyToSubImage().
Referenced by ml::TVirtualVolume< DATATYPE >::copyToSubImage().
void ml::TVirtualVolume< DATATYPE >::fill | ( | const SubImageBox & | box, |
DATATYPE | value | ||
) |
Fill the area box in the virtual image with voxel value value.
Fill box in virtual volume with value.
If area reaches outside the valid virtual volume area it is automatically clamped to valid voxels.
Definition at line 1288 of file mlTVirtualVolume.h.
References ml::TVector6DBase< CompIntType >::c, ml::WEMSetOp::intersect(), ml::TVector6DBase< CompIntType >::t, ml::TVector6DBase< CompIntType >::u, ml::TSubImageBox< intT >::v1, ml::TSubImageBox< intT >::v2, ml::TVector6DBase< CompIntType >::x, ml::TVector6DBase< CompIntType >::y, and ml::TVector6DBase< CompIntType >::z.
|
inlinestatic |
Definition at line 506 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 505 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 504 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 507 of file mlTVirtualVolume.h.
|
inline |
Return the current cursor coordinates.
Definition at line 302 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 493 of file mlTVirtualVolume.h.
|
inline |
Return value under cursor.
Definition at line 1228 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt.
|
inlinestatic |
Definition at line 491 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 487 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 490 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 486 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 489 of file mlTVirtualVolume.h.
|
inlinestatic |
Wrapper functions for non template application interfaces.
It always requires a valid, non NULL pointer to the correctly typed virtual volume instance, otherwise crashes will occur. Since all these functions are very time critical those pointers are not checked and the calling application must guarantee valid pointers. For documentation have a look at the wrapped function. Removing type names like "Int", "Int64", "Double" or long double and the W at the end of the function name will lead to the name of the corresponding wrapped function.
Definition at line 485 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 492 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 488 of file mlTVirtualVolume.h.
|
inline |
Get a voxel value from the virtual volume.
The position pos
must be within the valid image area.
Definition at line 292 of file mlTVirtualVolume.h.
|
inline |
Get a set of voxels from the virtual volume.
Their positions must be within the valid image area. *pos must point to a vector of at least num vectors with image positions. *results must point to a vector of at least num DATATYPE entries which will be filled with the voxel data. This method is preferable to your own getValue loops since it probably will be optimized in the future.
Definition at line 1209 of file mlTVirtualVolume.h.
|
inline |
Returns the pointer to the wrapped untyped virtual volume.
Definition at line 281 of file mlTVirtualVolume.h.
|
inline |
Returns typed pointer to data of written page with page id wp.
wp | is the page id of the written page to access and it must be within [0, getNumWrittenPages()-1]. |
Definition at line 473 of file mlTVirtualVolume.h.
|
inline |
Returns true if voxel is mapped into memory, otherwise it returns false.
Definition at line 311 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 494 of file mlTVirtualVolume.h.
|
inline |
Shift cursor to current position + offset.
Definition at line 331 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 520 of file mlTVirtualVolume.h.
|
inline |
Definition at line 318 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 511 of file mlTVirtualVolume.h.
|
inline |
Definition at line 319 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 512 of file mlTVirtualVolume.h.
|
inline |
Definition at line 320 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 513 of file mlTVirtualVolume.h.
|
inline |
Definition at line 315 of file mlTVirtualVolume.h.
|
inline |
Special cursor move: Increment x coordinate of cursor.
When going out of image set x to zero and increase y. If y overflows then increment z etc. So an image can easily scanned as a one dimensional sequence. If the cursor is on the last voxel it won't be moved outside the image; it remains there without throwing exceptions or causing errors. It just returns false instead of true. So the sequence resetCursor(); do {} while (moveCursorXWrapAround()); permits easy image scanning.
When going out of image set x to zero and increase y. If y overflows then increment z etc. So an image can easily scanned as a one dimensional sequence. If the cursor is on the last voxel it won't be moved outside the image; it remains there without throwing exceptions or causing errors. It just returns false instead of true. So the sequence resetCursor(); do {} while (moveCursorXWrapAround()); permits easy scanning of the whole virtual volume image.
Definition at line 1252 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 522 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 508 of file mlTVirtualVolume.h.
|
inline |
Definition at line 316 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 509 of file mlTVirtualVolume.h.
|
inline |
Definition at line 317 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 510 of file mlTVirtualVolume.h.
|
inlineprotected |
Hide the default assignment operator to avoid incorrect usage due to missing initializations.
Definition at line 218 of file mlTVirtualVolume.h.
|
inline |
Set cursor to default position (0,0,0,0,0,0).
Definition at line 1236 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 521 of file mlTVirtualVolume.h.
|
inline |
Definition at line 325 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 517 of file mlTVirtualVolume.h.
|
inline |
Definition at line 326 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 518 of file mlTVirtualVolume.h.
|
inline |
Definition at line 327 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 519 of file mlTVirtualVolume.h.
|
inline |
Definition at line 322 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 514 of file mlTVirtualVolume.h.
|
inline |
Definition at line 323 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 515 of file mlTVirtualVolume.h.
|
inline |
Definition at line 324 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 516 of file mlTVirtualVolume.h.
|
inline |
Set the cursor to a certain position.
Definition at line 299 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 495 of file mlTVirtualVolume.h.
|
inline |
Set value under cursor and lock page.
Definition at line 1219 of file mlTVirtualVolume.h.
References ml::PageBuffer::_getPageFkt, and ml::PageBuffer::_locked.
|
inlinestatic |
Definition at line 502 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 498 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 501 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 497 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 500 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 496 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 503 of file mlTVirtualVolume.h.
|
inlinestatic |
Definition at line 499 of file mlTVirtualVolume.h.
|
inline |
Write a voxel into the virtual volume.
The position must be within the valid image area. Written pages are hold in memory until vVol is deleted.
Definition at line 296 of file mlTVirtualVolume.h.