-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2023 CEA, EDF, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
{
public:
SMESH_PreviewActorsCollection();
- ~SMESH_PreviewActorsCollection();
+ virtual ~SMESH_PreviewActorsCollection();
virtual void AddToRender (vtkRenderer* theRenderer);
virtual void RemoveFromRender(vtkRenderer* theRenderer);
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; }