Salome HOME
Update copyrights
[modules/smesh.git] / src / OBJECT / SMESH_PreviewActorsCollection.h
index 3b3cb12a0d90d5e0f35632e07fc2c0819803756f..682e49231e04395e15f54ca018bd48586892172b 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2015  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2019  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -41,7 +41,7 @@ class SMESHOBJECT_EXPORT SMESH_PreviewActorsCollection
 {
 public:
   SMESH_PreviewActorsCollection();
-  ~SMESH_PreviewActorsCollection();
+  virtual ~SMESH_PreviewActorsCollection();
 
   virtual void    AddToRender     (vtkRenderer* theRenderer);
   virtual void    RemoveFromRender(vtkRenderer* theRenderer);
@@ -61,6 +61,7 @@ public:
 
   int             GetIndexByShape( const TopoDS_Shape& );
   TopoDS_Shape    GetShapeByIndex( int i );
+  int             NbShapesOfType( TopAbs_ShapeEnum type );
 
   void            SetIndices( const QList<int>& indices);
   const QList<int>& GetIndices() const { return myIndices; }