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 getNbLayers() const
how many layersare labelled ?
QString getLayerName(int layerId)
Returns the name of the labelled layer layerId.
int getLayerNbObjects(int layerId) const
Returns the number of object in layer layerId.
int getNbObjects() const
the number of object in problem
int getLayerNbLabelledObjects(int layerId) const
Returns the number of object in layer layerId which are labelled.
int getNbLabelledObjects() const
the number of objects which are labelled