Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage Class Reference

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

#include <mitkMultiLabelSegmentationVtkMapper3D.h>

Inheritance diagram for mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage:
Collaboration diagram for mitk::MultiLabelSegmentationVtkMapper3D::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::map< const Image *, std::unique_ptr< MultiLabelSegmentationGroupMapping > > m_GroupPipelines
 
vtkSmartPointer< vtkColorTransferFunction > m_TransferFunction
 
vtkSmartPointer< vtkPiecewiseFunction > m_OpacityTransferFunction
 
vtkSmartPointer< vtkPiecewiseFunction > m_FadedOpacityTransferFunction
 
bool m_UseFadedPipeline
 
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::TimeStepType m_LastUpdateTimeStep
 
mitk::LookupTable::Pointer m_LabelLookupTable
 
std::optional< bool > m_GPUCheckSuccessfull
 
bool m_3DRenderingPreference
 
IPreferencesm_SegPreferences
 

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 81 of file mitkMultiLabelSegmentationVtkMapper3D.h.

Constructor & Destructor Documentation

◆ LocalStorage()

mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::LocalStorage ( )

Default constructor of the local storage.

◆ ~LocalStorage()

mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::~LocalStorage ( )
override

Default destructor of the local storage.

Member Data Documentation

◆ m_3DRenderingPreference

bool mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_3DRenderingPreference

Definition at line 110 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_Actors

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

Definition at line 84 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_FadedOpacityTransferFunction

vtkSmartPointer<vtkPiecewiseFunction> mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_FadedOpacityTransferFunction

Definition at line 90 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_GPUCheckSuccessfull

std::optional<bool> mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_GPUCheckSuccessfull

Indicates if GPU is available for the mapper. True: Yes, mapper will work False: No, mapper will not render something. If optional has no value it means that no check was done so far.

Definition at line 109 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_GroupPipelines

std::map<const Image*, std::unique_ptr<MultiLabelSegmentationGroupMapping> > mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_GroupPipelines

Definition at line 86 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LabelLookupTable

mitk::LookupTable::Pointer mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_LabelLookupTable

look up table for label colors.

Definition at line 104 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LastDataUpdateTime

itk::TimeStamp mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_LastDataUpdateTime

Timestamp of last update of stored data.

Definition at line 97 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LastPropertyUpdateTime

itk::TimeStamp mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_LastPropertyUpdateTime

Timestamp of last update of a property.

Definition at line 99 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LastUpdateTimeStep

mitk::TimeStepType mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_LastUpdateTimeStep

Definition at line 101 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_OpacityTransferFunction

vtkSmartPointer<vtkPiecewiseFunction> mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_OpacityTransferFunction

Definition at line 89 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_SegPreferences

IPreferences* mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_SegPreferences

Definition at line 112 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_TransferFunction

vtkSmartPointer<vtkColorTransferFunction> mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_TransferFunction

Definition at line 88 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_UseFadedPipeline

bool mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_UseFadedPipeline

indicated if highlighting is in use and therefor also the Faded pipeline should be used for none highlighted labels.

Definition at line 94 of file mitkMultiLabelSegmentationVtkMapper3D.h.


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