]> OCCT Git - occt.git/commitdiff
0026508: Add the possibility to get label from XCAFPrs_AISObject.
authorstv <stv@opencascade.com>
Fri, 31 Jul 2015 09:59:48 +0000 (12:59 +0300)
committerski <ski@opencascade.com>
Thu, 13 Aug 2015 08:13:29 +0000 (11:13 +0300)
src/XCAFPrs/XCAFPrs_AISObject.hxx

index 65cf723656455c50c1c0c0c29c4ea20d8355d818..015461df6eb64b4c1f4200c796862a5194c6c1ff 100644 (file)
@@ -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.