34 #include <vtkUnicodeString.h>
39 m_TrackAttributes(NULL)
59 std::vector< std::string > > PairTemp;
66 PairTemp.first = temp;
75 PairTemp.first = temp;
83 PairTemp.first = temp;
91 PairTemp.first = temp;
100 PairTemp.first = temp;
109 PairTemp.first = temp;
118 PairTemp.first = temp;
125 PairTemp.first = temp;
132 PairTemp.first = temp;
151 vtkMySQLDatabase *iDatabaseConnector,
int iTraceID)
164 std::vector< std::string > VectorNames;
165 std::vector< std::vector< std::string > > VectorValues;
177 std::vector< std::vector< std::string > > & ioValues,
178 std::vector< std::string > & ioNames)
180 if ( iTrackAttributes != 0 )
182 std::vector< std::string > temp;
183 ioNames.push_back(
"Deplacement");
184 temp.push_back( ConvertToString< double >(iTrackAttributes->
total_length) );
185 ioNames.push_back(
"Distance");
186 temp.push_back( ConvertToString< double >(iTrackAttributes->
distance) );
187 ioNames.push_back(
"Theta");
188 temp.push_back( ConvertToString< double >(iTrackAttributes->
theta) );
189 ioNames.push_back(
"Phi");
190 temp.push_back( ConvertToString< double >(iTrackAttributes->
phi) );
191 ioNames.push_back(
"AvgSpeed");
192 temp.push_back( ConvertToString< double >(iTrackAttributes->
avg_speed) );
193 ioNames.push_back(
"MaxSpeed");
194 temp.push_back( ConvertToString< double >(iTrackAttributes->
max_speed) );
195 ioNames.push_back(
"AvgVolume");
196 temp.push_back( ConvertToString< double >(iTrackAttributes->
avg_volume) );
197 ioNames.push_back(
"NumberOfMeshes");
198 temp.push_back( ConvertToString< unsigned int >(iTrackAttributes->
number_meshes) );
199 ioNames.push_back(
"Tmax - Tmin");
200 temp.push_back( ConvertToString< unsigned int >(iTrackAttributes->
temporal_extent) );
201 ioValues.push_back(temp);
void FillRowContainerForTrackComputedValues()
get the values from m_TrackAttributes and the names of the calculated values from m_TrackAttributes a...
void SetSpecificInfoForTrackTable()
add the specific info for a track to the columns description
GoDBTWContainerForTrack(int iImgSessionID)
This class describes the specificities of the GoDBTableWidgetContainer for track and lineage...
void GetValuesAndNamesForTrackComputedValues(GoFigureTrackAttributes *iTrackAttributes, std::vector< std::vector< std::string > > &ioValues, std::vector< std::string > &ioNames)
void SetTrackAttributes(GoFigureTrackAttributes *iTrackAttributes)
set m_TrackAttributes to iTrackAttributes, needs to be called before displaying the volume...
GoFigureTrackAttributes * m_TrackAttributes
~GoDBTWContainerForTrack()
virtual TWContainerType GetContainerForOneSpecificTrace(vtkMySQLDatabase *iDatabaseConnector, int iTraceID)
get the results of the queries and put them in the row container corresponding to all the data needed...