 |
Computer Assited Medical Intervention Tool Kit
version 4.1
|
Go to the documentation of this file.
25 #ifndef VOLUMERENDERINGACTION_H
26 #define VOLUMERENDERINGACTION_H
85 #endif // VOLUMERENDERINGACTION_H
void setFamily(QString family)
the name of the family in which this action is associated
Definition: Action.cpp:129
const vtkSmartPointer< vtkTransform > getTransform() const override
Get the transformation with respect to the parent frame.
Definition: sdk/libraries/core/component/Component.cpp:666
void createVolumeRendering(camitk::ImageComponent *comp)
Definition: VolumeRenderingAction.cpp:142
bool removeProp(const QString &name)
remove a given additional prop.
Definition: sdk/libraries/core/component/Component.h:598
virtual ~VolumeRenderingAction()=default
Default Destructor.
@ SUCCESS
everything went according to plan
Definition: Action.h:247
VolumeRenderingWidget * myWidget
no default widget but a VolumeRenderingWidget displaied when necessary
Definition: VolumeRenderingAction.h:100
ApplyStatus
Definition: Action.h:246
void setName(QString name)
Definition: Action.cpp:113
QAction * getQAction()
Get the corresponding QAction.
Definition: Action.cpp:183
virtual void process(camitk::ImageComponent *comp)
helper method to simplify the target component processing
Definition: VolumeRenderingAction.cpp:112
void setComponent(QString component)
the name of the component class that can be used by this action
Definition: Action.cpp:124
virtual ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition: VolumeRenderingAction.cpp:104
vtkSmartPointer< vtkPointSet > vtkSmartPointer< vtkAlgorithmOutput > const RenderingModes vtkSmartPointer< vtkProp > getProp(const QString ¶m)
Return the vtkProp (actors, volumes and annotations) corresponding to the given name.
Definition: sdk/libraries/core/component/Component.h:557
renderer
The current renderer.
Definition: RendererWidget.cpp:509
The manager of the Image Volume data. An image volume data has no concrete 3D representation,...
Definition: ImageComponent.h:73
const ComponentList getTargets() const
the currently selected and valid (regarding the component property) components, for which this action...
Definition: Action.cpp:159
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
virtual QWidget * getWidget()
Definition: VolumeRenderingAction.cpp:99
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:230
QString volumeName
Name given to the Volume rendering actor attached to the Volume Rendering subComponant of a volume im...
Definition: VolumeRenderingAction.h:104
virtual bool getVisibility(Viewer *) const
get the visibility of a viewer
Definition: sdk/libraries/core/component/Component.cpp:288
bool addProp(const QString &name, vtkSmartPointer< vtkProp > prop)
insert an additional prop, defining it by its name (default visibility = false)
Definition: sdk/libraries/core/component/Component.h:587
virtual void setVisibility(Viewer *, bool)
set the visibility for a viewer
Definition: sdk/libraries/core/component/Component.cpp:276
This action perform a volume rendering.
Definition: VolumeRenderingAction.h:44
void setDescription(QString description)
the description of the action
Definition: Action.cpp:119
This class describes what is a generic Action extension. To add a ActionExtension to CamiTK core,...
Definition: ActionExtension.h:82
vtkSmartPointer< vtkImageData > getImageData() const
get the image volume managed by this Component
Definition: ImageComponent.h:104
MeshComponent * getVolumeRenderingChild()
Returns the MeshComponent which will contain the volume rendering actor.
Definition: ImageComponent.cpp:516
void refresh()
refresh the display
VolumeRenderingAction(camitk::ActionExtension *)
Default Constructor.
Definition: VolumeRenderingAction.cpp:57
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