|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
@ SUCCESS
everything went according to plan
Definition: Action.h:248
@ ABORTED
the action was aborted before completion
Definition: Action.h:251
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
Action to crop a volumic image.
Definition: BoxVOI.h:43
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:77
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:166
virtual camitk::Action::ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: BoxVOI.cpp:84
void setEmbedded(bool isEmbedded)
set the embedded property (an action is embedded by default, unless specified otherwise by explicitly...
Definition: Action.cpp:146
QWidget * theWidget
The widget will be filled with parameters.
Definition: BoxVOI.h:98
virtual ~BoxVOI()
Default Destructor.
Definition: BoxVOI.cpp:61
void addTag(QString tag)
add a tag to the tags list of this action
Definition: Action.cpp:141
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
virtual camitk::Action::ApplyStatus apply()=0
This method is called when the action has to be applied on the target list (get the target lists usin...
virtual void process(camitk::ImageComponent *comp)
helper method to simplify the target component processing
Definition: BoxVOI.cpp:131
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:907
QList< QVector3D > * seedPoints
list of seed points
Definition: BoxVOI.h:101
BoxVOI(camitk::ActionExtension *)
Default Constructor.
Definition: BoxVOI.cpp:40
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
#define BOXVOI_API
Definition: BoxVOIAPI.h:8
vtkSmartPointer< vtkImageData > getImageData() const override
get the image volume managed by this Component
Definition: ImageComponent.h:123
virtual QWidget * getWidget()
This method has to be redefined in your Action only if:
Definition: Action.cpp:185
void refresh()
refresh the display
virtual QWidget * getWidget()
Returns the widget that allows one to modify the action parameters.
Definition: BoxVOI.cpp:66
Definition: Action.cpp:35