0022971: TKOpenGl clean up obsolete functionality
[occt.git] / src / StdPrs / StdPrs.cdl
CommitLineData
b311480e 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
7fd59977 21
22package 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
30uses
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
56is
57 class ToolPoint;
58 class ToolVertex;
59 class ToolRFace;
60 class HLRToolShape;
61 --class ToolSectionShape;
62 class ToolShadedShape;
2bd4c032 63 class ShadedShape;
7fd59977 64
65
66 class Point
67 instantiates Point from Prs3d(Point from Geom, ToolPoint from StdPrs);
68
69 class Vertex
70 instantiates Point from Prs3d(Vertex from TopoDS, ToolVertex from StdPrs);
71
72 class PoleCurve;
73 ---Purpose: computes the presentation of curves by drawing
74 -- a broken line linking the poles of the curve.
75
76 class Plane;
77 ---Purpose: computes the presentation of a infinite plane.
78
79 class WFPoleSurface;
80 ---Purpose: computes the presentation of surfaces by drawing a
81 -- double network of lines linking the poles of the surface
82 -- in the two parametric direction.
83
84
85 class DeflectionCurve;
86 ---Purpose: computes the presentation of objects to be
87 -- seen as curves. The computation will be made
88 -- according to a maximal chordial deviation.
89
90 ---Category: Wireframe algorithms
91
92 class WFDeflectionSurface;
93 ---Purpose: computes the wireframe presentation of surfaces
94 -- by displaying a given number of U and/or V isoparametric
95 --- curves. The isoparametric curves are drawn with respect
96 -- to a given maximal chordial deviation.
97
98 class ShadedSurface;
99 ---Purpose: computes the shading presentation of surfaces.
100
7fd59977 101 -----------------------------------------------
102 --- deflection drawing classes :
103 -----------------------------------------------
104
105 class WFDeflectionRestrictedFace;
106
107
108 class WFDeflectionShape instantiates WFShape from Prs3d
109 (WFDeflectionRestrictedFace from StdPrs,
110 DeflectionCurve from StdPrs,
111 Vertex from StdPrs);
112
113
114 -----------------------------------------------
115 --- Instantiations whith no deflection drawing.
116 -----------------------------------------------
117
118 class Curve;
119 ---Purpose: computes the presentation of objects to be
120 -- seen as curves. The computation will be made
121 -- whith a constant number of points.
122
123
124 class WFSurface;
125 ---Purpose: computes the wireframe presentation of surfaces
126 -- by displaying a given number of U and/or V isoparametric
127 --- curves. The isoparametric curves are drawn with respect
128 -- to a given number of points.
129
130
131 class WFRestrictedFace instantiates WFRestrictedFace from Prs3d
132 (Curve from StdPrs,
133 ToolRFace from StdPrs);
134
135
136 class WFShape instantiates WFShape from Prs3d
137 (WFRestrictedFace from StdPrs,
138 Curve from StdPrs,
139 Vertex from StdPrs);
140
7fd59977 141 class HLRShape instantiates HLRShape from Prs3d
142 (Shape from TopoDS,
143 HLRToolShape from StdPrs,
144 Curve from BRepAdaptor,
145 DeflectionCurve from StdPrs);
146
147 class HLRPolyShape;
148
149 imported NListOfSequenceOfPnt from Prs3d;
150 imported NListIteratorOfListOfSequenceOfPnt from Prs3d;
151
152
153end StdPrs;
154
155
156