Medical Imaging Interaction Toolkit  2022.04.99-685cdc74
Medical Imaging Interaction Toolkit
mitk::TextAnnotation3D::LocalStorage Class Reference

Internal class holding the mapper, actor, etc. for each of the render windows. More...

#include <mitkTextAnnotation3D.h>

Inheritance diagram for mitk::TextAnnotation3D::LocalStorage:
Collaboration diagram for mitk::TextAnnotation3D::LocalStorage:

Public Member Functions

 LocalStorage ()
 Default constructor of the local storage. More...
 
 ~LocalStorage ()
 Default deconstructor of the local storage. More...
 
- Public Member Functions inherited from mitk::Annotation::BaseLocalStorage
bool IsGenerateDataRequired (mitk::BaseRenderer *renderer, mitk::Annotation *Annotation)
 
void UpdateGenerateDataTime ()
 
itk::TimeStamp & GetLastGenerateDataTime ()
 

Public Attributes

vtkSmartPointer< vtkFollower > m_follower
 Actor of a 2D render window. More...
 
vtkSmartPointer< vtkVectorText > m_textSource
 
itk::TimeStamp m_LastUpdateTime
 Timestamp of last update of stored data. More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::Annotation::BaseLocalStorage
itk::TimeStamp m_LastGenerateDataTime
 timestamp of last update of stored data More...
 

Detailed Description

Internal class holding the mapper, actor, etc. for each of the render windows.

To render the Annotation on axial, coronal, and sagittal, the update method is called for each renderwindow. For performance reasons, the corresponding data for each view is saved in the internal helper class LocalStorage. This allows rendering n views with just 1 mitkAnnotation using n vtkMapper.

Definition at line 37 of file mitkTextAnnotation3D.h.

Constructor & Destructor Documentation

◆ LocalStorage()

mitk::TextAnnotation3D::LocalStorage::LocalStorage ( )

Default constructor of the local storage.

◆ ~LocalStorage()

mitk::TextAnnotation3D::LocalStorage::~LocalStorage ( )

Default deconstructor of the local storage.

Member Data Documentation

◆ m_follower

vtkSmartPointer<vtkFollower> mitk::TextAnnotation3D::LocalStorage::m_follower

Actor of a 2D render window.

Definition at line 41 of file mitkTextAnnotation3D.h.

◆ m_LastUpdateTime

itk::TimeStamp mitk::TextAnnotation3D::LocalStorage::m_LastUpdateTime

Timestamp of last update of stored data.

Definition at line 46 of file mitkTextAnnotation3D.h.

◆ m_textSource

vtkSmartPointer<vtkVectorText> mitk::TextAnnotation3D::LocalStorage::m_textSource

Definition at line 43 of file mitkTextAnnotation3D.h.


The documentation for this class was generated from the following file: