Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
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::vector< vtkSmartPointer< vtkSmartVolumeMapper > > m_LayerVolumeMappers
 
std::vector< vtkSmartPointer< vtkImageData > > m_LayerImages
 
std::vector< vtkSmartPointer< vtkVolume > > m_LayerVolumes
 
std::vector< vtkSmartPointer< vtkColorTransferFunction > > m_TransferFunctions
 
std::vector< vtkSmartPointer< vtkPiecewiseFunction > > m_OpacityTransferFunctions
 
std::vector< const Image * > m_GroupImageIDs
 
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::LookupTable::Pointer m_LabelLookupTable
 
unsigned int m_NumberOfGroups
 

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 77 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_Actors

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

Definition at line 80 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_GroupImageIDs

std::vector<const Image*> mitk::MultiLabelSegmentationVtkMapper3D::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 93 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LabelLookupTable

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

look up table for label colors.

Definition at line 101 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LastDataUpdateTime

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

Timestamp of last update of stored data.

Definition at line 96 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LastPropertyUpdateTime

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

Timestamp of last update of a property.

Definition at line 98 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LayerImages

std::vector<vtkSmartPointer<vtkImageData> > mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_LayerImages

Definition at line 83 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LayerVolumeMappers

std::vector<vtkSmartPointer<vtkSmartVolumeMapper> > mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_LayerVolumeMappers

Definition at line 82 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_LayerVolumes

std::vector<vtkSmartPointer<vtkVolume> > mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_LayerVolumes

Definition at line 84 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_NumberOfGroups

unsigned int mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_NumberOfGroups

Definition at line 103 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_OpacityTransferFunctions

std::vector<vtkSmartPointer<vtkPiecewiseFunction> > mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_OpacityTransferFunctions

Definition at line 87 of file mitkMultiLabelSegmentationVtkMapper3D.h.

◆ m_TransferFunctions

std::vector<vtkSmartPointer<vtkColorTransferFunction> > mitk::MultiLabelSegmentationVtkMapper3D::LocalStorage::m_TransferFunctions

Definition at line 86 of file mitkMultiLabelSegmentationVtkMapper3D.h.


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