27#ifndef MEDICAL_IMAGE_VIEWER_H
28#define MEDICAL_IMAGE_VIEWER_H
83 void refresh(Viewer* whoIsAsking =
nullptr)
override;
104 virtual void setToolbarAutoVisibility(
bool);
115 void synchronizeSelection();
122 QGridLayout* frameLayout;
125 QVBoxLayout* northWestLayout;
126 QVBoxLayout* southWestLayout;
127 QVBoxLayout* northEastLayout;
128 QVBoxLayout* southEastLayout;
140 QMap<LayoutVisibility, Viewer*> viewers;
143 QList<LayoutVisibility> viewerVisibility;
146 unsigned int displayedTopLevelComponents;
149 bool autoUpdateToolbarVisibility;
#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
Viewer is an abstract class that is the base class for all viewers.
Definition Viewer.h:180
virtual QToolBar * getToolBar()
get the viewer toolbar (returns nullptr by default, i.e. there are no default toolbar)
Definition Viewer.h:250
virtual QWidget * getWidget()=0
get the viewer widget.
virtual QObject * getPropertyObject()
get the viewer property object (returns nullptr by default, i.e. there are no property to edit)
Definition Viewer.h:240
virtual QMenu * getMenu()
get the viewer menu (returns nullptr by default, i.e. there are no default edit menu)
Definition Viewer.h:245
void refresh()
refresh the display