|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
26 #ifndef SELECT_LAST_INSTANTIATED_ACTION_H
27 #define SELECT_LAST_INSTANTIATED_ACTION_H
61 #endif // SELECT_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
virtual camitk::Action::ApplyStatus apply()
apply the action select the last instantiated component
Definition: SelectLastInstantiatedAction.cpp:52
void setEmbedded(bool isEmbedded)
set the embedded property (an action is embedded by default, unless specified otherwise by explicitly...
Definition: Action.cpp:146
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:141
virtual QWidget * getWidget()
Returns NULL: no widget at all for this action.
Definition: SelectLastInstantiatedAction.cpp:47
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
SelectLastInstantiatedAction(camitk::ActionExtension *)
Default Constructor.
Definition: SelectLastInstantiatedAction.cpp:34
virtual ~SelectLastInstantiatedAction()=default
Default Destructor.
#define CAMITK_ERROR(MSG)
Log for error verbosity (the minimum verbosity) Will always appear.
Definition: Log.h:276
virtual void setSelected(const bool b, const bool recursive=true)
Update the selection flag.
Definition: sdk/libraries/core/component/Component.cpp:445
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
QList< Component * > ComponentList
A list of Component.
Definition: CamiTKAPI.h:127
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
Save the current selected component. This action allows one to select the last instantiated component...
Definition: SelectLastInstantiatedAction.h:43
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