35 #ifndef __QGoDBContourManager_h
36 #define __QGoDBContourManager_h
43 #include "QGoGUILibConfigure.h"
65 unsigned int SaveNewContourFromVisu(
int iTCoord,
66 unsigned int iXCoordMin,
67 unsigned int iYCoordMin,
68 unsigned int iZCoordMin,
69 unsigned int iXCoordMax,
70 unsigned int iYCoordMax,
71 unsigned int iZCoordMax,
72 vtkPolyData *iTraceNodes,
73 vtkMySQLDatabase *iDatabaseConnector,
74 unsigned int iMeshID);
80 unsigned int SaveReeditedContourFromVisu(
unsigned int iXCoordMin,
81 unsigned int iYCoordMin,
82 unsigned int iZCoordMin,
84 unsigned int iXCoordMax,
85 unsigned int iYCoordMax,
86 unsigned int iZCoordMax,
87 vtkPolyData *iContourNodes,
88 vtkMySQLDatabase *iDatabaseConnector);
95 void DisplayInfoAndLoadVisuContainerForAllContours(vtkMySQLDatabase *iDatabaseConnector);
97 void DisplayInfoAndLoadVisuContainerForAllContoursForSpecificTPs(
98 vtkMySQLDatabase *iDatabaseConnector,
const std::list<unsigned int> & iListTPs);
100 void AddInfoInTWAndVisuContainerForContoursForSpecificTPs(
101 vtkMySQLDatabase *iDatabaseConnector,
const std::list<unsigned int> & iListTPs);
103 void RemoveTracesFromTWAndContainerForVisuForSpecificTPs(
104 vtkMySQLDatabase *iDatabaseConnector,
105 const std::list<unsigned int> & iListTPs);
122 vtkMySQLDatabase *iDatabaseConnector);
130 void CleanTWAndContainerForGivenTimePoint(vtkMySQLDatabase *iDatabaseConnector,
131 const std::list<unsigned int>& iTimePoints);
137 void TraceToReEdit(
unsigned int);
151 void AddActionForCreateNewCollectionFromCheckedTraces();
163 const std::list<unsigned int> & iListTPs);
165 void AddInfoForContoursInTWForSpecificTPs(vtkMySQLDatabase *iDatabaseConnector,
166 const std::list<unsigned int> & iListTPs);
170 vtkMySQLDatabase* iDatabaseConnector,
171 std::list<unsigned int> iListTraceIDs = std::list< unsigned int >());
184 bool AreCheckedContoursFromCurrentTimepoint();
std::pair< std::string, QColor > NameWithColorData
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 CreateCorrespondingCollection()
slot called when the user click on "create a collection from checked traces" in the context menu...
Abstract class inherited by QGoDBContourManager,Mesh,Track,Lineage.
virtual void SetCollectionsTraceNames()=0
virtual pure method: set the std::string class members
This class describes the specificities of the GoDBTableWidgetContainer for contour and mesh...
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 AddToSelectedCollection()
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...
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...
ContourContainer * m_ContourContainerInfoForVisu
Wraps a boost::multi_index_container of ContourMeshStructure. This class is specialized for the means...
GoDBTWContainerForContourMesh * m_TWContainer
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)
virtual void DeleteCheckedTraces(vtkMySQLDatabase *iDatabaseConnector)=0
delete the checked traces from the database, the TW and the container for visu
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...
virtual void ChangeTraceColor()
is called when the user choses the change color action in the context menu, emit the signal TraceColo...
virtual void UpdateVisibleElementsInVisuContainer(int iTraceID)=0
modify to the opposite one the Visible property of the corresponding trace base on traceID in the con...
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...
virtual void AddActionsContextMenu(QMenu *iMenu)
This class manages the database queries, the table widget and the data from the database in the Conta...