![]() |
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 | |
| UndoBufferItem (const std::string &tag) | |
| void | set_redo_action (Core::ActionHandle action) |
| bool | apply_redo (Core::ActionContextHandle &context) |
| virtual bool | apply_and_clear_undo ()=0 |
| virtual size_t | get_byte_size () const =0 |
| virtual void | compute_size ()=0 |
| std::string | get_tag () const |
|
pure virtual |
APPLY_AND_CLEAR_UNDO: Apply the undo information
Implemented in Seg3D::LayerUndoBufferItem, Seg3D::LayerRecreationUndoBufferItem, and Seg3D::ClipboardUndoBufferItem.
| bool Seg3D::UndoBufferItem::apply_redo | ( | Core::ActionContextHandle & | context | ) |
APPLY_REDO: Apply the redo information
|
pure virtual |
COMPUTE_SIZE: Compute the size of the item
Implemented in Seg3D::LayerUndoBufferItem, Seg3D::LayerRecreationUndoBufferItem, and Seg3D::ClipboardUndoBufferItem.
|
pure virtual |
GET_BYTE_SIZE: The size of the item in memory ( approximately )
Implemented in Seg3D::LayerUndoBufferItem, Seg3D::LayerRecreationUndoBufferItem, and Seg3D::ClipboardUndoBufferItem.
| std::string Seg3D::UndoBufferItem::get_tag | ( | ) | const |
GET_TAG: Tag that appears in the menu for this item
| void Seg3D::UndoBufferItem::set_redo_action | ( | Core::ActionHandle | action | ) |
SET_REDO_ACTION: Set a redo action for undoing the undo NOTE: This is generally the action that inserts the undo step onto the queue
1.8.10