|
ContourMeshContainer * | GetNewContourInfo () |
| return a vector of the info needed to add in the visu the contours read from the import file and saved in the database More...
|
|
std::vector< int > | GetVectorNewContourIDs () |
| return a vector of the IDs for the contours read from the import file and saved in the database More...
|
|
std::vector< int > | GetVectorNewMeshIDs () |
| return a vector of the IDs for the meshes read from the import file and saved in the database More...
|
|
std::vector< int > | GetVectorNewTracksIDs () |
| return a vector of the IDs for the tracks read from the the import file and saved in the database More...
|
|
| GoDBImport (std::string iServerName, std::string iLogin, std::string iPassword, int iImagingSessionID, std::string iFilename, int iCurrentTimePoint) |
|
void | ImportContours () |
| get the data needed from the import file to save the contours listed in it, including the color, the mesh they belong to, the tracks the previous meshes belong to, etc...and fill the vectors of new IDs and the needed info for the visu to add these new contours More...
|
|
void | ImportMeshes () |
| get the data needed from the import file to save the meshes listed in it, including the color,their intensities,the tracks they belong to, the lineages the previous tracks belong to, etc...and fill the vectors of new IDs and the needed info for the visu to add these new meshes More...
|
|
void | ImportTracks () |
| get the data needed from the import file to save the tracks listed in it, including the color,their meshes and intensities,the lineages they belong to etc... and fill the vectors of new IDs and the needed info for the visu to add these new tracks and meshes. More...
|
|
virtual | ~GoDBImport () |
|
|
void | CloseDBConnection () |
|
std::string | FindFieldName (std::string iLine) |
| Return the name of the field contained in the line. More...
|
|
std::string | GetValueForTheLine (std::string iLine) |
| Return the value contained in the line and "NoValueOnTheLine" if the line doesn't contain any. More...
|
|
template<typename T > |
std::string | GetValuesFromInfile (T &ioEntityToFill) |
| Get the values from the import File to fill the corresponding GoDBRow. More...
|
|
bool | IsLineForNumberOfEntities (std::string iLine) |
| Return true if the line containes "Number Of". More...
|
|
void | OpenDBConnection () |
|
template<typename T > |
void | ReplaceCommonFieldsForTraces (T &ioEntityToSave, const IntMapType &iMapColorIDs, const IntMapType &iMapCoordIDs, const IntMapType &iMapCollectionIDs) |
| replace old IDs found in the import file with new created IDs in the trace to be saved for common fields for the 4 traces: colorID, coordIDMin, CoordIDMax and CollectionID More...
|
|
template<typename T > |
void | ReplaceTheFieldWithNewIDs (const IntMapType &iMapIDs, std::string iFieldName, T &ioEntity) |
| replace in the entity to be saved the fieldname with the new IDs created that matches the old one in the iMapIDs More...
|
|
template<typename T > |
std::string | SaveImportedEntitiesInDatabase (int iNumberOfEntities, IntMapType &ioMapMatchingIDs) |
| get the values from the import file,save the corresponding number of entities in the database, return the last line content from the import file and update the matchingIDs with the new ones matching the old ones written in the import file More...
|
|
void | SaveIntensityForMesh (std::string &ioLineContent, const IntMapType &iMapMeshIDs, const IntMapType &iMapColorIDs) |
| fill the info needed for the new imported contours to add them in the visu More...
|
|
std::string | SaveNoTracesEntities (IntMapType &ioMapColorIDs, IntMapType &ioMapCellTypeIDs, IntMapType &ioMapSubCellTypeIDs, IntMapType &ioMapCoordIDs) |
| Get the values from the Infile, save the non traces entities, fill the matching map for old and new IDs and return the current line content. More...
|
|
template<typename T > |
void | SaveTraces (const IntMapType &iMapColorIDs, const IntMapType &iMapCoordIDs, const IntMapType &iMapCollectionIDs, std::string &ioLineContent, std::vector< int > &ioNewTracesIDs, IntMapType &ioMapTraceIDs, const IntMapType &iMapIDsSpecificOne, const IntMapType &iMapIDsSpecificTwo) |
|
void | SaveTracesEntities (const IntMapType &iMapColorIDs, const IntMapType &iMapCoordIDs, const std::string &iLineContent, const IntMapType &iMapCellTypeIDs, const IntMapType &iMapSubCellTypeIDs, bool SaveIntensities=false) |
| Get the info for the traces from the import file and from the matching IDs maps previously filled, then save them in the database if their bounding box doesn't match any existing ones and save the intensities for the meshes if SaveIntensities is set to true. More...
|
|
This class get the data of traces from a textfile and save them into the GoFigure Database.
Definition at line 52 of file GoDBImport.h.
void GoDBImport::ImportContours |
( |
| ) |
|
get the data needed from the import file to save the contours listed in it, including the color, the mesh they belong to, the tracks the previous meshes belong to, etc...and fill the vectors of new IDs and the needed info for the visu to add these new contours
Definition at line 71 of file GoDBImport.cxx.
void GoDBImport::ImportMeshes |
( |
| ) |
|
get the data needed from the import file to save the meshes listed in it, including the color,their intensities,the tracks they belong to, the lineages the previous tracks belong to, etc...and fill the vectors of new IDs and the needed info for the visu to add these new meshes
Definition at line 92 of file GoDBImport.cxx.