Function: createRleMemo()
createRleMemo<
T>(segmentationId,segmentationVoxelManager):object
Creates an RLE memo state that stores additional changes to the voxel map.
Type Parameters
• T
Parameters
• segmentationId: string
• segmentationVoxelManager: IVoxelManager<T>
Returns
object
commitMemo()
commitMemo: () =>
boolean
This is a member function of a memo that causes the completion of the storage - that is, it copies the RLE data and creates a reverse RLE map
Returns
boolean
id
id:
string
operationType
operationType:
string='labelmap'
restoreMemo()
restoreMemo: (
isUndo?) =>void
A restore memo function. This simply copies either the redo or the base voxel manager data to the segmentation state and triggers segmentation data modified.
Parameters
• isUndo?: boolean
Returns
void
segmentationId
segmentationId:
string
segmentationVoxelManager
segmentationVoxelManager:
IVoxelManager<T>
voxelManager
voxelManager:
VoxelManager<T>