27 #ifndef MEDICAL_IMAGE_VIEWER_H
28 #define MEDICAL_IMAGE_VIEWER_H
37 #include <QGridLayout>
83 void refresh(Viewer* whoIsAsking =
nullptr)
override;
133 CAMITK_API_DEPRECATED(
"This method is deprecated please use setToolbarVisibility(..) instead") virtual
void setToolbarAutoVisibility(
bool);
138 void synchronizeSelection();
145 QGridLayout* frameLayout;
148 QVBoxLayout* northWestLayout;
149 QVBoxLayout* southWestLayout;
150 QVBoxLayout* northEastLayout;
151 QVBoxLayout* southEastLayout;
169 unsigned int displayedTopLevelComponents;
172 bool autoUpdateToolbarVisibility;
#define CAMITK_API_DEPRECATED(X)
Definition: CamiTKAPI.h:94
#define MEDICALIMAGEVIEWER_API
Definition: MedicalImageViewerAPI.h:54
All-in-one medical image viewer.
Definition: MedicalImageViewer.h:59
LayoutVisibility
describes the possible currently displayed InteractiveViewer
Definition: MedicalImageViewer.h:64
@ VIEWER_3D
Only the 3D InteractiveViewer are visible.
Definition: MedicalImageViewer.h:66
@ VIEWER_CORONAL
Only the coronal InteractiveViewer are visible.
Definition: MedicalImageViewer.h:68
@ VIEWER_SAGITTAL
Only the sagittal InteractiveViewer are visible.
Definition: MedicalImageViewer.h:69
@ VIEWER_AXIAL
Only the axial InteractiveViewer are visible.
Definition: MedicalImageViewer.h:67
@ VIEWER_ALL
All InteractiveViewer are visible.
Definition: MedicalImageViewer.h:65
Definition: PersistenceManager.h:34
This class describes a property object.
Definition: PropertyObject.h:72
Viewer is an abstract class that is the base class for all viewers.
Definition: Viewer.h:181
virtual PropertyObject * getPropertyObject()
get the viewer property object (returns nullptr by default, i.e. there are no property to edit)
Definition: Viewer.h:241
virtual QMenu * getMenu()
get the viewer menu (returns nullptr by default, i.e. there are no default edit menu)
Definition: Viewer.h:246
virtual QWidget * getWidget()=0
get the viewer widget.
virtual void setToolBarVisibility(bool)
set the visibility of the toolbar in the main window (true by default).
Definition: Viewer.cpp:117
virtual void refresh(Viewer *whoIsAsking=nullptr)=0
refresh the view (can be interesting to know which other viewer is calling this)
virtual QToolBar * getToolBar()
get the viewer toolbar (returns nullptr by default, i.e. there are no default toolbar)
Definition: Viewer.h:251