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,
160 vtkContext2D* context2D);
168 double &annotationOffset,
170 const PlanarFigureDisplayMode lineDisplayMode,
171 vtkContext2D* context2D);
177 const std::string name,
180 const PlanarFigureDisplayMode lineDisplayMode,
181 double &annotationOffset,
182 vtkContext2D* context2D);
188 const PlanarFigureDisplayMode lineDisplayMode,
192 vtkContext2D* context2D);
210 vtkContext2D* context2D);
221 vtkContext2D* context2D);
232 vtkContext2D* context2D);
243 vtkContext2D* context2D);
245 void InitializeDefaultPlanarFigureProperties();
247 void InitializePlanarFigurePropertiesFromDataNode(
const mitk::DataNode *node);
251 property[mode][0] = red;
252 property[mode][1] = green;
253 property[mode][2] = blue;
264 void OnNodeModified();
273 bool m_DrawQuantities;
275 bool m_DrawControlPoints;
278 bool m_DrawHelperDashed;
279 bool m_AnnotationsShadow;
281 std::string m_AnnotationFontFamily;
282 bool m_DrawAnnotationBold;
283 bool m_DrawAnnotationItalic;
284 int m_AnnotationSize;
288 float m_ShadowWidthFactor;
289 float m_OutlineWidth;
290 float m_HelperlineWidth;
293 float m_DevicePixelRatio;
297 float m_LineColor[3][3];
298 float m_LineOpacity[3];
299 float m_OutlineColor[3][3];
300 float m_OutlineOpacity[3];
301 float m_HelperlineColor[3][3];
302 float m_HelperlineOpacity[3];
303 float m_MarkerlineColor[3][3];
304 float m_MarkerlineOpacity[3];
305 float m_MarkerColor[3][3];
306 float m_MarkerOpacity[3];
307 float m_AnnotationColor[3][3];
313 unsigned long m_NodeModifiedObserverTag;
316 bool m_NodeModifiedObserverAdded;