35 #ifndef __QGoDBLineageManager_h
36 #define __QGoDBLineageManager_h
42 #include "QGoGUILibConfigure.h"
78 void DisplayInfoAndLoadVisuContainerForAllLineages(
79 vtkMySQLDatabase *iDatabaseConnector);
88 unsigned int CreateNewLineageWithTrackRoot(
89 vtkMySQLDatabase *iDatabaseConnector,
unsigned int iTrackRoot);
96 const std::vector< int > & iVectorImportedTraces,
97 vtkMySQLDatabase *iDatabaseConnector);
105 void DeleteListTraces(vtkMySQLDatabase *iDatabaseConnector,
106 const std::list<unsigned int> & iListTraces);
115 const std::list< unsigned int > & iListTracesIDs,
116 bool UpdateTW =
true);
120 void UpdateElementHighlighting(
unsigned int);
126 void ExportLineages();
141 vtkMySQLDatabase *iDatabaseConnector,
142 const std::list<unsigned int> & iListTPs);
146 vtkMySQLDatabase* iDatabaseConnector,
147 std::list<unsigned int> iListTraceIDs = std::list< unsigned int >());
149 void InsertLineageInTW(vtkMySQLDatabase *iDatabaseConnector,
150 unsigned int iTraceID);
158 void UpdateTrackRootSelectedLineage(vtkMySQLDatabase* iDatabaseConnector,
159 unsigned int iLineageID,
unsigned int iTrackIDRoot);
165 void UpdateDivisionsInTrackContainer(
unsigned int iLineageID);
170 void DeleteDivisionsForLineages(
171 vtkMySQLDatabase *iDatabaseConnector,
172 const std::list<unsigned int> & iLineageID);
174 void DeleteADivision(
175 vtkMySQLDatabase *iDatabaseConnector,
unsigned int iTrackFamilyID);
virtual void DisplayInfoForLastCreatedTrace(vtkMySQLDatabase *iDatabaseConnector)=0
Virtual pure method: get the data needed from the database for the last created trace and display the...
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...
Abstract class inherited by QGoDBContourManager,Mesh,Track,Lineage.
virtual void SetCollectionsTraceNames()=0
virtual pure method: set the std::string class members
virtual void UpdateHighlightedElementsInVisuContainer(int iTraceID)=0
modify to the opposite one the highlighted property of the corresponding trace base on traceID in the...
virtual void DisplayInfoForExistingTrace(vtkMySQLDatabase *iDatabaseConnector, int iTraceID)=0
Virtual pure method: get the data needed from the database for the existing trace with iTraceID and u...
GoDBTWContainerForLineage * m_TWContainer
virtual void UpdateTWAndContainerForImportedTraces(const std::vector< int > &iVectorImportedTraces, vtkMySQLDatabase *iDatabaseConnector)=0
get the data needed from the database for the imported traces,display them in new inserted rows of th...
void DeleteTracesFromContextMenu()
Wraps a boost multi index container of LineageStructure. This class intends to synchronize Lineage re...
virtual void SetColorCoding(bool IsChecked)=0
ColorCode the traces in the visualization base on a selected column in the table widget.
virtual void DisplayInfoForTracesForSpecificTPs(vtkMySQLDatabase *iDatabaseConnector, const std::list< unsigned int > &iListTPs)=0
void GetTracesInfoFromDBAndModifyContainerForVisu(vtkMySQLDatabase *iDatabaseConnector, std::vector< int > iVectIDs, C *iContainerForVisu)
TrackContainer * m_TrackContainerInfoForVisu
virtual void DeleteCheckedTraces(vtkMySQLDatabase *iDatabaseConnector)=0
delete the checked traces from the database, the TW and the container for visu
Wraps a boost multi index container of TrackStructure. This class intends to synchronize Track repres...
virtual std::list< unsigned int > GetListHighlightedIDs()=0
virtual std::list< unsigned int > UpdateTheTracesColor(vtkMySQLDatabase *iDatabaseConnector)=0
virtual pure. update the color of the checked traces in the database, the visu container and the TW a...
LineageContainer * m_LineageContainerInfoForVisu
virtual void UpdateVisibleElementsInVisuContainer(int iTraceID)=0
modify to the opposite one the Visible property of the corresponding trace base on traceID in the con...
This class manages the database queries, the table widget and the data from the database in the Conta...
virtual void DisplayInfoForAllTraces(vtkMySQLDatabase *iDatabaseConnector)=0
Virtual pure method: get the data needed from the database and display them in the m_Table for all tr...
This class describes the specificities of the GoDBTWContainerForTrackLineage for lineage.