34 #ifndef __GoDBMeshRow_h
35 #define __GoDBMeshRow_h
38 #include "boost/unordered_map.hpp"
45 #include "vtkMySQLDatabase.h"
46 #include "vtkPolyData.h"
70 explicit GoDBMeshRow(vtkMySQLDatabase *DatabaseConnector,
83 GoDBMeshRow(
unsigned int iExistingID,vtkMySQLDatabase *iDatabaseConnector);
94 void SetCellType(vtkMySQLDatabase *DatabaseConnector,
95 std::string CellTypeName);
102 void SetSubCellType(vtkMySQLDatabase *DatabaseConnector,
103 std::string SubCellTypeName);
106 virtual int SaveInDB(vtkMySQLDatabase *DatabaseConnector);
117 void SaveInDBTotalIntensityPerChannel(vtkMySQLDatabase *DatabaseConnector,
118 boost::unordered_map< std::string, int > iNameChannelWithValues);
129 void SetTheDataFromTheVisu(vtkMySQLDatabase *DatabaseConnector,
140 static int GetCellTypeID(vtkMySQLDatabase *iDatabaseConnector,
141 std::string iCellTypeName);
149 static int GetSubCellTypeID(vtkMySQLDatabase *iDatabaseConnector,
150 std::string iSubCellTypeName);
abstract class to be inherited by Contour,Mesh,Track and GoDBLineageRow
boost::unordered_map< std::string, int > m_NameChannelWithValues
manages a map with keys matching fields of the gofiguredatabase Coordinate table and values of the ma...
virtual int SaveInDB(vtkMySQLDatabase *DatabaseConnector)=0
save the row in the database if the TraceID is set to "0", update the existing traceRow if the TraceI...
this class manages the map with the keys matching the fields of the Mesh gofiguredatabase table and v...
virtual void InitializeMap()
virtual pure. initialize all the values of the map