Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
mitk::LabelSetImageVtkMapper2D::LocalStorage Class Reference

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

#include <mitkLabelSetImageVtkMapper2D.h>

Inheritance diagram for mitk::LabelSetImageVtkMapper2D::LocalStorage:
Collaboration diagram for mitk::LabelSetImageVtkMapper2D::LocalStorage:

Public Member Functions

 LocalStorage ()
 Default constructor of the local storage. More...
 
 ~LocalStorage () override
 Default deconstructor of the local storage. More...
 
- Public Member Functions inherited from mitk::Mapper::BaseLocalStorage
 BaseLocalStorage ()=default
 
virtual ~BaseLocalStorage ()=default
 
 BaseLocalStorage (const BaseLocalStorage &)=delete
 
BaseLocalStorageoperator= (const BaseLocalStorage &)=delete
 
bool IsGenerateDataRequired (mitk::BaseRenderer *renderer, mitk::Mapper *mapper, mitk::DataNode *dataNode) const
 
void UpdateGenerateDataTime ()
 
itk::TimeStamp & GetLastGenerateDataTime ()
 

Public Attributes

vtkSmartPointer< vtkPropAssembly > m_Actors
 
std::vector< vtkSmartPointer< vtkActor > > m_LayerActorVector
 
std::vector< vtkSmartPointer< vtkPolyDataMapper > > m_LayerMapperVector
 
std::vector< vtkSmartPointer< vtkImageData > > m_ReslicedImageVector
 
std::vector< vtkSmartPointer< vtkNeverTranslucentTexture > > m_LayerTextureVector
 
vtkSmartPointer< vtkPolyData > m_EmptyPolyData
 
vtkSmartPointer< vtkPlaneSource > m_Plane
 
std::vector< mitk::ExtractSliceFilter::Pointerm_ReslicerVector
 
vtkSmartPointer< vtkPolyData > m_OutlinePolyData
 
vtkSmartPointer< vtkActor > m_OutlineActor
 An actor for the outline. More...
 
vtkSmartPointer< vtkActor > m_OutlineShadowActor
 An actor for the outline shadow. More...
 
vtkSmartPointer< vtkPolyDataMapper > m_OutlineMapper
 A mapper for the outline. More...
 
itk::TimeStamp m_LastDataUpdateTime
 Timestamp of last update of stored data. More...
 
itk::TimeStamp m_LastPropertyUpdateTime
 Timestamp of last update of a property. More...
 
mitk::ScalarTypem_mmPerPixel
 mmPerPixel relation between pixel and mm. (World spacing). More...
 
int m_NumberOfLayers
 
std::vector< vtkSmartPointer< vtkMitkLevelWindowFilter > > m_LevelWindowFilterVector
 This filter is used to apply the level window to Grayvalue and RBG(A) images. More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::Mapper::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 3 2D render windows.

To render axial, coronal, and sagittal, the mapper is called three times. 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 mitkMapper using n vtkMapper.

Definition at line 85 of file mitkLabelSetImageVtkMapper2D.h.

Constructor & Destructor Documentation

◆ LocalStorage()

mitk::LabelSetImageVtkMapper2D::LocalStorage::LocalStorage ( )

Default constructor of the local storage.

◆ ~LocalStorage()

mitk::LabelSetImageVtkMapper2D::LocalStorage::~LocalStorage ( )
override

Default deconstructor of the local storage.

Member Data Documentation

◆ m_Actors

vtkSmartPointer<vtkPropAssembly> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_Actors

Definition at line 88 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_EmptyPolyData

vtkSmartPointer<vtkPolyData> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_EmptyPolyData

Definition at line 95 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LastDataUpdateTime

itk::TimeStamp mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LastDataUpdateTime

Timestamp of last update of stored data.

Definition at line 109 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LastPropertyUpdateTime

itk::TimeStamp mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LastPropertyUpdateTime

Timestamp of last update of a property.

Definition at line 112 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LayerActorVector

std::vector<vtkSmartPointer<vtkActor> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LayerActorVector

Definition at line 90 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LayerMapperVector

std::vector<vtkSmartPointer<vtkPolyDataMapper> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LayerMapperVector

Definition at line 91 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LayerTextureVector

std::vector<vtkSmartPointer<vtkNeverTranslucentTexture> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LayerTextureVector

Definition at line 93 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LevelWindowFilterVector

std::vector<vtkSmartPointer<vtkMitkLevelWindowFilter> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LevelWindowFilterVector

This filter is used to apply the level window to Grayvalue and RBG(A) images.

Definition at line 121 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_mmPerPixel

mitk::ScalarType* mitk::LabelSetImageVtkMapper2D::LocalStorage::m_mmPerPixel

mmPerPixel relation between pixel and mm. (World spacing).

Definition at line 115 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_NumberOfLayers

int mitk::LabelSetImageVtkMapper2D::LocalStorage::m_NumberOfLayers

Definition at line 117 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_OutlineActor

vtkSmartPointer<vtkActor> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_OutlineActor

An actor for the outline.

Definition at line 102 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_OutlineMapper

vtkSmartPointer<vtkPolyDataMapper> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_OutlineMapper

A mapper for the outline.

Definition at line 106 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_OutlinePolyData

vtkSmartPointer<vtkPolyData> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_OutlinePolyData

Definition at line 100 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_OutlineShadowActor

vtkSmartPointer<vtkActor> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_OutlineShadowActor

An actor for the outline shadow.

Definition at line 104 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_Plane

vtkSmartPointer<vtkPlaneSource> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_Plane

Definition at line 96 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_ReslicedImageVector

std::vector<vtkSmartPointer<vtkImageData> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_ReslicedImageVector

Definition at line 92 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_ReslicerVector

std::vector<mitk::ExtractSliceFilter::Pointer> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_ReslicerVector

Definition at line 98 of file mitkLabelSetImageVtkMapper2D.h.


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