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

manages all the database components: table widget, trace settings editing widdet, QGoDBTraceManager... More...

#include <Code/GUI/lib/QGoPrintDatabase.h>

Inheritance diagram for QGoPrintDatabase:
[legend]
Collaboration diagram for QGoPrintDatabase:
[legend]

Public Types

typedef std::pair< int, QColorIDWithColorData
 
typedef
QGoTraceSettingsWidget::ItemColorComboboxData 
ItemColorComboboxData
 
typedef
QGoDBBookmarkManager::NamesDescrContainerType 
NamesDescrContainerType
 
typedef
GoDBCollectionOfTraces::TWContainerType 
TWContainerType
 

Public Slots

void DeleteBookmarks ()
 
void ExportContours ()
 
void ExportMeshes ()
 
void SaveNewMeshForMeshToContours (int iNumberOfContours)
 
void UpdateSelectedTimePoint (int iTimePoint)
 

Signals

void DBVariablesSet ()
 
void NeedToGoToTheLocation (int XCoord, int YCoord, int ZCoord, int TCoord)
 signal emitted when a signal is emitted from a m_TraceManager for "go to the trace " from the context menu More...
 
void NeedToGoToTheRealLocation (double XCoord, double YCoord, double ZCoord, int TCoord)
 
void NewMeshToGenerate (std::list< unsigned int > ListContourIDs, int iNewMeshID)
 
void OpenBookmarksToUpdate ()
 
void PrintDBReady ()
 
void PrintMessage (QString iMessage, int iTimeOut=0)
 
void TraceToReEdit (unsigned int)
 

Public Member Functions

void AddBookmark (int iXCoord, int iYCoord, int iZCoord, int iTCoord)
 
void FillTableFromDatabase (const unsigned int &iTreshold)
 Create the QTableWidgetChild,get the columns names and the values stored in the database, display them in the QTableWidgetChild and fill the info for the contours and meshes. More...
 
std::vector< ContourMeshStructureGetContoursForAGivenTimepoint (unsigned int iTimePoint)
 Return a vector of all the contours for the given timepoint. More...
 
GoDBCoordinateRow GetCoordinateForBookmark (std::string iName)
 
NamesDescrContainerType GetListBookmarks ()
 
std::vector< ContourMeshStructureGetMeshesForAGivenTimepoint (unsigned int iTimePoint)
 Return a vector of all the meshes for the given timepoint. More...
 
int GetNumberOfElementForTraceAndTimePoint (std::string iTrace, int iTimePoint)
 
QGoTraceSettingsWidgetGetTraceSettingsWidget ()
 return the TraceSettingsDockWidget More...
 
QGoTraceSettingsWidgetGetTraceSettingsWidgetForToolBar ()
 
std::list< unsigned int > GetVisibleTimePoints ()
 
void ImportContours ()
 get the info from a textfile, save it into the database, update the container for visu and the TW More...
 
void ImportMeshes ()
 get the info from a textfile, save it into the database, update the container for visu and the TW More...
 
std::vector< int > ImportTracks ()
 get the info from a textfile, save it into the database, update the container for visu and the TW and recalculate the points for the tracks More...
 
void InitializeTheComboboxesNotTraceRelated ()
 Initialize or reinitialized the celltype,subcelltype and color list from the database into the traceSettingswidget. More...
 
std::string InWhichTableAreWe ()
 Return the Name of the tab currently used in the table widget, which correspond to the TraceName of the CollectionOfTraces: More...
 
bool IsDatabaseUsed ()
 return a bool to know if the user is using the database or not More...
 
bool NeedTraceSettingsToolBarVisible ()
 check if the tracesettingsWidget is visible, if not, return true. More...
 
void PrintCalculatedValuesForTrack (GoFigureTrackAttributes *iTrackAttributes, unsigned int iTrackID)
 display in the table widget the values from iTrackAttributes for iTrackID More...
 
void PrintVolumeAreaForMesh (GoFigureMeshAttributes *iMeshAttributes, unsigned int iMeshID)
 display in the table widget the volume and area from iMeshAttributes for iMeshID More...
 
 QGoPrintDatabase (QWidget *iParent=0)
 Constructor. More...
 
void SaveContoursFromVisuInDB (unsigned int iXCoordMin, unsigned int iYCoordMin, unsigned int iZCoordMin, unsigned int iTCoord, unsigned int iXCoordMax, unsigned int iYCoordMax, unsigned int iZCoordMax, vtkPolyData *iContourNodes)
 save a new contour from the visu into the database, update the table widget and the CurrentElement of the visu container if reeditMode is set to false; if not, update the contour in the DB and in the TW, for both modes, update the mesh the contour is part of. More...
 
void SaveMeshFromVisuInDB (unsigned int iXCoordMin, unsigned int iYCoordMin, unsigned int iZCoordMin, unsigned int iXCoordMax, unsigned int iYCoordMax, unsigned int iZCoordMax, int iTCoord, vtkPolyData *iMeshNodes, GoFigureMeshAttributes *iMeshAttributes, int iTrackID=-1)
 save the mesh into the database for a mesh generated in the visualization, if the mesh is an updated mesh which already exists(for example a new contour is added to this mesh, the NewMesh has to be set to false More...
 
unsigned int SaveNewContourForMeshToContours (unsigned int iXCoordMin, unsigned int iYCoordMin, unsigned int iZCoordMin, unsigned int iXCoordMax, unsigned int iYCoordMax, unsigned int iZCoordMax, vtkPolyData *iTraceNodes)
 save a new contour in the database, the TW and the container for the contours to sphere action More...
 
void SetContoursContainer (ContourContainer *iContoursContainer)
 set the pointer m_TraceInfoForVisu of the ContoursManager to iContoursContainer More...
 
void SetDatabaseVariables (const std::string &iNameDB, const std::string &iServer, const std::string &iUser, const std::string &iPassword, const unsigned int &iImgSessionID, const std::string &iImgSessionName)
 set all the values needed for the database More...
 
void SetLineagesContainers (LineageContainer *iContainer, TrackContainer *iTrackContainer)
 set the pointer m_LineageInfoForVisu of the LineagesManager to iContainer More...
 
void SetMeshesContainer (MeshContainer *iMeshesContainer)
 set the pointer m_TraceInfoForVisu of the MeshesManager to iMeshesContainer More...
 
void SetTraceNameForTableWidget (std::string iTraceName)
 update the traceSettingswidget for the trace with the corresponding list of collectionID and set the tablewidget for the trace table More...
 
void SetTracksContainer (TrackContainer *iContainer)
 set the pointer m_TrackInfoForVisu of the TracksManager to iTracksContainer More...
 
std::list< unsigned int > UpdateTableWidgetAndContainersForGivenTimePoint (const unsigned int &iNewTimePoint)
 Update the table widget and the visualization container contents based on the given time point and the previous visible time points. It erases actors and remove them from the visualization. It doesn't create actors after adding polydata to container. More...
 
virtual ~QGoPrintDatabase ()
 Destructor. More...
 
- Public Member Functions inherited from QGoDockWidget
 QGoDockWidget (QWidget *iParent=0)
 
QActiontoggleViewAction ()
 
virtual ~QGoDockWidget ()
 
- Public Member Functions inherited from QDockWidget
Qt::DockWidgetAreas allowedAreas () const
 
void allowedAreasChanged (QFlags< Qt::DockWidgetArea > allowedAreas)
 
void dockLocationChanged (Qt::DockWidgetArea area)
 
DockWidgetFeatures features () const
 
void featuresChanged (QFlags< QDockWidget::DockWidgetFeature > features)
 
bool isAreaAllowed (Qt::DockWidgetArea area) const
 
bool isFloating () const
 
 QDockWidget (QWidget *parent, QFlags< Qt::WindowType > flags)
 
 QDockWidget (const QString &title, QWidget *parent, QFlags< Qt::WindowType > flags)
 
void setAllowedAreas (QFlags< Qt::DockWidgetArea > areas)
 
void setFeatures (QFlags< QDockWidget::DockWidgetFeature > features)
 
void setFloating (bool floating)
 
void setTitleBarWidget (QWidget *widget)
 
void setWidget (QWidget *widget)
 
QWidgettitleBarWidget () const
 
QActiontoggleViewAction () const
 
void topLevelChanged (bool topLevel)
 
void visibilityChanged (bool visible)
 
QWidgetwidget () const
 
 ~QDockWidget ()
 
- Public Member Functions inherited from QWidget
bool acceptDrops () const
 
QString accessibleDescription () const
 
QString accessibleName () const
 
QList< QAction * > actions () const
 
void activateWindow ()
 
void addAction (QAction *action)
 
void addActions (QList< QAction * > actions)
 
void adjustSize ()
 
bool autoFillBackground () const
 
Qt::BackgroundMode backgroundMode () const
 
QPoint backgroundOffset () const
 
BackgroundOrigin backgroundOrigin () const
 
QPalette::ColorRole backgroundRole () const
 
QSize baseSize () const
 
QString caption () const
 
QWidgetchildAt (int x, int y, bool includeThis) const
 
QWidgetchildAt (const QPoint &p, bool includeThis) const
 
QWidgetchildAt (int x, int y) const
 
QWidgetchildAt (const QPoint &p) const
 
QRect childrenRect () const
 
QRegion childrenRegion () const
 
void clearFocus ()
 
void clearMask ()
 
bool close (bool alsoDelete)
 
bool close ()
 
QColorGroup colorGroup () const
 
void constPolish () const
 
QMargins contentsMargins () const
 
QRect contentsRect () const
 
Qt::ContextMenuPolicy contextMenuPolicy () const
 
QCursor cursor () const
 
void customContextMenuRequested (const QPoint &pos)
 
void drawText (const QPoint &p, const QString &s)
 
void drawText (int x, int y, const QString &s)
 
WId effectiveWinId () const
 
void ensurePolished () const
 
void erase ()
 
void erase (const QRegion &rgn)
 
void erase (const QRect &rect)
 
void erase (int x, int y, int w, int h)
 
Qt::FocusPolicy focusPolicy () const
 
QWidgetfocusProxy () const
 
QWidgetfocusWidget () const
 
const QFontfont () const
 
QFontInfo fontInfo () const
 
QFontMetrics fontMetrics () const
 
QPalette::ColorRole foregroundRole () const
 
QRect frameGeometry () const
 
QSize frameSize () const
 
const QRectgeometry () const
 
void getContentsMargins (int *left, int *top, int *right, int *bottom) const
 
virtual HDC getDC () const
 
void grabGesture (Qt::GestureType gesture, QFlags< Qt::GestureFlag > flags)
 
void grabKeyboard ()
 
void grabMouse ()
 
void grabMouse (const QCursor &cursor)
 
int grabShortcut (const QKeySequence &key, Qt::ShortcutContext context)
 
QGraphicsEffectgraphicsEffect () const
 
QGraphicsProxyWidgetgraphicsProxyWidget () const
 
bool hasEditFocus () const
 
bool hasFocus () const
 
bool hasMouse () const
 
bool hasMouseTracking () const
 
int height () const
 
virtual int heightForWidth (int w) const
 
void hide ()
 
const QPixmapicon () const
 
void iconify ()
 
QString iconText () const
 
QInputContextinputContext ()
 
Qt::InputMethodHints inputMethodHints () const
 
virtual QVariant inputMethodQuery (Qt::InputMethodQuery query) const
 
void insertAction (QAction *before, QAction *action)
 
void insertActions (QAction *before, QList< QAction * > actions)
 
bool isActiveWindow () const
 
bool isAncestorOf (const QWidget *child) const
 
bool isDesktop () const
 
bool isDialog () const
 
bool isEnabled () const
 
bool isEnabledTo (QWidget *ancestor) const
 
bool isEnabledToTLW () const
 
bool isFullScreen () const
 
bool isHidden () const
 
bool isInputMethodEnabled () const
 
bool isMaximized () const
 
bool isMinimized () const
 
bool isModal () const
 
bool isPopup () const
 
bool isShown () const
 
bool isTopLevel () const
 
bool isUpdatesEnabled () const
 
bool isVisible () const
 
bool isVisibleTo (QWidget *ancestor) const
 
bool isVisibleToTLW () const
 
bool isWindow () const
 
bool isWindowModified () const
 
QLayoutlayout () const
 
Qt::LayoutDirection layoutDirection () const
 
QLocale locale () const
 
void lower ()
 
Qt::HANDLE macCGHandle () const
 
Qt::HANDLE macQDHandle () const
 
QPoint mapFrom (QWidget *parent, const QPoint &pos) const
 
QPoint mapFromGlobal (const QPoint &pos) const
 
QPoint mapFromParent (const QPoint &pos) const
 
QPoint mapTo (QWidget *parent, const QPoint &pos) const
 
QPoint mapToGlobal (const QPoint &pos) const
 
QPoint mapToParent (const QPoint &pos) const
 
QRegion mask () const
 
int maximumHeight () const
 
QSize maximumSize () const
 
int maximumWidth () const
 
int minimumHeight () const
 
QSize minimumSize () const
 
virtual QSize minimumSizeHint () const
 
int minimumWidth () const
 
void move (int x, int y)
 
void move (const QPoint &)
 
QWidgetnativeParentWidget () const
 
QWidgetnextInFocusChain () const
 
QRect normalGeometry () const
 
void overrideWindowFlags (QFlags< Qt::WindowType > flags)
 
bool ownCursor () const
 
bool ownFont () const
 
bool ownPalette () const
 
virtual QPaintEnginepaintEngine () const
 
const QPalettepalette () const
 
QWidgetparentWidget (bool sameWindow) const
 
QWidgetparentWidget () const
 
QPlatformWindow * platformWindow () const
 
QPlatformWindowFormat platformWindowFormat () const
 
void polish ()
 
QPoint pos () const
 
QWidgetpreviousInFocusChain () const
 
 QWidget (QWidget *parent, const char *name, QFlags< Qt::WindowType > f)
 
 QWidget (QWidget *parent, QFlags< Qt::WindowType > f)
 
void raise ()
 
void recreate (QWidget *parent, QFlags< Qt::WindowType > f, const QPoint &p, bool showIt)
 
QRect rect () const
 
virtual void releaseDC (HDC hdc) const
 
void releaseKeyboard ()
 
void releaseMouse ()
 
void releaseShortcut (int id)
 
void removeAction (QAction *action)
 
void render (QPaintDevice *target, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
 
void render (QPainter *painter, const QPoint &targetOffset, const QRegion &sourceRegion, QFlags< QWidget::RenderFlag > renderFlags)
 
void repaint (const QRect &r, bool b)
 
void repaint (int x, int y, int w, int h, bool b)
 
void repaint (const QRegion &rgn, bool b)
 
void repaint ()
 
void repaint (int x, int y, int w, int h)
 
void repaint (const QRegion &rgn)
 
void repaint (const QRect &rect)
 
void repaint (bool b)
 
void reparent (QWidget *parent, QFlags< Qt::WindowType > f, const QPoint &p, bool showIt)
 
void reparent (QWidget *parent, const QPoint &p, bool showIt)
 
void resize (int w, int h)
 
void resize (const QSize &)
 
bool restoreGeometry (const QByteArray &geometry)
 
QByteArray saveGeometry () const
 
void scroll (int dx, int dy)
 
void scroll (int dx, int dy, const QRect &r)
 
void setAcceptDrops (bool on)
 
void setAccessibleDescription (const QString &description)
 
void setAccessibleName (const QString &name)
 
void setActiveWindow ()
 
void setAttribute (Qt::WidgetAttribute attribute, bool on)
 
void setAutoFillBackground (bool enabled)
 
void setBackgroundColor (const QColor &color)
 
void setBackgroundMode (Qt::BackgroundMode widgetBackground, Qt::BackgroundMode paletteBackground)
 
void setBackgroundOrigin (BackgroundOrigin background)
 
void setBackgroundPixmap (const QPixmap &pixmap)
 
void setBackgroundRole (QPalette::ColorRole role)
 
void setBaseSize (const QSize &)
 
void setBaseSize (int basew, int baseh)
 
void setCaption (const QString &c)
 
void setContentsMargins (int left, int top, int right, int bottom)
 
void setContentsMargins (const QMargins &margins)
 
void setContextMenuPolicy (Qt::ContextMenuPolicy policy)
 
void setCursor (const QCursor &)
 
void setDisabled (bool disable)
 
void setEditFocus (bool enable)
 
void setEnabled (bool)
 
void setEraseColor (const QColor &color)
 
void setErasePixmap (const QPixmap &pixmap)
 
void setFixedHeight (int h)
 
void setFixedSize (const QSize &s)
 
void setFixedSize (int w, int h)
 
void setFixedWidth (int w)
 
void setFocus ()
 
void setFocus (Qt::FocusReason reason)
 
void setFocusPolicy (Qt::FocusPolicy policy)
 
void setFocusProxy (QWidget *w)
 
void setFont (const QFont &)
 
void setFont (const QFont &f, bool b)
 
void setForegroundRole (QPalette::ColorRole role)
 
void setGeometry (const QRect &)
 
void setGeometry (int x, int y, int w, int h)
 
void setGraphicsEffect (QGraphicsEffect *effect)
 
void setHidden (bool hidden)
 
void setIcon (const QPixmap &i)
 
void setIconText (const QString &it)
 
void setInputContext (QInputContext *context)
 
void setInputMethodEnabled (bool enabled)
 
void setInputMethodHints (QFlags< Qt::InputMethodHint > hints)
 
void setKeyCompression (bool b)
 
void setLayout (QLayout *layout)
 
void setLayoutDirection (Qt::LayoutDirection direction)
 
void setLocale (const QLocale &locale)
 
void setMask (const QBitmap &bitmap)
 
void setMask (const QRegion &region)
 
void setMaximumHeight (int maxh)
 
void setMaximumSize (const QSize &)
 
void setMaximumSize (int maxw, int maxh)
 
void setMaximumWidth (int maxw)
 
void setMinimumHeight (int minh)
 
void setMinimumSize (int minw, int minh)
 
void setMinimumSize (const QSize &)
 
void setMinimumWidth (int minw)
 
void setMouseTracking (bool enable)
 
void setPalette (const QPalette &p, bool b)
 
void setPalette (const QPalette &)
 
void setPaletteBackgroundColor (const QColor &color)
 
void setPaletteBackgroundPixmap (const QPixmap &pixmap)
 
void setPaletteForegroundColor (const QColor &color)
 
void setParent (QWidget *parent, QFlags< Qt::WindowType > f)
 
void setParent (QWidget *parent)
 
void setPlatformWindow (QPlatformWindow *window)
 
void setPlatformWindowFormat (const QPlatformWindowFormat &format)
 
void setShortcutAutoRepeat (int id, bool enable)
 
void setShortcutEnabled (int id, bool enable)
 
void setShown (bool shown)
 
void setSizeIncrement (const QSize &)
 
void setSizeIncrement (int w, int h)
 
void setSizePolicy (QSizePolicy::Policy hor, QSizePolicy::Policy ver, bool hfw)
 
void setSizePolicy (QSizePolicy::Policy horizontal, QSizePolicy::Policy vertical)
 
void setSizePolicy (QSizePolicy)
 
void setStatusTip (const QString &)
 
void setStyle (QStyle *style)
 
QStylesetStyle (const QString &style)
 
void setStyleSheet (const QString &styleSheet)
 
void setToolTip (const QString &)
 
void setUpdatesEnabled (bool enable)
 
void setupUi (QWidget *widget)
 
virtual void setVisible (bool visible)
 
void setWhatsThis (const QString &)
 
void setWindowFilePath (const QString &filePath)
 
void setWindowFlags (QFlags< Qt::WindowType > type)
 
void setWindowIcon (const QIcon &icon)
 
void setWindowIconText (const QString &)
 
void setWindowModality (Qt::WindowModality windowModality)
 
void setWindowModified (bool)
 
void setWindowOpacity (qreal level)
 
void setWindowRole (const QString &role)
 
void setWindowState (QFlags< Qt::WindowState > windowState)
 
void setWindowSurface (QWindowSurface *surface)
 
void setWindowTitle (const QString &)
 
void show ()
 
void showFullScreen ()
 
void showMaximized ()
 
void showMinimized ()
 
void showNormal ()
 
QSize size () const
 
virtual QSize sizeHint () const
 
QSize sizeIncrement () const
 
QSizePolicy sizePolicy () const
 
void stackUnder (QWidget *w)
 
QString statusTip () const
 
QStylestyle () const
 
QString styleSheet () const
 
bool testAttribute (Qt::WidgetAttribute attribute) const
 
QString toolTip () const
 
QWidgettopLevelWidget () const
 
bool underMouse () const
 
void ungrabGesture (Qt::GestureType gesture)
 
void unsetCursor ()
 
void unsetFont ()
 
void unsetLayoutDirection ()
 
void unsetLocale ()
 
void unsetPalette ()
 
void update (int x, int y, int w, int h)
 
void update (const QRect &rect)
 
void update ()
 
void update (const QRegion &rgn)
 
void updateGeometry ()
 
bool updatesEnabled () const
 
QRect visibleRect () const
 
QRegion visibleRegion () const
 
QString whatsThis () const
 
int width () const
 
QWidgetwindow () const
 
QString windowFilePath () const
 
Qt::WindowFlags windowFlags () const
 
QIcon windowIcon () const
 
QString windowIconText () const
 
Qt::WindowModality windowModality () const
 
qreal windowOpacity () const
 
QString windowRole () const
 
Qt::WindowStates windowState () const
 
QWindowSurface * windowSurface () const
 
QString windowTitle () const
 
Qt::WindowType windowType () const
 
WId winId () const
 
int x () const
 
const QX11Infox11Info () const
 
Qt::HANDLE x11PictureHandle () const
 
int y () const
 
 ~QWidget ()
 
- 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 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 ()
 
- Public Member Functions inherited from QPaintDevice
int colorCount () const
 
int depth () const
 
int height () const
 
int heightMM () const
 
int logicalDpiX () const
 
int logicalDpiY () const
 
int numColors () const
 
virtual QPaintEnginepaintEngine () const =0
 
bool paintingActive () const
 
int physicalDpiX () const
 
int physicalDpiY () const
 
int width () const
 
int widthMM () const
 
int x11Cells () const
 
Qt::HANDLE x11Colormap () const
 
bool x11DefaultColormap () const
 
bool x11DefaultVisual () const
 
int x11Depth () const
 
Display * x11Display () const
 
int x11Screen () const
 
void * x11Visual () const
 
virtual  ~QPaintDevice ()
 

Protected Slots

void AddCheckedContoursToSelectedMesh (std::list< unsigned int > iListCheckedContours)
 slot connected to the the signal CheckedTracesToAddToSelectedCollection emitted by m_ContoursManager, which call the AddCheckedTracesToCollection template More...
 
void AddCheckedMeshesToSelectedTrack (std::list< unsigned int > iListCheckedMeshes)
 slot connected to the the signal CheckedTracesToAddToSelectedCollection emitted by m_MeshesManager, which call the AddCheckedTracesToCollection template More...
 
void AddCheckedTracksToSelectedLineage (std::list< unsigned int > iListDaughters, unsigned int iLineageID, std::list< unsigned int > iListLineagesToDelete)
 call the AddCheckedTracesToCollection template and give the info to the lineages manager to create the division in the visu More...
 
void AddListMeshesToATrack (std::list< unsigned int > iListMeshes, unsigned int iTrackID)
 add the meshes to the iTrackID after checking that there are no meshes at the same timepoint in the same track, if so, won't change the trackid of these meshes More...
 
void AddListMeshesToATrack (std::map< unsigned int, std::list< unsigned int > > iListMeshesWithTracks)
 
void AddNewCellType ()
 call the m_CellTypeManager to add a new celltype (ask the user to enter name+description and save it in the database) and call the setListCelltype to update the list in the TraceManualEditingWidget More...
 
void AddNewColor ()
 call the m_ColorManager to add a new color (ask the user to choose the color +enter name+description and save it in the database) and call the SetColorComboBoxInfofromDB to update the list in the TraceManualEditingWidget More...
 
void AddNewSubCellType ()
 call the m_SubCellTypeManager to add a new subcelltype (ask the user to enter name+description and save it in the database) and call the setListSubCelltype to update the list in the TraceManualEditingWidget More...
 
void ChangeLineageColor ()
 slot connected to the TraceColorToChange() emitted by the m_MeshesManager More...
 
void ChangeMeshColor ()
 slot connected to the TraceColorToChange() emitted by the m_MeshesManager More...
 
void ChangeTrackColor ()
 slot connected to the TraceColorToChange() emitted by the m_MeshesManager More...
 
void CloseDBConnection ()
 
void CreateContextMenu (const QPoint &iPos)
 
void CreateNewLineageFromTracks (std::list< unsigned int > iListCheckedTracks, unsigned int iTrackIDRoot, std::list< unsigned int > iLineagesToDelete)
 slot connected to the signal NewLineageToCreateFromTracks() emitted by the m_TracksManager More...
 
void CreateNewMeshFromCheckedContours (std::list< unsigned int > iListCheckedContours)
 slot connected to the signal NewCollectionFromCheckedTraces() emitted by the m_ContoursManager, emit the signal NewMeshToGenerate for the visu after creating a new mesh and calling the AddCheckedTracesToCollection template method. More...
 
void CreateNewTrackFromListMeshes (std::list< unsigned int > iListMeshes)
 create a new track and call the AddCheckedTracesToCollection template method to add the meshes from the list to this new track More...
 
void CreateNewTrackFromListMeshes (std::list< std::list< unsigned int > > iListsCheckedMeshes)
 
void DeleteCellType ()
 call the m_CellTypeManager to delete celltypes (display all the celltypes for the user to select the ones he wants to delete and delete them from the database) and call the setListCelltype to update the list in the TraceManualEditingWidget More...
 
void DeleteCheckedContours ()
 slot connected to the signal TracesToDelete() emitted by the m_ContoursManager More...
 
void DeleteCheckedLineages ()
 slot connected to the signal TracesToDelete() emitted by the m_LineagesManager More...
 
void DeleteCheckedMeshes ()
 slot connected to the signal Traces TracesToDelete() emitted by the m_MeshesManager More...
 
void DeleteCheckedTracks ()
 slot connected to the signal TracesToDelete() emitted by the m_TracksManager More...
 
void DeleteColor ()
 call the m_ColorManager to delete colors (display all the colors for the user to select the ones he wants to delete and delete them from the database) and call the SetColorComboBoxInfofromDB to update the list in the TraceManualEditingWidget More...
 
void DeleteSubCellType ()
 call the m_SubCellTypeManager to delete subcelltypes (display all the subcelltypes for the user to select the ones he wants to delete and delete them from the database) and call the setListSubCelltype to update the list in the TraceManualEditingWidget More...
 
void PassDBConnectionToContoursManager ()
 open the connection to the database and pass it to the ContoursManager More...
 
void PassDBConnectionToLineagesManager ()
 open the connection to the database and pass it to the LineagesManager More...
 
void PassDBConnectionToMeshesManager ()
 open the connection to the database and pass it to the MeshesManager More...
 
void PassDBConnectionToTracksManager ()
 open the connection to the database and pass it to the TracksManager More...
 
void PassMeshesInfoForImportedTrack (unsigned int iTrackID)
 get the info needed for track from the meshcontainer, and update the points of the track container (for imported tracks) More...
 
void ReEditTrace (unsigned int iTraceID)
 emit a signal TraceToReedit and set m_ReeditMode to true More...
 
void SaveNewCollectionFromTraceWidgetInDBAndTW ()
 Add the new collection in the database,add a row in TW and update the colorcombobox. More...
 
void SetTSListCollectionID ()
 get a list of the IDs with their colors for the collection corresponding to the tracename, for the given timepoint if the collection is a mesh or for all timepoints for tracks and lineages, update the Trace Settings colorcombobox and select the corresponding ID in the combobox if the string is not empty More...
 
void ShowHideTraceSettingsFromContextMenu (bool isVisible)
 show/hide the Trace Settings widget depending on the checkstate of the action in the context menu of the dockwidget More...
 
void SplitMergeTracksWithWidget (std::list< unsigned int > iTrackIDs)
 slot called after signal TrackIDToBeModifiedWithWidget sent by tracksManager, display the checked tracks in a widget allowing the user to split and merge them and save the results in the database if the user clicks the OK button More...
 
void SplitTheTrack (unsigned int iTrackID, std::list< unsigned int > iListMeshIDs)
 split the checked track: a new track is created with the checked mesh and the meshes with timepoint sup and the checked track is updated. More...
 
void TheTraceHasChanged (int iIndex)
 slot connected to the combobox for the trace in the trace settings widget More...
 

Protected Member Functions

template<typename TTrace , typename TCollection >
void AddCheckedTracesToCollection (TTrace *iTraceManager, TCollection *iCollectionManager, unsigned int iCollectionID, std::list< unsigned int > iListCheckedTraces)
 change the collectionIDs to iCollectionID for the traces in iListCheckedTraces, and update the bounding boxes of the previous collection the traces were part of and of iCollectionID in the database, the TW and the container for visu More...
 
template<typename TTrace , typename TCollection >
void ChangeTraceColor (TTrace *iTraceManager, TCollection *iCollectionOfManager)
 update the color for the checked traces and the rows in the table widget for the collectionOf More...
 
void CreateConnectionsForTraceSettingsWidget (QGoTraceSettingsWidget *iTraceSettingsWidget)
 create all the connections between the QGoPrintDatabase and the QGoTraceSettingsWidget (TS) More...
 
template<typename TTrace , typename TCollection , typename TCollectionOf >
void DeleteCheckedTraces (TTrace *iTraceManager, TCollection *iCollectionManager, TCollectionOf *iCollectionOfManager, bool lineage=false)
 delete the checked traces from the database,TW,visu container, udpate the collectionof collectionID in database and TW and update the bounding box of the collection More...
 
template<typename TTrace , typename TCollection , typename TCollectionOf >
void DeleteListTraces (TTrace *iTraceManager, TCollection *iCollectionManager, TCollectionOf *iCollectionOfManager, std::list< unsigned int > iListTracesToDelete, bool lineage=false)
 delete the traces of iListTracesToDelete from the database,TW, visu container, udpate the collectionof collectionID in database and TW and update the bounding box of the collection More...
 
void GetContentAndDisplayAllTracesInfo (vtkMySQLDatabase *iDatabaseConnector)
 get the data from the database for contours, meshes and tracks, display them in the TableWidget and load the different containers for the visu with the info from the database More...
 
void GetContentAndDisplayAllTracesInfoFor3TPs (vtkMySQLDatabase *iDatabaseConnector)
 
std::list< ItemColorComboboxDataGetListCollectionIDFromDB (vtkMySQLDatabase *iDatabaseConnector, std::string &ioIDToSelect)
 get the collection id with their corresponding color from the database More...
 
void OpenDBConnection ()
 
void RemoveTracesFromListTimePoints (vtkMySQLDatabase *iDatabaseConnector, std::list< unsigned int > iListTimePoints)
 
void SetConnectionsBetweenTheInstancesOfTraceSettings ()
 set the tracesettings widget to be in the mainwindow toolbar and the connection between the 2 instances of tracesettingswidget More...
 
void SetContoursManager ()
 create the m_ContoursManager and its SLOT/SIGNAL connection More...
 
void SetLineagesManager ()
 create the m_LineagesManager and its SLOT/SIGNAL connection More...
 
void SetMeshesManager ()
 create the m_MeshesManager and its SLOT/SIGNAL connection More...
 
template<typename T >
void SetTheColorForTheRow (T &ioRow, QColor iColor)
 get the RGB Alpha values from the iTraceRow and set a QColor with them More...
 
void SetTracesManager ()
 set all the traces manager More...
 
void SetTracksManager ()
 create the m_TracksManager and its SLOT/SIGNAL connection More...
 
void SetTSListCellTypes (std::string iCellTypeToSelect="")
 get the list of celltypes from the database, put them in the Trace Settings combobox and if the string is not empty, the combobox will have as selected item the string More...
 
void SetTSListCellTypesWithPreviousSelectedOne ()
 get the list of celltypes from the database, put them in the Trace Settings combobox and the combobox will have as selected item the one previously selected More...
 
void SetTSListColors (std::string iColorToSelect="")
 get the data for the colorcombobox from the database, put them in the Trace Settings colorcombobox and if the string is not empty, the combobox will have as selected item the string More...
 
void SetTSListColorsWithPreviousSelectedOne ()
 get the list of colors from the database, put them in the Trace Settings combobox and the combobox will have as selected item the one previously selected More...
 
void SetTSListSubCellTypes (std::string iSubCellTypeToSelect="")
 get the list of subcelltypes from the database, put them in the Trace Settings combobox and if the string is not empty, the combobox will have as selected item the string More...
 
void SetTSListSubCellTypesWithPreviousSelectedOne ()
 get the list of subcelltypes from the database, put them in the Trace Settings combobox and the combobox will have as selected item the one previously selected More...
 
void SetUpUi ()
 
template<typename TTrace , typename TCollectionOf >
std::list< unsigned int > UpdateCollectionDataForTracesToBeDeleted (TTrace *iTraceManager, TCollectionOf *iCollectionOfManager, std::list< unsigned int > iListTracesToDelete)
 udpate the collectionof collectionID in database and TW More...
 
void UpdateSelectedCollectionForTableWidget (std::string iTableName)
 
- Protected Member Functions inherited from QGoDockWidget
void closeEvent (QCloseEvent *iEvent)
 
- Protected Member Functions inherited from QDockWidget
virtual void changeEvent (QEvent *event)
 
virtual bool event (QEvent *event)
 
void initStyleOption (QStyleOptionDockWidget *option) const
 
virtual void paintEvent (QPaintEvent *event)
 
- Protected Member Functions inherited from QWidget
virtual void actionEvent (QActionEvent *event)
 
virtual void contextMenuEvent (QContextMenuEvent *event)
 
void create (WId window, bool initializeWindow, bool destroyOldWindow)
 
void destroy (bool destroyWindow, bool destroySubWindows)
 
virtual void dragEnterEvent (QDragEnterEvent *event)
 
virtual void dragLeaveEvent (QDragLeaveEvent *event)
 
virtual void dragMoveEvent (QDragMoveEvent *event)
 
virtual void dropEvent (QDropEvent *event)
 
virtual void enterEvent (QEvent *event)
 
virtual void focusInEvent (QFocusEvent *event)
 
bool focusNextChild ()
 
virtual bool focusNextPrevChild (bool next)
 
virtual void focusOutEvent (QFocusEvent *event)
 
bool focusPreviousChild ()
 
virtual void hideEvent (QHideEvent *event)
 
virtual void inputMethodEvent (QInputMethodEvent *event)
 
virtual void keyPressEvent (QKeyEvent *event)
 
virtual void keyReleaseEvent (QKeyEvent *event)
 
virtual void languageChange ()
 
virtual void leaveEvent (QEvent *event)
 
virtual bool macEvent (EventHandlerCallRef caller, EventRef event)
 
virtual int metric (PaintDeviceMetric m) const
 
virtual void mouseDoubleClickEvent (QMouseEvent *event)
 
virtual void mouseMoveEvent (QMouseEvent *event)
 
virtual void mousePressEvent (QMouseEvent *event)
 
virtual void mouseReleaseEvent (QMouseEvent *event)
 
virtual void moveEvent (QMoveEvent *event)
 
virtual bool qwsEvent (QWSEvent *event)
 
void resetInputContext ()
 
virtual void resizeEvent (QResizeEvent *event)
 
virtual void showEvent (QShowEvent *event)
 
virtual void tabletEvent (QTabletEvent *event)
 
void updateMicroFocus ()
 
virtual void wheelEvent (QWheelEvent *event)
 
virtual bool winEvent (MSG *message, long *result)
 
virtual bool x11Event (XEvent *event)
 
- 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 Member Functions inherited from QPaintDevice
 QPaintDevice ()
 

Protected Attributes

QGoDBBookmarkManagerm_BookmarkManager
 
QGoDBCellTypeManagerm_CellTypeManager
 
QGoDBColorManagerm_ColorManager
 
QGoDBContourManagerm_ContoursManager
 
vtkMySQLDatabase * m_DatabaseConnector
 
std::string m_DBName
 
unsigned int m_ImgSessionID
 
std::string m_ImgSessionName
 
bool m_IsDatabaseUsed
 
QGoDBLineageManagerm_LineagesManager
 
QGoDBMeshManagerm_MeshesManager
 
bool m_MeshGenerationMode
 
std::string m_Password
 
bool m_ReeditMode
 
int * m_SelectedTimePoint
 
std::string m_Server
 
QStackedWidgetm_StackedTables
 
QGoDBSubCellTypeManagerm_SubCellTypeManager
 
bool m_TraceSettingsVisible
 
QGoTraceSettingsWidgetm_TraceSettingsWidget
 
QGoTraceSettingsWidgetm_TraceSettingsWidgetForToolBar
 
QGoDBTrackManagerm_TracksManager
 
std::string m_User
 
- Protected Attributes inherited from QGoDockWidget
QActionm_ToggleAction
 

Private Member Functions

 Q_DISABLE_COPY (QGoPrintDatabase)
 

Private Attributes

std::list< unsigned int > m_VisibleTimePoints
 

Additional Inherited Members

- Static Public Member Functions inherited from QWidget
QWidgetfind (WId id)
 
QWidgetkeyboardGrabber ()
 
QWidgetmouseGrabber ()
 
void setTabOrder (QWidget *first, QWidget *second)
 
QWidgetMapper * wmapper ()
 
- 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 Public Member Functions inherited from QPaintDevice
int x11AppCells (int screen)
 
Qt::HANDLE x11AppColormap (int screen)
 
bool x11AppDefaultColormap (int screen)
 
bool x11AppDefaultVisual (int screen)
 
int x11AppDepth (int screen)
 
Display * x11AppDisplay ()
 
int x11AppDpiX (int screen)
 
int x11AppDpiY (int screen)
 
Qt::HANDLE x11AppRootWindow (int screen)
 
int x11AppScreen ()
 
void * x11AppVisual (int screen)
 
void x11SetAppDpiX (int dpi, int screen)
 
void x11SetAppDpiY (int dpi, int screen)
 
- Public Attributes inherited from QDockWidget
typedef DockWidgetFeatures
 
- Public Attributes inherited from QWidget
typedef RenderFlags
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QDockWidget
 allowedAreas
 
 features
 
 floating
 
 windowTitle
 
- Properties inherited from QWidget
 acceptDrops
 
 accessibleDescription
 
 accessibleName
 
 autoFillBackground
 
 baseSize
 
 childrenRect
 
 childrenRegion
 
 contextMenuPolicy
 
 cursor
 
 enabled
 
 focus
 
 focusPolicy
 
 font
 
 frameGeometry
 
 frameSize
 
 fullScreen
 
 geometry
 
 height
 
 inputMethodHints
 
 isActiveWindow
 
 layoutDirection
 
 locale
 
 maximized
 
 maximumHeight
 
 maximumSize
 
 maximumWidth
 
 minimized
 
 minimumHeight
 
 minimumSize
 
 minimumSizeHint
 
 minimumWidth
 
 modal
 
 mouseTracking
 
 normalGeometry
 
 palette
 
 pos
 
 rect
 
 size
 
 sizeHint
 
 sizeIncrement
 
 sizePolicy
 
 statusTip
 
 styleSheet
 
 toolTip
 
 updatesEnabled
 
 visible
 
 whatsThis
 
 width
 
 windowFilePath
 
 windowFlags
 
 windowIcon
 
 windowIconText
 
 windowModality
 
 windowModified
 
 windowOpacity
 
 windowTitle
 
 x
 
 y
 
- Properties inherited from QObject
 objectName
 

Detailed Description

manages all the database components: table widget, trace settings editing widdet, QGoDBTraceManager...

Definition at line 76 of file QGoPrintDatabase.h.

Member Typedef Documentation

typedef std::pair< int, QColor > QGoPrintDatabase::IDWithColorData

Definition at line 90 of file QGoPrintDatabase.h.

Definition at line 89 of file QGoPrintDatabase.h.

Definition at line 88 of file QGoPrintDatabase.h.

Definition at line 87 of file QGoPrintDatabase.h.

Constructor & Destructor Documentation

QGoPrintDatabase::QGoPrintDatabase ( QWidget iParent = 0)
explicit

Constructor.

Definition at line 75 of file QGoPrintDatabase.cxx.

QGoPrintDatabase::~QGoPrintDatabase ( )
virtual

Destructor.

Definition at line 111 of file QGoPrintDatabase.cxx.

Member Function Documentation

void QGoPrintDatabase::AddBookmark ( int  iXCoord,
int  iYCoord,
int  iZCoord,
int  iTCoord 
)

Definition at line 559 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::AddCheckedContoursToSelectedMesh ( std::list< unsigned int >  iListCheckedContours)
protectedslot

slot connected to the the signal CheckedTracesToAddToSelectedCollection emitted by m_ContoursManager, which call the AddCheckedTracesToCollection template

Parameters
[in]iListCheckedContourslist of the checked contours to be part of the selected meshID

Definition at line 1859 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::AddCheckedMeshesToSelectedTrack ( std::list< unsigned int >  iListCheckedMeshes)
protectedslot

slot connected to the the signal CheckedTracesToAddToSelectedCollection emitted by m_MeshesManager, which call the AddCheckedTracesToCollection template

Parameters
[in]iListCheckedMesheslist of the checked meshes to be part of the selected trackID

Definition at line 1951 of file QGoPrintDatabase.cxx.

template<typename TTrace , typename TCollection >
void QGoPrintDatabase::AddCheckedTracesToCollection ( TTrace *  iTraceManager,
TCollection *  iCollectionManager,
unsigned int  iCollectionID,
std::list< unsigned int >  iListCheckedTraces 
)
inlineprotected

change the collectionIDs to iCollectionID for the traces in iListCheckedTraces, and update the bounding boxes of the previous collection the traces were part of and of iCollectionID in the database, the TW and the container for visu

Parameters
[in]iTraceManagerthe manager for the trace expl: mesh_manager
[in]iCollectionManagerthe manager for the collection expl: track
[in]iCollectionIDthe ID of the collection the checked traces will be part of
[in]iListCheckedTracesList of the tracesIDs checked in the TW
Template Parameters
TTracechildren of QGoDBTraceManager
TCollectionchildren of QGoDBTraceManager

Definition at line 627 of file QGoPrintDatabase.h.

void QGoPrintDatabase::AddCheckedTracksToSelectedLineage ( std::list< unsigned int >  iListDaughters,
unsigned int  iLineageID,
std::list< unsigned int >  iListLineagesToDelete 
)
protectedslot

call the AddCheckedTracesToCollection template and give the info to the lineages manager to create the division in the visu

Parameters
[in]iLineageID
[in]iListDaughtersID of the tracks to be updated with lineageID
[in]iListLineagesToDeletelist of lineageID that need to be deleted as they don't have any tracks belonging to them anymore

Definition at line 2001 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::AddListMeshesToATrack ( std::list< unsigned int >  iListMeshes,
unsigned int  iTrackID 
)
protectedslot

add the meshes to the iTrackID after checking that there are no meshes at the same timepoint in the same track, if so, won't change the trackid of these meshes

Parameters
[in]iListMesheslist of the meshes to be part of the itrackID
[in]iTrackIDnew track to be assigned to these meshes

Definition at line 1873 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::AddListMeshesToATrack ( std::map< unsigned int, std::list< unsigned int > >  iListMeshesWithTracks)
protectedslot

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1936 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::AddNewCellType ( )
protectedslot

call the m_CellTypeManager to add a new celltype (ask the user to enter name+description and save it in the database) and call the setListCelltype to update the list in the TraceManualEditingWidget

Definition at line 1079 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::AddNewColor ( )
protectedslot

call the m_ColorManager to add a new color (ask the user to choose the color +enter name+description and save it in the database) and call the SetColorComboBoxInfofromDB to update the list in the TraceManualEditingWidget

Definition at line 1119 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::AddNewSubCellType ( )
protectedslot

call the m_SubCellTypeManager to add a new subcelltype (ask the user to enter name+description and save it in the database) and call the setListSubCelltype to update the list in the TraceManualEditingWidget

Definition at line 1099 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::ChangeLineageColor ( )
protectedslot

slot connected to the TraceColorToChange() emitted by the m_MeshesManager

Definition at line 1332 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::ChangeMeshColor ( )
protectedslot

slot connected to the TraceColorToChange() emitted by the m_MeshesManager

Definition at line 1314 of file QGoPrintDatabase.cxx.

template<typename TTrace , typename TCollection >
void QGoPrintDatabase::ChangeTraceColor ( TTrace *  iTraceManager,
TCollection *  iCollectionOfManager 
)
inlineprotected

update the color for the checked traces and the rows in the table widget for the collectionOf

Parameters
[in]iTraceManagermanager for the trace (expl: mesh)
[in]iCollectionOfManagermanager for the collectionOf (expl:contour)
Template Parameters
TTracechildren of QGoDBTraceManager
TCollectionchildren of QGoDBTraceManager

Definition at line 509 of file QGoPrintDatabase.h.

void QGoPrintDatabase::ChangeTrackColor ( )
protectedslot

slot connected to the TraceColorToChange() emitted by the m_MeshesManager

Definition at line 1323 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::CloseDBConnection ( )
protectedslot

Definition at line 208 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::CreateConnectionsForTraceSettingsWidget ( QGoTraceSettingsWidget iTraceSettingsWidget)
protected

create all the connections between the QGoPrintDatabase and the QGoTraceSettingsWidget (TS)

Definition at line 911 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::CreateContextMenu ( const QPoint iPos)
protectedslot

Definition at line 1252 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::CreateNewLineageFromTracks ( std::list< unsigned int >  iListCheckedTracks,
unsigned int  iTrackIDRoot,
std::list< unsigned int >  iLineagesToDelete 
)
protectedslot

slot connected to the signal NewLineageToCreateFromTracks() emitted by the m_TracksManager

Parameters
[in]iListTrackslist of the tracksIDs to be part of the new lineage
[in]iTrackIDRootID of the track to be the root of the new lineage to be created
[in]iLineagesToDelete

Definition at line 1842 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::CreateNewMeshFromCheckedContours ( std::list< unsigned int >  iListCheckedContours)
protectedslot

slot connected to the signal NewCollectionFromCheckedTraces() emitted by the m_ContoursManager, emit the signal NewMeshToGenerate for the visu after creating a new mesh and calling the AddCheckedTracesToCollection template method.

Parameters
[in]iListCheckedContourslist of the meshIDs of the checked meshes in the TW

Definition at line 1822 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::CreateNewTrackFromListMeshes ( std::list< unsigned int >  iListMeshes)
protectedslot

create a new track and call the AddCheckedTracesToCollection template method to add the meshes from the list to this new track

Parameters
[in]iListMesheslist of the meshIDs to belong to the new track

Definition at line 1712 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::CreateNewTrackFromListMeshes ( std::list< std::list< unsigned int > >  iListsCheckedMeshes)
protectedslot

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 1807 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::DBVariablesSet ( )
signal
void QGoPrintDatabase::DeleteBookmarks ( )
slot

Definition at line 603 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::DeleteCellType ( )
protectedslot

call the m_CellTypeManager to delete celltypes (display all the celltypes for the user to select the ones he wants to delete and delete them from the database) and call the setListCelltype to update the list in the TraceManualEditingWidget

Definition at line 1139 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::DeleteCheckedContours ( )
protectedslot

slot connected to the signal TracesToDelete() emitted by the m_ContoursManager

Definition at line 1271 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::DeleteCheckedLineages ( )
protectedslot

slot connected to the signal TracesToDelete() emitted by the m_LineagesManager

Definition at line 1305 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::DeleteCheckedMeshes ( )
protectedslot

slot connected to the signal Traces TracesToDelete() emitted by the m_MeshesManager

Definition at line 1280 of file QGoPrintDatabase.cxx.

template<typename TTrace , typename TCollection , typename TCollectionOf >
void QGoPrintDatabase::DeleteCheckedTraces ( TTrace *  iTraceManager,
TCollection *  iCollectionManager,
TCollectionOf *  iCollectionOfManager,
bool  lineage = false 
)
inlineprotected

delete the checked traces from the database,TW,visu container, udpate the collectionof collectionID in database and TW and update the bounding box of the collection

todo once lineage container is set up, the bool track needs to be removed

Parameters
[in]iTraceManagerthe manager for the trace expl: mesh_manager
[in]iCollectionManagerthe manager for the collection expl: track
[in]iCollectionOfManagerthe manager for the collectioof expl: contour
[in]trackif the trace is track, track is set to true
Template Parameters
TTracechildren of QGoDBTraceManager
TCollectionchildren of QGoDBTraceManager

Definition at line 536 of file QGoPrintDatabase.h.

void QGoPrintDatabase::DeleteCheckedTracks ( )
protectedslot

slot connected to the signal TracesToDelete() emitted by the m_TracksManager

Definition at line 1296 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::DeleteColor ( )
protectedslot

call the m_ColorManager to delete colors (display all the colors for the user to select the ones he wants to delete and delete them from the database) and call the SetColorComboBoxInfofromDB to update the list in the TraceManualEditingWidget

Definition at line 1157 of file QGoPrintDatabase.cxx.

template<typename TTrace , typename TCollection , typename TCollectionOf >
void QGoPrintDatabase::DeleteListTraces ( TTrace *  iTraceManager,
TCollection *  iCollectionManager,
TCollectionOf *  iCollectionOfManager,
std::list< unsigned int >  iListTracesToDelete,
bool  lineage = false 
)
inlineprotected

delete the traces of iListTracesToDelete from the database,TW, visu container, udpate the collectionof collectionID in database and TW and update the bounding box of the collection

Parameters
[in]iTraceManagerthe manager for the trace expl: mesh_manager
[in]iCollectionManagerthe manager for the collection expl: track
[in]iCollectionOfManagerthe manager for the collectioof expl: contour
[in]iListTracesToDeletelist of the traceIDs to be deleted
[in]trackif the trace is track, track is set to true
Template Parameters
TTracechildren of QGoDBTraceManager
TCollectionchildren of QGoDBTraceManager

Definition at line 570 of file QGoPrintDatabase.h.

void QGoPrintDatabase::DeleteSubCellType ( )
protectedslot

call the m_SubCellTypeManager to delete subcelltypes (display all the subcelltypes for the user to select the ones he wants to delete and delete them from the database) and call the setListSubCelltype to update the list in the TraceManualEditingWidget

Definition at line 1175 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::ExportContours ( )
slot

Definition at line 683 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::ExportMeshes ( )
slot

Definition at line 706 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::FillTableFromDatabase ( const unsigned int &  iTreshold)

Create the QTableWidgetChild,get the columns names and the values stored in the database, display them in the QTableWidgetChild and fill the info for the contours and meshes.

Definition at line 219 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::GetContentAndDisplayAllTracesInfo ( vtkMySQLDatabase *  iDatabaseConnector)
protected

get the data from the database for contours, meshes and tracks, display them in the TableWidget and load the different containers for the visu with the info from the database

Definition at line 1192 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::GetContentAndDisplayAllTracesInfoFor3TPs ( vtkMySQLDatabase *  iDatabaseConnector)
protected

Definition at line 1210 of file QGoPrintDatabase.cxx.

std::vector< ContourMeshStructure > QGoPrintDatabase::GetContoursForAGivenTimepoint ( unsigned int  iTimePoint)

Return a vector of all the contours for the given timepoint.

GoDBCoordinateRow QGoPrintDatabase::GetCoordinateForBookmark ( std::string  iName)

Definition at line 590 of file QGoPrintDatabase.cxx.

QGoPrintDatabase::NamesDescrContainerType QGoPrintDatabase::GetListBookmarks ( )

Definition at line 578 of file QGoPrintDatabase.cxx.

std::list< QGoPrintDatabase::ItemColorComboboxData > QGoPrintDatabase::GetListCollectionIDFromDB ( vtkMySQLDatabase *  iDatabaseConnector,
std::string &  ioIDToSelect 
)
protected

get the collection id with their corresponding color from the database

Parameters
[in]iDatabaseConnectorconnection to the database
[in]ioIDToSelectID to be selected in the combobox

Definition at line 505 of file QGoPrintDatabase.cxx.

std::vector< ContourMeshStructure > QGoPrintDatabase::GetMeshesForAGivenTimepoint ( unsigned int  iTimePoint)

Return a vector of all the meshes for the given timepoint.

int QGoPrintDatabase::GetNumberOfElementForTraceAndTimePoint ( std::string  iTrace,
int  iTimePoint 
)

Definition at line 2151 of file QGoPrintDatabase.cxx.

QGoTraceSettingsWidget * QGoPrintDatabase::GetTraceSettingsWidget ( )

return the TraceSettingsDockWidget

Definition at line 850 of file QGoPrintDatabase.cxx.

QGoTraceSettingsWidget * QGoPrintDatabase::GetTraceSettingsWidgetForToolBar ( )

Definition at line 858 of file QGoPrintDatabase.cxx.

std::list< unsigned int > QGoPrintDatabase::GetVisibleTimePoints ( )

Definition at line 2142 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::ImportContours ( )

get the info from a textfile, save it into the database, update the container for visu and the TW

Definition at line 730 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::ImportMeshes ( )

get the info from a textfile, save it into the database, update the container for visu and the TW

Definition at line 773 of file QGoPrintDatabase.cxx.

std::vector< int > QGoPrintDatabase::ImportTracks ( )

get the info from a textfile, save it into the database, update the container for visu and the TW and recalculate the points for the tracks

Returns
all the new trackIDs

Definition at line 813 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::InitializeTheComboboxesNotTraceRelated ( )

Initialize or reinitialized the celltype,subcelltype and color list from the database into the traceSettingswidget.

Definition at line 965 of file QGoPrintDatabase.cxx.

std::string QGoPrintDatabase::InWhichTableAreWe ( )

Return the Name of the tab currently used in the table widget, which correspond to the TraceName of the CollectionOfTraces:

Definition at line 261 of file QGoPrintDatabase.cxx.

bool QGoPrintDatabase::IsDatabaseUsed ( )

return a bool to know if the user is using the database or not

Definition at line 496 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::NeedToGoToTheLocation ( int  XCoord,
int  YCoord,
int  ZCoord,
int  TCoord 
)
signal

signal emitted when a signal is emitted from a m_TraceManager for "go to the trace " from the context menu

void QGoPrintDatabase::NeedToGoToTheRealLocation ( double  XCoord,
double  YCoord,
double  ZCoord,
int  TCoord 
)
signal
bool QGoPrintDatabase::NeedTraceSettingsToolBarVisible ( )

check if the tracesettingsWidget is visible, if not, return true.

Definition at line 2033 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::NewMeshToGenerate ( std::list< unsigned int >  ListContourIDs,
int  iNewMeshID 
)
signal
void QGoPrintDatabase::OpenBookmarksToUpdate ( )
signal
void QGoPrintDatabase::OpenDBConnection ( )
protected

Definition at line 196 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::PassDBConnectionToContoursManager ( )
protectedslot

open the connection to the database and pass it to the ContoursManager

Definition at line 1621 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::PassDBConnectionToLineagesManager ( )
protectedslot

open the connection to the database and pass it to the LineagesManager

Definition at line 1648 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::PassDBConnectionToMeshesManager ( )
protectedslot

open the connection to the database and pass it to the MeshesManager

Definition at line 1630 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::PassDBConnectionToTracksManager ( )
protectedslot

open the connection to the database and pass it to the TracksManager

Definition at line 1639 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::PassMeshesInfoForImportedTrack ( unsigned int  iTrackID)
protectedslot

get the info needed for track from the meshcontainer, and update the points of the track container (for imported tracks)

Parameters
[in]iTrackIDtrack ID for which the points will be recalculated

Definition at line 1666 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::PrintCalculatedValuesForTrack ( GoFigureTrackAttributes iTrackAttributes,
unsigned int  iTrackID 
)

display in the table widget the values from iTrackAttributes for iTrackID

Parameters
[in]iTrackAttributescontains the values to be displayed
[in]iTrackIDID of the track

Definition at line 1351 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::PrintDBReady ( )
signal
void QGoPrintDatabase::PrintMessage ( QString  iMessage,
int  iTimeOut = 0 
)
signal
void QGoPrintDatabase::PrintVolumeAreaForMesh ( GoFigureMeshAttributes iMeshAttributes,
unsigned int  iMeshID 
)

display in the table widget the volume and area from iMeshAttributes for iMeshID

Parameters
[in]iMeshAttributescontains the values to be displayed
[in]iMeshIDID of the mesh

Definition at line 1341 of file QGoPrintDatabase.cxx.

QGoPrintDatabase::Q_DISABLE_COPY ( QGoPrintDatabase  )
private
void QGoPrintDatabase::ReEditTrace ( unsigned int  iTraceID)
protectedslot

emit a signal TraceToReedit and set m_ReeditMode to true

Parameters
[in]iTraceIDID of the trace to reedit

Definition at line 1657 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::RemoveTracesFromListTimePoints ( vtkMySQLDatabase *  iDatabaseConnector,
std::list< unsigned int >  iListTimePoints 
)
protected

Definition at line 1240 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SaveContoursFromVisuInDB ( unsigned int  iXCoordMin,
unsigned int  iYCoordMin,
unsigned int  iZCoordMin,
unsigned int  iTCoord,
unsigned int  iXCoordMax,
unsigned int  iYCoordMax,
unsigned int  iZCoordMax,
vtkPolyData *  iContourNodes 
)

save a new contour from the visu into the database, update the table widget and the CurrentElement of the visu container if reeditMode is set to false; if not, update the contour in the DB and in the TW, for both modes, update the mesh the contour is part of.

Definition at line 270 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SaveMeshFromVisuInDB ( unsigned int  iXCoordMin,
unsigned int  iYCoordMin,
unsigned int  iZCoordMin,
unsigned int  iXCoordMax,
unsigned int  iYCoordMax,
unsigned int  iZCoordMax,
int  iTCoord,
vtkPolyData *  iMeshNodes,
GoFigureMeshAttributes iMeshAttributes,
int  iTrackID = -1 
)

save the mesh into the database for a mesh generated in the visualization, if the mesh is an updated mesh which already exists(for example a new contour is added to this mesh, the NewMesh has to be set to false

Parameters
[in]iTrackIDTrack ID we want the mesh to belong to. if -1, we get the track ID from the trace editing widget.
Todo:
print a different message if several meshes are created at the same timepoint

Definition at line 317 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SaveNewCollectionFromTraceWidgetInDBAndTW ( )
protectedslot

Add the new collection in the database,add a row in TW and update the colorcombobox.

Definition at line 524 of file QGoPrintDatabase.cxx.

unsigned int QGoPrintDatabase::SaveNewContourForMeshToContours ( unsigned int  iXCoordMin,
unsigned int  iYCoordMin,
unsigned int  iZCoordMin,
unsigned int  iXCoordMax,
unsigned int  iYCoordMax,
unsigned int  iZCoordMax,
vtkPolyData *  iTraceNodes 
)

save a new contour in the database, the TW and the container for the contours to sphere action

Parameters
[in]iXCoordMinxcoord of the minimum for the boundingbox
[in]iYCoordMinycoord of the minimum for the boundingbox
[in]iZCoordMinzcoord of the minimum for the boundingbox
[in]iXCoordMaxxcoord of the maximum for the boundingbox
[in]iYCoordMaxycoord of the maximum for the boundingbox
[in]iZCoordMaxzcoord of the maximum for the boundingbox
[in]iTraceNodesnodes to be saved as points in the database
Returns
unsigned int ID of the new created contour

Definition at line 474 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SaveNewMeshForMeshToContours ( int  iNumberOfContours)
slot

Definition at line 436 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetConnectionsBetweenTheInstancesOfTraceSettings ( )
protected

set the tracesettings widget to be in the mainwindow toolbar and the connection between the 2 instances of tracesettingswidget

Definition at line 865 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetContoursContainer ( ContourContainer iContoursContainer)

set the pointer m_TraceInfoForVisu of the ContoursManager to iContoursContainer

Parameters
[in]iContoursContainerpointer for the container of contours for the visu

Definition at line 1370 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetContoursManager ( )
protected

create the m_ContoursManager and its SLOT/SIGNAL connection

Definition at line 1422 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetDatabaseVariables ( const std::string &  iNameDB,
const std::string &  iServer,
const std::string &  iUser,
const std::string &  iPassword,
const unsigned int &  iImgSessionID,
const std::string &  iImgSessionName 
)

set all the values needed for the database

Definition at line 171 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetLineagesContainers ( LineageContainer iContainer,
TrackContainer iTrackContainer 
)

set the pointer m_LineageInfoForVisu of the LineagesManager to iContainer

Parameters
[in]iContainerpointer for the container of lineages for the visu [in] iTrackContainer pointer for the container of tracks

Definition at line 1401 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetLineagesManager ( )
protected

create the m_LineagesManager and its SLOT/SIGNAL connection

Definition at line 1591 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetMeshesContainer ( MeshContainer iMeshesContainer)

set the pointer m_TraceInfoForVisu of the MeshesManager to iMeshesContainer

Parameters
[in]iMeshesContainerpointer for the container of meshes for the visu

Definition at line 1379 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetMeshesManager ( )
protected

create the m_MeshesManager and its SLOT/SIGNAL connection

Definition at line 1465 of file QGoPrintDatabase.cxx.

template<typename T >
void QGoPrintDatabase::SetTheColorForTheRow ( T &  ioRow,
QColor  iColor 
)
inlineprotected

get the RGB Alpha values from the iTraceRow and set a QColor with them

Template Parameters
Tany children of GoDBTraceRow
Parameters
[in]iTraceRowthe trace from which the QColor is created
[in]iDatabaseConnectorconnection to the database
Returns
QColor with the values corresponding to the color values of the iTraceRow set the color of the traceRow according to the iColor
Parameters
[in,out]ioRowtraceRow with the color to be set up
[in]iColorcolor for the traceRow
Template Parameters
Tchildren of GoDBTraceRow

Definition at line 492 of file QGoPrintDatabase.h.

void QGoPrintDatabase::SetTraceNameForTableWidget ( std::string  iTraceName)

update the traceSettingswidget for the trace with the corresponding list of collectionID and set the tablewidget for the trace table

Parameters
[in]iTraceNamename of the corresponding trace

Definition at line 952 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTracesManager ( )
protected

set all the traces manager

Definition at line 1411 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTracksContainer ( TrackContainer iContainer)

set the pointer m_TrackInfoForVisu of the TracksManager to iTracksContainer

Parameters
[in]iContainerpointer for the container of tracks for the visu

Definition at line 1388 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTracksManager ( )
protected

create the m_TracksManager and its SLOT/SIGNAL connection

Definition at line 1519 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTSListCellTypes ( std::string  iCellTypeToSelect = "")
protected

get the list of celltypes from the database, put them in the Trace Settings combobox and if the string is not empty, the combobox will have as selected item the string

Parameters
[in]iCellTypeToSelectname of the celltype to be selected

Definition at line 1023 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTSListCellTypesWithPreviousSelectedOne ( )
protected

get the list of celltypes from the database, put them in the Trace Settings combobox and the combobox will have as selected item the one previously selected

Definition at line 1038 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTSListCollectionID ( )
protectedslot

get a list of the IDs with their colors for the collection corresponding to the tracename, for the given timepoint if the collection is a mesh or for all timepoints for tracks and lineages, update the Trace Settings colorcombobox and select the corresponding ID in the combobox if the string is not empty

Definition at line 1005 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTSListColors ( std::string  iColorToSelect = "")
protected

get the data for the colorcombobox from the database, put them in the Trace Settings colorcombobox and if the string is not empty, the combobox will have as selected item the string

Parameters
[in]iColorToSelectname of the color to be selected in the combobox

Definition at line 975 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTSListColorsWithPreviousSelectedOne ( )
protected

get the list of colors from the database, put them in the Trace Settings combobox and the combobox will have as selected item the one previously selected

Definition at line 992 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTSListSubCellTypes ( std::string  iSubCellTypeToSelect = "")
protected

get the list of subcelltypes from the database, put them in the Trace Settings combobox and if the string is not empty, the combobox will have as selected item the string

Parameters
[in]iSubCellTypeToSelectname of the subcelltype to be selected

Definition at line 1051 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetTSListSubCellTypesWithPreviousSelectedOne ( )
protected

get the list of subcelltypes from the database, put them in the Trace Settings combobox and the combobox will have as selected item the one previously selected

Definition at line 1066 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SetUpUi ( )
protected

Definition at line 143 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::ShowHideTraceSettingsFromContextMenu ( bool  isVisible)
protectedslot

show/hide the Trace Settings widget depending on the checkstate of the action in the context menu of the dockwidget

Definition at line 2025 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SplitMergeTracksWithWidget ( std::list< unsigned int >  iTrackIDs)
protectedslot

slot called after signal TrackIDToBeModifiedWithWidget sent by tracksManager, display the checked tracks in a widget allowing the user to split and merge them and save the results in the database if the user clicks the OK button

Parameters
[in]iTrackIDschecked tracks

Definition at line 1962 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::SplitTheTrack ( unsigned int  iTrackID,
std::list< unsigned int >  iListMeshIDs 
)
protectedslot

split the checked track: a new track is created with the checked mesh and the meshes with timepoint sup and the checked track is updated.

Parameters
[in]iTrackIDID for the checked track
[in]iListMeshIDsmeshes belonging to the iTrackID before the split

Definition at line 1695 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::TheTraceHasChanged ( int  iIndex)
protectedslot

slot connected to the combobox for the trace in the trace settings widget

Definition at line 637 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::TraceToReEdit ( unsigned  int)
signal
template<typename TTrace , typename TCollectionOf >
std::list<unsigned int> QGoPrintDatabase::UpdateCollectionDataForTracesToBeDeleted ( TTrace *  iTraceManager,
TCollectionOf *  iCollectionOfManager,
std::list< unsigned int >  iListTracesToDelete 
)
inlineprotected

udpate the collectionof collectionID in database and TW

Parameters
[in]iTraceManagerthe manager for the trace expl: mesh_manager
[in]iCollectionOfManagerthe manager for the collectioof expl: contour
[in]iListTracesToDeletelist of the traceIDs to be deleted
Template Parameters
TTracechildren of QGoDBTraceManager
TCollectionOfchildren of QGoDBTraceManager

Definition at line 596 of file QGoPrintDatabase.h.

void QGoPrintDatabase::UpdateSelectedCollectionForTableWidget ( std::string  iTableName)
protected

Definition at line 668 of file QGoPrintDatabase.cxx.

void QGoPrintDatabase::UpdateSelectedTimePoint ( int  iTimePoint)
slot

Definition at line 613 of file QGoPrintDatabase.cxx.

std::list< unsigned int > QGoPrintDatabase::UpdateTableWidgetAndContainersForGivenTimePoint ( const unsigned int &  iNewTimePoint)

Update the table widget and the visualization container contents based on the given time point and the previous visible time points. It erases actors and remove them from the visualization. It doesn't create actors after adding polydata to container.

Todo:
check if we can do it properly remove elements from a list while iterating on it doesn't sound safe that's why we use listCommonT To be checked

Definition at line 2050 of file QGoPrintDatabase.cxx.

Member Data Documentation

QGoDBBookmarkManager* QGoPrintDatabase::m_BookmarkManager
protected

Definition at line 323 of file QGoPrintDatabase.h.

QGoDBCellTypeManager* QGoPrintDatabase::m_CellTypeManager
protected

Definition at line 326 of file QGoPrintDatabase.h.

QGoDBColorManager* QGoPrintDatabase::m_ColorManager
protected

Definition at line 328 of file QGoPrintDatabase.h.

QGoDBContourManager* QGoPrintDatabase::m_ContoursManager
protected

Definition at line 332 of file QGoPrintDatabase.h.

vtkMySQLDatabase* QGoPrintDatabase::m_DatabaseConnector
protected

Definition at line 339 of file QGoPrintDatabase.h.

std::string QGoPrintDatabase::m_DBName
protected

Definition at line 343 of file QGoPrintDatabase.h.

unsigned int QGoPrintDatabase::m_ImgSessionID
protected

Definition at line 344 of file QGoPrintDatabase.h.

std::string QGoPrintDatabase::m_ImgSessionName
protected

Definition at line 345 of file QGoPrintDatabase.h.

bool QGoPrintDatabase::m_IsDatabaseUsed
protected

Definition at line 346 of file QGoPrintDatabase.h.

QGoDBLineageManager* QGoPrintDatabase::m_LineagesManager
protected

Definition at line 335 of file QGoPrintDatabase.h.

QGoDBMeshManager* QGoPrintDatabase::m_MeshesManager
protected

Definition at line 333 of file QGoPrintDatabase.h.

bool QGoPrintDatabase::m_MeshGenerationMode
protected

Definition at line 349 of file QGoPrintDatabase.h.

std::string QGoPrintDatabase::m_Password
protected

Definition at line 342 of file QGoPrintDatabase.h.

bool QGoPrintDatabase::m_ReeditMode
protected

Definition at line 348 of file QGoPrintDatabase.h.

int* QGoPrintDatabase::m_SelectedTimePoint
protected

Definition at line 322 of file QGoPrintDatabase.h.

std::string QGoPrintDatabase::m_Server
protected

Definition at line 340 of file QGoPrintDatabase.h.

QStackedWidget* QGoPrintDatabase::m_StackedTables
protected

Definition at line 336 of file QGoPrintDatabase.h.

QGoDBSubCellTypeManager* QGoPrintDatabase::m_SubCellTypeManager
protected

Definition at line 327 of file QGoPrintDatabase.h.

bool QGoPrintDatabase::m_TraceSettingsVisible
protected

Definition at line 350 of file QGoPrintDatabase.h.

QGoTraceSettingsWidget* QGoPrintDatabase::m_TraceSettingsWidget
protected

Definition at line 329 of file QGoPrintDatabase.h.

QGoTraceSettingsWidget* QGoPrintDatabase::m_TraceSettingsWidgetForToolBar
protected

Definition at line 330 of file QGoPrintDatabase.h.

QGoDBTrackManager* QGoPrintDatabase::m_TracksManager
protected

Definition at line 334 of file QGoPrintDatabase.h.

std::string QGoPrintDatabase::m_User
protected

Definition at line 341 of file QGoPrintDatabase.h.

std::list<unsigned int> QGoPrintDatabase::m_VisibleTimePoints
private

Definition at line 902 of file QGoPrintDatabase.h.


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