0024510: Remove unused local variables
[occt.git] / src / TestTopOpe / TestTopOpe_HDSDisplayer.hxx
1 // Created on: 1996-09-23
2 // Created by: Jean Yves LEBEY
3 // Copyright (c) 1996-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and / or modify it
9 // under the terms of the GNU Lesser General Public version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _TestTopOpe_HDSDisplayer_HeaderFile
18 #define _TestTopOpe_HDSDisplayer_HeaderFile
19
20 #include <TopOpeBRepDS_define.hxx>
21
22 class TestTopOpe_HDSDisplayer {
23
24 public:
25   TestTopOpe_HDSDisplayer();
26   TestTopOpe_HDSDisplayer(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
27   void Init();
28   void SetCurrentHDS(const Handle(TopOpeBRepDS_HDataStructure)& HDS);
29   const Handle(TopOpeBRepDS_HDataStructure)& CurrentHDS() const ;
30   const TopOpeBRepDS_DataStructure& CurrentBDS() const ;
31   void SetShape1(const TopoDS_Shape& S1);
32   void SetShape2(const TopoDS_Shape& S2);  
33   Standard_Boolean SubShape(const TopoDS_Shape& S,const Standard_Integer I);
34
35   void ShapeName(const Standard_Integer,const TopoDS_Shape&,TCollection_AsciiString&) const ;
36   void ShapeDisplayName(const Standard_Integer,const TopoDS_Shape&,TCollection_AsciiString&) ;
37   TCollection_AsciiString AncestorMark(const TopoDS_Shape&,const TCollection_AsciiString&) ;
38   void ShapeDisplayName(const TCollection_AsciiString&,const TopoDS_Shape&,TCollection_AsciiString&) ;
39
40   void SectionEdgeName(const Standard_Integer,const TopoDS_Shape&,TCollection_AsciiString&) const ;
41   void SectionEdgeDisplayName(const Standard_Integer,const TopoDS_Shape&,TCollection_AsciiString&) ;
42
43   void GeometryDisplayName(const Standard_Integer,const TopOpeBRepDS_Kind,TCollection_AsciiString&) ;
44   Standard_Boolean ShapeKind(const Standard_Integer IS,const TopAbs_ShapeEnum TS) const ;
45
46 private:
47   Handle(TopOpeBRepDS_HDataStructure) myHDS;
48   TopoDS_Shape myS1,myS2;
49   TopTools_IndexedMapOfShape *myPMap1, *myPMap2;
50 };
51
52 #endif