|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef REMOVE_LAST_INSTANTIATED_ACTION_H
27 #define REMOVE_LAST_INSTANTIATED_ACTION_H
59 #endif // REMOVE_LAST_INSTANTIATED_ACTION_H
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
Component * getParentComponent()
get the parent component
Definition: sdk/libraries/core/component/Component.cpp:209
@ SUCCESS
everything went according to plan
Definition: Action.h:248
ApplyStatus
Definition: Action.h:247
void setName(QString name)
Definition: Action.cpp:120
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:131
@ ERROR
apply() failed : an error occured (usually it means that the apply() was interrupted)
Definition: Action.h:249
void setEmbedded(bool isEmbedded)
set the embedded property (an action is embedded by default, unless specified otherwise by explicitly...
Definition: Action.cpp:146
virtual camitk::Action::ApplyStatus apply()
apply the action select the last instantiated component
Definition: RemoveLastInstantiatedAction.cpp:54
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:141
virtual ~RemoveLastInstantiatedAction()=default
Default Destructor.
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:276
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
QList< Component * > ComponentList
A list of Component.
Definition: CamiTKAPI.h:127
Remove the last top-level selected component (if several top level components were selected,...
Definition: RemoveLastInstantiatedAction.h:41
RemoveLastInstantiatedAction(camitk::ActionExtension *)
Default Constructor.
Definition: RemoveLastInstantiatedAction.cpp:36
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
void refresh()
refresh the display
virtual QWidget * getWidget()
Returns NULL: no widget at all for this action.
Definition: RemoveLastInstantiatedAction.cpp:49
A Component represents something that could be included in the explorer view, the interactive 3D view...
Definition: sdk/libraries/core/component/Component.h:302
Definition: Action.cpp:35