 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
26 #ifndef SELECT_LAST_INSTANCIATED_ACTION_H
27 #define SELECT_LAST_INSTANCIATED_ACTION_H
61 #endif // SELECT_LAST_INSTANCIATED_ACTION_H
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:129
virtual Component * getParentComponent()
get the parent component
Definition: sdk/libraries/core/component/Component.cpp:261
@ SUCCESS
everything went according to plan
Definition: Action.h:247
ApplyStatus
Definition: Action.h:246
void setName(QString name)
Definition: Action.cpp:113
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:124
@ ERROR
apply() failed : an error occured (usually it means that the apply() was interrupted)
Definition: Action.h:248
void setEmbedded(bool isEmbedded)
set the embedded property (an action is embedded by default, unless specified otherwise by explicitly...
Definition: Action.cpp:139
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:134
Save the current selected component. This action allows one to select the last instantiated component...
Definition: SelectLastInstanciatedAction.h:43
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:230
virtual QWidget * getWidget()
Returns NULL: no widget at all for this action.
Definition: SelectLastInstanciatedAction.cpp:47
SelectLastInstanciatedAction(camitk::ActionExtension *)
Default Constructor.
Definition: SelectLastInstanciatedAction.cpp:34
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:273
virtual void setSelected(const bool b, const bool recursive=true)
Update the selection flag.
Definition: sdk/libraries/core/component/Component.cpp:558
void setDescription(QString description)
the description of the action
Definition: Action.cpp:119
virtual ~SelectLastInstanciatedAction()=default
Default Destructor.
QList< Component * > ComponentList
A list of Component.
Definition: CamiTKAPI.h:89
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:82
virtual ApplyStatus apply()
apply the action select the last instantiated component
Definition: SelectLastInstanciatedAction.cpp:52
void refresh()
refresh the display
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:298
Definition: Action.cpp:36