From: stv Date: Fri, 31 Jul 2015 09:59:48 +0000 (+0300) Subject: 0026508: Add the possibility to get label from XCAFPrs_AISObject. X-Git-Tag: V7_0_0_beta~368 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=773d3a5a0b15fc2ebd4f7cd8027982b9815c65e6;p=occt.git 0026508: Add the possibility to get label from XCAFPrs_AISObject. --- diff --git a/src/XCAFPrs/XCAFPrs_AISObject.hxx b/src/XCAFPrs/XCAFPrs_AISObject.hxx index 65cf723656..015461df6e 100644 --- a/src/XCAFPrs/XCAFPrs_AISObject.hxx +++ b/src/XCAFPrs/XCAFPrs_AISObject.hxx @@ -28,6 +28,9 @@ public: //! Creates an object to visualise the shape label. Standard_EXPORT XCAFPrs_AISObject (const TDF_Label& theLabel); + //! Returns the label which was visualised by this presentation + Standard_EXPORT inline TDF_Label GetLabel() const { return myLabel; } + protected: //! Redefined method to compute presentation.