GOFIGURE2  0.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
QGoManualSegmentationSettingsDialog Class Reference

Settings dialog for the contour widget. Useful to define the color of the line, the color of the nodes,the color of the active nodes and the thickness of the line. More...

#include <Code/GUI/lib/TraceEditing/QGoManualSegmentationSettingsDialog.h>

Inheritance diagram for QGoManualSegmentationSettingsDialog:
Inheritance graph
[legend]
Collaboration diagram for QGoManualSegmentationSettingsDialog:
Collaboration graph
[legend]

Public Slots

void SelectActivatedNodeColor ()
 Open a dialog to choose the color of the activated node. More...
 
void SelectLineColor ()
 Open a dialog to choose the color of the lines. More...
 
void SelectNodeColor ()
 Open a dialog to choose the color of the node. More...
 
void SetLineWidth (const double &iWidth)
 Set the width of the line. More...
 

Public Member Functions

QColor GetActivatedNodeColor () const
 Get the color of the Active Node. More...
 
QColor GetLineColor () const
 Get the color of the line. More...
 
double GetLineWidth () const
 Get the width of the line. More...
 
QColor GetNodeColor () const
 Get the color of the Node. More...
 
 QGoManualSegmentationSettingsDialog (QWidget *parent=0, const double &iWidth=1., const QColor &iLineColor=Qt::magenta, const QColor &iNodeColor=Qt::cyan, const QColor &iActivatedNodeColor=Qt::yellow)
 
virtual ~QGoManualSegmentationSettingsDialog ()
 

Protected Member Functions

virtual void ReadSettings ()
 
virtual void WriteSettings ()
 

Protected Attributes

QColor m_ActivatedNodeColor
 
vtkSmartPointer
< vtkOrientedGlyphContourRepresentation > 
m_ContourRepresentation
 
vtkSmartPointer< vtkContourWidget > m_ContourWidget
 
vtkSmartPointer< vtkPolyData > m_InitPD
 
QColor m_LineColor
 
double m_LineWidth
 
QColor m_NodeColor
 
vtkSmartPointer< vtkRenderer > m_Renderer
 

Detailed Description

Settings dialog for the contour widget. Useful to define the color of the line, the color of the nodes,the color of the active nodes and the thickness of the line.

Definition at line 59 of file QGoManualSegmentationSettingsDialog.h.

Constructor & Destructor Documentation

QGoManualSegmentationSettingsDialog::QGoManualSegmentationSettingsDialog ( QWidget *  parent = 0,
const double &  iWidth = 1.,
const QColor &  iLineColor = Qt::magenta,
const QColor &  iNodeColor = Qt::cyan,
const QColor &  iActivatedNodeColor = Qt::yellow 
)
explicit

Definition at line 50 of file QGoManualSegmentationSettingsDialog.cxx.

QGoManualSegmentationSettingsDialog::~QGoManualSegmentationSettingsDialog ( )
virtual

Definition at line 125 of file QGoManualSegmentationSettingsDialog.cxx.

Member Function Documentation

QColor QGoManualSegmentationSettingsDialog::GetActivatedNodeColor ( ) const

Get the color of the Active Node.

Returns
QColor containing the selected color

Definition at line 147 of file QGoManualSegmentationSettingsDialog.cxx.

QColor QGoManualSegmentationSettingsDialog::GetLineColor ( ) const

Get the color of the line.

Returns
QColor containing the selected color

Definition at line 137 of file QGoManualSegmentationSettingsDialog.cxx.

double QGoManualSegmentationSettingsDialog::GetLineWidth ( ) const

Get the width of the line.

Returns
double containing the selected width

Definition at line 132 of file QGoManualSegmentationSettingsDialog.cxx.

QColor QGoManualSegmentationSettingsDialog::GetNodeColor ( ) const

Get the color of the Node.

Returns
QColor containing the selected color

Definition at line 142 of file QGoManualSegmentationSettingsDialog.cxx.

void QGoManualSegmentationSettingsDialog::ReadSettings ( )
protectedvirtual

Definition at line 207 of file QGoManualSegmentationSettingsDialog.cxx.

void QGoManualSegmentationSettingsDialog::SelectActivatedNodeColor ( )
slot

Open a dialog to choose the color of the activated node.

Definition at line 192 of file QGoManualSegmentationSettingsDialog.cxx.

void QGoManualSegmentationSettingsDialog::SelectLineColor ( )
slot

Open a dialog to choose the color of the lines.

Definition at line 164 of file QGoManualSegmentationSettingsDialog.cxx.

void QGoManualSegmentationSettingsDialog::SelectNodeColor ( )
slot

Open a dialog to choose the color of the node.

Definition at line 178 of file QGoManualSegmentationSettingsDialog.cxx.

void QGoManualSegmentationSettingsDialog::SetLineWidth ( const double &  iWidth)
slot

Set the width of the line.

Parameters
[in]iWidthdouble containing the selected width

Definition at line 152 of file QGoManualSegmentationSettingsDialog.cxx.

void QGoManualSegmentationSettingsDialog::WriteSettings ( )
protectedvirtual

Definition at line 241 of file QGoManualSegmentationSettingsDialog.cxx.

Member Data Documentation

QColor QGoManualSegmentationSettingsDialog::m_ActivatedNodeColor
protected

Definition at line 132 of file QGoManualSegmentationSettingsDialog.h.

vtkSmartPointer< vtkOrientedGlyphContourRepresentation > QGoManualSegmentationSettingsDialog::m_ContourRepresentation
protected

Definition at line 124 of file QGoManualSegmentationSettingsDialog.h.

vtkSmartPointer< vtkContourWidget > QGoManualSegmentationSettingsDialog::m_ContourWidget
protected

Definition at line 125 of file QGoManualSegmentationSettingsDialog.h.

vtkSmartPointer< vtkPolyData > QGoManualSegmentationSettingsDialog::m_InitPD
protected

Definition at line 127 of file QGoManualSegmentationSettingsDialog.h.

QColor QGoManualSegmentationSettingsDialog::m_LineColor
protected

Definition at line 130 of file QGoManualSegmentationSettingsDialog.h.

double QGoManualSegmentationSettingsDialog::m_LineWidth
protected

Definition at line 129 of file QGoManualSegmentationSettingsDialog.h.

QColor QGoManualSegmentationSettingsDialog::m_NodeColor
protected

Definition at line 131 of file QGoManualSegmentationSettingsDialog.h.

vtkSmartPointer< vtkRenderer > QGoManualSegmentationSettingsDialog::m_Renderer
protected

Definition at line 126 of file QGoManualSegmentationSettingsDialog.h.


The documentation for this class was generated from the following files: