13 #ifndef mitkPlanarFigureMapper2D_h
14 #define mitkPlanarFigureMapper2D_h
113 itkFactorylessNewMacro(
Self);
127 void ApplyColorAndOpacityProperties(
mitk::BaseRenderer *renderer, vtkActor *actor =
nullptr)
override;
154 void RenderLines(
const PlanarFigureDisplayMode lineDisplayMode,
167 double &annotationOffset,
169 const PlanarFigureDisplayMode lineDisplayMode);
175 const std::string name,
178 const PlanarFigureDisplayMode lineDisplayMode,
179 double &annotationOffset);
185 const PlanarFigureDisplayMode lineDisplayMode,
237 void InitializeDefaultPlanarFigureProperties();
239 void InitializePlanarFigurePropertiesFromDataNode(
const mitk::DataNode *node);
243 property[mode][0] = red;
244 property[mode][1] = green;
245 property[mode][2] = blue;
256 void OnNodeModified();
265 bool m_DrawQuantities;
267 bool m_DrawControlPoints;
270 bool m_DrawHelperDashed;
271 bool m_AnnotationsShadow;
273 std::string m_AnnotationFontFamily;
274 bool m_DrawAnnotationBold;
275 bool m_DrawAnnotationItalic;
276 int m_AnnotationSize;
280 float m_ShadowWidthFactor;
281 float m_OutlineWidth;
282 float m_HelperlineWidth;
285 float m_DevicePixelRatio;
289 float m_LineColor[3][3];
290 float m_LineOpacity[3];
291 float m_OutlineColor[3][3];
292 float m_OutlineOpacity[3];
293 float m_HelperlineColor[3][3];
294 float m_HelperlineOpacity[3];
295 float m_MarkerlineColor[3][3];
296 float m_MarkerlineOpacity[3];
297 float m_MarkerColor[3][3];
298 float m_MarkerOpacity[3];
299 float m_AnnotationColor[3][3];
305 unsigned long m_NodeModifiedObserverTag;
308 bool m_NodeModifiedObserverAdded;
312 vtkNew<vtkContext2D> m_Context;