|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
25 #ifndef SHOWSAGITTALSLICEIN3D_H
26 #define SHOWSAGITTALSLICEIN3D_H
29 #include <Component.h>
60 #endif // SHOWSAGITTALSLICEIN3D_H
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:136
virtual bool getVisibility(QString) const
get the visibility inside the viewer of the given name
Definition: sdk/libraries/core/component/Component.cpp:261
@ SUCCESS
everything went according to plan
Definition: Action.h:248
ApplyStatus
Definition: Action.h:247
void setName(QString name)
Definition: Action.cpp:120
ShowSagittalSliceIn3D(camitk::ActionExtension *)
Default Constructor.
Definition: ShowSagittalSliceIn3D.cpp:33
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:131
Shows the sagittal slice of the volumic image in the 3D viewer.
Definition: ShowSagittalSliceIn3D.h:38
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
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 ~ShowSagittalSliceIn3D()
Default Destructor.
Definition: ShowSagittalSliceIn3D.cpp:46
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
void setDescription(QString description)
the description of the action
Definition: Action.cpp:126
SingleImageComponent * getSagittalSlices()
Returns the sagittal slice.
Definition: ImageComponent.cpp:482
virtual void setVisibility(QString, bool)
set the visibility inside the viewer of the given name (the viewer needs to be a registered viewer)
Definition: sdk/libraries/core/component/Component.cpp:224
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:80
QAction * getQAction(camitk::Component *target=nullptr) override
Get the corresponding QAction (overriden to update the checked status)
Definition: ShowSagittalSliceIn3D.cpp:69
void refresh()
refresh the display
virtual QWidget * getWidget() override
Returns NULL: no permanent widget for this action. The GUI is run shown a one-shot dialog in apply.
Definition: ShowSagittalSliceIn3D.cpp:51
virtual camitk::Action::ApplyStatus apply() override
this method is automatically called when the action is triggered.
Definition: ShowSagittalSliceIn3D.cpp:56
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