| 
    MeVisLab Toolbox Reference
    
   | 
 
A stack of slices where each entry encodes an id of a ClusterRef. More...
#include <mlClusterRefVolume.h>
Public Member Functions | |
| ClusterRefVolume () | |
| Constructor.   | |
| ~ClusterRefVolume () | |
| Destructor, cleanup.   | |
| MLErrorCode | init (MLuint x, MLuint y, MLuint z) | 
| Init volume, reserve memory.   | |
| ML_FORCE_INLINE bool | isInitialized () const | 
| Returns whether the volume is initialized.   | |
| ML_FORCE_INLINE MLuint | getClusterRef (MLuint x, MLuint y, MLuint z) const | 
| Returns the cluster reference for the volume position.   | |
| ML_FORCE_INLINE void | setClusterRef (MLuint x, MLuint y, MLuint z, MLuint clusterRef) | 
| Sets a cluster reference for volume position.   | |
| MLuint | sizeX () const | 
| MLuint | sizeY () const | 
| MLuint | sizeZ () const | 
| MLuint | getSize () const | 
| For backward compatibility in ConnectComp.   | |
Protected Member Functions | |
| void | _deleteArrays () | 
| Deletes all allocated structures.   | |
A stack of slices where each entry encodes an id of a ClusterRef.
There are as many slices as the input image has and each slices has the same size as the input image's slice. In short, this structure holds a reference id for each voxel of the input image.
Definition at line 27 of file mlClusterRefVolume.h.
| ml::ClusterRefVolume::ClusterRefVolume | ( | ) | 
Constructor.
| ml::ClusterRefVolume::~ClusterRefVolume | ( | ) | 
Destructor, cleanup.
      
  | 
  protected | 
Deletes all allocated structures.
Returns the cluster reference for the volume position.
Definition at line 71 of file mlClusterRefVolume.h.
| MLuint ml::ClusterRefVolume::getSize | ( | ) | const | 
For backward compatibility in ConnectComp.
Deprecated!
| MLErrorCode ml::ClusterRefVolume::init | ( | MLuint | x, | 
| MLuint | y, | ||
| MLuint | z ) | 
Init volume, reserve memory.
      
  | 
  inline | 
Returns whether the volume is initialized.
Definition at line 40 of file mlClusterRefVolume.h.
Sets a cluster reference for volume position.
Definition at line 78 of file mlClusterRefVolume.h.
References mlrange_cast().
      
  | 
  inline | 
Definition at line 48 of file mlClusterRefVolume.h.
      
  | 
  inline | 
Definition at line 49 of file mlClusterRefVolume.h.
      
  | 
  inline | 
Definition at line 50 of file mlClusterRefVolume.h.