13 #ifndef mitkContourModelGLMapper2DBase_h
14 #define mitkContourModelGLMapper2DBase_h
20 #include <vtkSmartPointer.h>
23 class vtkOpenGLContextDevice2D;
#define MITKCONTOURMODEL_EXPORT
Base class for OpenGL based 2D mappers. Provides functionality to draw a contour.
void WriteTextWithAnnotation(TextAnnotationPointerType textAnnotation, const char *text, float rgb[3], Point2D pt2d, mitk::BaseRenderer *)
~ContourModelGLMapper2DBase() override
virtual void InternalDrawContour(mitk::ContourModel *renderingContour, mitk::BaseRenderer *renderer)
void DrawContour(mitk::ContourModel *contour, mitk::BaseRenderer *renderer)
TextAnnotation2D::Pointer TextAnnotationPointerType
TextAnnotationPointerType m_ControlPointNumbersAnnotation
TextAnnotationPointerType m_PointNumbersAnnotation
std::vector< BaseRenderer * > RendererListType
ContourModelGLMapper2DBase()
void ApplyColorAndOpacityProperties(mitk::BaseRenderer *renderer, vtkActor *actor=nullptr) override
Apply specific color and opacity properties read from the PropertyList. Reimplemented in GLmapper (do...
mitkClassMacro(ContourModelGLMapper2DBase, Mapper)
RendererListType m_RendererList
ContourModel is a structure of linked vertices defining a contour in 3D space. The vertices are store...
Base class of all mappers, Vtk as well as OpenGL mappers.
Find image slices visible on a given plane.