b311480e |
1 | -- Created on: 1994-05-31 |
2 | -- Created by: Christian CAILLET |
3 | -- Copyright (c) 1994-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 | package IGESSelect |
18 | |
19 | ---Purpose : This package defines the library of the most used tools for |
20 | -- IGES Files : Selections & Modifiers specific to the IGES norm, |
21 | -- and the most needed converters |
22 | |
23 | uses MMgt, TCollection, TColStd, Dico, Message, |
24 | Geom, Interface, IFGraph, IFSelect, IGESData |
25 | |
26 | is |
27 | |
28 | class EditHeader; |
29 | class EditDirPart; |
30 | |
31 | class IGESTypeForm; |
32 | class IGESName; |
33 | class SignStatus; |
34 | class SignLevelNumber; |
35 | class SignColor; |
36 | |
37 | class CounterOfLevelNumber; |
38 | class ViewSorter; |
39 | |
40 | class DispPerSingleView; -- Packets for SingleViews (+ Drawing Frame) |
41 | class DispPerDrawing; -- Packets for Drawings |
42 | |
43 | class SelectVisibleStatus; -- Select visible or blanked entities |
44 | class SelectSubordinate; -- Select according Subordinate Status |
45 | class SelectLevelNumber; -- Select according a level number |
46 | class SelectName; -- Select according Name (Short/Name Property) |
47 | |
48 | class SelectFromSingleView; -- Select items associated with some views |
49 | class SelectFromDrawing; -- Select items concerned by some drawings |
50 | class SelectSingleViewFrom; -- Pick single views attached to some items |
51 | class SelectDrawingFrom; -- Pick drawings which concern some items |
52 | |
53 | class SelectBypassGroup; -- Select bypassing groups |
54 | class SelectBypassSubfigure; -- Select bypassing subfigures |
55 | class SelectBasicGeom; -- Select basic curves3d (drops surfaces,etc) |
56 | class SelectFaces; -- Select some geometries : Faces |
57 | class SelectPCurves; -- Select PCurves of Faces |
58 | |
59 | |
60 | deferred class ModelModifier instantiates |
61 | ModelModifier from IFSelect (IGESModel from IGESData, Protocol from IGESData); |
62 | deferred class FileModifier instantiates |
63 | FileModifier from IFSelect (IGESWriter from IGESData); |
64 | |
65 | class FloatFormat; -- File Modifier to control Float Format |
66 | class AddFileComment; -- " " to add comment start lines |
67 | |
68 | class UpdateFileName; -- Set new file name |
69 | class UpdateCreationDate; -- Set new creation date |
70 | class UpdateLastChange; -- Set new last change date |
71 | class SetVersion5; -- Set the version to IGES5 (with LastChange) |
72 | class SetGlobalParameter; -- Set the value of a global parameter |
73 | |
74 | class AutoCorrect; -- Does the absolutely evident corrections |
75 | class ComputeStatus; -- Recompute SubordinateStatus & UseFlag |
76 | class RebuildDrawings; -- Rebuild drawings in transferred models |
77 | class RebuildGroups; -- Rebuild groups in transferred models |
78 | class AddGroup; -- Adds a Group with slected entities |
79 | |
80 | class ChangeLevelNumber; -- Changes Level Number (single) to new value |
81 | class ChangeLevelList; -- Changes Level List to single Level Number |
82 | |
83 | class SplineToBSpline; -- Convert Spline(112/126) to BSpline(114/128) |
84 | |
85 | class RemoveCurves; -- Remove Curves on Surface (141..144) |
86 | class SetLabel; -- Sets or Clears ShortLabel |
87 | |
88 | class WorkLibrary; |
89 | class Activator; |
90 | class Dumper; |
91 | |
92 | Run; |
93 | ---Purpose : Simply gives a prompt for a conversational action on standard |
94 | -- input/output. Returns the status of a |
95 | |
96 | WhatIges (ent : IGESEntity from IGESData; G : Graph from Interface; |
97 | sup : out IGESEntity from IGESData; index : out Integer) |
98 | returns Integer; |
99 | ---Purpose : Gives a quick analysis of an IGES Entity in the context of a |
100 | -- model (i.e. a File) described by a Graph. |
101 | -- Returned values are : |
102 | -- <sup> : the most meaningfull super entity, if any (else Null) |
103 | -- <index> : meaningfull index relating to super entity, if any |
104 | -- <returned> : a status which helps exploitation of <sup>, by |
105 | -- giving a case |
106 | -- (normally, types of <ent> and <sup> should suffice to |
107 | -- known the case) |
108 | |
109 | end IGESSelect; |