Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitk::RegEvaluationMapper2D::LocalStorage Class Reference

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

#include <mitkRegEvaluationMapper2D.h>

Inheritance diagram for mitk::RegEvaluationMapper2D::LocalStorage:
Collaboration diagram for mitk::RegEvaluationMapper2D::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< vtkActor > m_Actor
 Actor of a 2D render window. More...
 
vtkSmartPointer< vtkPropAssembly > m_Actors
 
vtkSmartPointer< vtkPolyDataMapper > m_Mapper
 Mapper of a 2D render window. More...
 
vtkSmartPointer< vtkImageData > m_EvaluationImage
 Current slice of a 2D render window. More...
 
vtkSmartPointer< vtkPolyData > m_EmptyPolyData
 Empty vtkPolyData that is set when rendering geometry does not intersect the image geometry. More...
 
vtkSmartPointer< vtkPlaneSource > m_Plane
 Plane on which the slice is rendered as texture. More...
 
vtkSmartPointer< vtkTexture > m_Texture
 The texture which is used to render the current slice. More...
 
vtkSmartPointer< vtkLookupTable > m_ColorLookupTable
 The lookuptables for colors and level window. More...
 
vtkSmartPointer< vtkLookupTable > m_DefaultLookupTable
 
mitk::ExtractSliceFilter::Pointer m_Reslicer
 The actual reslicer (one per renderer) More...
 
mitk::Image::Pointer m_slicedTargetImage
 
mitk::Image::Pointer m_slicedMappedImage
 
itk::TimeStamp m_LastUpdateTime
 Timestamp of last update of stored data. More...
 
mitk::ScalarTypem_mmPerPixel
 mmPerPixel relation between pixel and mm. (World spacing). More...
 
vtkSmartPointer< vtkMitkLevelWindowFilterm_TargetLevelWindowFilter
 This filter is used to apply the level window to target image. More...
 
vtkSmartPointer< vtkMitkLevelWindowFilterm_MappedLevelWindowFilter
 This filter is used to apply the level window to moving image. More...
 
vtkSmartPointer< vtkImageExtractComponents > m_TargetExtractFilter
 
vtkSmartPointer< vtkImageExtractComponents > m_MappedExtractFilter
 

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 89 of file mitkRegEvaluationMapper2D.h.

Constructor & Destructor Documentation

◆ LocalStorage()

mitk::RegEvaluationMapper2D::LocalStorage::LocalStorage ( )

Default constructor of the local storage.

◆ ~LocalStorage()

mitk::RegEvaluationMapper2D::LocalStorage::~LocalStorage ( )
override

Default deconstructor of the local storage.

Member Data Documentation

◆ m_Actor

vtkSmartPointer<vtkActor> mitk::RegEvaluationMapper2D::LocalStorage::m_Actor

Actor of a 2D render window.

Definition at line 93 of file mitkRegEvaluationMapper2D.h.

◆ m_Actors

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

Definition at line 95 of file mitkRegEvaluationMapper2D.h.

◆ m_ColorLookupTable

vtkSmartPointer<vtkLookupTable> mitk::RegEvaluationMapper2D::LocalStorage::m_ColorLookupTable

The lookuptables for colors and level window.

Definition at line 114 of file mitkRegEvaluationMapper2D.h.

◆ m_DefaultLookupTable

vtkSmartPointer<vtkLookupTable> mitk::RegEvaluationMapper2D::LocalStorage::m_DefaultLookupTable

Definition at line 115 of file mitkRegEvaluationMapper2D.h.

◆ m_EmptyPolyData

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

Empty vtkPolyData that is set when rendering geometry does not intersect the image geometry.

Warning
This member variable is set to nullptr, if no image geometry is inside the plane geometry of the respective render window. Any user of this slice has to check whether it is set to nullptr!

Definition at line 108 of file mitkRegEvaluationMapper2D.h.

◆ m_EvaluationImage

vtkSmartPointer<vtkImageData> mitk::RegEvaluationMapper2D::LocalStorage::m_EvaluationImage

Current slice of a 2D render window.

Definition at line 99 of file mitkRegEvaluationMapper2D.h.

◆ m_LastUpdateTime

itk::TimeStamp mitk::RegEvaluationMapper2D::LocalStorage::m_LastUpdateTime

Timestamp of last update of stored data.

Definition at line 126 of file mitkRegEvaluationMapper2D.h.

◆ m_MappedExtractFilter

vtkSmartPointer<vtkImageExtractComponents> mitk::RegEvaluationMapper2D::LocalStorage::m_MappedExtractFilter

Definition at line 138 of file mitkRegEvaluationMapper2D.h.

◆ m_MappedLevelWindowFilter

vtkSmartPointer<vtkMitkLevelWindowFilter> mitk::RegEvaluationMapper2D::LocalStorage::m_MappedLevelWindowFilter

This filter is used to apply the level window to moving image.

Definition at line 135 of file mitkRegEvaluationMapper2D.h.

◆ m_Mapper

vtkSmartPointer<vtkPolyDataMapper> mitk::RegEvaluationMapper2D::LocalStorage::m_Mapper

Mapper of a 2D render window.

Definition at line 97 of file mitkRegEvaluationMapper2D.h.

◆ m_mmPerPixel

mitk::ScalarType* mitk::RegEvaluationMapper2D::LocalStorage::m_mmPerPixel

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

Definition at line 129 of file mitkRegEvaluationMapper2D.h.

◆ m_Plane

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

Plane on which the slice is rendered as texture.

Definition at line 110 of file mitkRegEvaluationMapper2D.h.

◆ m_Reslicer

mitk::ExtractSliceFilter::Pointer mitk::RegEvaluationMapper2D::LocalStorage::m_Reslicer

The actual reslicer (one per renderer)

Definition at line 117 of file mitkRegEvaluationMapper2D.h.

◆ m_slicedMappedImage

mitk::Image::Pointer mitk::RegEvaluationMapper2D::LocalStorage::m_slicedMappedImage

part of the moving image mapped into the slicedTargetImage geometry

Definition at line 123 of file mitkRegEvaluationMapper2D.h.

◆ m_slicedTargetImage

mitk::Image::Pointer mitk::RegEvaluationMapper2D::LocalStorage::m_slicedTargetImage

part of the target image that is relevant for the rendering

Definition at line 120 of file mitkRegEvaluationMapper2D.h.

◆ m_TargetExtractFilter

vtkSmartPointer<vtkImageExtractComponents> mitk::RegEvaluationMapper2D::LocalStorage::m_TargetExtractFilter

Definition at line 137 of file mitkRegEvaluationMapper2D.h.

◆ m_TargetLevelWindowFilter

vtkSmartPointer<vtkMitkLevelWindowFilter> mitk::RegEvaluationMapper2D::LocalStorage::m_TargetLevelWindowFilter

This filter is used to apply the level window to target image.

Definition at line 132 of file mitkRegEvaluationMapper2D.h.

◆ m_Texture

vtkSmartPointer<vtkTexture> mitk::RegEvaluationMapper2D::LocalStorage::m_Texture

The texture which is used to render the current slice.

Definition at line 112 of file mitkRegEvaluationMapper2D.h.


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