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.
|
Class that describes all the steps that need to be undertaken to undo a layer action. More...
#include <LayerRecreationUndoBufferItem.h>
Public Member Functions | |
LayerRecreationUndoBufferItem (const ProvenanceIDList &prov_ids, SandboxID sandbox) | |
void | add_id_count_to_restore (LayerManager::id_count_type id_count) |
virtual bool | apply_and_clear_undo () |
virtual size_t | get_byte_size () const |
virtual void | compute_size () |
Public Member Functions inherited from Seg3D::UndoBufferItem | |
UndoBufferItem (const std::string &tag) | |
void | set_redo_action (Core::ActionHandle action) |
bool | apply_redo (Core::ActionContextHandle &context) |
std::string | get_tag () const |
Class that describes all the steps that need to be undertaken to undo a layer action.
void Seg3D::LayerRecreationUndoBufferItem::add_id_count_to_restore | ( | LayerManager::id_count_type | id_count | ) |
ADD_ID_COUNT_TO_RESTORE: Cache the count of layer and group ids, so they can be rolled back to the original ones NOTE: If they are set to -1, the function will query the current ones.
|
virtual |
APPLY_AND_CLEAR_UNDO: Apply the undo information
Implements Seg3D::UndoBufferItem.
|
virtual |
COMPUTE_SIZE: Compute the size of the item
Implements Seg3D::UndoBufferItem.
|
virtual |
GET_BYTE_SIZE: The size of the item in memory ( approximately )
Implements Seg3D::UndoBufferItem.