13 #ifndef mitkLayoutAnnotationRenderer_h
14 #define mitkLayoutAnnotationRenderer_h
56 const std::string
GetID()
const;
63 const std::string &rendererID,
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);
94 void OnAnnotationRenderersChanged()
override;
95 static const std::string ANNOTATIONRENDERER_ID;
#define MITKANNOTATION_EXPORT
Baseclass of Annotation layouters An AbstractAnnotationRenderer can be implemented to control a set o...
Base class for all Annotation This class is to be implemented in order to create Annotation which are...
The LayoutAnnotationRenderer is used for the layouted placement of mitk::Annotation Objects.
static LayoutAnnotationRenderer * GetAnnotationRenderer(const std::string &rendererID)
std::map< Alignment, AnnotationRankedMap > AnnotationLayouterContainerMap
static void AddAnnotation(Annotation *annotation, BaseRenderer *renderer, Alignment alignment=TopLeft, double marginX=5, double marginY=5, int priority=-1)
~LayoutAnnotationRenderer() override
virtual destructor in order to derive from this class
const std::string GetID() const
void OnRenderWindowModified() override
static void AddAnnotation(Annotation *annotation, const std::string &rendererID, Alignment alignment=TopLeft, double marginX=5, double marginY=5, int priority=-1)
static const std::string PROP_LAYOUT
static const std::string PROP_LAYOUT_ALIGNMENT
static const std::string PROP_LAYOUT_PRIORITY
static const std::string PROP_LAYOUT_MARGIN
std::multimap< int, mitk::Annotation * > AnnotationRankedMap
Find image slices visible on a given plane.