Medical Imaging Interaction Toolkit  2023.12.00
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
mitk::ManualPlacementAnnotationRenderer
The ManualPlacementAnnotationRenderer is used for the simple placement of mitk::Annotation Objects.
Definition: mitkManualPlacementAnnotationRenderer.h:33
mitk::Annotation
Base class for all Annotation This class is to be implemented in order to create Annotation which are...
Definition: mitkAnnotation.h:27
mitkAnnotation.h
MitkAnnotationExports.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MITKANNOTATION_EXPORT
#define MITKANNOTATION_EXPORT
Definition: MitkAnnotationExports.h:15
mitk::AbstractAnnotationRenderer
Baseclass of Annotation layouters An AbstractAnnotationRenderer can be implemented to control a set o...
Definition: mitkAbstractAnnotationRenderer.h:31
mitk::BaseRenderer
Definition: mitkBaseRenderer.h:56
mitkAbstractAnnotationRenderer.h