Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
mitk::ImageVtkMapper2D::LocalStorage Class Reference

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

#include <mitkImageVtkMapper2D.h>

Inheritance diagram for mitk::ImageVtkMapper2D::LocalStorage:
Collaboration diagram for mitk::ImageVtkMapper2D::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_ImageActor
 Actor of the image in a 2D render window. More...
 
vtkSmartPointer< vtkActor > m_ShadowOutlineActor
 Actor of the shadowimage in a 2D render window. More...
 
vtkSmartPointer< vtkPropAssembly > m_Actors
 
vtkSmartPointer< vtkPropAssembly > m_EmptyActors
 
vtkProp * m_PublicActors
 
vtkSmartPointer< vtkPolyDataMapper > m_Mapper
 Mapper of a 2D render window. More...
 
vtkSmartPointer< vtkImageExtractComponents > m_VectorComponentExtractor
 
vtkSmartPointer< vtkImageData > m_ReslicedImage
 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_DefaultLookupTable
 The lookuptables for colors and level window. More...
 
vtkSmartPointer< vtkLookupTable > m_BinaryLookupTable
 
vtkSmartPointer< vtkLookupTable > m_ColorLookupTable
 
mitk::ExtractSliceFilter::Pointer m_Reslicer
 The actual reslicer (one per renderer) More...
 
vtkSmartPointer< vtkMitkThickSlicesFilterm_TSFilter
 Filter for thick slices. More...
 
vtkSmartPointer< vtkPolyData > m_OutlinePolyData
 PolyData object containg all lines/points needed for outlining the contour. This container is used to save a computed contour for the next rendering execution. For instance, if you zoom or pann, there is no need to recompute the contour. More...
 
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_LevelWindowFilter
 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 transveral, 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 144 of file mitkImageVtkMapper2D.h.

Constructor & Destructor Documentation

◆ LocalStorage()

mitk::ImageVtkMapper2D::LocalStorage::LocalStorage ( )

Default constructor of the local storage.

◆ ~LocalStorage()

mitk::ImageVtkMapper2D::LocalStorage::~LocalStorage ( )
override

Default deconstructor of the local storage.

Member Data Documentation

◆ m_Actors

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

Prop assembly containting everything for a regular display of the image.

Definition at line 153 of file mitkImageVtkMapper2D.h.

◆ m_BinaryLookupTable

vtkSmartPointer<vtkLookupTable> mitk::ImageVtkMapper2D::LocalStorage::m_BinaryLookupTable

Definition at line 180 of file mitkImageVtkMapper2D.h.

◆ m_ColorLookupTable

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

Definition at line 181 of file mitkImageVtkMapper2D.h.

◆ m_DefaultLookupTable

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

The lookuptables for colors and level window.

Definition at line 179 of file mitkImageVtkMapper2D.h.

◆ m_EmptyActors

vtkSmartPointer<vtkPropAssembly> mitk::ImageVtkMapper2D::LocalStorage::m_EmptyActors

Prop assembly used if workspace is in an invalid state (e.g. invalid time point or invalid world coordinate position is selected) and mapper has to "early out" in Update() or GenerateDataForRenderer()

Definition at line 157 of file mitkImageVtkMapper2D.h.

◆ m_EmptyPolyData

vtkSmartPointer<vtkPolyData> mitk::ImageVtkMapper2D::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 173 of file mitkImageVtkMapper2D.h.

◆ m_ImageActor

vtkSmartPointer<vtkActor> mitk::ImageVtkMapper2D::LocalStorage::m_ImageActor

Actor of the image in a 2D render window.

Definition at line 148 of file mitkImageVtkMapper2D.h.

◆ m_LastUpdateTime

itk::TimeStamp mitk::ImageVtkMapper2D::LocalStorage::m_LastUpdateTime

Timestamp of last update of stored data.

Definition at line 192 of file mitkImageVtkMapper2D.h.

◆ m_LevelWindowFilter

vtkSmartPointer<vtkMitkLevelWindowFilter> mitk::ImageVtkMapper2D::LocalStorage::m_LevelWindowFilter

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

Definition at line 198 of file mitkImageVtkMapper2D.h.

◆ m_Mapper

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

Mapper of a 2D render window.

Definition at line 162 of file mitkImageVtkMapper2D.h.

◆ m_mmPerPixel

mitk::ScalarType* mitk::ImageVtkMapper2D::LocalStorage::m_mmPerPixel

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

Definition at line 195 of file mitkImageVtkMapper2D.h.

◆ m_OutlinePolyData

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

PolyData object containg all lines/points needed for outlining the contour. This container is used to save a computed contour for the next rendering execution. For instance, if you zoom or pann, there is no need to recompute the contour.

Definition at line 189 of file mitkImageVtkMapper2D.h.

◆ m_Plane

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

Plane on which the slice is rendered as texture.

Definition at line 175 of file mitkImageVtkMapper2D.h.

◆ m_PublicActors

vtkProp* mitk::ImageVtkMapper2D::LocalStorage::m_PublicActors

Prop assembly exposed publicly via ImagVtkMapper2D::GetVTKProp()

Definition at line 159 of file mitkImageVtkMapper2D.h.

◆ m_ReslicedImage

vtkSmartPointer<vtkImageData> mitk::ImageVtkMapper2D::LocalStorage::m_ReslicedImage

Current slice of a 2D render window.

Definition at line 165 of file mitkImageVtkMapper2D.h.

◆ m_Reslicer

mitk::ExtractSliceFilter::Pointer mitk::ImageVtkMapper2D::LocalStorage::m_Reslicer

The actual reslicer (one per renderer)

Definition at line 183 of file mitkImageVtkMapper2D.h.

◆ m_ShadowOutlineActor

vtkSmartPointer<vtkActor> mitk::ImageVtkMapper2D::LocalStorage::m_ShadowOutlineActor

Actor of the shadowimage in a 2D render window.

Definition at line 150 of file mitkImageVtkMapper2D.h.

◆ m_Texture

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

The texture which is used to render the current slice.

Definition at line 177 of file mitkImageVtkMapper2D.h.

◆ m_TSFilter

vtkSmartPointer<vtkMitkThickSlicesFilter> mitk::ImageVtkMapper2D::LocalStorage::m_TSFilter

Filter for thick slices.

Definition at line 185 of file mitkImageVtkMapper2D.h.

◆ m_VectorComponentExtractor

vtkSmartPointer<vtkImageExtractComponents> mitk::ImageVtkMapper2D::LocalStorage::m_VectorComponentExtractor

Definition at line 163 of file mitkImageVtkMapper2D.h.


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