Medical Imaging Interaction Toolkit  2016.11.0
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 ()
 Default deconstructor of the local storage. More...
 
- Public Member Functions inherited from mitk::Mapper::BaseLocalStorage
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 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 93 of file mitkRegEvaluationMapper2D.h.

Constructor & Destructor Documentation

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

Default deconstructor of the local storage.

Definition at line 796 of file mitkRegEvaluationMapper2D.cpp.

Member Data Documentation

vtkSmartPointer<vtkActor> mitk::RegEvaluationMapper2D::LocalStorage::m_Actor
vtkSmartPointer<vtkPropAssembly> mitk::RegEvaluationMapper2D::LocalStorage::m_Actors
vtkSmartPointer<vtkLookupTable> mitk::RegEvaluationMapper2D::LocalStorage::m_ColorLookupTable

The lookuptables for colors and level window.

Definition at line 118 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::ApplyLookuptable().

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

Definition at line 119 of file mitkRegEvaluationMapper2D.h.

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 NULL, 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 NULL!

Definition at line 112 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer().

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

Timestamp of last update of stored data.

Definition at line 130 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer(), and mitk::RegEvaluationMapper2D::Update().

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

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

Definition at line 139 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer(), mitk::RegEvaluationMapper2D::PrepareCheckerBoard(), and mitk::RegEvaluationMapper2D::PrepareWipe().

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

Mapper of a 2D render window.

Definition at line 101 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer().

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

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

Definition at line 133 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer(), and mitk::RegEvaluationMapper2D::TransformActor().

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

Plane on which the slice is rendered as texture.

Definition at line 114 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer(), and mitk::RegEvaluationMapper2D::GeneratePlane().

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

The actual reslicer (one per renderer)

Definition at line 121 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer(), and mitk::RegEvaluationMapper2D::TransformActor().

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

part of the moving image mapped into the slicedTargetImage geometry

Definition at line 127 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer().

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

part of the target image that is relevant for the rendering

Definition at line 124 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer().

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

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

Definition at line 136 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer(), mitk::RegEvaluationMapper2D::PrepareCheckerBoard(), and mitk::RegEvaluationMapper2D::PrepareWipe().

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

The texture which is used to render the current slice.

Definition at line 116 of file mitkRegEvaluationMapper2D.h.

Referenced by mitk::RegEvaluationMapper2D::GenerateDataForRenderer().


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