Medical Imaging Interaction Toolkit  2018.4.99-b585543d
Medical Imaging Interaction Toolkit
mitk::LocalStorageHandler< L > Class Template Reference

Templated class for management of LocalStorage implementations in Mappers. More...

#include <mitkLocalStorageHandler.h>

Inheritance diagram for mitk::LocalStorageHandler< L >:
Collaboration diagram for mitk::LocalStorageHandler< L >:

Public Member Functions

void ClearLocalStorage (mitk::BaseRenderer *renderer, bool unregisterFromBaseRenderer=true) override
 deallocates a local storage for a specifc BaseRenderer (if the BaseRenderer is itself deallocating it in its destructor, it has to set unregisterFromBaseRenderer=false) More...
 
std::vector< mitk::BaseRenderer * > GetRegisteredBaseRenderer ()
 
L * GetLocalStorage (mitk::BaseRenderer *forRenderer)
 Retrieves a LocalStorage for a specific BaseRenderer. More...
 
 ~LocalStorageHandler () override
 
- Public Member Functions inherited from mitk::BaseLocalStorageHandler
virtual ~BaseLocalStorageHandler ()
 

Protected Attributes

std::map< mitk::BaseRenderer *, L * > m_BaseRenderer2LS
 

Detailed Description

template<class L>
class mitk::LocalStorageHandler< L >

Templated class for management of LocalStorage implementations in Mappers.

The LocalStorageHandler is responsible for providing a LocalStorage to a concrete mitk::Mapper subclass. Each RenderWindow / mitk::BaseRenderer is assigned its own LocalStorage instance so that all contained ressources (actors, shaders, textures, ...) are provided individually per window.

Definition at line 51 of file mitkLocalStorageHandler.h.

Constructor & Destructor Documentation

◆ ~LocalStorageHandler()

template<class L>
mitk::LocalStorageHandler< L >::~LocalStorageHandler ( )
inlineoverride

Definition at line 99 of file mitkLocalStorageHandler.h.

Member Function Documentation

◆ ClearLocalStorage()

template<class L>
void mitk::LocalStorageHandler< L >::ClearLocalStorage ( mitk::BaseRenderer renderer,
bool  unregisterFromBaseRenderer = true 
)
inlineoverridevirtual

deallocates a local storage for a specifc BaseRenderer (if the BaseRenderer is itself deallocating it in its destructor, it has to set unregisterFromBaseRenderer=false)

Implements mitk::BaseLocalStorageHandler.

Definition at line 61 of file mitkLocalStorageHandler.h.

◆ GetLocalStorage()

template<class L>
L* mitk::LocalStorageHandler< L >::GetLocalStorage ( mitk::BaseRenderer forRenderer)
inline

Retrieves a LocalStorage for a specific BaseRenderer.

Should be used by mappers in GenerateDataForRenderer()

Definition at line 86 of file mitkLocalStorageHandler.h.

Referenced by mitk::PlaneGeometryDataMapper2D::ApplyAllProperties(), mitk::SurfaceVtkMapper3D::ApplyAllProperties(), mitk::SurfaceVtkMapper2D::ApplyAllProperties(), mitk::DoseImageVtkMapper2D::ApplyColorTransferFunction(), mitk::ImageVtkMapper2D::ApplyColorTransferFunction(), mitk::ContourModelSetMapper3D::ApplyContourModelSetProperties(), mitk::ContourModelMapper2D::ApplyContourProperties(), mitk::ContourModelSetMapper3D::ApplyContourProperties(), mitk::ContourModelMapper3D::ApplyContourProperties(), mitk::LabelSetImageVtkMapper2D::ApplyLookuptable(), mitk::RegEvaluationMapper2D::ApplyLookuptable(), mitk::ImageVtkMapper2D::ApplyLookuptable(), mitk::DoseImageVtkMapper2D::ApplyLookuptable(), mitk::ImageVtkMapper2D::ApplyRenderingMode(), mitk::DoseImageVtkMapper2D::ApplyRenderingMode(), mitk::SurfaceVtkMapper3D::CheckForClippingProperty(), mitk::TubeGraphVtkMapper3D::ClipPolyData(), mitk::PlaneGeometryDataMapper2D::CreateVtkCrosshair(), mitk::ContourModelSetMapper3D::CreateVtkPolyDataFromContour(), mitk::PointSetVtkMapper2D::CreateVTKRenderObjects(), mitk::GPUVolumeMapper3D::DeinitCPU(), mitk::GPUVolumeMapper3D::DeinitRAY(), mitk::GPUVolumeMapper3D::GenerateDataCPU(), mitk::VtkGLMapperWrapper::GenerateDataForRenderer(), mitk::TubeGraphVtkMapper3D::GenerateDataForRenderer(), mitk::UnstructuredGridVtkMapper3D::GenerateDataForRenderer(), mitk::UnstructuredGridMapper2D::GenerateDataForRenderer(), mitk::MeshVtkMapper3D::GenerateDataForRenderer(), mitk::SplineVtkMapper3D::GenerateDataForRenderer(), mitk::ContourModelSetMapper3D::GenerateDataForRenderer(), mitk::ContourModelMapper2D::GenerateDataForRenderer(), mitk::ContourModelMapper3D::GenerateDataForRenderer(), mitk::EnhancedPointSetVtkMapper3D::GenerateDataForRenderer(), mitk::GPUVolumeMapper3D::GenerateDataForRenderer(), mitk::PlaneGeometryDataMapper2D::GenerateDataForRenderer(), mitk::SurfaceVtkMapper3D::GenerateDataForRenderer(), mitk::PointSetVtkMapper3D::GenerateDataForRenderer(), mitk::SurfaceVtkMapper2D::GenerateDataForRenderer(), mitk::LabelSetImageVtkMapper2D::GenerateDataForRenderer(), mitk::RegEvaluationMapper2D::GenerateDataForRenderer(), mitk::PointSetVtkMapper2D::GenerateDataForRenderer(), mitk::ImageVtkMapper2D::GenerateDataForRenderer(), mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), mitk::GPUVolumeMapper3D::GenerateDataRAY(), mitk::LabelSetImageVtkMapper2D::GeneratePlane(), mitk::RegEvaluationMapper2D::GeneratePlane(), mitk::ImageVtkMapper2D::GeneratePlane(), mitk::DoseImageVtkMapper2D::GeneratePlane(), mitk::TubeGraphVtkMapper3D::GeneratePolyDataForFurcation(), mitk::TubeGraphVtkMapper3D::GeneratePolyDataForTube(), mitk::TubeGraphVtkMapper3D::GenerateTubeGraphData(), mitk::TextAnnotation2D::GetBoundsOnDisplay(), mitk::ContourModelMapper2D::GetLocalStorage(), mitk::ContourModelSetMapper3D::GetLocalStorage(), mitk::ContourModelMapper3D::GetLocalStorage(), mitk::LabelSetImageVtkMapper2D::GetLocalStorage(), mitk::RegEvaluationMapper2D::GetLocalStorage(), mitk::ImageVtkMapper2D::GetLocalStorage(), mitk::DoseImageVtkMapper2D::GetLocalStorage(), mitk::TextAnnotation2D::GetVtkActor2D(), mitk::GizmoMapper2D::GetVtkPolyData(), mitk::VtkGLMapperWrapper::GetVtkProp(), mitk::ContourModelMapper2D::GetVtkProp(), mitk::ContourModelMapper3D::GetVtkProp(), mitk::GizmoMapper2D::GetVtkProp(), mitk::TubeGraphVtkMapper3D::GetVtkProp(), mitk::ContourModelSetMapper3D::GetVtkProp(), mitk::PlaneGeometryDataMapper2D::GetVtkProp(), mitk::GPUVolumeMapper3D::GetVtkProp(), mitk::TextAnnotation3D::GetVtkProp(), mitk::TextAnnotation2D::GetVtkProp(), mitk::SurfaceVtkMapper2D::GetVtkProp(), mitk::LabelSetImageVtkMapper2D::GetVtkProp(), mitk::ColorBarAnnotation::GetVtkProp(), mitk::LogoAnnotation::GetVtkProp(), mitk::RegEvaluationMapper2D::GetVtkProp(), mitk::LabelAnnotation3D::GetVtkProp(), mitk::ScaleLegendAnnotation::GetVtkProp(), mitk::SurfaceVtkMapper3D::GetVtkProp(), mitk::PointSetVtkMapper2D::GetVtkProp(), mitk::ImageVtkMapper2D::GetVtkProp(), mitk::DoseImageVtkMapper2D::GetVtkProp(), mitk::GPUVolumeMapper3D::InitCPU(), mitk::GPUVolumeMapper3D::InitRAY(), mitk::GPUVolumeMapper3D::IsGPUEnabled(), mitk::GPUVolumeMapper3D::IsRAYEnabled(), mitk::ContourModelGLMapper2D::MitkRender(), mitk::ContourModelSetGLMapper2D::MitkRender(), mitk::TubeGraphVtkMapper3D::RenderTubeGraphPropertyInformation(), mitk::GizmoMapper2D::ResetMapper(), mitk::SurfaceVtkMapper3D::ResetMapper(), mitk::SurfaceVtkMapper2D::ResetMapper(), mitk::PointSetVtkMapper2D::ResetMapper(), mitk::TextAnnotation2D::SetBoundsOnDisplay(), mitk::LabelSetImageVtkMapper2D::TransformActor(), mitk::RegEvaluationMapper2D::TransformActor(), mitk::ImageVtkMapper2D::TransformActor(), mitk::DoseImageVtkMapper2D::TransformActor(), mitk::ContourModelMapper2D::Update(), mitk::ContourModelMapper3D::Update(), mitk::ContourModelSetMapper3D::Update(), mitk::LabelSetImageVtkMapper2D::Update(), mitk::RegEvaluationMapper2D::Update(), mitk::DoseImageVtkMapper2D::Update(), mitk::ImageVtkMapper2D::Update(), mitk::SurfaceVtkMapper2D::Update(), mitk::GPUVolumeMapper3D::UpdateTransferFunctions(), mitk::TextAnnotation3D::UpdateVtkAnnotation(), mitk::ColorBarAnnotation::UpdateVtkAnnotation(), mitk::LabelAnnotation3D::UpdateVtkAnnotation(), mitk::LogoAnnotation::UpdateVtkAnnotation(), mitk::ScaleLegendAnnotation::UpdateVtkAnnotation(), and mitk::TextAnnotation2D::UpdateVtkAnnotation2D().

◆ GetRegisteredBaseRenderer()

Member Data Documentation

◆ m_BaseRenderer2LS

template<class L>
std::map<mitk::BaseRenderer *, L *> mitk::LocalStorageHandler< L >::m_BaseRenderer2LS
protected

Definition at line 54 of file mitkLocalStorageHandler.h.


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