0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / TestTopOpe / TestTopOpe_HDSDisplayer.hxx
CommitLineData
b311480e 1// Created on: 1996-09-23
2// Created by: Jean Yves LEBEY
3// Copyright (c) 1996-1999 Matra Datavision
973c2be1 4// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 5//
973c2be1 6// This file is part of Open CASCADE Technology software library.
b311480e 7//
d5f74e42 8// This library is free software; you can redistribute it and/or modify it under
9// the terms of the GNU Lesser General Public License version 2.1 as published
973c2be1 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.
b311480e 13//
973c2be1 14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
7fd59977 16
17#ifndef _TestTopOpe_HDSDisplayer_HeaderFile
18#define _TestTopOpe_HDSDisplayer_HeaderFile
19
20#include <TopOpeBRepDS_define.hxx>
21
22class TestTopOpe_HDSDisplayer {
23
24public:
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
46private:
47 Handle(TopOpeBRepDS_HDataStructure) myHDS;
48 TopoDS_Shape myS1,myS2;
49 TopTools_IndexedMapOfShape *myPMap1, *myPMap2;
50};
51
52#endif