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

This class manages the database queries, the table widget and the data from the database in the Container for visu for the lineages ,. More...

#include <Code/GUI/lib/DBManager/QGoDBLineageManager.h>

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

Public Slots

void ExportLineages ()
 
void UpdateElementHighlighting (unsigned int)
 
void UpdateStatus (std::list< unsigned int >, std::list< unsigned int >)
 

Public Member Functions

unsigned int CreateNewLineageWithTrackRoot (vtkMySQLDatabase *iDatabaseConnector, unsigned int iTrackRoot)
 create a new lineage with IDRoot in the database, add it in the TW and in the visu container More...
 
virtual void DeleteCheckedTraces (vtkMySQLDatabase *iDatabaseConnector)
 delete the checked traces from the database, the TW and the container for visu More...
 
void DeleteListTraces (vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListTraces)
 delete the traces of the list from the database, the TW and the container for visu More...
 
void DisplayInfoAndLoadVisuContainerForAllLineages (vtkMySQLDatabase *iDatabaseConnector)
 get all the data from the database to load all the lineages for the imagingsession into the table widget and the container for the visu More...
 
virtual void DisplayInfoForExistingTrace (vtkMySQLDatabase *iDatabaseConnector, int iTraceID)
 Virtual pure method: get the data needed from the database for the existing trace with iTraceID and update the corresponding row in the m_Table. More...
 
virtual void DisplayInfoForLastCreatedTrace (vtkMySQLDatabase *iDatabaseConnector)
 Virtual pure method: get the data needed from the database for the last created trace and display them in a new inserted row of the m_Table. More...
 
virtual std::list< unsigned int > GetListHighlightedIDs ()
 
 QGoDBLineageManager (int iImgSessionID, QWidget *iparent)
 
void SetLineagesInfoContainersForVisu (LineageContainer *iContainerForVisu, TrackContainer *iTrackContainerInfoForvisu)
 set the m_LineageContainerInfoForVisu and the m_TrackContainerInfoForVisu to the iContainerForVisu and iTrackContainerInfoForvisu More...
 
virtual void UpdateBoundingBoxes (vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListTracesIDs, bool UpdateTW=true)
 update in the database the bounding boxes corresponding to the TracesIDs and update the corresponding rows in the TW if the bool is set to true. More...
 
std::list< unsigned int > UpdateTheTracesColor (vtkMySQLDatabase *iDatabaseConnector)
 virtual pure. update the color of the checked traces in the database, the visu container and the TW and return the collectionOf IDs. (i.e traces that belongs to these traces as collection: contourIDs belonging to these meshes if the trace is a mesh) More...
 
virtual void UpdateTWAndContainerForImportedTraces (const std::vector< int > &iVectorImportedTraces, vtkMySQLDatabase *iDatabaseConnector)
 get the data needed from the database for the imported traces,display them in new inserted rows of the m_Table and update the container for the visu. More...
 
 ~QGoDBLineageManager ()
 
- Public Member Functions inherited from QGoDBTraceManager
void CheckShowRows ()
 if m_IsShowOnlyCurrentTimePointOn is true, call the method to show only the rows for the current timepoint, useful when the timepoint changes More...
 
void DisplayInfoForExistingTraces (vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListTraces)
 get the data from the database corresponding to the iListTraces and display them in the Table Widget More...
 
virtual std::list
< NameWithColorData
GetAllTraceIDsWithColor (vtkMySQLDatabase *iDatabaseConnector, std::string &ioIDToSelect)
 return the distinct traces with their color for the imagingsession, for all timepoints if the timepoint is set to the default one or for the corresponding timepoint if not More...
 
std::list< unsigned int > GetLastCreatedTracesIDs (vtkMySQLDatabase *iDatabaseConnector, int iNumberOfTracesIDs)
 get the last saved traces in the database More...
 
std::list< unsigned int > GetListCollectionIDs (vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListTracesIDs)
 return the list of collection IDs distinct and different from zero corresponding to the tracesIDs More...
 
std::list< unsigned int > GetListTracesIDsBelongingToCollectionIDs (vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListCollectionIDs)
 get the list of tracesIDs belonging to the collection listed in iListCollectionIDs More...
 
std::list< unsigned int > GetListTracesIDsFromThisCollectionOf (vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListTraces)
 get the collectionOf IDs for the TracesIDs found in iListTraces More...
 
QGoTableWidgetGetTableWidget ()
 get the m_Table More...
 
 QGoDBTraceManager (QObject *iParent=NULL)
 
void SetCurrentTimePoint (int *iTimePoint)
 set the pointer to the current timepoint More...
 
void SetDatabaseConnection (vtkMySQLDatabase *iDatabaseConnector)
 set the m_DatabaseConnection to iDatabaseConnector More...
 
void SetSelectedCollection (NameWithColorData *iCollectionData)
 set the pointer to the selected collection data More...
 
void SetSelectedColor (NameWithColorData *iColorData)
 set the pointer to the current selected color More...
 
void UpdateCollectionID (vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListTracesIDs, int iCollectionID)
 update the collectionID of the tracesIDs in the list with the iCollectionID in the database and the TW More...
 
void UpdateLastSelectedOneAsCollection ()
 
void UpdateTWAndContainerForDeletedTraces (const std::list< unsigned int > &iTraceIDs)
 delete the corresponding traces in the table widget and in the container for visu More...
 
virtual ~QGoDBTraceManager ()
 

Protected Slots

virtual void DeleteTracesFromContextMenu ()
 
virtual void SetColorCoding (bool IsChecked)
 
virtual void UpdateHighlightedElementsInVisuContainer (int iTraceID)
 
virtual void UpdateVisibleElementsInVisuContainer (int iTraceID)
 
- Protected Slots inherited from QGoDBTraceManager
virtual void AddToSelectedCollection ()
 
virtual void ChangeTraceColor ()
 is called when the user choses the change color action in the context menu, emit the signal TraceColorToChange as it impacts the collectionOf also More...
 
void CheckSelectedRows ()
 
void CheckTheTraceInTW (unsigned int iTraceID, Qt::CheckState iState)
 slot called when a trace has been picked from the visu, to update the TW "checked/unchecked" column correspondingly More...
 
void CreateContextMenu (const QPoint &iPos)
 create the context menu when the user clicks on the table widget More...
 
virtual void CreateCorrespondingCollection ()
 slot called when the user click on "create a collection from checked traces" in the context menu, emit the signal NewCollectionFromCheckedTraces as it impact the collection also More...
 
void DeleteTracesFromContextMenu ()
 
void GoToTheTrace ()
 
void HideSelectedRows ()
 
virtual void SetColorCoding (bool IsChecked)=0
 ColorCode the traces in the visualization base on a selected column in the table widget. More...
 
void ShowOnlyRowsForCurrentTimePoint (bool IsChecked)
 Show only the rows in the table widget that have a timepoint equal to the current timepoint if IsChecked is true, show all the rows if false. More...
 
void ShowSelectedRows ()
 
void ShowTheTraceInTW (unsigned int iTraceID, Qt::CheckState iState)
 slot called when a trace has been shown/hidden from the visu, to update the TW "show/hide" column correspondingly More...
 
void UncheckSelectedRows ()
 
virtual void UpdateHighlightedElementsInVisuContainer (int iTraceID)=0
 modify to the opposite one the highlighted property of the corresponding trace base on traceID in the container for visu More...
 
virtual void UpdateVisibleElementsInVisuContainer (int iTraceID)=0
 modify to the opposite one the Visible property of the corresponding trace base on traceID in the container for visu More...
 

Protected Member Functions

void DeleteADivision (vtkMySQLDatabase *iDatabaseConnector, unsigned int iTrackFamilyID)
 
void DeleteDivisionsForLineages (vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iLineageID)
 delete the divisions of a lineage in the database and in the visu More...
 
virtual void DisplayInfoForAllTraces (vtkMySQLDatabase *iDatabaseConnector)
 Virtual pure method: get the data needed from the database and display them in the m_Table for all traces corresponding to the imagingsession. More...
 
virtual void DisplayInfoForTracesForSpecificTPs (vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListTPs)
 
virtual void GetTracesInfoFromDBAndModifyContainerForVisu (vtkMySQLDatabase *iDatabaseConnector, std::list< unsigned int > iListTraceIDs=std::list< unsigned int >())
 get the info needed from the database to update the container for visu More...
 
void InsertLineageInTW (vtkMySQLDatabase *iDatabaseConnector, unsigned int iTraceID)
 
virtual void SetCollectionsTraceNames ()
 virtual pure method: set the std::string class members More...
 
void UpdateDivisionsInTrackContainer (unsigned int iLineageID)
 
void UpdateTrackRootSelectedLineage (vtkMySQLDatabase *iDatabaseConnector, unsigned int iLineageID, unsigned int iTrackIDRoot)
 update the trackID root for the lineage with iTrackIDRoot More...
 
- Protected Member Functions inherited from QGoDBTraceManager
virtual void AddActionForAddingCheckedTracesToCollection ()
 
virtual void AddActionsContextMenu (QMenu *iMenu)
 
void AddGeneralActionsContextMenu (QMenu *iMenu)
 
void AddSpecificActionsForContourMesh (QMenu *iMenu)
 
bool CheckThatThereAreTracesToDelete (const std::list< unsigned int > &iListTracesIDToDelete)
 
template<typename T >
unsigned int CreateNewTraceInDBFromVisu (unsigned int iXCoordMin, unsigned int iYCoordMin, unsigned int iZCoordMin, unsigned int iTCoord, unsigned int iXCoordMax, unsigned int iYCoordMax, unsigned int iZCoordMax, vtkPolyData *iTraceNodes, NameWithColorData iColor, vtkMySQLDatabase *iDatabaseConnector, T &iTrace, unsigned int iCollectionID, unsigned int iTCoordMax=0)
 create the trace row with the related data provided by the visu, iTCoordMax is equal to 0 as for contour and mesh, it is the same as TCoord More...
 
template<typename T >
void DeleteTracesTemplate (vtkMySQLDatabase *iDatabaseConnector, T *iContainerForVisu, std::list< unsigned int > iListTracesToDelete=std::list< unsigned int >(), bool DeleteHighlightedTraces=true)
 delete the traces from the database, the TW and the container for visu More...
 
template<typename T >
void DisplayInfoAndLoadVisuContainerWithAllTraces (T *iTWContainer, vtkMySQLDatabase *iDatabaseConnector)
 get all the data from the database to load all the traces for the imagingsession into the table widget and the container for the visu More...
 
template<typename C >
void DisplayInfoAndLoadVisuContainerWithAllTracesForSpecificTPs (vtkMySQLDatabase *iDatabaseConnector, C *iContainerForVisu, const std::list< unsigned int > &iListTPs)
 
template<typename T >
void DisplayInfoForAllTracesTemplate (T *iTWContainer, vtkMySQLDatabase *iDatabaseConnector, Qt::CheckState iState, int iIndexShowColumn=0)
 fill the TWContainer with all the data needed from the database and display them into the m_Table More...
 
template<typename T >
void DisplayInfoForExistingTraceTemplate (T *iTWContainer, vtkMySQLDatabase *iDatabaseConnector, int iTraceID)
 fill the TWContainer with the data needed from the database for the trace with the iTraceID and update the corresponding row into the m_Table More...
 
template<typename T >
void DisplayInfoForLastCreatedTraceTemplate (T *iTWContainer, vtkMySQLDatabase *iDatabaseConnector)
 fill the TWContainer with the data needed from the database for the last created trace and insert a new row into the m_Table to display them More...
 
template<typename T >
void DisplayInfoForTracesForSpecificTPsTemplate (T *iTWContainer, vtkMySQLDatabase *iDatabaseConnector, Qt::CheckState iState, const std::list< unsigned int > &iListTPs, int iIndexShowColumn=0)
 
GoDBCoordinateRow GetCoordinateFromInt (int iXCoord, int iYCoord, int iZCoord, int iTCoord)
 create a GoDBCoordinateRow and set its fields X,Y,Z,Tcoord More...
 
int GetLastCreatedTraceID (vtkMySQLDatabase *iDatabaseConnector)
 get the ID for the last created trace in the database More...
 
std::string GetTheNameIDFromName (std::string iName)
 transform the iName into iNameID More...
 
template<typename C , typename S >
void GetTracesInfoFromDBAndModifyContainerForVisu (vtkMySQLDatabase *iDatabaseConnector, std::vector< int > iVectIDs, C *iContainerForVisu)
 
template<typename T >
void GetTracesInfoFromDBAndModifyContainerForVisuTemplate (T *iContainerForVisu, vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListTraceIDs)
 get the info needed from the database to fill the container for visu More...
 
double * GetVectorFromQColor (QColor iColor)
 return a double rgba[4] from a QColor More...
 
template<typename C >
void RemoveTracesFromTWAndContainerForVisuForSpecificTPsTemplate (vtkMySQLDatabase *iDatabaseConnector, C *iContainerForVisu, const std::list< unsigned int > &iListTPs)
 
template<typename T >
void SetColorCodingTemplate (T *iContainerForVisu, bool IsChecked)
 get a map with the tracesIDs as keys and the values of the selected columns as values for all traces in the table widget and update the color of the traces in the visu More...
 
void SetInfo (unsigned int iImgSessionID, QWidget *iParent)
 set the variables class members More...
 
template<typename T >
void SetTraceBoundingBoxAndPoints (unsigned int iXCoordMin, unsigned int iYCoordMin, unsigned int iZCoordMin, unsigned int iTCoord, unsigned int iXCoordMax, unsigned int iYCoordMax, unsigned int iZCoordMax, vtkPolyData *iTraceNodes, vtkMySQLDatabase *iDatabaseConnector, T &iTrace, unsigned int iTCoordMax=0)
 
template<typename T >
void SetTracesInfoContainerForVisuTemplate (T *iContainerForVisu, T **iMemberContainerForVisu)
 set the iMemberContainerInfoForVisu to the iContainerForVisu and create the connections SLOT/SIGNAL More...
 
template<typename T , typename C >
std::list< unsigned int > UpdateTheTracesColorTemplate (vtkMySQLDatabase *iDatabaseConnector, C *iContainerInfoForVisu)
 update the visu container, the database and the TW with the user selected color for the highlighted traces More...
 
template<typename T >
void UpdateTWAndContainerWithImportedTracesTemplate (T *iTWContainer, const std::vector< int > &iVectorTraceIDs, vtkMySQLDatabase *iDatabaseConnector)
 update for the imported traces the table widget and the database info of the container for visu. More...
 

Protected Attributes

LineageContainerm_LineageContainerInfoForVisu
 
TrackContainerm_TrackContainerInfoForVisu
 
GoDBTWContainerForLineagem_TWContainer
 
- Protected Attributes inherited from QGoDBTraceManager
QMenu * m_CheckedTracesMenu
 
std::string m_CollectionName
 
std::string m_CollectionNameID
 
std::string m_CollectionOf
 
std::string m_CollectionOfID
 
GoDBCollectionOfTracesm_CollectionOfTraces
 
int * m_CurrentTimePoint
 
vtkMySQLDatabase * m_DatabaseConnector
 
int m_ImgSessionID
 
bool m_IsColorCodingOn
 
bool m_IsShowOnlyCurrentTimePointOn
 
std::string m_LastSelectedTraceAsCollection
 
NameWithColorDatam_SelectedCollectionData
 
NameWithColorDatam_SelectedColorData
 
QGoTableWidgetm_Table
 
std::string m_TraceName
 
std::string m_TraceNameID
 

Additional Inherited Members

- Public Types inherited from QGoDBTraceManager
typedef std::pair< unsigned
int, QColor > 
IDWithColorData
 
typedef std::pair< std::string,
QColor > 
NameWithColorData
 
typedef
GoDBTableWidgetContainer::TWContainerType 
TWContainerType
 
- Signals inherited from QGoDBTraceManager
void AddNewTraceIDInTS (std::pair< std::string, QColor > iTraceToAddData)
 signal emitted when a new trace is created that need to be added in the trace settings widget. (when a new mesh is created while contour table is displayed for example) More...
 
void CheckedTracesToAddToSelectedCollection (std::list< unsigned int >)
 
void CheckedTracesToDelete ()
 signal emitted when the user click on the action "DeleteTraces" from the context menu as it can impact different TraceManagers More...
 
void DBConnectionNotNeededAnymore ()
 
void NeedToGetDatabaseConnection ()
 
void NeedToGoToTheLocation (int XCoord, int YCoord, int ZCoord, int TCoord)
 signal emitted when the user clicks on "go to the trace" in the context menu and return the coordinates for the center of the bounding box of the trace More...
 
void NewCollectionFromCheckedTraces (std::list< unsigned int >)
 signal emitted when the user clicks on "create a new collection from checked traces" in the context menu and return the list of checked tracesIDs More...
 
void PrintMessage (QString iMessage, int iTimeOut=0)
 
void TraceColorToChange ()
 signal emitted when the user click on the action "change color" from the context menu as it can impact different TraceManagers More...
 

Detailed Description

This class manages the database queries, the table widget and the data from the database in the Container for visu for the lineages ,.

Definition at line 52 of file QGoDBLineageManager.h.

Constructor & Destructor Documentation

QGoDBLineageManager::QGoDBLineageManager ( int  iImgSessionID,
QWidget *  iparent 
)

Definition at line 54 of file QGoDBLineageManager.cxx.

QGoDBLineageManager::~QGoDBLineageManager ( )

Definition at line 64 of file QGoDBLineageManager.cxx.

Member Function Documentation

unsigned int QGoDBLineageManager::CreateNewLineageWithTrackRoot ( vtkMySQLDatabase *  iDatabaseConnector,
unsigned int  iTrackRoot 
)

create a new lineage with IDRoot in the database, add it in the TW and in the visu container

Parameters
[in]iDatabaseConnectorconnection to the database
[in]iTrackRootID of the track that is the root of the new lineage to create
Returns
the ID of the new lineage just created

Definition at line 236 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DeleteADivision ( vtkMySQLDatabase *  iDatabaseConnector,
unsigned int  iTrackFamilyID 
)
protected

Definition at line 602 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DeleteCheckedTraces ( vtkMySQLDatabase *  iDatabaseConnector)
virtual

delete the checked traces from the database, the TW and the container for visu

Parameters
[in]iDatabaseConnectorconnection to the database

Implements QGoDBTraceManager.

Definition at line 296 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DeleteDivisionsForLineages ( vtkMySQLDatabase *  iDatabaseConnector,
const std::list< unsigned int > &  iLineageID 
)
protected

delete the divisions of a lineage in the database and in the visu

Definition at line 582 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DeleteListTraces ( vtkMySQLDatabase *  iDatabaseConnector,
const std::list< unsigned int > &  iListTraces 
)

delete the traces of the list from the database, the TW and the container for visu

Parameters
[in]iDatabaseConnectorconnection to the database
[in]iListTraceslist of the tracesIDs to be deleted

Definition at line 305 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DeleteTracesFromContextMenu ( )
protectedvirtualslot

Definition at line 565 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DisplayInfoAndLoadVisuContainerForAllLineages ( vtkMySQLDatabase *  iDatabaseConnector)

get all the data from the database to load all the lineages for the imagingsession into the table widget and the container for the visu

Parameters
[in]iDatabaseConnectorconnection to the database

Definition at line 152 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DisplayInfoForAllTraces ( vtkMySQLDatabase *  iDatabaseConnector)
protectedvirtual

Virtual pure method: get the data needed from the database and display them in the m_Table for all traces corresponding to the imagingsession.

Parameters
[in]iDatabaseConnectorconnection to the database

Implements QGoDBTraceManager.

Definition at line 131 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DisplayInfoForExistingTrace ( vtkMySQLDatabase *  iDatabaseConnector,
int  iTraceID 
)
virtual

Virtual pure method: get the data needed from the database for the existing trace with iTraceID and update the corresponding row in the m_Table.

Parameters
[in]iDatabaseConnectorconnection to the database
[in]iTraceIDID of the trace

Implements QGoDBTraceManager.

Definition at line 226 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DisplayInfoForLastCreatedTrace ( vtkMySQLDatabase *  iDatabaseConnector)
virtual

Virtual pure method: get the data needed from the database for the last created trace and display them in a new inserted row of the m_Table.

Parameters
[in]iDatabaseConnectorconnection to the database

Implements QGoDBTraceManager.

Definition at line 216 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::DisplayInfoForTracesForSpecificTPs ( vtkMySQLDatabase *  iDatabaseConnector,
const std::list< unsigned int > &  iListTPs 
)
protectedvirtual

Implements QGoDBTraceManager.

Definition at line 141 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::ExportLineages ( )
slot

Definition at line 470 of file QGoDBLineageManager.cxx.

std::list< unsigned int > QGoDBLineageManager::GetListHighlightedIDs ( )
virtual
Returns
the list of traceIDs that have highlighted set to true in the ContainerForVisu.

Implements QGoDBTraceManager.

Definition at line 316 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::GetTracesInfoFromDBAndModifyContainerForVisu ( vtkMySQLDatabase *  iDatabaseConnector,
std::list< unsigned int >  iListTraceIDs = std::list< unsigned int >() 
)
protectedvirtual

get the info needed from the database to update the container for visu

Implements QGoDBTraceManager.

Definition at line 361 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::InsertLineageInTW ( vtkMySQLDatabase *  iDatabaseConnector,
unsigned int  iTraceID 
)
protected

Definition at line 187 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::SetCollectionsTraceNames ( )
protectedvirtual

virtual pure method: set the std::string class members

Implements QGoDBTraceManager.

Definition at line 121 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::SetColorCoding ( bool  IsChecked)
protectedvirtualslot

Definition at line 382 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::SetLineagesInfoContainersForVisu ( LineageContainer iContainerForVisu,
TrackContainer iTrackContainerInfoForvisu 
)

set the m_LineageContainerInfoForVisu and the m_TrackContainerInfoForVisu to the iContainerForVisu and iTrackContainerInfoForvisu

Parameters
[in]iContainerForVisucommon container for the visu and database
[in]iTrackContainerInfoForvisucommon container for tracks for the visu and database

Definition at line 75 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::UpdateBoundingBoxes ( vtkMySQLDatabase *  iDatabaseConnector,
const std::list< unsigned int > &  iListTracesIDs,
bool  UpdateTW = true 
)
virtual

update in the database the bounding boxes corresponding to the TracesIDs and update the corresponding rows in the TW if the bool is set to true.

Parameters
[in]iDatabaseConnectorconnection to the database
[in]iListTracesIDslist of the tracesIDs with a bounding box to update
[in]UpdateTWdisplay the updates in the TW

Reimplemented from QGoDBTraceManager.

Definition at line 516 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::UpdateDivisionsInTrackContainer ( unsigned int  iLineageID)
protected

Definition at line 544 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::UpdateElementHighlighting ( unsigned int  iTraceRootID)
slot

Definition at line 459 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::UpdateHighlightedElementsInVisuContainer ( int  iTraceID)
protectedvirtualslot

Definition at line 324 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::UpdateStatus ( std::list< unsigned int >  check,
std::list< unsigned int >  unckeck 
)
slot

Definition at line 627 of file QGoDBLineageManager.cxx.

std::list< unsigned int > QGoDBLineageManager::UpdateTheTracesColor ( vtkMySQLDatabase *  iDatabaseConnector)
virtual

virtual pure. update the color of the checked traces in the database, the visu container and the TW and return the collectionOf IDs. (i.e traces that belongs to these traces as collection: contourIDs belonging to these meshes if the trace is a mesh)

Parameters
[in]iDatabaseConnectorconnection to the database
Returns
a list of the tracesIDs, part of the collection represented by the checked traces

Implements QGoDBTraceManager.

Definition at line 258 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::UpdateTrackRootSelectedLineage ( vtkMySQLDatabase *  iDatabaseConnector,
unsigned int  iLineageID,
unsigned int  iTrackIDRoot 
)
protected

update the trackID root for the lineage with iTrackIDRoot

Parameters
[in]iDatabaseConnectorconnection to the database
[in]iLineageIDID of the lineage the TrackIDRoot needs to be updated
[in]iTrackIDRootID of the track to be the root of the lineage

Definition at line 445 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::UpdateTWAndContainerForImportedTraces ( const std::vector< int > &  iVectorImportedTraces,
vtkMySQLDatabase *  iDatabaseConnector 
)
virtual

get the data needed from the database for the imported traces,display them in new inserted rows of the m_Table and update the container for the visu.

Parameters
[in]iVectorImportedTracesIDs of the imported traces
[in]iDatabaseConnectorconnection to the database

Implements QGoDBTraceManager.

Definition at line 283 of file QGoDBLineageManager.cxx.

void QGoDBLineageManager::UpdateVisibleElementsInVisuContainer ( int  iTraceID)
protectedvirtualslot

Definition at line 343 of file QGoDBLineageManager.cxx.

Member Data Documentation

LineageContainer* QGoDBLineageManager::m_LineageContainerInfoForVisu
protected

Definition at line 136 of file QGoDBLineageManager.h.

TrackContainer* QGoDBLineageManager::m_TrackContainerInfoForVisu
protected

Definition at line 137 of file QGoDBLineageManager.h.

GoDBTWContainerForLineage* QGoDBLineageManager::m_TWContainer
protected

Definition at line 135 of file QGoDBLineageManager.h.


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