b311480e |
1 | -- Created on: 2000-08-21 |
2 | -- Created by: Andrey BETENEV |
973c2be1 |
3 | -- Copyright (c) 2000-2014 OPEN CASCADE SAS |
b311480e |
4 | -- |
973c2be1 |
5 | -- This file is part of Open CASCADE Technology software library. |
b311480e |
6 | -- |
d5f74e42 |
7 | -- This library is free software; you can redistribute it and/or modify it under |
8 | -- the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
9 | -- by the Free Software Foundation, with special exception defined in the file |
10 | -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
11 | -- distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
12 | -- |
973c2be1 |
13 | -- Alternatively, this file may be used under the terms of Open CASCADE |
14 | -- commercial license or contractual agreement. |
7fd59977 |
15 | |
16 | package ShapeProcess |
17 | |
18 | ---Purpose: Shape Processing module |
19 | -- allows to define and apply general Shape Processing as a |
20 | -- customizable sequence of Shape Healing operators. The |
21 | -- customization is implemented via user-editable resource |
22 | -- file which defines sequence of operators to be executed |
23 | -- and their parameters. |
24 | |
25 | uses |
26 | |
27 | Dico, |
28 | Resource, |
29 | TCollection, |
30 | TColStd, |
31 | GeomAbs, |
32 | TopAbs, |
33 | TopoDS, |
34 | TopTools, |
35 | BRepTools, |
36 | Message, |
37 | ShapeExtend, |
38 | ShapeBuild |
39 | |
40 | is |
41 | |
42 | class Context; |
ff8178ef |
43 | |
7fd59977 |
44 | class ShapeContext; |
7fd59977 |
45 | |
46 | deferred class Operator; |
ff8178ef |
47 | |
7fd59977 |
48 | primitive OperFunc; |
49 | class UOperator; |
7fd59977 |
50 | |
51 | class OperLibrary; |
7fd59977 |
52 | |
53 | class DictionaryOfOperator instantiates |
54 | Dictionary from Dico (Operator from ShapeProcess); |
55 | |
56 | RegisterOperator (name: CString; op: Operator from ShapeProcess) |
57 | returns Boolean; |
58 | ---Purpose: Registers operator to make it visible for Performer |
59 | |
60 | FindOperator (name: CString; op: out Operator from ShapeProcess) |
61 | returns Boolean; |
62 | ---Purpose: Finds operator by its name |
63 | |
64 | Perform (context: Context from ShapeProcess; seq: CString) |
65 | returns Boolean; |
66 | ---Purpose: Performs a specified sequence of operators on Context |
67 | -- Resource file and other data should be already loaded |
68 | -- to Context (including description of sequence seq) |
69 | |
70 | end ShapeProcess; |