35 #ifndef __QGoManualSegmentationSettingsDialog_h
36 #define __QGoManualSegmentationSettingsDialog_h
38 #include "ui_ManualSegmentationSettingsDlg.h"
41 #include "vtkSmartPointer.h"
43 #include "QGoGUILibConfigure.h"
45 class vtkOrientedGlyphContourRepresentation;
46 class vtkContourWidget;
61 private Ui::ManualSegmentationSettingsDlg
66 const double & iWidth = 1.,
67 const QColor & iLineColor = Qt::magenta,
68 const QColor & iNodeColor = Qt::cyan,
69 const QColor & iActivatedNodeColor = Qt::yellow);
76 double GetLineWidth()
const;
82 QColor GetLineColor()
const;
88 QColor GetNodeColor()
const;
94 QColor GetActivatedNodeColor()
const;
102 void SetLineWidth(
const double & iWidth);
107 void SelectLineColor();
112 void SelectNodeColor();
117 void SelectActivatedNodeColor();
120 virtual void ReadSettings();
122 virtual void WriteSettings();
vtkSmartPointer< vtkContourWidget > m_ContourWidget
Settings dialog for the contour widget. Useful to define the color of the line, the color of the node...
vtkSmartPointer< vtkRenderer > m_Renderer
vtkSmartPointer< vtkOrientedGlyphContourRepresentation > m_ContourRepresentation
vtkSmartPointer< vtkPolyData > m_InitPD
QColor m_ActivatedNodeColor