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];
int getLayerNbObjects(int layerId)
get the number of object in layer 'layerId'
int getLayerNbLabelledObjects(int layerId)
get the number of object in layer 'layerId' which are labelled
int getNbLabelledObjects()
the number of objects which are labelled
int getNbObjects()
the number of object in problem
QString getLayerName(int layerId)
get a name of the labelled layer 'layerId'
PalStat(const PalStat &other)=delete
PalStat cannot be copied.
int getNbLayers()
how many layersare labelled ?