27 #ifndef MEDICAL_IMAGE_VIEWER_H 28 #define MEDICAL_IMAGE_VIEWER_H 36 #include <QGridLayout> 42 class InteractiveViewer;
82 unsigned int numberOfViewedComponent()
override;
87 void refresh(
Viewer* whoIsAsking =
nullptr)
override;
90 QWidget* getWidget(QWidget* parent =
nullptr)
override;
93 QObject* getPropertyObject()
override;
96 QMenu* getMenu()
override;
99 QToolBar* getToolBar()
override;
108 virtual void setToolbarAutoVisibility(
bool);
116 void synchronizeSelection();
All InteractiveViewer are visible.
Definition: MedicalImageViewer.h:66
QFrame * frame
the main widget
Definition: MedicalImageViewer.h:134
Only the 3D InteractiveViewer are visible.
Definition: MedicalImageViewer.h:67
unsigned int displayedTopLevelComponents
number of top-level component that are currently displayed
Definition: MedicalImageViewer.h:149
bool autoUpdateToolbarVisibility
if true, the toolbar automatically updated
Definition: MedicalImageViewer.h:155
Viewer is an abstract viewer.
Definition: Viewer.h:55
LayoutVisibility visibleLayout
which viewer(s) is/are currently visible
Definition: MedicalImageViewer.h:140
QVBoxLayout * topLeftLayout
the layout for the arbitrary/axial at the top left position of frameLayout
Definition: MedicalImageViewer.h:131
Definition: Action.cpp:36
#define CAMITK_API
Definition: CamiTKAPI.h:49
QMap< LayoutVisibility, Viewer * > viewers
contains all InteractiveViewer instance (access them by LayoutVisibility)
Definition: MedicalImageViewer.h:143
static MedicalImageViewer * singleton
the default instance (singleton)
Definition: MedicalImageViewer.h:152
Only the sagittal InteractiveViewer are visible.
Definition: MedicalImageViewer.h:70
QList< LayoutVisibility > viewerVisibility
viewer visibility enum
Definition: MedicalImageViewer.h:146
QGridLayout * frameLayout
The main layout.
Definition: MedicalImageViewer.h:128
LayoutVisibility
describes the possible currently displayed InteractiveViewer
Definition: MedicalImageViewer.h:65
Only the coronal InteractiveViewer are visible.
Definition: MedicalImageViewer.h:69
The views manager.
Definition: MedicalImageViewer.h:60
Only the axial InteractiveViewer are visible.
Definition: MedicalImageViewer.h:68
QMenu * viewerMenu
the QMenu for the MedicalImageViewer
Definition: MedicalImageViewer.h:137