13 #ifndef mitkContourModelMapper2DBase_h
14 #define mitkContourModelMapper2DBase_h
20 #include <vtkSmartPointer.h>
23 class vtkOpenGLContextDevice2D;
#define MITKCONTOURMODEL_EXPORT
Organizes the rendering process.
Abstract base class for OpenGL-based 2D contour mappers.
std::vector< BaseRenderer * > RendererListType
void WriteTextWithAnnotation(TextAnnotationPointerType textAnnotation, const char *text, float rgb[3], Point2D pt2d, mitk::BaseRenderer *)
~ContourModelMapper2DBase() override
mitkClassMacro(ContourModelMapper2DBase, Mapper)
void DrawContour(mitk::ContourModel *contour, mitk::BaseRenderer *renderer)
TextAnnotation2D::Pointer TextAnnotationPointerType
RendererListType m_RendererList
TextAnnotationPointerType m_PointNumbersAnnotation
virtual void InternalDrawContour(mitk::ContourModel *renderingContour, mitk::BaseRenderer *renderer)
TextAnnotationPointerType m_ControlPointNumbersAnnotation
ContourModelMapper2DBase()
void ApplyColorAndOpacityProperties(mitk::BaseRenderer *renderer, vtkActor *actor=nullptr) override
Apply color and opacity properties from the data node to the rendering context.
A time-resolved contour representation consisting of linked vertices in 3D space.
Base class of all mappers, Vtk as well as OpenGL mappers.
Find image slices visible on a given plane.