Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::TextOverlay3D::LocalStorage Class Reference

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

#include <mitkTextOverlay3D.h>

Inheritance diagram for mitk::TextOverlay3D::LocalStorage:
Collaboration diagram for mitk::TextOverlay3D::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::Overlay::BaseLocalStorage
bool IsGenerateDataRequired (mitk::BaseRenderer *renderer, mitk::Overlay *overlay)
 
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::Overlay::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 Overlay on transveral, 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 mitkOverlay using n vtkMapper.

Definition at line 41 of file mitkTextOverlay3D.h.

Constructor & Destructor Documentation

mitk::TextOverlay3D::LocalStorage::LocalStorage ( )

Default constructor of the local storage.

Definition at line 46 of file mitkTextOverlay3D.cpp.

References mitk::New().

mitk::TextOverlay3D::LocalStorage::~LocalStorage ( )

Default deconstructor of the local storage.

Definition at line 42 of file mitkTextOverlay3D.cpp.

Member Data Documentation

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

Actor of a 2D render window.

Definition at line 45 of file mitkTextOverlay3D.h.

Referenced by mitk::TextOverlay3D::GetVtkProp(), and mitk::TextOverlay3D::UpdateVtkOverlay().

itk::TimeStamp mitk::TextOverlay3D::LocalStorage::m_LastUpdateTime

Timestamp of last update of stored data.

Definition at line 50 of file mitkTextOverlay3D.h.

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

Definition at line 47 of file mitkTextOverlay3D.h.

Referenced by mitk::TextOverlay3D::UpdateVtkOverlay().


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