ALBA
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
albaOpCut Class Reference

#include <albaOpSelect.h>

Inheritance diagram for albaOpCut:
Inheritance graph
[legend]
Collaboration diagram for albaOpCut:
Collaboration graph
[legend]

Public Member Functions

 albaOpCut (wxString label=_("Cut"))
 
 ~albaOpCut ()
 
bool Accept (albaVME *vme)
 
void OpDo ()
 
void OpUndo ()
 
albaOpCopy ()
 
void LoadVTKData (albaVME *vme)
 
- Public Member Functions inherited from albaOpEdit
 albaOpEdit (wxString label="")
 
 ~albaOpEdit ()
 
void SetInput (albaVME *vme)
 
bool ClipboardIsEmpty ()
 
void ClipboardClear ()
 
void ClipboardBackup ()
 
void ClipboardRestore ()
 
albaVMEGetClipboard ()
 
void SetClipboard (albaVME *node)
 
void SetSelectionParent (albaVME *parent)
 
void OpRun ()
 
- Public Member Functions inherited from albaOp
 albaTypeMacro (albaOp, albaObject)
 
 albaOp ()
 
 albaOp (const wxString &label)
 
virtual ~albaOp ()
 
void SetListener (albaObserver *Listener)
 
int GetType ()
 
virtual void OnEvent (albaEventBase *alba_event)
 
virtual albaOpCopy ()
 
virtual void OpRun ()
 
virtual void SetParameters (void *param)
 
virtual albaString GetParameters ()
 
virtual void OpDo ()
 
virtual void OpUndo ()
 
virtual albaGUIGetGui ()
 
virtual void SetInput (albaVME *vme)
 
virtual albaVMEGetInput ()
 
virtual albaVMEGetOutput ()
 
virtual void SetOutput (albaVME *output)
 
bool Accept (albaVME *vme)
 
void EnableAccept (bool enable=true)
 
virtual bool CanUndo ()
 
bool IsInputPreserving ()
 
void ShowGui ()
 
void HideGui ()
 
virtual bool OkEnabled ()
 
virtual void ForceStopWithOk ()
 
virtual void ForceStopWithCancel ()
 
bool IsCompatible (long state)
 
virtual const char ** GetActions ()
 
void SetMouse (albaDeviceButtonsPadMouse *mouse)
 
albaDeviceButtonsPadMouseGetMouse ()
 
void TestModeOn ()
 
void TestModeOff ()
 
bool GetTestMode ()
 
void SetCanundo (bool can_undo=true)
 
bool GetCanundo ()
 
void SetSetting (albaGUISettings *setting)
 
albaGUISettingsGetSetting ()
 
virtual char ** GetIcon ()
 
- Public Member Functions inherited from albaObserver
 albaObserver ()
 
virtual ~albaObserver ()
 
virtual void OnEvent (albaEventBase *e)=0
 
- Public Member Functions inherited from albaObject
 albaObject ()
 
virtual ~albaObject ()
 
virtual void Delete ()
 
virtual const char * GetTypeName () const
 
virtual bool IsA (const char *type_name) const
 
virtual bool IsA (const albaTypeID &type_id) const
 
virtual albaObjectNewObjectInstance () const =0
 
virtual const albaTypeIDGetTypeId () const
 
virtual void Print (std::ostream &os, const int indent=0) const
 
 albaObject (const albaObject &c)
 

Protected Member Functions

void LoadChild (albaVME *vme)
 
- Protected Member Functions inherited from albaOpEdit
void RemoveBackLinksForTheSubTree (albaVME *vme)
 
void RestoreBackLinksForTheSubTree (albaVME *vme)
 
bool CanRestoreBackLinksForTheSubTree (albaVME *vme, albaVME *root)
 
- Protected Member Functions inherited from albaOp
virtual bool InternalAccept (albaVME *vme)
 
virtual void OpStop (int result)
 

Protected Attributes

albaAutoPointer< albaVMEm_SelectionParentBackup
 
bool m_Cutted
 
- Protected Attributes inherited from albaOpEdit
albaAutoPointer< albaVMEm_Backup
 
albaAutoPointer< albaVMEm_Selection
 
- Protected Attributes inherited from albaOp
albaVMEm_Input
 
albaVMEm_Output
 
albaGUIm_Gui
 
albaGUIHolderm_Guih
 
bool m_Canundo
 
int m_OpType
 
bool m_InputPreserving
 
albaObserverm_Listener
 
albaDeviceButtonsPadMousem_Mouse
 
albaGUISettingsm_SettingPanel
 
bool m_TestMode
 
bool m_EnableAccept
 
- Protected Attributes inherited from albaObject
bool m_HeapFlag
 

Additional Inherited Members

- Public Types inherited from albaOp
enum  ALBAOP_ID { ID_HELP = MINID , MINID }
 
- Static Public Member Functions inherited from albaObject
static const char * GetStaticTypeName ()
 
static bool IsStaticType (const char *type_name)
 
static bool IsStaticType (const albaTypeID &type_id)
 
static const albaTypeIDGetStaticTypeId ()
 
static albaObjectSafeDownCast (albaObject *o)
 
- Public Attributes inherited from albaOp
wxString m_Label
 
int m_Id
 
albaOpm_Next
 
long m_Compatibility
 
wxMenuItem * m_MenuItem
 
wxString m_OpMenuPath
 

Detailed Description

class name: albaOpCut Operation which perform cut on a node input.

(copying it into a clipboard)

Definition at line 110 of file albaOpSelect.h.

Constructor & Destructor Documentation

◆ albaOpCut()

albaOpCut::albaOpCut ( wxString  label = _("Cut"))

Constructor.

◆ ~albaOpCut()

albaOpCut::~albaOpCut ( )

Destructor.

Member Function Documentation

◆ Accept()

bool albaOpCut::Accept ( albaVME vme)

check if node can be input of the operation.

◆ OpDo()

void albaOpCut::OpDo ( )
virtual

execute the operation.


Reimplemented from albaOp.

◆ OpUndo()

void albaOpCut::OpUndo ( )
virtual

undo the operation.

Reimplemented from albaOp.

◆ Copy()

albaOp * albaOpCut::Copy ( )
virtual

return a instance of current object.

Reimplemented from albaOp.

◆ LoadVTKData()

void albaOpCut::LoadVTKData ( albaVME vme)

Load VTK data for the specified VME (Added by Losi on 03.06.2010)

◆ LoadChild()

void albaOpCut::LoadChild ( albaVME vme)
protected

Load all children in the tree (Added by Di Cosmo on 24.05.2012)

Member Data Documentation

◆ m_SelectionParentBackup

albaAutoPointer<albaVME> albaOpCut::m_SelectionParentBackup
protected

Definition at line 132 of file albaOpSelect.h.

◆ m_Cutted

bool albaOpCut::m_Cutted
protected

Definition at line 133 of file albaOpSelect.h.


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