b311480e |
1 | -- Created on: 1999-10-01 |
2 | -- Created by: Vladislav ROMASHKO |
3 | -- Copyright (c) 1999-1999 Matra Datavision |
4 | -- Copyright (c) 1999-2012 OPEN CASCADE SAS |
5 | -- |
6 | -- The content of this file is subject to the Open CASCADE Technology Public |
7 | -- License Version 6.5 (the "License"). You may not use the content of this file |
8 | -- except in compliance with the License. Please obtain a copy of the License |
9 | -- at http://www.opencascade.org and read it completely before using this file. |
10 | -- |
11 | -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its |
12 | -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France. |
13 | -- |
14 | -- The Original Code and all software distributed under the License is |
15 | -- distributed on an "AS IS" basis, without warranty of any kind, and the |
16 | -- Initial Developer hereby disclaims all such warranties, including without |
17 | -- limitation, any warranties of merchantability, fitness for a particular |
18 | -- purpose or non-infringement. Please see the License for the specific terms |
19 | -- and conditions governing the rights and limitations under the License. |
20 | |
7fd59977 |
21 | |
22 | class ImportShape from QANewBRepNaming inherits TopNaming from QANewBRepNaming |
23 | |
24 | ---Purpose: This class provides a topological naming |
25 | -- of a Shape |
26 | |
27 | uses |
28 | |
29 | Shape from TopoDS, |
30 | Label from TDF, |
31 | LabelMap from TDF, |
32 | TagSource from TDF |
33 | |
34 | is |
35 | |
36 | Create returns ImportShape from QANewBRepNaming; |
37 | |
38 | Create (ResultLabel : Label from TDF) |
39 | returns ImportShape from QANewBRepNaming; |
40 | |
41 | Init (me : in out; ResultLabel : Label from TDF); |
42 | |
43 | |
44 | Load (me; S : Shape from TopoDS); |
45 | ---Purpose: Use this method for a topological naming of a Shape |
46 | |
47 | LoadPrime (me; S : Shape from TopoDS); |
48 | |
49 | LoadFirstLevel (me; S : Shape from TopoDS; Tagger : TagSource from TDF); |
50 | |
51 | LoadNextLevels (me; S : Shape from TopoDS; Tagger : TagSource from TDF); |
52 | |
53 | LoadC0Edges(me; S : Shape from TopoDS; |
54 | Tagger : TagSource from TDF); |
55 | ---Purpose: Method for internal use. It is used by Load(). |
56 | -- It loads the edges which couldn't be uniquely identified as |
57 | -- an intersection of two faces. |
58 | |
59 | |
60 | LoadC0Vertices (me; S : Shape from TopoDS; Tagger : TagSource from TDF); |
61 | |
62 | NamedFaces (me; theNamedFaces : in out LabelMap from TDF) |
63 | returns Integer from Standard; |
64 | |
65 | NamedEdges (me; theNamedEdges : in out LabelMap from TDF) |
66 | returns Integer from Standard; |
67 | |
68 | NamedVertices (me; theNamedVertices : in out LabelMap from TDF) |
69 | returns Integer from Standard; |
70 | |
71 | end ImportShape; |