Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Internal class holding the mapper, actor, etc. for each of the 3 2D render windows. More...
#include <mitkDoseImageVtkMapper2D.h>
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< 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< vtkMitkThickSlicesFilter > | m_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::ScalarType * | m_mmPerPixel |
mmPerPixel relation between pixel and mm. (World spacing). More... | |
vtkSmartPointer< vtkMitkLevelWindowFilter > | m_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... | |
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 149 of file mitkDoseImageVtkMapper2D.h.
mitk::DoseImageVtkMapper2D::LocalStorage::LocalStorage | ( | ) |
Default constructor of the local storage.
Definition at line 1059 of file mitkDoseImageVtkMapper2D.cpp.
References mitk::LookupTable::GRAYSCALE, mitk::LookupTable::LEGACY_BINARY, mitk::LookupTable::LEGACY_RAINBOW_COLOR, m_Actor, m_Actors, m_BinaryLookupTable, m_ColorLookupTable, m_DefaultLookupTable, m_EmptyPolyData, m_LevelWindowFilter, m_Mapper, m_OutlinePolyData, m_Plane, m_ReslicedImage, m_Reslicer, m_Texture, m_TSFilter, mitk::New(), mitk::LookupTable::New(), and mitk::ExtractSliceFilter::New().
mitk::DoseImageVtkMapper2D::LocalStorage::~LocalStorage | ( | ) |
Default deconstructor of the local storage.
Definition at line 1055 of file mitkDoseImageVtkMapper2D.cpp.
vtkSmartPointer<vtkActor> mitk::DoseImageVtkMapper2D::LocalStorage::m_Actor |
Actor of a 2D render window.
Definition at line 153 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::ApplyColor(), mitk::DoseImageVtkMapper2D::ApplyOpacity(), mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), LocalStorage(), and mitk::DoseImageVtkMapper2D::TransformActor().
vtkSmartPointer<vtkPropAssembly> mitk::DoseImageVtkMapper2D::LocalStorage::m_Actors |
Definition at line 155 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::ApplyColor(), mitk::DoseImageVtkMapper2D::ApplyOpacity(), mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), LocalStorage(), and mitk::DoseImageVtkMapper2D::TransformActor().
vtkSmartPointer<vtkLookupTable> mitk::DoseImageVtkMapper2D::LocalStorage::m_BinaryLookupTable |
Definition at line 175 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::ApplyRenderingMode(), and LocalStorage().
vtkSmartPointer<vtkLookupTable> mitk::DoseImageVtkMapper2D::LocalStorage::m_ColorLookupTable |
Definition at line 176 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::ApplyLookuptable(), and LocalStorage().
vtkSmartPointer<vtkLookupTable> mitk::DoseImageVtkMapper2D::LocalStorage::m_DefaultLookupTable |
The lookuptables for colors and level window.
Definition at line 174 of file mitkDoseImageVtkMapper2D.h.
Referenced by LocalStorage().
vtkSmartPointer<vtkPolyData> mitk::DoseImageVtkMapper2D::LocalStorage::m_EmptyPolyData |
Empty vtkPolyData that is set when rendering geometry does not intersect the image geometry.
Definition at line 168 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), and LocalStorage().
itk::TimeStamp mitk::DoseImageVtkMapper2D::LocalStorage::m_LastUpdateTime |
Timestamp of last update of stored data.
Definition at line 187 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), and mitk::DoseImageVtkMapper2D::Update().
vtkSmartPointer<vtkMitkLevelWindowFilter> mitk::DoseImageVtkMapper2D::LocalStorage::m_LevelWindowFilter |
This filter is used to apply the level window to Grayvalue and RBG(A) images.
Definition at line 193 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::ApplyColorTransferFunction(), mitk::DoseImageVtkMapper2D::ApplyLevelWindow(), mitk::DoseImageVtkMapper2D::ApplyLookuptable(), mitk::DoseImageVtkMapper2D::ApplyRenderingMode(), mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), and LocalStorage().
vtkSmartPointer<vtkPolyDataMapper> mitk::DoseImageVtkMapper2D::LocalStorage::m_Mapper |
Mapper of a 2D render window.
Definition at line 157 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), and LocalStorage().
mitk::ScalarType* mitk::DoseImageVtkMapper2D::LocalStorage::m_mmPerPixel |
mmPerPixel relation between pixel and mm. (World spacing).
Definition at line 190 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), and mitk::DoseImageVtkMapper2D::TransformActor().
vtkSmartPointer<vtkPolyData> mitk::DoseImageVtkMapper2D::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 184 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), and LocalStorage().
vtkSmartPointer<vtkPlaneSource> mitk::DoseImageVtkMapper2D::LocalStorage::m_Plane |
Plane on which the slice is rendered as texture.
Definition at line 170 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), mitk::DoseImageVtkMapper2D::GeneratePlane(), and LocalStorage().
vtkSmartPointer<vtkImageData> mitk::DoseImageVtkMapper2D::LocalStorage::m_ReslicedImage |
Current slice of a 2D render window.
Definition at line 160 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), and LocalStorage().
mitk::ExtractSliceFilter::Pointer mitk::DoseImageVtkMapper2D::LocalStorage::m_Reslicer |
The actual reslicer (one per renderer)
Definition at line 178 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), LocalStorage(), and mitk::DoseImageVtkMapper2D::TransformActor().
vtkSmartPointer<vtkTexture> mitk::DoseImageVtkMapper2D::LocalStorage::m_Texture |
The texture which is used to render the current slice.
Definition at line 172 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), and LocalStorage().
vtkSmartPointer<vtkMitkThickSlicesFilter> mitk::DoseImageVtkMapper2D::LocalStorage::m_TSFilter |
Filter for thick slices.
Definition at line 180 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer(), and LocalStorage().
vtkSmartPointer<vtkImageExtractComponents> mitk::DoseImageVtkMapper2D::LocalStorage::m_VectorComponentExtractor |
Definition at line 158 of file mitkDoseImageVtkMapper2D.h.
Referenced by mitk::DoseImageVtkMapper2D::GenerateDataForRenderer().