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 Slots | Protected Member Functions | Protected Attributes | List of all members
QGoContourEditingWidgetManager Class Reference

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

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

Public Slots

virtual void SetVisible (bool isVisible)
 
void StartManualSegmentation (bool iValue)
 display only the current timepoint in the TSlice comboboxes of the qgoalgomanagerwidgets, disable them and enable the channel comboboxes More...
 
- Public Slots inherited from QGoTraceEditingWidgetManager
void SetVisible (bool isVisible)
 show or hide the dockwidget and check the current selected mode in order to emit a signal to get the seeds widget if show or to disable it of hide More...
 

Signals

void changeContourRepresentationProperty (float iLinewidth, QColor iLinecolor, QColor iNodecolor, QColor iActivenodecolor)
 
void ContourValidated (int iTCoord)
 
void ManualSegmentationActivated (bool)
 
void reinitializeContour ()
 
- Signals inherited from QGoTraceEditingWidgetManager
void ClearAllSeeds ()
 
void SetSeedInteractorBehaviour (bool enable)
 emit true to get the seeds widget enabled and false to disable it More...
 
void TracesCreatedFromAlgo (std::vector< vtkPolyData * > iVectPolydata, int iTCoord)
 emitted when new meshes need to be saved in database and rendered in the vizu, return the TSlice selected in the TSlice combobox More...
 
void TracesMergedFromAlgo (vtkPolyData *iPolydata)
 
void TracesSplittedFromAlgo (std::vector< vtkPolyData * > iVectPolydata)
 
void UpdateSeeds ()
 

Public Member Functions

bool GetReeditMode ()
 Get the reedit mode. More...
 
void InitializeSettingsForManualMode ()
 
 QGoContourEditingWidgetManager (std::vector< QString > iVectChannels, int iTimeMin, int iTimeMax, std::vector< vtkPoints * > *iSeeds, GoImageProcessor *iImages, int *iCurrentTimePoint, QWidget *iParent=0)
 
void SetReeditMode (bool iReeditMode)
 Set the reedit mode. More...
 
 ~QGoContourEditingWidgetManager ()
 
- Public Member Functions inherited from QGoTraceEditingWidgetManager
QGoDockWidgetGetDockWidget ()
 
QAction * GetToggleViewAction ()
 
 QGoTraceEditingWidgetManager (std::string iTraceName, std::vector< QString > iVectChannels, int iTimeMin, int iTimeMax, std::vector< vtkPoints * > *iSeeds, GoImageProcessor *iImages, int *iCurrentTimePoint, QWidget *iParent=0)
 
virtual void SetTSliceForClassicView ()
 display only the current timepoint in the TSlice comboboxes of the qgoalgomanagerwidgets, disable them and enable the channel comboboxes More...
 
virtual void SetTSliceForDopplerView (QHash< QString, QColor > iListTimePoints, int iChannelNumber)
 display the 3 timepoints chosen by the user in the TSlice comboboxes of the qgoalgomanagerwidgets, enable them, display only the channel tracked by the user and disable the channel comboboxes More...
 
 ~QGoTraceEditingWidgetManager ()
 

Protected Slots

void ApplyLevelSetAlgo ()
 
void ContourToValidate ()
 slot called when the user clicks on "validate" for the manual mode More...
 

Protected Member Functions

void SetManualMode (QStringList iListTimePoint, QWidget *iParent)
 
virtual void SetSemiAutomaticAlgorithms (QWidget *iParent=0)
 add the algowidget of the different algo in the algomanagerwidget for the semi automatic mode and set the different SIGNAL/SLOTS connections More...
 
- Protected Member Functions inherited from QGoTraceEditingWidgetManager
template<typename T >
void GetPolydatasFromAlgo (T *iAlgo)
 get the vtkpolydata for the new created meshes by the chosen algo More...
 
int GetSelectedTimePoint ()
 return the selected timepoint in the TSlice combobox More...
 
void SetTheDockWidget (QWidget *iParent)
 
void SetTheTraceWidget (std::vector< QString > iVectChannels, int iTimeMin, int iTimeMax, QWidget *iParent)
 

Protected Attributes

QGoContourLevelSetAlgom_LevelSetAlgo
 
QGoContourManualSegmentationm_ManualMode
 
- Protected Attributes inherited from QGoTraceEditingWidgetManager
int * m_CurrentTimePoint
 
GoImageProcessorm_Images
 
QStringList m_ListTimePoint
 
int m_MaxThreshold
 
std::vector< vtkPoints * > * m_Seeds
 
QGoDockWidgetm_TraceEditingDockWidget
 
QGoTraceEditingWidgetm_TraceEditingWidget
 
std::string m_TraceName
 

Detailed Description

interactions between the user and the algorithms for the contours

Definition at line 55 of file QGoContourEditingWidgetManager.h.

Constructor & Destructor Documentation

QGoContourEditingWidgetManager::QGoContourEditingWidgetManager ( std::vector< QString >  iVectChannels,
int  iTimeMin,
int  iTimeMax,
std::vector< vtkPoints * > *  iSeeds,
GoImageProcessor iImages,
int *  iCurrentTimePoint,
QWidget *  iParent = 0 
)

Definition at line 46 of file QGoContourEditingWidgetManager.cxx.

QGoContourEditingWidgetManager::~QGoContourEditingWidgetManager ( )

Definition at line 63 of file QGoContourEditingWidgetManager.cxx.

Member Function Documentation

void QGoContourEditingWidgetManager::ApplyLevelSetAlgo ( )
protectedslot

Definition at line 155 of file QGoContourEditingWidgetManager.cxx.

void QGoContourEditingWidgetManager::changeContourRepresentationProperty ( float  iLinewidth,
QColor  iLinecolor,
QColor  iNodecolor,
QColor  iActivenodecolor 
)
signal
void QGoContourEditingWidgetManager::ContourToValidate ( )
protectedslot

slot called when the user clicks on "validate" for the manual mode

Definition at line 117 of file QGoContourEditingWidgetManager.cxx.

void QGoContourEditingWidgetManager::ContourValidated ( int  iTCoord)
signal
bool QGoContourEditingWidgetManager::GetReeditMode ( )

Get the reedit mode.

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

Definition at line 183 of file QGoContourEditingWidgetManager.cxx.

void QGoContourEditingWidgetManager::InitializeSettingsForManualMode ( )

Definition at line 190 of file QGoContourEditingWidgetManager.cxx.

void QGoContourEditingWidgetManager::ManualSegmentationActivated ( bool  )
signal
void QGoContourEditingWidgetManager::reinitializeContour ( )
signal
void QGoContourEditingWidgetManager::SetManualMode ( QStringList  iListTimePoint,
QWidget *  iParent 
)
protected

Definition at line 69 of file QGoContourEditingWidgetManager.cxx.

void QGoContourEditingWidgetManager::SetReeditMode ( bool  iReeditMode)

Set the reedit mode.

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

Definition at line 176 of file QGoContourEditingWidgetManager.cxx.

void QGoContourEditingWidgetManager::SetSemiAutomaticAlgorithms ( QWidget *  iParent = 0)
protectedvirtual

add the algowidget of the different algo in the algomanagerwidget for the semi automatic mode and set the different SIGNAL/SLOTS connections

Implements QGoTraceEditingWidgetManager.

Definition at line 125 of file QGoContourEditingWidgetManager.cxx.

void QGoContourEditingWidgetManager::SetVisible ( bool  isVisible)
virtualslot

Definition at line 197 of file QGoContourEditingWidgetManager.cxx.

void QGoContourEditingWidgetManager::StartManualSegmentation ( bool  iValue)
slot

display only the current timepoint in the TSlice comboboxes of the qgoalgomanagerwidgets, disable them and enable the channel comboboxes

display the 3 timepoints chosen by the user in the TSlice comboboxes of the qgoalgomanagerwidgets, enable them, display only the channel tracked by the user and disable the channel comboboxes

Definition at line 102 of file QGoContourEditingWidgetManager.cxx.

Member Data Documentation

QGoContourLevelSetAlgo* QGoContourEditingWidgetManager::m_LevelSetAlgo
protected

Definition at line 111 of file QGoContourEditingWidgetManager.h.

QGoContourManualSegmentation* QGoContourEditingWidgetManager::m_ManualMode
protected

Definition at line 109 of file QGoContourEditingWidgetManager.h.


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