X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FVTKViewer%2FVTKViewer_Actor.h;h=e09c1e3e5184d211c428b4e3036aef5aeac3ce2e;hb=refs%2Fheads%2Fngr%2Fpython3_dev_pv5.4;hp=996d89478837224ef5c3c2ec44a0820729ea8b35;hpb=7913d238ead6773bc2bfcbfe692738346626e4b7;p=modules%2Fgui.git diff --git a/src/VTKViewer/VTKViewer_Actor.h b/src/VTKViewer/VTKViewer_Actor.h index 996d89478..e09c1e3e5 100755 --- a/src/VTKViewer/VTKViewer_Actor.h +++ b/src/VTKViewer/VTKViewer_Actor.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -6,7 +6,7 @@ // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -179,7 +179,7 @@ class VTKVIEWER_EXPORT VTKViewer_Actor : public vtkLODActor //! To calculatate last modified time virtual - unsigned long int + vtkMTimeType GetMTime(); //---------------------------------------------------------------------------- @@ -305,6 +305,11 @@ class VTKVIEWER_EXPORT VTKViewer_Actor : public vtkLODActor GetChildActors(vtkActorCollection*); //---------------------------------------------------------------------------- + //! Is notified on enabling/disabling selection + virtual + void + EnableSelection( bool enable ) {} + //! Ask, if the descendant of the VTKViewer_Actor will implement its own highlight or not virtual bool