17 #ifndef MITK_PLANAR_FIGURE_MAPPER_2D_H_
18 #define MITK_PLANAR_FIGURE_MAPPER_2D_H_
114 itkFactorylessNewMacro(
Self) itkCloneMacro(
Self)
148 void RenderLines(
const PlanarFigureDisplayMode lineDisplayMode,
161 double &annotationOffset,
163 const PlanarFigureDisplayMode lineDisplayMode);
169 const std::string name,
172 const PlanarFigureDisplayMode lineDisplayMode,
173 double &annotationOffset);
179 const PlanarFigureDisplayMode lineDisplayMode,
231 void InitializeDefaultPlanarFigureProperties();
233 void InitializePlanarFigurePropertiesFromDataNode(
const mitk::DataNode *node);
237 property[mode][0] = red;
238 property[mode][1] = green;
239 property[mode][2] = blue;
250 void OnNodeModified();
256 bool m_DrawQuantities;
258 bool m_DrawControlPoints;
261 bool m_DrawHelperDashed;
262 bool m_AnnotationsShadow;
264 std::string m_AnnotationFontFamily;
265 bool m_DrawAnnotationBold;
266 bool m_DrawAnnotationItalic;
267 int m_AnnotationSize;
271 float m_ShadowWidthFactor;
272 float m_OutlineWidth;
273 float m_HelperlineWidth;
276 float m_DevicePixelRatio;
280 float m_LineColor[3][3];
281 float m_LineOpacity[3];
282 float m_OutlineColor[3][3];
283 float m_OutlineOpacity[3];
284 float m_HelperlineColor[3][3];
285 float m_HelperlineOpacity[3];
286 float m_MarkerlineColor[3][3];
287 float m_MarkerlineOpacity[3];
288 float m_MarkerColor[3][3];
289 float m_MarkerOpacity[3];
290 float m_AnnotationColor[3][3];
296 unsigned long m_NodeModifiedObserverTag;
299 bool m_NodeModifiedObserverAdded;
Organizes the rendering process.
Base class of all OpenGL-based mappers.
DataCollection - Class to facilitate loading/accessing structured data.
Base class of all mappers, Vtk as well as OpenGL mappers.
#define mitkClassMacro(className, SuperClassName)
Describes a two-dimensional, rectangular plane.
Class for nodes of the DataTree.