|
Computer Assited Medical Intervention Tool Kit
version 5.0
|
|
Go to the documentation of this file.
25 #ifndef VOLUMERENDERINGACTION_H
26 #define VOLUMERENDERINGACTION_H
85 #endif // VOLUMERENDERINGACTION_H
const vtkSmartPointer< vtkTransform > getTransform() const override
Get the transformation with respect to the parent frame.
Definition: sdk/libraries/core/component/Component.cpp:824
#define CAMITK_WARNING(MSG)
Log for warning verbosity (the most common one) Will appear by default.
Definition: Log.h:266
void createVolumeRendering()
create the volume rendering component actors (remove previous one if existed)
Definition: VolumeRenderingAction.cpp:164
virtual bool getVisibility(QString) const
get the visibility inside the viewer of the given name
Definition: sdk/libraries/core/component/Component.cpp:261
virtual ~VolumeRenderingAction()=default
Default Destructor.
bool addProp(const QString &name, vtkSmartPointer< vtkProp > prop) override
insert an additional prop, defining it by its name (default visibility = false)
Definition: sdk/libraries/core/component/Component.h:626
@ SUCCESS
everything went according to plan
Definition: Action.h:248
VolumeRenderingWidget * myWidget
no default widget but a VolumeRenderingWidget displaied when necessary
Definition: VolumeRenderingAction.h:98
@ ABORTED
the action was aborted before completion
Definition: Action.h:251
ApplyStatus
Definition: Action.h:247
QAction * getQAction(camitk::Component *target=nullptr) override
Get the corresponding QAction (overriden to update the checked status)
Definition: VolumeRenderingAction.cpp:118
virtual QWidget * getWidget() override
Definition: VolumeRenderingAction.cpp:94
camitk::ImageComponent * image
currently managed/selected image;
Definition: VolumeRenderingAction.h:105
renderer
The current renderer.
Definition: RendererWidget.cpp:283
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
This class describes a property that can be used in components and actions or any class that needs to...
Definition: Property.h:303
Action class is an abstract class that enables you to build a action (generally on a component)....
Definition: Action.h:231
QString volumeName
Name given to the Volume rendering actor attached to the Volume Rendering subComponant of a volume im...
Definition: VolumeRenderingAction.h:102
This action perform a volume rendering.
Definition: VolumeRenderingAction.h:44
virtual camitk::Action::ApplyStatus apply() override
this method is automatically called when the action is triggered.
Definition: VolumeRenderingAction.cpp:140
QString getName() const override
get the name to be displayed
Definition: sdk/libraries/core/component/Component.h:907
vtkSmartPointer< vtkPointSet > vtkSmartPointer< vtkAlgorithmOutput > const RenderingModes vtkSmartPointer< vtkProp > getProp(const QString ¶m) override
Return the vtkProp (actors, volumes and annotations) corresponding to the given name.
Definition: sdk/libraries/core/component/Component.h:593
bool removeProp(const QString &name) override
remove a given additional prop.
Definition: sdk/libraries/core/component/Component.h:638
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
vtkSmartPointer< vtkImageData > getImageData() const override
get the image volume managed by this Component
Definition: ImageComponent.h:123
MeshComponent * getVolumeRenderingChild()
Returns the MeshComponent which will contain the volume rendering actor.
Definition: ImageComponent.cpp:519
void refresh()
refresh the display
VolumeRenderingAction(camitk::ActionExtension *)
Default Constructor.
Definition: VolumeRenderingAction.cpp:66
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