// Created on: 1997-04-17 // Created by: Christophe MARION // Copyright (c) 1997-1999 Matra Datavision // Copyright (c) 1999-2014 OPEN CASCADE SAS // // This file is part of Open CASCADE Technology software library. // // This library is free software; you can redistribute it and/or modify it under // the terms of the GNU Lesser General Public License version 2.1 as published // by the Free Software Foundation, with special exception defined in the file // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT // distribution for complete text of the license and disclaimer of any warranty. // // Alternatively, this file may be used under the terms of Open CASCADE // commercial license or contractual agreement. #ifndef _HLRBRep_Hider_HeaderFile #define _HLRBRep_Hider_HeaderFile #include "Standard.hxx" #include "Standard_DefineAlloc.hxx" #include "Standard_Handle.hxx" #include "Standard_Integer.hxx" #include "TopoDS_Shape.hxx" #include "BRepTopAdaptor_Tool.hxx" #include "TopTools_ShapeMapHasher.hxx" #include "NCollection_DataMap.hxx" class HLRBRep_Data; class HLRBRep_Hider { public: DEFINE_STANDARD_ALLOC //! Creates a Hider processing the set of Edges and //! hiding faces described by . Stores the hidden //! parts in . Standard_EXPORT HLRBRep_Hider(const occ::handle& DS); //! own hiding the side face number . Standard_EXPORT void OwnHiding(const int FI); //! Removes from the edges, the parts hidden by the //! hiding face number . Standard_EXPORT void Hide( const int FI, NCollection_DataMap& MST); private: occ::handle myDS; }; #endif // _HLRBRep_Hider_HeaderFile