X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_PreviewActorsCollection.h;h=f5d431335aee6a781c15e190a092859e95d0d2e5;hp=3b3cb12a0d90d5e0f35632e07fc2c0819803756f;hb=d1bb1f5d44a2566316419a238a615bc4a69e7028;hpb=bbca2cb797c37bb7695d3f35490bcd328fbddd4e diff --git a/src/OBJECT/SMESH_PreviewActorsCollection.h b/src/OBJECT/SMESH_PreviewActorsCollection.h index 3b3cb12a0..f5d431335 100644 --- a/src/OBJECT/SMESH_PreviewActorsCollection.h +++ b/src/OBJECT/SMESH_PreviewActorsCollection.h @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2016 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& indices); const QList& GetIndices() const { return myIndices; }