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

Base class for contour manual segmentation. More...

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

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

Public Slots

void GenerateContourRepresentationProperties (bool iModified=false)
 Generate the widget contour properties if it has been modified. More...
 

Signals

void changeContourRepresentationProperty (float iLinewidth, QColor iLinecolor, QColor iNodecolor, QColor iActivenodecolor)
 Signal sent if new properties have been generated by GenerateContourRepresentationProperties() More...
 
void reinitializeContour ()
 Signal sent if we click on the "Reinitialize" button in the widget. More...
 
void validateContour ()
 Signal sent if we click on the "Validate" button in the widget. More...
 

Public Member Functions

bool GetReeditMode ()
 Get the reedit mode. More...
 
QWidget * getWidget ()
 Get the base widget for the contour manual segmentation. More...
 
 QGoContourManualSegmentation (QWidget *parent=0)
 Constructor. More...
 
void SetReeditMode (bool iReeditMode)
 Set the reedit mode. More...
 
 ~QGoContourManualSegmentation ()
 Destructor. More...
 

Protected Attributes

QColor m_ActiveNodesColor
 
QGoContourManualSegmentationWidgetm_ContourSegmentationWidget
 
QColor m_LinesColor
 
double m_LinesWidth
 
QColor m_NodesColor
 
bool m_ReeditMode
 

Private Member Functions

 Q_DISABLE_COPY (QGoContourManualSegmentation)
 

Detailed Description

Base class for contour manual segmentation.

Definition at line 49 of file QGoContourManualSegmentation.h.

Constructor & Destructor Documentation

QGoContourManualSegmentation::QGoContourManualSegmentation ( QWidget *  parent = 0)
explicit

Constructor.

Definition at line 40 of file QGoContourManualSegmentation.cxx.

QGoContourManualSegmentation::~QGoContourManualSegmentation ( )

Destructor.

Definition at line 67 of file QGoContourManualSegmentation.cxx.

Member Function Documentation

void QGoContourManualSegmentation::changeContourRepresentationProperty ( float  iLinewidth,
QColor  iLinecolor,
QColor  iNodecolor,
QColor  iActivenodecolor 
)
signal

Signal sent if new properties have been generated by GenerateContourRepresentationProperties()

void QGoContourManualSegmentation::GenerateContourRepresentationProperties ( bool  iModified = false)
slot

Generate the widget contour properties if it has been modified.

Parameters
[in]iModifiedtrue:generate new properties, false:don't do anything

Definition at line 84 of file QGoContourManualSegmentation.cxx.

bool QGoContourManualSegmentation::GetReeditMode ( )

Get the reedit mode.

Returns
true: we are in reedit mode, false:classic segmentation

Definition at line 142 of file QGoContourManualSegmentation.cxx.

QWidget * QGoContourManualSegmentation::getWidget ( )

Get the base widget for the contour manual segmentation.

Returns
QWidget pointer to the base widget

Definition at line 75 of file QGoContourManualSegmentation.cxx.

QGoContourManualSegmentation::Q_DISABLE_COPY ( QGoContourManualSegmentation  )
private
void QGoContourManualSegmentation::reinitializeContour ( )
signal

Signal sent if we click on the "Reinitialize" button in the widget.

void QGoContourManualSegmentation::SetReeditMode ( bool  iReeditMode)

Set the reedit mode.

Parameters
[in]iReeditModetrue: we are in reedit mode, false:classic segmentation

Definition at line 133 of file QGoContourManualSegmentation.cxx.

void QGoContourManualSegmentation::validateContour ( )
signal

Signal sent if we click on the "Validate" button in the widget.

Member Data Documentation

QColor QGoContourManualSegmentation::m_ActiveNodesColor
protected

Definition at line 115 of file QGoContourManualSegmentation.h.

QGoContourManualSegmentationWidget* QGoContourManualSegmentation::m_ContourSegmentationWidget
protected

Definition at line 110 of file QGoContourManualSegmentation.h.

QColor QGoContourManualSegmentation::m_LinesColor
protected

Definition at line 113 of file QGoContourManualSegmentation.h.

double QGoContourManualSegmentation::m_LinesWidth
protected

Definition at line 112 of file QGoContourManualSegmentation.h.

QColor QGoContourManualSegmentation::m_NodesColor
protected

Definition at line 114 of file QGoContourManualSegmentation.h.

bool QGoContourManualSegmentation::m_ReeditMode
protected

Definition at line 117 of file QGoContourManualSegmentation.h.


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