Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
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 destructor 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< const Image * > m_GroupImageIDs
 
std::vector< vtkSmartPointer< vtkActor > > m_LayerActorVector
 
std::vector< vtkSmartPointer< vtkPolyDataMapper > > m_LayerMapperVector
 
std::vector< vtkSmartPointer< vtkImageData > > m_ReslicedImageVector
 
std::vector< vtkSmartPointer< vtkImageMapToColors > > m_LayerImageMapToColors
 
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...
 
itk::TimeStamp m_LastActiveLabelUpdateTime
 Timestamp of last update of a property. More...
 
mitk::ScalarTypem_mmPerPixel
 mmPerPixel relation between pixel and mm. (World spacing). More...
 
mitk::LookupTable::Pointer m_LabelLookupTable
 
mitk::PlaneGeometry::Pointer m_WorldPlane
 
bool m_HasValidContent
 
mitk::TimeStepType m_LastTimeStep
 
unsigned int m_NumberOfLayers
 

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 86 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 destructor of the local storage.

Member Data Documentation

◆ m_Actors

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

Definition at line 89 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_EmptyPolyData

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

Definition at line 103 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_GroupImageIDs

std::vector<const Image*> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_GroupImageIDs

Vector containing the pointer of the currently used group images. IMPORTANT: This member must not be used to access any data. Its purpose is to allow checking if the order of the groups has changed in order to adapt the pipe line accordingly

Definition at line 95 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_HasValidContent

bool mitk::LabelSetImageVtkMapper2D::LocalStorage::m_HasValidContent

Definition at line 130 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LabelLookupTable

mitk::LookupTable::Pointer mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LabelLookupTable

look up table for label colors.

Definition at line 127 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LastActiveLabelUpdateTime

itk::TimeStamp mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LastActiveLabelUpdateTime

Timestamp of last update of a property.

Definition at line 121 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LastDataUpdateTime

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

Timestamp of last update of stored data.

Definition at line 117 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LastPropertyUpdateTime

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

Timestamp of last update of a property.

Definition at line 119 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LastTimeStep

mitk::TimeStepType mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LastTimeStep

Definition at line 132 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LayerActorVector

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

Definition at line 97 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LayerImageMapToColors

std::vector<vtkSmartPointer<vtkImageMapToColors> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LayerImageMapToColors

Definition at line 100 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LayerMapperVector

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

Definition at line 98 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_LayerTextureVector

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

Definition at line 101 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_mmPerPixel

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

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

Definition at line 124 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_NumberOfLayers

unsigned int mitk::LabelSetImageVtkMapper2D::LocalStorage::m_NumberOfLayers

Definition at line 134 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_OutlineActor

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

An actor for the outline.

Definition at line 110 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_OutlineMapper

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

A mapper for the outline.

Definition at line 114 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_OutlinePolyData

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

Definition at line 108 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_OutlineShadowActor

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

An actor for the outline shadow.

Definition at line 112 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_Plane

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

Definition at line 104 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_ReslicedImageVector

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

Definition at line 99 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_ReslicerVector

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

Definition at line 106 of file mitkLabelSetImageVtkMapper2D.h.

◆ m_WorldPlane

mitk::PlaneGeometry::Pointer mitk::LabelSetImageVtkMapper2D::LocalStorage::m_WorldPlane

Definition at line 129 of file mitkLabelSetImageVtkMapper2D.h.


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