17 #ifndef mitkPlaneGeometryDataMapper2D_h
18 #define mitkPlaneGeometryDataMapper2D_h
24 #include <vtkSmartPointer.h>
27 class vtkPropAssembly;
30 class vtkPolyDataMapper2D;
56 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
107 static bool TestPointInReferenceGeometry(
const BaseGeometry *referenceGeometry,
const Point3D &point);
109 static bool CutCrossLineWithPlaneGeometry(
const PlaneGeometry *planeGeometry,
Line3D &crossLine);
110 static bool CutCrossLineWithReferenceGeometry(
const BaseGeometry *referenceGeometry,
Line3D &crossLine);
123 int DetermineThickSliceMode(
DataNode *dn,
int &thickSlicesNum);
125 void DrawLine(
Point3D p0,
Point3D p1, vtkCellArray *lines, vtkPoints *points);
138 void ApplyColorAndOpacityProperties2D(
BaseRenderer *renderer, vtkActor2D *actor);
139 void DrawOrientationArrow(vtkSmartPointer<vtkCellArray> triangles,
140 vtkSmartPointer<vtkPoints> triPoints,
141 double triangleSizeMM,
vtkSmartPointer< vtkActor2D > m_ArrowActor
mitk::ScalarType m_DepthValue
bool m_ArrowOrientationPositive
Base class for mapper specific rendering ressources.
vtkSmartPointer< vtkPolyDataMapper2D > m_Arrowmapper
vtkSmartPointer< vtkActor2D > m_CrosshairHelperLineActor
Internal class holding the mapper, actor, etc. for each of the 3 2D render windows.
Organizes the rendering process.
NodesVectorType m_OtherPlaneGeometries
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all Vtk Mappers in order to display primitives by exploiting Vtk functionality.
Base class of all mappers, Vtk as well as OpenGL mappers.
vtkSmartPointer< vtkPropAssembly > m_CrosshairAssembly
mitk::LocalStorageHandler< LocalStorage > m_LSH
The LocalStorageHandler holds all (three) LocalStorages for the three 2D render windows.
bool m_RenderOrientationArrows
Vtk-based 2D mapper for rendering a crosshair with the plane geometry.
#define mitkClassMacro(className, SuperClassName)
vtkSmartPointer< vtkPolyDataMapper2D > m_Mapper
Data class containing PlaneGeometry objects.
static AllInstancesContainer s_AllInstances
std::vector< DataNode * > NodesVectorType
vtkSmartPointer< vtkActor2D > m_CrosshairActor
vtkSmartPointer< vtkPolyDataMapper2D > m_HelperLinesmapper
std::set< Self * > AllInstancesContainer
Describes a two-dimensional, rectangular plane.
BaseGeometry Describes the geometry of a data object.
Class for nodes of the DataTree.