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.
All Classes Namespaces Functions Variables Typedefs Enumerator Friends
Public Member Functions | List of all members
Seg3D::UndoBufferItem Class Referenceabstract
Inheritance diagram for Seg3D::UndoBufferItem:
Seg3D::ClipboardUndoBufferItem Seg3D::LayerRecreationUndoBufferItem Seg3D::LayerUndoBufferItem

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
 

Member Function Documentation

virtual bool Seg3D::UndoBufferItem::apply_and_clear_undo ( )
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

virtual void Seg3D::UndoBufferItem::compute_size ( )
pure virtual

COMPUTE_SIZE: Compute the size of the item

Implemented in Seg3D::LayerUndoBufferItem, Seg3D::LayerRecreationUndoBufferItem, and Seg3D::ClipboardUndoBufferItem.

virtual size_t Seg3D::UndoBufferItem::get_byte_size ( ) const
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


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