Seg3D  2.4
Seg3D is a free volume segmentation and processing tool developed by the NIH Center for Integrative Biomedical Computing at the University of Utah Scientific Computing and Imaging (SCI) Institute.
Public Member Functions | Static Public Member Functions | List of all members
Core::MaskVolume Class Reference
Inheritance diagram for Core::MaskVolume:

Public Member Functions

 MaskVolume (const GridTransform &grid_transform, const MaskDataBlockHandle &mask_data_block)
 
virtual VolumeType get_type () const
 Get the type of the data volume.
 
virtual double get_min () const
 Get the minimum value.
 
virtual double get_max () const
 Get the maximum value.
 
virtual double get_cum_value (double fraction) const
 Get the value at a specific point in the histogram.
 
virtual bool is_valid () const
 Check whether the volume has a valid data block.
 
MaskDataBlockHandle get_mask_data_block () const
 Get the datablock that contains the mask.
 
virtual mutex_type & get_mutex ()
 Get access to the mutex protecting this MaskVolume.
 
virtual DataBlock::generation_type get_generation () const
 Get the generation number of the data volume.
 
virtual DataBlock::generation_type register_data (DataBlock::generation_type generation=-1)
 Register the underlying data with the DataBlockManager.
 
virtual void unregister_data ()
 Unregister the underlying data with DataBlockManager.
 
virtual size_t get_byte_size () const
 Get the size of the data in bytes.
 
bool insert_slice (const MaskDataSliceHandle slice)
 Insert a slice into the volume.
 
bool extract_slice (SliceType type, MaskDataBlock::index_type index, MaskDataSliceHandle &slice)
 Extract a slice from the volume.
 

Static Public Member Functions

static bool CreateEmptyMask (GridTransform grid_transform, MaskVolumeHandle &mask)
 Create an empty mask with given dimensions.
 
static bool CreateInvalidMask (GridTransform grid_transform, MaskVolumeHandle &mask)
 Create a mask with given dimensions, but no data container associated with it.
 
static bool DuplicateMask (const MaskVolumeHandle &src_mask, MaskVolumeHandle &dst_mask)
 Duplicate the mask volume.
 

The documentation for this class was generated from the following files: