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 Member Functions | Protected Attributes | List of all members
QGoTraceEditingWidgetManager Class Referenceabstract

abstract class handles the interactions between the user and the algorithms for one kind of trace More...

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

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

Public Slots

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 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

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 Member Functions

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...
 
virtual void SetSemiAutomaticAlgorithms (QWidget *iParent=0)=0
 add the algowidget of the different algo in the algomanagerwidget for the semi automatic mode and set the different SIGNAL/SLOTS connections More...
 
void SetTheDockWidget (QWidget *iParent)
 
void SetTheTraceWidget (std::vector< QString > iVectChannels, int iTimeMin, int iTimeMax, QWidget *iParent)
 

Protected Attributes

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

abstract class handles the interactions between the user and the algorithms for one kind of trace

Definition at line 56 of file QGoTraceEditingWidgetManager.h.

Constructor & Destructor Documentation

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

Definition at line 46 of file QGoTraceEditingWidgetManager.cxx.

QGoTraceEditingWidgetManager::~QGoTraceEditingWidgetManager ( )

Definition at line 70 of file QGoTraceEditingWidgetManager.cxx.

Member Function Documentation

void QGoTraceEditingWidgetManager::ClearAllSeeds ( )
signal
QGoDockWidget * QGoTraceEditingWidgetManager::GetDockWidget ( )
Returns
the dockwidget for it to be integrated in the mainwindow

Definition at line 135 of file QGoTraceEditingWidgetManager.cxx.

template<typename T >
void QGoTraceEditingWidgetManager::GetPolydatasFromAlgo ( T *  iAlgo)
inlineprotected

get the vtkpolydata for the new created meshes by the chosen algo

Definition at line 146 of file QGoTraceEditingWidgetManager.h.

int QGoTraceEditingWidgetManager::GetSelectedTimePoint ( )
protected

return the selected timepoint in the TSlice combobox

Definition at line 167 of file QGoTraceEditingWidgetManager.cxx.

QAction * QGoTraceEditingWidgetManager::GetToggleViewAction ( )

Definition at line 128 of file QGoTraceEditingWidgetManager.cxx.

void QGoTraceEditingWidgetManager::SetSeedInteractorBehaviour ( bool  enable)
signal

emit true to get the seeds widget enabled and false to disable it

virtual void QGoTraceEditingWidgetManager::SetSemiAutomaticAlgorithms ( QWidget *  iParent = 0)
protectedpure virtual

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

Implemented in QGoMeshEditingWidgetManager, and QGoContourEditingWidgetManager.

void QGoTraceEditingWidgetManager::SetTheDockWidget ( QWidget *  iParent)
protected

Definition at line 103 of file QGoTraceEditingWidgetManager.cxx.

void QGoTraceEditingWidgetManager::SetTheTraceWidget ( std::vector< QString >  iVectChannels,
int  iTimeMin,
int  iTimeMax,
QWidget *  iParent 
)
protected

Definition at line 76 of file QGoTraceEditingWidgetManager.cxx.

void QGoTraceEditingWidgetManager::SetTSliceForClassicView ( )
virtual

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

Reimplemented in QGoMeshEditingWidgetManager.

Definition at line 150 of file QGoTraceEditingWidgetManager.cxx.

void QGoTraceEditingWidgetManager::SetTSliceForDopplerView ( QHash< QString, QColor >  iListTimePoints,
int  iChannelNumber 
)
virtual

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

Reimplemented in QGoMeshEditingWidgetManager.

Definition at line 158 of file QGoTraceEditingWidgetManager.cxx.

void QGoTraceEditingWidgetManager::SetVisible ( bool  isVisible)
slot

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

Definition at line 142 of file QGoTraceEditingWidgetManager.cxx.

void QGoTraceEditingWidgetManager::TracesCreatedFromAlgo ( std::vector< vtkPolyData * >  iVectPolydata,
int  iTCoord 
)
signal

emitted when new meshes need to be saved in database and rendered in the vizu, return the TSlice selected in the TSlice combobox

void QGoTraceEditingWidgetManager::TracesMergedFromAlgo ( vtkPolyData *  iPolydata)
signal
void QGoTraceEditingWidgetManager::TracesSplittedFromAlgo ( std::vector< vtkPolyData * >  iVectPolydata)
signal
void QGoTraceEditingWidgetManager::UpdateSeeds ( )
signal

Member Data Documentation

int* QGoTraceEditingWidgetManager::m_CurrentTimePoint
protected

Definition at line 122 of file QGoTraceEditingWidgetManager.h.

GoImageProcessor* QGoTraceEditingWidgetManager::m_Images
protected

Definition at line 121 of file QGoTraceEditingWidgetManager.h.

QStringList QGoTraceEditingWidgetManager::m_ListTimePoint
protected

Definition at line 123 of file QGoTraceEditingWidgetManager.h.

int QGoTraceEditingWidgetManager::m_MaxThreshold
protected

Definition at line 124 of file QGoTraceEditingWidgetManager.h.

std::vector< vtkPoints* >* QGoTraceEditingWidgetManager::m_Seeds
protected

Definition at line 120 of file QGoTraceEditingWidgetManager.h.

QGoDockWidget* QGoTraceEditingWidgetManager::m_TraceEditingDockWidget
protected

Definition at line 116 of file QGoTraceEditingWidgetManager.h.

QGoTraceEditingWidget* QGoTraceEditingWidgetManager::m_TraceEditingWidget
protected

Definition at line 117 of file QGoTraceEditingWidgetManager.h.

std::string QGoTraceEditingWidgetManager::m_TraceName
protected

Definition at line 119 of file QGoTraceEditingWidgetManager.h.


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