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:
[legend]
Collaboration diagram for QGoTraceEditingWidgetManager:
[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 ()
 
QActionGetToggleViewAction ()
 
 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 ()
 
- Public Member Functions inherited from QObject
bool blockSignals (bool block)
 
QObjectchild (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArraydynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObjectmetaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObjectparent () const
 
QVariant property (const char *name) const
 
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThreadthread () const
 
virtual  ~QObject ()
 

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 Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObjectsender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

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
 

Additional Inherited Members

- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

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: