13 #ifndef mitkPlaneGeometryDataMapper2D_h 14 #define mitkPlaneGeometryDataMapper2D_h 19 #include <vtkSmartPointer.h> 22 class vtkPropAssembly;
25 class vtkPolyDataMapper2D;
51 itkFactorylessNewMacro(
Self);
104 static bool TestPointInReferenceGeometry(
const BaseGeometry *referenceGeometry,
const Point3D &point);
106 static bool CutCrossLineWithPlaneGeometry(
const PlaneGeometry *planeGeometry,
Line3D &crossLine);
107 static bool CutCrossLineWithReferenceGeometry(
const BaseGeometry *referenceGeometry,
Line3D &crossLine);
120 int DetermineThickSliceMode(
DataNode *dn,
int &thickSlicesNum);
122 void DrawLine(
Point3D p0,
Point3D p1, vtkCellArray *lines, vtkPoints *points);
135 void ApplyColorAndOpacityProperties2D(
BaseRenderer *renderer, vtkActor2D *actor);
136 void DrawOrientationArrow(vtkSmartPointer<vtkCellArray> triangles,
137 vtkSmartPointer<vtkPoints> triPoints,
138 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.