36 nbLabelledObjects = 0;
37 layersNbObjects =
nullptr;
38 layersNbLabelledObjects =
nullptr;
43 delete[] layersNbObjects;
44 delete[] layersNbLabelledObjects;
54 return nbLabelledObjects;
64 if ( layerId >= 0 && layerId < nbLayers )
65 return layersName.at( layerId );
72 if ( layerId >= 0 && layerId < nbLayers )
73 return layersNbObjects[layerId];
80 if ( layerId >= 0 && layerId < nbLayers )
81 return layersNbLabelledObjects[layerId];
PalStat(const PalStat &other)=delete
PalStat cannot be copied.
int getNbLabelledObjects()
the number of objects which are labelled
int getNbObjects()
the number of object in problem
QString getLayerName(int layerId)
Returns the name of the labelled layer layerId.
int getLayerNbObjects(int layerId)
Returns the number of object in layer layerId.
int getNbLayers()
how many layersare labelled ?
int getLayerNbLabelledObjects(int layerId)
Returns the number of object in layer layerId which are labelled.