16#ifndef __albaOpSelect_H__
17#define __albaOpSelect_H__
Hold a reference to a T instance.
class name: albaOpCopy Operation which perform copy of a node.
void OpDo()
execute the operation.
void OpUndo()
undo the operation.
bool Accept(albaVME *vme)
check if node can be input of the operation.
albaOpCopy(wxString label=_("Copy"))
Constructor.
albaOp * Copy()
return a instance of current object.
class name: albaOpCut Operation which perform cut on a node input.
albaAutoPointer< albaVME > m_SelectionParentBackup
albaOp * Copy()
return a instance of current object.
void LoadVTKData(albaVME *vme)
Load VTK data for the specified VME (Added by Losi on 03.06.2010)
bool Accept(albaVME *vme)
check if node can be input of the operation.
void OpDo()
execute the operation.
void OpUndo()
undo the operation.
void LoadChild(albaVME *vme)
Load all children in the tree (Added by Di Cosmo on 24.05.2012)
albaOpCut(wxString label=_("Cut"))
Constructor.
class name: albaOpEdit Interface operation for cut, copy, and paste operation.
void ClipboardClear()
clear the clipboard.
void SetClipboard(albaVME *node)
set the clipboard
void ClipboardBackup()
store clipboard for backup
void ClipboardRestore()
restore clipboard from backup
albaAutoPointer< albaVME > m_Backup
void OpRun()
runs operation.
albaVME * GetClipboard()
return the albaVME that is in the clipboard
albaOpEdit(wxString label="")
Constructor.
void SetInput(albaVME *vme)
set input node to the operation.
void RestoreBackLinksForTheSubTree(albaVME *vme)
bool CanRestoreBackLinksForTheSubTree(albaVME *vme, albaVME *root)
bool ClipboardIsEmpty()
check if the clipboard is empty.
void RemoveBackLinksForTheSubTree(albaVME *vme)
albaAutoPointer< albaVME > m_Selection
void SetSelectionParent(albaVME *parent)
set the parent of the selection
class name: albaOpPaste Operation which perform paste of a node previously copied or cut.
bool Accept(albaVME *vme)
check if node can be input of the operation.
albaOp * Copy()
return a instance of current object.
void OpDo()
execute the operation.
albaAutoPointer< albaVME > m_PastedVme
albaOpPaste(wxString label=_("Paste"))
Constructor.
void OpUndo()
undo the operation.
class name: albaOpPaste Operation which perform paste of a node previously copied or cut.
albaOp * Copy()
return a instance of current object.
albaOpRename(wxString label=_("Rename"))
Constructor.
void OpDo()
execute the operation.
void OpUndo()
undo the operation.
bool Accept(albaVME *vme)
check if node can be input of the operation.
class name: albaOpSelect Operation for the selection of a vme.
albaAutoPointer< albaVME > m_NewNodeSelected
void SetNewSel(albaVME *vme)
selection of another node.
albaVME * GetInput()
retrieve the input node.
void OpUndo()
undo the operation.
bool Accept(albaVME *vme)
check if node can be input of the operation.
albaTypeMacro(albaOpSelect, albaOp)
~albaOpSelect()
Destructor.
albaOpSelect(wxString label=_("Select"))
Constructor.
void OpRun()
runs operation.
void SetInput(albaVME *vme)
set input node to the operation.
albaOp * Copy()
return a instance of current object.
albaAutoPointer< albaVME > m_OldNodeSelected
void OpDo()
execute the operation.
albaVME * GetNewSel()
retrieve new selected node.
albaString - performs common string operations on c-strings.