2022-05-05 17:01:14 +05:00
|
|
|
// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE
|
2012-08-09 13:58:02 +06:00
|
|
|
//
|
|
|
|
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
|
|
|
|
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
|
|
|
|
//
|
|
|
|
// 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
|
2014-02-18 12:44:41 +06:00
|
|
|
// version 2.1 of the License, or (at your option) any later version.
|
2012-08-09 13:58:02 +06:00
|
|
|
//
|
|
|
|
// This library is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
// Lesser General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Lesser General Public
|
|
|
|
// License along with this library; if not, write to the Free Software
|
|
|
|
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
//
|
|
|
|
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef _GEOM_TopWireframeShape_HeaderFile
|
|
|
|
#define _GEOM_TopWireframeShape_HeaderFile
|
|
|
|
|
2014-10-21 19:45:02 +06:00
|
|
|
#include <SALOME_AISShape.hxx>
|
2012-08-09 13:58:02 +06:00
|
|
|
|
|
|
|
#include <Standard.hxx>
|
2014-10-21 19:45:02 +06:00
|
|
|
#include <Standard_DefineHandle.hxx>
|
2012-08-09 13:58:02 +06:00
|
|
|
|
2014-10-21 19:45:02 +06:00
|
|
|
class GEOM_TopWireframeShape : public SALOME_AISShape
|
|
|
|
{
|
2012-08-09 13:58:02 +06:00
|
|
|
public:
|
2014-10-21 19:45:02 +06:00
|
|
|
Standard_EXPORT GEOM_TopWireframeShape(const TopoDS_Shape& shape);
|
|
|
|
Standard_EXPORT ~GEOM_TopWireframeShape();
|
2012-08-09 13:58:02 +06:00
|
|
|
|
2014-10-21 19:45:02 +06:00
|
|
|
Standard_EXPORT virtual Standard_Boolean hasIO();
|
|
|
|
Standard_EXPORT void setIO(const Handle(SALOME_InteractiveObject)& io);
|
|
|
|
Standard_EXPORT virtual Handle(SALOME_InteractiveObject) getIO();
|
2012-08-09 13:58:02 +06:00
|
|
|
|
2014-10-21 19:45:02 +06:00
|
|
|
Standard_EXPORT virtual void setName(const Standard_CString aName);
|
|
|
|
Standard_EXPORT virtual Standard_CString getName();
|
2012-08-09 13:58:02 +06:00
|
|
|
|
2014-10-21 19:45:02 +06:00
|
|
|
Standard_EXPORT virtual Standard_Boolean isTopLevel();
|
|
|
|
Standard_EXPORT virtual void setTopLevel(Standard_Boolean);
|
|
|
|
Standard_EXPORT virtual Standard_Boolean switchTopLevel();
|
2012-08-09 13:58:02 +06:00
|
|
|
|
2014-10-21 19:45:02 +06:00
|
|
|
Standard_EXPORT virtual Standard_Boolean toActivate();
|
2012-08-09 13:58:02 +06:00
|
|
|
|
2014-10-21 19:45:02 +06:00
|
|
|
Standard_EXPORT virtual void highlightSubShapes(const TColStd_IndexedMapOfInteger& aIndexMap, const Standard_Boolean aHighlight );
|
2012-08-09 13:58:02 +06:00
|
|
|
|
2014-10-21 19:45:02 +06:00
|
|
|
public:
|
2017-06-26 13:49:43 +05:00
|
|
|
DEFINE_STANDARD_RTTIEXT(GEOM_TopWireframeShape,SALOME_AISShape)
|
2012-08-09 13:58:02 +06:00
|
|
|
};
|
|
|
|
|
2014-10-21 19:45:02 +06:00
|
|
|
DEFINE_STANDARD_HANDLE(GEOM_TopWireframeShape, SALOME_AISShape)
|
2012-08-09 13:58:02 +06:00
|
|
|
|
2012-10-08 17:16:36 +06:00
|
|
|
#endif
|