27#ifndef MESHPROJECTION_H
28#define MESHPROJECTION_H
39#include <CamiTKDisableWarnings>
40#include <vtkPolyDataMapper.h>
41#include <CamiTKReEnableWarnings>
65 virtual bool event(QEvent* e);
98 void updateVisibility();
101 QMap<camitk::Slice::SliceOrientation, vtkSmartPointer<vtkPolyDataMapper>> cutterMapperMap;
104 QMap<camitk::Slice::SliceOrientation, vtkSmartPointer<vtkActor>> contourActorMap;
107 QMap<camitk::Slice::SliceOrientation, vtkSmartPointer<vtkActor>> contourActorIn2DViewerMap;
110 QMap<camitk::Slice::SliceOrientation, vtkSmartPointer<vtkPlane>> cuttingPlaneMap;
132 void updateContourLineWidth();
Show the mesh contour in the slice viewers.
Definition MeshProjection.h:53
void updateCuttingPlane()
this slots is called when the user changes the selected slice to update the contour
Definition MeshProjection.cpp:488
virtual bool event(QEvent *e)
manage property modification immediatly
Definition MeshProjection.cpp:152
void hide()
remove the contour from the viewers if the mesh is closed / destroyed
Definition MeshProjection.cpp:499
virtual ~MeshProjection()
Default Destructor.
Definition MeshProjection.cpp:103
virtual camitk::Action::ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition MeshProjection.cpp:146
virtual QWidget * getWidget()
method called when the action when the action is triggered (i.e. started)
Definition MeshProjection.cpp:108
Definition PersistenceManager.h:34
This class describes what is a generic Action extension.
Definition ActionExtension.h:57
Action class is an abstract class that enables you to build a action (generally on a component).
Definition Action.h:209
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition Action.h:225
The manager of the Image Volume data.
Definition ImageComponent.h:77
InteractiveViewer is used to view 3D objects and slices (anything that provides either a InterfaceBit...
Definition InteractiveViewer.h:112
Basic component to manage any kind of mesh.
Definition MeshComponent.h:53
SliceOrientation
Common slices orientation: axial, sagittal, coronal axial_neuro.
Definition Slice.h:151