Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkManualPlacementAnnotationRenderer.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkManualPlacementAnnotationRenderer_h
14 #define mitkManualPlacementAnnotationRenderer_h
15 
16 #include "MitkAnnotationExports.h"
18 #include "mitkAnnotation.h"
19 
20 namespace mitk
21 {
22  class BaseRenderer;
23 
34  {
35  public:
38 
39  static ManualPlacementAnnotationRenderer *GetAnnotationRenderer(const std::string &rendererID);
40 
41  static void AddAnnotation(Annotation *Annotation, const std::string &rendererID);
42 
43  static void AddAnnotation(Annotation *Annotation, BaseRenderer *renderer);
44 
45  private:
46  ManualPlacementAnnotationRenderer(const std::string &rendererId);
47 
48  static const std::string ANNOTATIONRENDERER_ID;
49  };
50 
51 } // namespace mitk
52 
53 #endif
#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 ManualPlacementAnnotationRenderer is used for the simple placement of mitk::Annotation Objects.
static ManualPlacementAnnotationRenderer * GetAnnotationRenderer(const std::string &rendererID)
static void AddAnnotation(Annotation *Annotation, BaseRenderer *renderer)
~ManualPlacementAnnotationRenderer() override
virtual destructor in order to derive from this class
static void AddAnnotation(Annotation *Annotation, const std::string &rendererID)
Find image slices visible on a given plane.