68f08e7e8ddcf0833890c2427e2adba2e72affb7
[occt.git] / src / StdPrs / StdPrs.cdl
1 -- Created on: 1992-08-26
2 -- Created by: Jean Louis FRENKEL
3 -- Copyright (c) 1992-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
21
22 package StdPrs
23         ---Purpose: The StdPrs package provides standard display tools
24         -- for specific geometries and topologies whereas
25         -- Prs3d provides those for generic objects. Among
26         -- these classes are definitions of the display of the
27         -- specific geometry or topology in various display
28         -- modes such as wireframe, shading or hidden line removal mode.
29                
30 uses
31         Prs3d,
32         Geom,
33         Geom2d,
34         Adaptor3d,
35         Adaptor2d,
36         GeomAdaptor,
37         Geom2dAdaptor,
38         BRepAdaptor,
39         TopTools,
40         TopoDS,
41         TopExp,
42         TopAbs,
43         BRepTools,
44         Bnd,
45         TColStd,
46         HLRAlgo,
47         HLRBRep,
48         Quantity,
49         BRepMesh,
50         gp,
51         TColgp,
52         Poly,
53         TopLoc, 
54         Graphic3d
55
56 is
57    class ToolPoint;
58    class ToolVertex;
59    class ToolRFace;
60    class HLRToolShape;
61    --class ToolSectionShape;
62    class ToolShadedShape;
63    
64    
65    class Point 
66    instantiates Point from Prs3d(Point from Geom, ToolPoint from StdPrs); 
67    
68    class Vertex 
69    instantiates Point from Prs3d(Vertex from TopoDS, ToolVertex from StdPrs); 
70    
71    class PoleCurve;
72         ---Purpose: computes the presentation of curves by drawing
73         --          a broken line linking the poles of the curve.
74
75    class Plane;
76         ---Purpose: computes the presentation of a infinite plane.
77
78    class WFPoleSurface;
79         ---Purpose: computes the presentation of surfaces by drawing a
80         --          double network of lines linking the poles of the surface
81         --          in the two parametric direction.
82         
83
84    class DeflectionCurve;                     
85         ---Purpose: computes the presentation of objects to be
86         --          seen as curves. The computation will be made
87         --          according to a maximal chordial deviation.
88                   
89         ---Category: Wireframe algorithms
90    
91    class WFDeflectionSurface;
92         ---Purpose: computes the wireframe presentation of surfaces 
93         --          by displaying a given number of U and/or V isoparametric
94         ---         curves. The isoparametric curves are drawn with respect
95         --          to a given maximal chordial deviation.
96
97    class ShadedSurface;
98         ---Purpose: computes the shading presentation of surfaces.
99
100    class ShadedPoleSurface;
101
102
103    -----------------------------------------------
104    --- deflection drawing classes :
105    -----------------------------------------------
106
107    class WFDeflectionRestrictedFace;
108
109
110    class WFDeflectionShape instantiates WFShape from Prs3d
111          (WFDeflectionRestrictedFace from StdPrs,
112           DeflectionCurve            from StdPrs,
113           Vertex                     from StdPrs);
114                       
115                       
116    -----------------------------------------------
117    --- Instantiations whith no deflection drawing.
118    -----------------------------------------------
119
120    class Curve;
121         ---Purpose: computes the presentation of objects to be
122         --          seen as curves. The computation will be made
123         --          whith a constant number of points.
124
125
126    class WFSurface;
127         ---Purpose: computes the wireframe presentation of surfaces 
128         --          by displaying a given number of U and/or V isoparametric
129         ---         curves. The isoparametric curves are drawn with respect
130         --          to a given number of points.
131
132
133    class WFRestrictedFace instantiates WFRestrictedFace from Prs3d  
134          (Curve     from StdPrs,
135           ToolRFace from StdPrs);
136
137
138    class WFShape instantiates WFShape from Prs3d
139          (WFRestrictedFace  from StdPrs,
140           Curve             from StdPrs,
141           Vertex            from StdPrs);
142
143
144     class ShadedShape instantiates ShadedShape from Prs3d
145           (Shape           from TopoDS,
146            Face            from TopoDS,
147            Triangle        from BRepMesh,
148            Edge            from BRepMesh,
149            ToolShadedShape from StdPrs);
150                    
151                
152     class HLRShape instantiates HLRShape from Prs3d 
153           (Shape           from TopoDS,
154            HLRToolShape    from StdPrs,
155            Curve           from BRepAdaptor,
156            DeflectionCurve from StdPrs);
157                         
158     class HLRPolyShape; 
159      
160     imported NListOfSequenceOfPnt from Prs3d; 
161     imported NListIteratorOfListOfSequenceOfPnt from Prs3d;
162     
163                         
164 end StdPrs;
165
166
167