39 #include "vtkSmartPointer.h"
53 unsigned int ImgSessionID) :
63 std::cout <<
"The bounding box already exists for this contour" << std::endl;
110 this->
m_MapRow[
"meshID"] = std::string(
"0" );
118 return this->SaveInDBTemplate< GoDBContourRow >(DatabaseConnector,
this);
154 vtkPolyData *TraceVisu,
172 this->SetTheDataFromTheVisuTemplate< vtkPolyDataMySQLContourWriter >(
173 DatabaseConnector, TraceVisu, iCoordMin, iCoordMax);
abstract class to be inherited by Contour,Mesh,Track and GoDBLineageRow
std::string m_TableIDName
void SetTheDataFromTheVisu(vtkMySQLDatabase *DatabaseConnector, vtkPolyData *TraceVisu, GoDBCoordinateRow Min, GoDBCoordinateRow Max)
manages a map with keys matching fields of the gofiguredatabase Coordinate table and values of the ma...
bool SetValuesForSpecificID(int ID, vtkMySQLDatabase *iDatabaseConnector)
int DoesThisBoundingBoxExist(vtkMySQLDatabase *DatabaseConnector)
check if a trace already has the same bounding box
std::string m_CollectionIDName
check in the database if the Coordinate Min adn Max already exists, if yes fill the map["CoordIDMin"]...
void SetImgSessionID(unsigned int iImgSessionID)
set the ImagingSessionID field to iImgSessionID
virtual int SaveInDB(vtkMySQLDatabase *DatabaseConnector)
fill the contour map with the values gotten from the visualization
virtual void InitializeMap()
virtual pure. initialize all the values of the map
std::string m_CollectionName
virtual void InitializeMap()
virtual pure. initialize all the values of the map