13 #ifndef QmitkOverlayController_h
14 #define QmitkOverlayController_h
#define MITKQTOVERLAYS_EXPORT
controller that manages the positioning and stacking of QmitkOverlays
std::map< QmitkOverlay::DisplayPosition, QWidget * > OverlayPositionMap
void InitializeWidget(QmitkOverlay::DisplayPosition pos)
initializes one QWidget - internally used by InitializeOverlayLayout()
mitk::PropertyList * GetPropertyList()
getter for the RenderWindow-specific PropertyList
void AddOverlay(QmitkOverlay *)
adds an instance of QmitkOverlay to the RenderWindow
void SetPropertyList(mitk::PropertyList *)
setter for the RenderWindow-specific PropertyList
void RestackOverlays(QmitkOverlay::DisplayPosition pos)
mitk::PropertyList::Pointer m_PropertyList
PropertyList for RenderWindow-specific properties.
void AdjustOverlayPosition(QmitkOverlay::DisplayPosition displayPosition)
void RemoveOverlay(QmitkOverlay *)
QSize GetMinimumSizeForWidget(QmitkOverlay::DisplayPosition displayPosition)
void InitializeOverlayLayout()
setting up the widgets that will hold all overlays
QmitkRenderWindow * m_RenderWindow
RenderWindow that all Overlays will be added to.
OverlayPositionMap m_PositionedOverlays
all possible positions and the QWidgets representing the corresponding QmitkOverlays
void AdjustAllOverlayPosition()
adjusts the position of all overlays to the position of the RenderWindow
OverlayVector m_AllOverlays
all QmitkOverlays that are currently added
QmitkOverlayController(QmitkRenderWindow *rw, mitk::PropertyList *pl=nullptr)
constructor with mandatory QmitkRenderWindow and optional mitk::PropertyList
virtual void AlignOverlays()
re-aligning the overlays - not implemented yet
void UpdateOverlayData(QmitkOverlay *overlay)
void SetOverlayVisibility(bool visible)
setting the visibility of all overlays
~QmitkOverlayController() override
std::vector< QmitkOverlay * > OverlayVector
Abstract base class for all overlay-objects in MITK.
DisplayPosition
enumeration of all possible display positions
MITK implementation of the QVTKWidget.
Key-value list holding instances of BaseProperty.