Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
|
Go to the documentation of this file.
13 #ifndef mitkCrosshairVtkMapper2D_h
14 #define mitkCrosshairVtkMapper2D_h
22 #include <vtkSmartPointer.h>
26 class vtkPropAssembly;
27 class vtkPolyDataMapper2D;
45 itkFactorylessNewMacro(
Self);
79 void GenerateDataForRenderer(
BaseRenderer *renderer)
override;
83 void DrawLine(
Point3D p0,
Point3D p1, vtkCellArray* lines, vtkPoints* points);
86 void ApplyColorAndOpacityProperties2D(
BaseRenderer* renderer, vtkActor2D* actor);
vtkSmartPointer< vtkPolyDataMapper2D > m_Mapper
Internal class holding the mapper, actor, etc. for each of the 2D render windows.
Vtk-based 2D mapper for rendering a crosshair using vtk mapper.
Find image slices visible on a given plane.
LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all LocalStorages for the 2D render windows.
vtkSmartPointer< vtkPropAssembly > m_CrosshairAssembly
Base class of all Vtk Mappers in order to display primitives by exploiting Vtk functionality.
Base class for mapper specific rendering resources.
vtkSmartPointer< vtkActor2D > m_CrosshairActor
#define mitkClassMacro(className, SuperClassName)
Class for nodes of the DataTree.
void SetDefaultProperties(DataNode *node, BaseRenderer *renderer, bool override)
Set common default properties for both 2-d and 3-d ROI mappers.