27#ifndef MEDICAL_IMAGE_VIEWER_H
28#define MEDICAL_IMAGE_VIEWER_H
83 void refresh(Viewer* whoIsAsking =
nullptr)
override;
121 void synchronizeSelection();
128 QGridLayout* frameLayout;
131 QVBoxLayout* northWestLayout;
132 QVBoxLayout* southWestLayout;
133 QVBoxLayout* northEastLayout;
134 QVBoxLayout* southEastLayout;
146 QMap<LayoutVisibility, Viewer*> viewers;
152 unsigned int displayedTopLevelComponents;
155 bool autoUpdateToolbarVisibility;
#define MEDICALIMAGEVIEWER_API
Definition MedicalImageViewerAPI.h:53
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:30
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:182
virtual QToolBar * getToolBar()
get the viewer toolbar (returns nullptr by default, i.e. there are no default toolbar)
Definition Viewer.h:271
virtual PropertyObject * getPropertyObject()
get the viewer property object (returns nullptr by default, i.e. there are no property to edit)
Definition Viewer.h:261
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:107
virtual void refresh(Viewer *whoIsAsking=nullptr)=0
refresh the view (can be interesting to know which other viewer is calling this)
virtual QMenu * getMenu()
get the viewer menu (returns nullptr by default, i.e. there are no default edit menu)
Definition Viewer.h:266