VPTissue Reference Manual
|
Interface for an editable graphical representation. More...
#include <EditableItem.h>
Public Slots | |
virtual void | Update () |
Update this item. | |
Public Member Functions | |
EditableItem () | |
Constructor. | |
virtual | ~EditableItem () |
Destructor. | |
virtual void | Highlight (bool highlighted)=0 |
Highlights the item in the canvas. More... | |
virtual bool | IsAtBoundary () const =0 |
Checks whether the item is at the boundary. More... | |
virtual void | SetHighlightColor (const QColor &color)=0 |
Set the highlight color to a given color. More... | |
Interface for an editable graphical representation.
Definition at line 30 of file EditableItem.h.
|
pure virtual |
Highlights the item in the canvas.
highlighted | True if the item should be highlighted. |
Implemented in SimPT_Editor::EditableEdgeItem, SimPT_Editor::EditableCellItem, and SimPT_Editor::EditableNodeItem.
|
pure virtual |
Checks whether the item is at the boundary.
Implemented in SimPT_Editor::EditableEdgeItem, SimPT_Editor::EditableCellItem, and SimPT_Editor::EditableNodeItem.
Referenced by SimPT_Editor::TissueGraphicsView::SelectedIsAtBoundary().
|
pure virtual |
Set the highlight color to a given color.
color | The given color. |
Implemented in SimPT_Editor::EditableCellItem, SimPT_Editor::EditableEdgeItem, and SimPT_Editor::EditableNodeItem.