13 #ifndef LayoutAnnotationRenderer_H 14 #define LayoutAnnotationRenderer_H 56 const std::string GetID()
const;
60 void OnRenderWindowModified()
override;
62 static void AddAnnotation(
Annotation *annotation,
63 const std::string &rendererID,
69 static void AddAnnotation(
Annotation *annotation,
83 void PrepareTopLeftLayout(
int *displaySize);
84 void PrepareTopLayout(
int *displaySize);
85 void PrepareTopRightLayout(
int *displaySize);
86 void PrepareBottomLeftLayout(
int *displaySize);
87 void PrepareBottomLayout(
int *displaySize);
88 void PrepareBottomRightLayout(
int *displaySize);
89 void PrepareLeftLayout(
int *displaySize);
90 void PrepareRightLayout(
int *displaySize);
92 static double GetHeight(AnnotationRankedMap &annotations,
BaseRenderer *renderer);
94 void OnAnnotationRenderersChanged()
override;
95 static const std::string ANNOTATIONRENDERER_ID;
96 AnnotationLayouterContainerMap m_AnnotationContainerMap;
103 #endif // LayoutAnnotationRenderer_H static const std::string PROP_LAYOUT
The LayoutAnnotationRenderer is used for the layouted placement of mitk::Annotation Objects...
static const std::string PROP_LAYOUT_MARGIN
#define MITKANNOTATION_EXPORT
Organizes the rendering process.
DataCollection - Class to facilitate loading/accessing structured data.
Baseclass of Annotation layouters An AbstractAnnotationRenderer can be implemented to control a set o...
std::multimap< int, mitk::Annotation * > AnnotationRankedMap
static const std::string PROP_LAYOUT_ALIGNMENT
Base class for all Annotation This class is to be implemented in order to create Annotation which are...
static const std::string PROP_LAYOUT_PRIORITY
std::map< Alignment, AnnotationRankedMap > AnnotationLayouterContainerMap