MeVisLab Toolbox Reference
|
#include "mlInitSystemML.h"
#include "mlSubImage.h"
#include "mlTypeTraits.h"
#include "mlTemplateSupport.h"
Go to the source code of this file.
Classes | |
class | ml::TSubImage< DATATYPE > |
This template class manages/represents a rectangular 6D image region in memory that is organized linearly. More... | |
class | ml::TSubImageCursorBase< DATATYPE > |
Base class for all TSubImage Cursors. More... | |
class | ml::ConstTSubImageCursor< DATATYPE > |
Predeclaration for const cursor. More... | |
class | ml::TSubImageCursor< DATATYPE > |
Predeclaration for cursor. More... | |
class | ml::TSubImageWithCursor< DATATYPE > |
A class that offers a TSubImage with a TSubImageCursor. More... | |
Namespaces | |
ml | |
Main documentation file for ML users and developers. | |
Macros | |
#define | _ML_TSUBIMG_SUBDOT6(pos, offset, stride) |
Private helper macro for calculation of memory offset, calculates (pos-offset) * stride. More... | |
#define | _ML_TSUBIMG_SUBDOT3(x, y, z, offset, stride) |
Private helper macro for calculation of memory offset, calculates ((xyz)-offset) * stride. More... | |
#define | _ML_TSUBIMG_SUBDOT2(x, y, offset, stride) |
Private helper macro for calculation of memory offset, calculates ((xy)-offset) * stride. More... | |
Copying voxel from one subimage to another | |
#define | _ML_CHECK_SUBIMAGE_DATA_POINTERS(FROM_PTR, TO_PTR) |
Internal helper macro to check validity of data pointers of subimages. More... | |
Functions | |
template<typename DATATYPE > | |
ostream & | std::operator<< (ostream &ostr, const ml::TSubImage< DATATYPE > &v) |
Implements the printing of subimage into std::ostream. More... | |
Casting of SubImage to TSubImage<T> | |
The tsubimage_cast allows to cast a SubImage (pointer or reference) to a typed TSubImage<T> (pointer or reference). If the cast is not possible because the data type of the SubImage does not match the T of tsubimage_cast<T>, a fatal ML error occurs. Usage: TSubImage<MLfloat>& tsubimg = tsubimage_cast<MLfloat>(subimg);
| |
template<typename T > | |
TSubImage< T > & | ml::tsubimage_cast (SubImage &subImg) |
template<typename T > | |
const TSubImage< T > & | ml::tsubimage_cast (const SubImage &subImg) |
template<typename T > | |
TSubImage< T > * | ml::tsubimage_cast (SubImage *subImg) |
template<typename T > | |
const TSubImage< T > * | ml::tsubimage_cast (const SubImage *subImg) |
#define _ML_CHECK_SUBIMAGE_DATA_POINTERS | ( | FROM_PTR, | |
TO_PTR | |||
) |
Internal helper macro to check validity of data pointers of subimages.
Definition at line 482 of file mlTSubImage.h.
#define _ML_TSUBIMG_SUBDOT2 | ( | x, | |
y, | |||
offset, | |||
stride | |||
) |
Private helper macro for calculation of memory offset, calculates ((xy)-offset) * stride.
Definition at line 59 of file mlTSubImage.h.
#define _ML_TSUBIMG_SUBDOT3 | ( | x, | |
y, | |||
z, | |||
offset, | |||
stride | |||
) |
Private helper macro for calculation of memory offset, calculates ((xyz)-offset) * stride.
Definition at line 53 of file mlTSubImage.h.
#define _ML_TSUBIMG_SUBDOT6 | ( | pos, | |
offset, | |||
stride | |||
) |
Private helper macro for calculation of memory offset, calculates (pos-offset) * stride.
Definition at line 44 of file mlTSubImage.h.
|
inline |
Implements the printing of subimage into std::ostream.
This must be implemented in std namespace to avoid STL problems.
Definition at line 1196 of file mlTSubImage.h.
References std::operator<<(), and ml::TVector6DBase< CompIntType >::x.