MeVisLab Toolbox Reference
|
Go to the source code of this file.
Classes | |
class | ml::BitImage |
Class to manage a binary image. More... | |
Namespaces | |
namespace | ml |
Main documentation file for ML users and developers. | |
Macros | |
#define | ML_BIT_IMG_SHIFT 5l |
Power of 2 to get bit size of word of bit image, e.g. 5 for 32 bit words. | |
#define | ML_BIT_IMG_ALL_BITS 0xffffffffl |
Bit mask specifying all bits in bit image word e.g. 32 set bits for 32 bit words. | |
#define | ML_BIT_IMG_INDEX_BITS 0x1fl |
Bits to mask lower ML_BIT_IMG_SHIFT bits, e.g. 0x1f = 31 for 2^5 = 32 bits in word. | |
#define | ML_BIT_IMG_LOW_BIT 0x00000001l |
Bit image word with lowest bit set. | |
#define | ML_BIT_IMG_HIGH_BIT 0x80000000l |
Bit image word with highest bit set. | |
#define | ML_BIT_IMG_DATA_TYPE MLuint32 |
Data type used for words in bit image (even on 64 bit versions). | |
#define | ML_BIT_IMG_BIT_IDX_TYPE MLuint64 |
Data type used for an index to the current bit inside of the image; note that this may exceed the address space type size_t on 32 bit systems if a BitImage with more than 4GB is created which is possible, because technically up to 32GB (8*4GByte) could be reached as size. | |
#define ML_BIT_IMG_ALL_BITS 0xffffffffl |
Bit mask specifying all bits in bit image word e.g. 32 set bits for 32 bit words.
Definition at line 44 of file mlBitImage.h.
Referenced by ml::BitImage::clear(), and ml::BitImage::clearCursorValue().
Data type used for an index to the current bit inside of the image; note that this may exceed the address space type size_t on 32 bit systems if a BitImage with more than 4GB is created which is possible, because technically up to 32GB (8*4GByte) could be reached as size.
Definition at line 62 of file mlBitImage.h.
Data type used for words in bit image (even on 64 bit versions).
Definition at line 56 of file mlBitImage.h.
Referenced by ml::BitImage::clear(), ml::BitImage::clearCursorValue(), ml::BitImage::getCursorBitMask(), ml::BitImage::set(), ml::BitImage::setCursorValue(), ml::BitImage::toggle(), and ml::BitImage::toggleCursorValue().
#define ML_BIT_IMG_HIGH_BIT 0x80000000l |
Bit image word with highest bit set.
Definition at line 53 of file mlBitImage.h.
#define ML_BIT_IMG_INDEX_BITS 0x1fl |
Bits to mask lower ML_BIT_IMG_SHIFT bits, e.g. 0x1f = 31 for 2^5 = 32 bits in word.
Definition at line 47 of file mlBitImage.h.
Referenced by ml::BitImage::clear(), ml::BitImage::clearCursorValue(), ml::BitImage::getCursorBitMask(), ml::BitImage::getCursorValue(), ml::BitImage::isSet(), ml::BitImage::set(), ml::BitImage::setCursorValue(), ml::BitImage::toggle(), and ml::BitImage::toggleCursorValue().
#define ML_BIT_IMG_LOW_BIT 0x00000001l |
Bit image word with lowest bit set.
Definition at line 50 of file mlBitImage.h.
Referenced by ml::BitImage::clear(), ml::BitImage::clearCursorValue(), ml::BitImage::getCursorBitMask(), ml::BitImage::getCursorValue(), ml::BitImage::isSet(), ml::BitImage::set(), ml::BitImage::setCursorValue(), ml::BitImage::toggle(), and ml::BitImage::toggleCursorValue().
#define ML_BIT_IMG_SHIFT 5l |
Power of 2 to get bit size of word of bit image, e.g. 5 for 32 bit words.
Definition at line 41 of file mlBitImage.h.
Referenced by ml::BitImage::clear(), ml::BitImage::clearCursorValue(), ml::BitImage::getCursorValue(), ml::BitImage::getCursorWord(), ml::BitImage::getCursorWordIndex(), ml::BitImage::isSet(), ml::BitImage::set(), ml::BitImage::setCursorValue(), ml::BitImage::toggle(), and ml::BitImage::toggleCursorValue().