Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::LabelSetImageVtkMapper2D::LocalStorage Class Reference

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

#include <mitkLabelSetImageVtkMapper2D.h>

Inheritance diagram for mitk::LabelSetImageVtkMapper2D::LocalStorage:
Collaboration diagram for mitk::LabelSetImageVtkMapper2D::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< vtkPropAssembly > m_Actors
 
std::vector< vtkSmartPointer< vtkActor > > m_LayerActorVector
 
std::vector< vtkSmartPointer< vtkPolyDataMapper > > m_LayerMapperVector
 
std::vector< vtkSmartPointer< vtkImageData > > m_ReslicedImageVector
 
std::vector< vtkSmartPointer< vtkNeverTranslucentTexture > > m_LayerTextureVector
 
vtkSmartPointer< vtkPolyData > m_EmptyPolyData
 
vtkSmartPointer< vtkPlaneSource > m_Plane
 
std::vector< mitk::ExtractSliceFilter::Pointerm_ReslicerVector
 
vtkSmartPointer< vtkPolyData > m_OutlinePolyData
 
vtkSmartPointer< vtkActor > m_OutlineActor
 An actor for the outline. More...
 
vtkSmartPointer< vtkActor > m_OutlineShadowActor
 An actor for the outline shadow. More...
 
vtkSmartPointer< vtkPolyDataMapper > m_OutlineMapper
 A mapper for the outline. More...
 
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::ScalarTypem_mmPerPixel
 mmPerPixel relation between pixel and mm. (World spacing). More...
 
int m_NumberOfLayers
 
std::vector< vtkSmartPointer< vtkMitkLevelWindowFilter > > m_LevelWindowFilterVector
 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 transversal, 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 mitkLabelSetImageVtkMapper2D.h.

Constructor & Destructor Documentation

mitk::LabelSetImageVtkMapper2D::LocalStorage::LocalStorage ( )

Default constructor of the local storage.

Definition at line 632 of file mitkLabelSetImageVtkMapper2D.cpp.

References mitk::New().

mitk::LabelSetImageVtkMapper2D::LocalStorage::~LocalStorage ( )

Default deconstructor of the local storage.

Definition at line 628 of file mitkLabelSetImageVtkMapper2D.cpp.

Member Data Documentation

vtkSmartPointer<vtkPropAssembly> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_Actors
vtkSmartPointer<vtkPolyData> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_EmptyPolyData
itk::TimeStamp mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LastDataUpdateTime

Timestamp of last update of stored data.

Definition at line 113 of file mitkLabelSetImageVtkMapper2D.h.

Referenced by mitk::LabelSetImageVtkMapper2D::Update().

itk::TimeStamp mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LastPropertyUpdateTime

Timestamp of last update of a property.

Definition at line 116 of file mitkLabelSetImageVtkMapper2D.h.

std::vector<vtkSmartPointer<vtkActor> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LayerActorVector
std::vector<vtkSmartPointer<vtkPolyDataMapper> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LayerMapperVector
std::vector<vtkSmartPointer<vtkNeverTranslucentTexture> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LayerTextureVector
std::vector<vtkSmartPointer<vtkMitkLevelWindowFilter> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_LevelWindowFilterVector

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

Definition at line 125 of file mitkLabelSetImageVtkMapper2D.h.

Referenced by mitk::LabelSetImageVtkMapper2D::ApplyLookuptable(), and mitk::LabelSetImageVtkMapper2D::GenerateDataForRenderer().

mitk::ScalarType* mitk::LabelSetImageVtkMapper2D::LocalStorage::m_mmPerPixel
int mitk::LabelSetImageVtkMapper2D::LocalStorage::m_NumberOfLayers
vtkSmartPointer<vtkActor> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_OutlineActor
vtkSmartPointer<vtkPolyDataMapper> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_OutlineMapper

A mapper for the outline.

Definition at line 110 of file mitkLabelSetImageVtkMapper2D.h.

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

vtkSmartPointer<vtkPolyData> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_OutlinePolyData
vtkSmartPointer<vtkActor> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_OutlineShadowActor
vtkSmartPointer<vtkPlaneSource> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_Plane
std::vector<vtkSmartPointer<vtkImageData> > mitk::LabelSetImageVtkMapper2D::LocalStorage::m_ReslicedImageVector
std::vector<mitk::ExtractSliceFilter::Pointer> mitk::LabelSetImageVtkMapper2D::LocalStorage::m_ReslicerVector

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