27#ifndef MESHPROJECTION_H
28#define MESHPROJECTION_H
39#include <CamiTKDisableWarnings>
40#include <vtkPolyDataMapper.h>
41#include <CamiTKReEnableWarnings>
65 virtual bool event(QEvent* e);
92 void updateImageComponentList();
101 void updateVisibility();
104 QMap<camitk::Slice::SliceOrientation, vtkSmartPointer<vtkActor>> contourActorMap;
107 QMap<camitk::Slice::SliceOrientation, vtkSmartPointer<vtkActor>> contourActorIn2DViewerMap;
110 QMap<camitk::Slice::SliceOrientation, vtkSmartPointer<vtkPlane>> cuttingPlaneMap;
133 void updateContourLineWidth();
136 bool initializationPending;
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:503
virtual bool event(QEvent *e)
manage property modification immediatly
Definition MeshProjection.cpp:168
void hide()
remove the contour from the viewers if the mesh is closed / destroyed
Definition MeshProjection.cpp:515
virtual ~MeshProjection()
Default Destructor.
Definition MeshProjection.cpp:110
virtual camitk::Action::ApplyStatus apply()
this method is automatically called when the action is triggered.
Definition MeshProjection.cpp:159
virtual QWidget * getWidget()
method called when the action when the action is triggered (i.e. started)
Definition MeshProjection.cpp:115
Definition PersistenceManager.h:30
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 an algorithm that wor...
Definition Action.h:215
ApplyStatus
describes what happened during the application of an algorithm (i.e. results of the apply method)
Definition Action.h:231
The manager of the Image Volume data.
Definition ImageComponent.h:76
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:149