Medical Imaging Interaction Toolkit  2023.12.99-ed252ae7
Medical Imaging Interaction Toolkit
mitkTextAnnotation3D.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 mitkTextAnnotation3D_h
14 #define mitkTextAnnotation3D_h
15 
16 #include "MitkAnnotationExports.h"
18 #include <mitkVtkAnnotation3D.h>
19 
20 class vtkFollower;
21 class vtkVectorText;
22 class vtkTextActor3D;
23 
24 namespace mitk
25 {
28  {
29  public:
38  {
39  public:
42 
44 
46  itk::TimeStamp m_LastUpdateTime;
47 
49  LocalStorage();
51  ~LocalStorage();
52  };
53 
55  itkFactorylessNewMacro(Self);
56  itkCloneMacro(Self);
57 
58  protected :
59 
62 
63  vtkProp *GetVtkProp(BaseRenderer *renderer) const override;
64  void UpdateVtkAnnotation(mitk::BaseRenderer *renderer) override;
65 
67  explicit TextAnnotation3D();
68 
70  ~TextAnnotation3D() override;
71 
72  private:
75 
77  TextAnnotation3D &operator=(const TextAnnotation3D &);
78  };
79 
80 } // namespace mitk
81 #endif
mitk::VtkAnnotation3D
The VtkAnnotation3D class is the basis for all VTK based Annotation which create any 3D element as a ...
Definition: mitkVtkAnnotation3D.h:26
mitkLocalStorageHandler.h
vtkSmartPointer< vtkFollower >
MitkAnnotationExports.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::TextAnnotation3D::LocalStorage::m_textSource
vtkSmartPointer< vtkVectorText > m_textSource
Definition: mitkTextAnnotation3D.h:43
mitk::LocalStorageHandler< LocalStorage >
MITKANNOTATION_EXPORT
#define MITKANNOTATION_EXPORT
Definition: MitkAnnotationExports.h:15
mitk::TextAnnotation3D::LocalStorage
Internal class holding the mapper, actor, etc. for each of the render windows.
Definition: mitkTextAnnotation3D.h:37
mitk::TextAnnotation3D::LocalStorage::m_LastUpdateTime
itk::TimeStamp m_LastUpdateTime
Timestamp of last update of stored data.
Definition: mitkTextAnnotation3D.h:46
mitk::TextAnnotation3D::LocalStorage::m_follower
vtkSmartPointer< vtkFollower > m_follower
Actor of a 2D render window.
Definition: mitkTextAnnotation3D.h:41
mitk::TextAnnotation3D::m_LSH
mitk::LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all LocalStorages for the render windows.
Definition: mitkTextAnnotation3D.h:56
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:36
mitk::BaseRenderer
Definition: mitkBaseRenderer.h:56
mitkVtkAnnotation3D.h
mitk::TextAnnotation3D
Displays at 3D position, always facing the camera.
Definition: mitkTextAnnotation3D.h:27
mitk::Annotation::BaseLocalStorage
Base class for mapper specific rendering resources.
Definition: mitkAnnotation.h:39