13#ifndef ML_CLUSTER_REF_VOLUME_H
14#define ML_CLUSTER_REF_VOLUME_H
62 bool _use32BitIndexes;
66 void** _clusterRefLUT;
73 return _use32BitIndexes ?
74 static_cast<MLuint32*
>(_clusterRefLUT[z])[x+ (y*_sizeX)] :
75 static_cast<MLuint64*
>(_clusterRefLUT[z])[x+ (y*_sizeX)];
A stack of slices where each entry encodes an id of a ClusterRef.
ClusterRefVolume()
Constructor.
~ClusterRefVolume()
Destructor, cleanup.
ML_FORCE_INLINE bool isInitialized() const
Returns whether the volume is initialized.
MLErrorCode init(MLuint x, MLuint y, MLuint z)
Init volume, reserve memory.
void _deleteArrays()
Deletes all allocated structures.
MLuint getSize() const
For backward compatibility in ConnectComp.
MLint32 MLErrorCode
Type of an ML Error code.
#define ML_FORCE_INLINE
Forcing the use of 'inline' for methods.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
UINT64 MLuint64
Introduce platform independent 64 bit unsigned integer type.
MLuint64 MLuint
An unsigned ML integer type with at least 64 bits used for index calculations on very large images ev...