0022751: Issues around Prs3d_TextAspect::Print()
[occt.git] / src / Graphic3d / Graphic3d_GraphicDriver.cdl
CommitLineData
7fd59977 1--
2-- File: Graphic3d_GraphicDriver.cdl
3-- Created: Mardi 28 janvier 1997
4-- Author: CAL
5-- Modified: 01/08/97 ; PCT : ajout texture mapping
6-- 07/08/97 ; PCT : ajout texture environnante
7-- 27/08/97 ; PCT : ajout coordonnee texture
8-- 00/11/97 ; CAL : retrait de la dependance avec math
9-- 00/11/97 ; CAL : ajout polyline par 2 points
10-- 16-09-98 ; BGN : Points d'entree du Triedre (S3819, Phase 1)
11-- 22-09-98 ; BGN : S3989 (anciennement S3819)
12-- TypeOfTriedron* from Aspect(et pas Graphic3d)
13-- 03-11-98 ; CAL : Introduction de Visual3d_LayerManager.
14-- 07-10-99 : EUG : Degeneration support (G003)
15-- Add DegenerateStructure() and
16-- SetBackFacingModel() methods.
17-- 10-11-99 ; GG : PRO19603 Change Redraw( ) method
18-- 16-06-2000 : ATS,GG : G005 - method PrimitiveArray, which are interface of OpenGl
19-- package, and used to initialize internal fields
20-- of primitives (Convert high level data to internal presentation).
21-- 17/08/00 ; THA ; Thomas HARTL <t-hartl@muenchen.matra-dtv.fr>
22-- -> Add Print methods (works only under Windows).
23-- 27/03/02 ; GG ; RIC120302 Add new method Begin(Aspect_Display)
24-- 28/05/02 ; VSV : New trihedron
25-- 23/12/02 ; SAV : Added methods to set background image and its
26-- appearence style
27-- 20/01/09 ; ABD : Integration support of system fonts (using FTGL and FreeType)
28--
29-- Copyright: MatraDatavision 1997
30--
31
32deferred class GraphicDriver from Graphic3d inherits GraphicDriver from Aspect
33
34 ---Version:
35
2166f0fa
SK
36 ---Purpose: This class allows the definition of a graphic driver
37 -- (currently only OpenGl driver is used).
7fd59977 38
2166f0fa 39 ---Keywords: OpenGl
7fd59977 40
41 ---Warning:
42 ---References:
43
44uses
45
46 SharedLibrary from OSD,
47
48 Array1OfInteger from TColStd,
49 Array1OfReal from TColStd,
50 Array2OfReal from TColStd,
51
52 ExtendedString from TCollection,
53
54 NameOfColor from Quantity,
55 Color from Quantity,
56
57 PlaneAngle from Quantity,
58
59 AlienImage from AlienImage,
60
61 Array1OfEdge from Aspect,
62 CLayer2d from Aspect,
63 GraphicDriver from Aspect,
64 TypeOfTriedronEcho from Aspect,
65 TypeOfTriedronPosition from Aspect,
66 Handle from Aspect,
67 Display from Aspect,
7edf74fd 68 PrintAlgo from Aspect,
7fd59977 69
70 AspectLine3d from Graphic3d,
71 AspectMarker3d from Graphic3d,
72 AspectText3d from Graphic3d,
73 AspectFillArea3d from Graphic3d,
74 HorizontalTextAlignment from Graphic3d,
75 CBitFields20 from Graphic3d,
76 CGroup from Graphic3d,
77 CLight from Graphic3d,
78 CPick from Graphic3d,
79 CPlane from Graphic3d,
80 CStructure from Graphic3d,
81 CView from Graphic3d,
82 CRawBufferData from Image,
83 Structure from Graphic3d,
84 TextPath from Graphic3d,
85 TypeOfComposition from Graphic3d,
86 TypeOfPolygon from Graphic3d,
87 TypeOfPrimitive from Graphic3d,
88 Vector from Graphic3d,
89 Array1OfVertex from Graphic3d,
90 Array2OfVertex from Graphic3d,
91 Vertex from Graphic3d,
92 Array1OfVertexC from Graphic3d,
93 Array2OfVertexC from Graphic3d,
94 VertexC from Graphic3d,
95 Array1OfVertexN from Graphic3d,
96 Array2OfVertexN from Graphic3d,
97 VertexN from Graphic3d,
98 Array1OfVertexNC from Graphic3d,
99 Array2OfVertexNC from Graphic3d,
100 VertexNC from Graphic3d,
101 VerticalTextAlignment from Graphic3d,
102 CInitTexture from Graphic3d,
103 TypeOfTexture from Graphic3d,
104 VertexNT from Graphic3d,
105 Array1OfVertexNT from Graphic3d,
106 Array2OfVertexNT from Graphic3d,
107 PrimitiveArray from Graphic3d,
108 PtrFrameBuffer from Graphic3d,
109 HArray1OfByte from TColStd,
110 FillMethod from Aspect,
111 GradientFillMethod from Aspect,
112 ExportFormat from Graphic3d,
113 SortType from Graphic3d,
114 HArray1OfReal from TColStd,
115 CUserDraw from Graphic3d,
116 NListOfHAsciiString from Graphic3d,
117 FontAspect from OSD,
118 CGraduatedTrihedron from Graphic3d
119
120raises
121
122 TransformError from Graphic3d
123
124is
125 Initialize ( AShrName : CString from Standard )
126 returns mutable GraphicDriver from Graphic3d;
127 ---Level: Public
128 ---Purpose: Initialises the Driver
129
130 -------------------------
131 -- Category: Init methods
132 -------------------------
133
134 Begin ( me : mutable;
135 ADisplay : CString from Standard )
136 returns Boolean from Standard
137 is deferred;
138 ---Purpose: call_togl_begin
139
140 Begin ( me : mutable;
141 ADisplay : Display from Aspect )
142 returns Boolean from Standard
143 is deferred;
144 ---Purpose: call_togl_begin_display
145
146 End ( me : mutable )
147 is deferred;
148 ---Purpose: call_togl_end
149
150 ----------------------------
151 -- Category: Inquire methods
152 ----------------------------
153
154 InquireLightLimit ( me : mutable )
155 returns Integer from Standard
156 is deferred;
157 ---Purpose: call_togl_inquirelight
158
159 InquireMat ( me : mutable;
160 ACView : CView from Graphic3d;
161 AMatO : out Array2OfReal from TColStd;
162 AMatM : out Array2OfReal from TColStd )
163 is deferred;
164 ---Purpose: call_togl_inquiremat
165
166 InquirePlaneLimit ( me : mutable )
167 returns Integer from Standard
168 is deferred;
169 ---Purpose: call_togl_inquireplane
170
171 InquireViewLimit ( me : mutable )
172 returns Integer from Standard
173 is deferred;
174 ---Purpose: call_togl_inquireview
175
176 InquireTextureAvailable ( me : mutable )
177 returns Boolean from Standard
178 is deferred;
179 ---Purpose: Returns Standard_True if texture is
180 -- supported by the graphic driver
181
182 ------------------------------
183 -- Category: Highlight methods
184 ------------------------------
185
186 Blink ( me : mutable;
187 ACStructure : CStructure from Graphic3d;
188 Create : Boolean from Standard )
189 is deferred;
190 ---Purpose: call_togl_blink
191
192 BoundaryBox ( me : mutable;
193 ACStructure : CStructure from Graphic3d;
194 Create : Boolean from Standard )
195 is deferred;
196 ---Purpose: call_togl_boundarybox
197
198 HighlightColor ( me : mutable;
199 ACStructure : CStructure from Graphic3d;
200 R : ShortReal from Standard;
201 G : ShortReal from Standard;
202 B : ShortReal from Standard;
203 Create : Boolean from Standard )
204 is deferred;
205 ---Purpose: call_togl_highlightcolor
206
207 NameSetStructure ( me : mutable;
208 ACStructure : CStructure from Graphic3d )
209 is deferred;
210 ---Purpose: call_togl_namesetstructure
211
212 -------------------------------------
213 -- Category: Group management methods
214 -------------------------------------
215
216 ClearGroup ( me : mutable;
217 ACGroup : CGroup from Graphic3d )
218 is deferred;
219 ---Purpose: call_togl_cleargroup
220
221 CloseGroup ( me : mutable;
222 ACGroup : CGroup from Graphic3d )
223 is deferred;
224 ---Purpose: call_togl_closegroup
225
226 FaceContextGroup ( me : mutable;
227 ACGroup : CGroup from Graphic3d;
228 NoInsert : Integer from Standard )
229 is deferred;
230 ---Purpose: call_togl_facecontextgroup
231
232 Group ( me : mutable;
233 ACGroup : in out CGroup from Graphic3d )
234 is deferred;
235 ---Purpose: call_togl_group
236
237 LineContextGroup ( me : mutable;
238 ACGroup : CGroup from Graphic3d;
239 NoInsert : Integer from Standard )
240 is deferred;
241 ---Purpose: call_togl_linecontextgroup
242
243 MarkerContextGroup ( me : mutable;
244 ACGroup : CGroup from Graphic3d;
245 NoInsert : Integer from Standard )
246 is deferred;
247 ---Purpose: call_togl_markercontextgroup
248
249 MarkerContextGroup ( me : mutable;
250 ACGroup : CGroup from Graphic3d;
251 NoInsert : Integer from Standard;
252 AMarkWidth : Integer from Standard;
253 AMarkHeight: Integer from Standard;
254 ATexture : HArray1OfByte from TColStd )
255 is deferred;
256 ---Purpose: call_togl_markercontextgroup
257
258 OpenGroup ( me : mutable;
259 ACGroup : CGroup from Graphic3d )
260 is deferred;
261 ---Purpose: call_togl_opengroup
262
263 RemoveGroup ( me : mutable;
264 ACGroup : CGroup from Graphic3d )
265 is deferred;
266 ---Purpose: call_togl_removegroup
267
268 TextContextGroup ( me : mutable;
269 ACGroup : CGroup from Graphic3d;
270 NoInsert : Integer from Standard )
271 is deferred;
272 ---Purpose: call_togl_textcontextgroup
273
274 -----------------------------------------
275 -- Category: Structure management methods
276 -----------------------------------------
277
278 ClearStructure ( me : mutable;
279 ACStructure : CStructure from Graphic3d )
280 is deferred;
281 ---Purpose: call_togl_clearstructure
282
283 Connect ( me : mutable;
284 AFather : CStructure from Graphic3d;
285 ASon : CStructure from Graphic3d )
286 is deferred;
287 ---Purpose: call_togl_connect
288
289 ContextStructure ( me : mutable;
290 ACStructure : CStructure from Graphic3d )
291 is deferred;
292 ---Purpose: call_togl_contextstructure
293
294 Disconnect ( me : mutable;
295 AFather : CStructure from Graphic3d;
296 ASon : CStructure from Graphic3d )
297 is deferred;
298 ---Purpose: call_togl_disconnect
299
300 DisplayStructure ( me : mutable;
301 ACView : CView from Graphic3d;
302 ACStructure : CStructure from Graphic3d;
303 APriority : Integer from Standard )
304 is deferred;
305 ---Purpose: call_togl_displaystructure
306
307 EraseStructure ( me : mutable;
308 ACView : CView from Graphic3d;
309 ACStructure : CStructure from Graphic3d )
310 is deferred;
311 ---Purpose: call_togl_erasestructure
312
313 RemoveStructure ( me : mutable;
314 ACStructure : CStructure from Graphic3d )
315 is deferred;
316 ---Purpose: call_togl_removestructure
317
318 Structure ( me : mutable;
319 ACStructure : in out CStructure from Graphic3d )
320 is deferred;
321 ---Purpose: call_togl_structure
322
7fd59977 323 ------------------------------------
324 -- Category: Structured mode methods
325 ------------------------------------
326
327 ActivateView ( me : mutable;
328 ACView : CView from Graphic3d )
329 is deferred;
330 ---Purpose: call_togl_activateview
331
332 AntiAliasing ( me : mutable;
333 ACView : CView from Graphic3d;
334 AFlag : Boolean from Standard )
335 is deferred;
336 ---Purpose: call_togl_antialiasing
337
338 Background ( me : mutable;
339 ACView : CView from Graphic3d )
340 is deferred;
341 ---Purpose: call_togl_background
342
343 GradientBackground ( me : mutable;
344 ACView : CView from Graphic3d;
345 AColor1: Color from Quantity;
346 AColor2: Color from Quantity;
347 FillStyle : GradientFillMethod from Aspect
348 )
2166f0fa 349 is deferred;
7fd59977 350 ---Purpose: call_togl_gradient_background
351
352
353 BackgroundImage( me : mutable;
354 FileName : CString from Standard;
355 ACView : CView from Graphic3d;
356 FillStyle : FillMethod from Aspect )
357 is deferred;
358
359 SetBgImageStyle( me : mutable;
360 ACView : CView from Graphic3d;
361 FillStyle : FillMethod from Aspect )
362 is deferred;
363
364 SetBgGradientStyle( me : mutable;
365 ACView : CView from Graphic3d;
366 FillStyle : GradientFillMethod from Aspect )
2166f0fa 367 is deferred;
7fd59977 368
369 ClipLimit ( me : mutable;
370 ACView : CView from Graphic3d;
371 AWait : Boolean from Standard )
372 is deferred;
373 ---Purpose: call_togl_cliplimit
374
375 DeactivateView ( me : mutable;
376 ACView : CView from Graphic3d )
377 is deferred;
378 ---Purpose: call_togl_deactivateview
379
380 DepthCueing ( me : mutable;
381 ACView : CView from Graphic3d;
382 AFlag : Boolean from Standard )
383 is deferred;
384 ---Purpose: call_togl_cliplimit
385
386 ProjectRaster ( me : mutable;
387 ACView : CView from Graphic3d;
388 AX : ShortReal from Standard;
389 AY : ShortReal from Standard;
390 AZ : ShortReal from Standard;
391 AU : out Integer from Standard;
392 AV : out Integer from Standard )
393 returns Boolean from Standard
394 is deferred;
395 ---Purpose: call_togl_unproject_raster
396
397 UnProjectRaster ( me : mutable;
398 ACView : CView from Graphic3d;
399 Axm : Integer from Standard;
400 Aym : Integer from Standard;
401 AXM : Integer from Standard;
402 AYM : Integer from Standard;
403 AU : Integer from Standard;
404 AV : Integer from Standard;
405 AX : out ShortReal from Standard;
406 AY : out ShortReal from Standard;
407 AZ : out ShortReal from Standard )
408 returns Boolean from Standard
409 is deferred;
410 ---Purpose: call_togl_unproject_raster
411
412 UnProjectRasterWithRay ( me : mutable;
413 ACView : CView from Graphic3d;
414 Axm : Integer from Standard;
415 Aym : Integer from Standard;
416 AXM : Integer from Standard;
417 AYM : Integer from Standard;
418 AU : Integer from Standard;
419 AV : Integer from Standard;
420 AX : out ShortReal from Standard;
421 AY : out ShortReal from Standard;
422 AZ : out ShortReal from Standard;
423 DX : out ShortReal from Standard;
424 DY : out ShortReal from Standard;
425 DZ : out ShortReal from Standard )
426 returns Boolean from Standard
427 is deferred;
428 ---Purpose: call_togl_unproject_raster_with_ray
429
430 RatioWindow ( me : mutable;
431 ACView : CView from Graphic3d )
432 is deferred;
433 ---Purpose: call_togl_ratio_window
434
435 Redraw ( me : mutable;
436 ACView : CView from Graphic3d;
437 ACUnderLayer : CLayer2d from Aspect;
438 ACOverLayer : CLayer2d from Aspect;
439 x : Integer = 0;
440 y : Integer = 0;
441 width : Integer = 0;
442 height : Integer = 0 )
443 is deferred;
444 ---Purpose: call_togl_redraw
445 -- Warning: when the redraw area has a null size, the full view is redrawn
446
447 RemoveView ( me : mutable;
448 ACView : CView from Graphic3d )
449 is deferred;
450 ---Purpose: call_togl_removeview
451
452 SetLight ( me : mutable;
453 ACView : CView from Graphic3d )
454 is deferred;
455 ---Purpose: call_togl_setlight
456
457 SetPlane ( me : mutable;
458 ACView : CView from Graphic3d )
459 is deferred;
460 ---Purpose: call_togl_setplane
461
462 SetVisualisation ( me : mutable;
463 ACView : CView from Graphic3d )
464 is deferred;
465 ---Purpose: call_togl_setvisualisation
466
467 TransformStructure ( me : mutable;
468 ACStructure : CStructure from Graphic3d )
469 is deferred;
470 ---Purpose: call_togl_transformstructure
471
472 DegenerateStructure ( me : mutable;
473 ACStructure : CStructure from Graphic3d )
474 is deferred;
475 ---Purpose: call_togl_degeneratestructure
476
477 Transparency ( me : mutable;
478 ACView : CView from Graphic3d;
479 AFlag : Boolean from Standard )
480 is deferred;
481 ---Purpose: call_togl_transparency
482
483 Update ( me : mutable;
484 ACView : CView from Graphic3d;
485 ACUnderLayer : CLayer2d from Aspect;
486 ACOverLayer : CLayer2d from Aspect )
487 is deferred;
488 ---Purpose: call_togl_update
489
490 View ( me : mutable;
491 ACView : in out CView from Graphic3d )
492 returns Boolean from Standard
493 is deferred;
494 ---Purpose: call_togl_view
495
496 ViewMapping ( me : mutable;
497 ACView : CView from Graphic3d;
498 AWait : Boolean from Standard )
499 is deferred;
500 ---Purpose: call_togl_viewmapping
501
502 ViewOrientation ( me : mutable;
503 ACView : CView from Graphic3d;
504 AWait : Boolean from Standard )
505 is deferred;
506 ---Purpose: call_togl_vieworientation
507
508 Environment ( me : mutable;
509 ACView : CView from Graphic3d )
510 is deferred;
511 ---Purpose:
512
513 ----------------------------------------
514 -- Category: Methods to create Marker
515 -- for Purpose : see Graphic3d_Group.cdl
516 ----------------------------------------
517
518 Marker ( me : mutable;
519 ACGroup : CGroup from Graphic3d;
520 APoint : Vertex from Graphic3d;
521 EvalMinMax : Boolean from Standard = Standard_True )
522 is deferred;
523
524 MarkerSet ( me : mutable;
525 ACGroup : CGroup from Graphic3d;
526 ListVertex : Array1OfVertex from Graphic3d;
527 EvalMinMax : Boolean from Standard = Standard_True )
528 is deferred;
529
530 ----------------------------------------
531 -- Category: Methods to create Polygon
532 -- for Purpose : see Graphic3d_Group.cdl
533 ----------------------------------------
534
535 Polygon ( me : mutable;
536 ACGroup : CGroup from Graphic3d;
537 ListVertex : Array1OfVertex from Graphic3d;
538 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
539 EvalMinMax : Boolean from Standard = Standard_True )
540 is deferred;
541 ---Purpose: call_togl_polygon
542
543 Polygon ( me : mutable;
544 ACGroup : CGroup from Graphic3d;
545 ListVertex : Array1OfVertex from Graphic3d;
546 Normal : Vector from Graphic3d;
547 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
548 EvalMinMax : Boolean from Standard = Standard_True )
549 is deferred;
550 ---Purpose: call_togl_polygon
551
552 Polygon ( me : mutable;
553 ACGroup : CGroup from Graphic3d;
554 ListVertex : Array1OfVertexN from Graphic3d;
555 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
556 EvalMinMax : Boolean from Standard = Standard_True )
557 is deferred;
558 ---Purpose: call_togl_polygon
559
560 Polygon ( me : mutable;
561 ACGroup : CGroup from Graphic3d;
562 ListVertex : Array1OfVertexN from Graphic3d;
563 Normal : Vector from Graphic3d;
564 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
565 EvalMinMax : Boolean from Standard = Standard_True )
566 is deferred;
567 ---Purpose: call_togl_polygon
568
569 Polygon ( me : mutable;
570 ACGroup : CGroup from Graphic3d;
571 ListVertex : Array1OfVertexNT from Graphic3d;
572 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
573 EvalMinMax : Boolean from Standard = Standard_True )
574 is deferred;
575 ---Purpose: call_togl_polygon
576
577 PolygonHoles ( me : mutable;
578 ACGroup : CGroup from Graphic3d;
579 Bounds : Array1OfInteger from TColStd;
580 ListVertex : Array1OfVertex from Graphic3d;
581 EvalMinMax : Boolean from Standard = Standard_True )
582 is deferred;
583 ---Purpose: call_togl_polygon_holes
584
585 PolygonHoles ( me : mutable;
586 ACGroup : CGroup from Graphic3d;
587 Bounds : Array1OfInteger from TColStd;
588 ListVertex : Array1OfVertex from Graphic3d;
589 Normal : Vector from Graphic3d;
590 EvalMinMax : Boolean from Standard = Standard_True )
591 is deferred;
592 ---Purpose: call_togl_polygon_holes
593
594 PolygonHoles ( me : mutable;
595 ACGroup : CGroup from Graphic3d;
596 Bounds : Array1OfInteger from TColStd;
597 ListVertex : Array1OfVertexN from Graphic3d;
598 EvalMinMax : Boolean from Standard = Standard_True )
599 is deferred;
600 ---Purpose: call_togl_polygon_holes
601
602 PolygonHoles ( me : mutable;
603 ACGroup : CGroup from Graphic3d;
604 Bounds : Array1OfInteger from TColStd;
605 ListVertex : Array1OfVertexN from Graphic3d;
606 Normal : Vector from Graphic3d;
607 EvalMinMax : Boolean from Standard = Standard_True )
608 is deferred;
609 ---Purpose: call_togl_polygon_holes
610
611 ----------------------------------------
612 -- Category: Methods to create Polyline
613 -- for Purpose : see Graphic3d_Group.cdl
614 ----------------------------------------
615
616 Polyline ( me : mutable;
617 ACGroup : CGroup from Graphic3d;
618 X1, Y1, Z1, X2, Y2, Z2 : Real from Standard;
619 EvalMinMax : Boolean from Standard = Standard_True )
620 is deferred;
621 ---Purpose: call_togl_polyline
622
623 Polyline ( me : mutable;
624 ACGroup : CGroup from Graphic3d;
625 ListVertex : Array1OfVertex from Graphic3d;
626 EvalMinMax : Boolean from Standard = Standard_True )
627 is deferred;
628 ---Purpose: call_togl_polyline
629
630 Polyline ( me : mutable;
631 ACGroup : CGroup from Graphic3d;
632 ListVertex : Array1OfVertexC from Graphic3d;
633 EvalMinMax : Boolean from Standard = Standard_True )
634 is deferred;
635 ---Purpose: call_togl_polyline
636
637 -----------------------------------------
638 -- Category: Methods to create Quadrangle
639 -- for Purpose : see Graphic3d_Group.cdl
640 -----------------------------------------
641
642 QuadrangleMesh ( me : mutable;
643 ACGroup : CGroup from Graphic3d;
644 ListVertex : Array2OfVertex from Graphic3d;
645 EvalMinMax : Boolean from Standard = Standard_True )
646 is deferred;
647 ---Purpose: call_togl_quadrangle
648
649 QuadrangleMesh ( me : mutable;
650 ACGroup : CGroup from Graphic3d;
651 ListVertex : Array2OfVertexN from Graphic3d;
652 EvalMinMax : Boolean from Standard = Standard_True )
653 is deferred;
654 ---Purpose: call_togl_quadrangle
655
656 QuadrangleMesh ( me : mutable;
657 ACGroup : CGroup from Graphic3d;
658 ListVertex : Array2OfVertexNT from Graphic3d;
659 EvalMinMax : Boolean from Standard = Standard_True )
660 is deferred;
661 ---Purpose: call_togl_quadrangle
662
7fd59977 663 ----------------------------------------
664 -- Category: Methods to create Text
665 -- for Purpose : see Graphic3d_Group.cdl
666 ----------------------------------------
667
668 Text ( me : mutable;
669 ACGroup : CGroup from Graphic3d;
670 AText : CString from Standard;
671 APoint : Vertex from Graphic3d;
672 AHeight : Real from Standard;
673 AAngle : PlaneAngle from Quantity;
674 ATp : TextPath from Graphic3d;
675 AHta : HorizontalTextAlignment from Graphic3d;
676 AVta : VerticalTextAlignment from Graphic3d;
677 EvalMinMax : Boolean from Standard = Standard_True )
678 is deferred;
679 ---Purpose: call_togl_text
680
681 Text ( me : mutable;
682 ACGroup : CGroup from Graphic3d;
683 AText : CString from Standard;
684 APoint : Vertex from Graphic3d;
685 AHeight : Real from Standard;
686 EvalMinMax : Boolean from Standard = Standard_True )
687 is deferred;
688 ---Purpose: call_togl_text
689
690 Text ( me : mutable;
691 ACGroup : CGroup from Graphic3d;
692 AText : ExtendedString from TCollection;
693 APoint : Vertex from Graphic3d;
694 AHeight : Real from Standard;
695 AAngle : PlaneAngle from Quantity;
696 ATp : TextPath from Graphic3d;
697 AHta : HorizontalTextAlignment from Graphic3d;
698 AVta : VerticalTextAlignment from Graphic3d;
699 EvalMinMax : Boolean from Standard = Standard_True )
700 is deferred;
701 ---Purpose: call_togl_text
702
703 Text ( me : mutable;
704 ACGroup : CGroup from Graphic3d;
705 AText : ExtendedString from TCollection;
706 APoint : Vertex from Graphic3d;
707 AHeight : Real from Standard;
708 EvalMinMax : Boolean from Standard = Standard_True )
709 is deferred;
710 ---Purpose: call_togl_text
711
712 ----------------------------------------
713 ---Category: Methods to create Triangle
714 -- for Purpose : see Graphic3d_Group.cdl
715 ----------------------------------------
716
717 TriangleMesh ( me : mutable;
718 ACGroup : CGroup from Graphic3d;
719 ListVertex : Array1OfVertex from Graphic3d;
720 EvalMinMax : Boolean from Standard = Standard_True )
721 is deferred;
722 ---Purpose: call_togl_triangle
723
724 TriangleMesh ( me : mutable;
725 ACGroup : CGroup from Graphic3d;
726 ListVertex : Array1OfVertexN from Graphic3d;
727 EvalMinMax : Boolean from Standard = Standard_True )
728 is deferred;
729 ---Purpose: call_togl_triangle
730
731 TriangleMesh ( me : mutable;
732 ACGroup : CGroup from Graphic3d;
733 ListVertex : Array1OfVertexNT from Graphic3d;
734 EvalMinMax : Boolean from Standard = Standard_True )
735 is deferred;
736 ---Purpose: call_togl_triangle
737
738 TriangleSet ( me : mutable;
739 ACGroup : CGroup from Graphic3d;
740 ListVertex : Array1OfVertex from Graphic3d;
741 ListEdge : Array1OfEdge from Aspect;
742 EvalMinMax : Boolean from Standard = Standard_True )
743 is deferred;
744 ---Purpose: call_togl_polygon_indices
745
746 TriangleSet ( me : mutable;
747 ACGroup : CGroup from Graphic3d;
748 ListVertex : Array1OfVertexN from Graphic3d;
749 ListEdge : Array1OfEdge from Aspect;
750 EvalMinMax : Boolean from Standard = Standard_True )
751 is deferred;
752 ---Purpose: call_togl_polygon_indices
753
754 TriangleSet ( me : mutable;
755 ACGroup : CGroup from Graphic3d;
756 ListVertex : Array1OfVertexNT from Graphic3d;
757 ListEdge : Array1OfEdge from Aspect;
758 EvalMinMax : Boolean from Standard = Standard_True )
759 is deferred;
760 ---Purpose: call_togl_polygon_indices
761
762 TriangleSet ( me : mutable;
763 ACGroup : CGroup from Graphic3d;
764 ListVertex : Array1OfVertexC from Graphic3d;
765 ListEdge : Array1OfEdge from Aspect;
766 EvalMinMax : Boolean from Standard = Standard_True )
767 is deferred;
768 ---Purpose: call_togl_polygon_indices
769
770 TriangleSet ( me : mutable;
771 ACGroup : CGroup from Graphic3d;
772 ListVertex : Array1OfVertexNC from Graphic3d;
773 ListEdge : Array1OfEdge from Aspect;
774 EvalMinMax : Boolean from Standard = Standard_True )
775 is deferred;
776 ---Purpose: call_togl_polygon_indices
777
778 PrimitiveArray( me : mutable;
779 ACGroup : CGroup from Graphic3d;
780 parray : PrimitiveArray from Graphic3d;
781 EvalMinMax : Boolean from Standard = Standard_True )
782 is deferred;
783 ---Purpose: call_togl_parray
784
785 UserDraw( me : mutable;
786 ACGroup : CGroup from Graphic3d;
787 AUserDraw : CUserDraw from Graphic3d )
788 is deferred;
789 ---Purpose: call_togl_userdraw
790
791 EnableVBO( me : mutable;
792 status : Boolean from Standard )
2166f0fa 793 is deferred;
7fd59977 794 ---Purpose: enables/disables usage of OpenGL vertex buffer arrays while drawing primitiev arrays
795
796 ----------------------------------------
797 ---Category: Methods to create Triedron
798 -- for Purpose : see Graphic3d_Group.cdl
799 ----------------------------------------
800
801 ZBufferTriedronSetup ( me : mutable;
802 XColor : NameOfColor from Quantity = Quantity_NOC_RED;
803 YColor : NameOfColor from Quantity = Quantity_NOC_GREEN;
804 ZColor : NameOfColor from Quantity = Quantity_NOC_BLUE1;
805 SizeRatio : Real from Standard = 0.8;
806 AxisDiametr : Real from Standard = 0.05;
807 NbFacettes : Integer from Standard = 12)
808 is deferred;
809 ---Purpose: call_togl_ztriedron_setup
810
811 TriedronDisplay ( me : mutable;
812 ACView : CView from Graphic3d;
813 APosition : TypeOfTriedronPosition from Aspect = Aspect_TOTP_CENTER;
814 AColor : NameOfColor from Quantity = Quantity_NOC_WHITE ;
815 AScale : Real from Standard = 0.02;
816 AsWireframe : Boolean from Standard = Standard_True )
817 is deferred;
818 ---Purpose: call_togl_triedron_display
819
820
821 TriedronErase ( me : mutable;
822 ACView : CView from Graphic3d)
823 is deferred;
824 ---Purpose: call_togl_triedron_erase
825
826
827 TriedronEcho ( me : mutable;
828 ACView : CView from Graphic3d;
829 AType : TypeOfTriedronEcho from Aspect = Aspect_TOTE_NONE )
830 is deferred;
831 ---Purpose: call_togl_triedron_echo
832
833 ---------------------------------
834 ---Category: Graduated trihedron
835 ---------------------------------
836
7fd59977 837 GraduatedTrihedronDisplay(me : mutable;
838 view : CView from Graphic3d;
13a22457 839 cubic : CGraduatedTrihedron from Graphic3d)
7fd59977 840 ---Purpose: call_togl_graduatedtrihedron_display
841 is deferred;
842
843 GraduatedTrihedronErase(me : mutable;
844 view : CView from Graphic3d)
845 ---Purpose: call_togl_graduatedtrihedron_erase
846 is deferred;
847
848 GraduatedTrihedronMinMaxValues(me : mutable;
849 xmin : ShortReal from Standard;
850 ymin : ShortReal from Standard;
851 zmin : ShortReal from Standard;
852 xmax : ShortReal from Standard;
853 ymax : ShortReal from Standard;
854 zmax : ShortReal from Standard)
855 ---Purpose: call_togl_graduatedtrihedron_minmaxvalues
856 is deferred;
857
7fd59977 858 ---------------------------
859 -- Category: Animation mode
860 ---------------------------
861
862 BeginAnimation ( me : mutable;
863 ACView : CView from Graphic3d)
864 is deferred;
865 ---Purpose: call_togl_begin_animation
866
867 EndAnimation ( me : mutable;
868 ACView : CView from Graphic3d)
869 is deferred;
870 ---Purpose: call_togl_end_animation
871
872 ----------------------------------
873 -- Category: Ajout mode methods
874 ----------------------------------
875
876 BeginAddMode ( me : mutable;
877 ACView : CView from Graphic3d)
878 returns Boolean from Standard
879 is deferred;
880 ---Purpose: call_togl_begin_ajout_mode
881
882 EndAddMode ( me : mutable)
883 is deferred;
884 ---Purpose: call_togl_end_ajout_mode
885
886 ----------------------------------
887 -- Category: Immediat mode methods
888 ----------------------------------
889
890 BeginImmediatMode ( me : mutable;
891 ACView : CView from Graphic3d;
892 ACUnderLayer : CLayer2d from Aspect;
893 ACOverLayer : CLayer2d from Aspect;
894 DoubleBuffer : Boolean from Standard;
895 RetainMode : Boolean from Standard)
896 returns Boolean from Standard
897 is deferred;
898 ---Purpose: call_togl_begin_immediat_mode
899
900 BeginPolyline ( me : mutable )
901 is deferred;
902 ---Purpose: call_togl_begin_polyline
903
904 ClearImmediatMode ( me : mutable; ACView : CView from Graphic3d;
905 aFlush : Boolean from Standard = Standard_True)
906 is deferred;
907 ---Purpose: call_togl_clear_immediat_mode
908
909 Draw ( me : mutable;
910 X : ShortReal from Standard;
911 Y : ShortReal from Standard;
912 Z : ShortReal from Standard )
913 is deferred;
914 ---Purpose: call_togl_draw
915
916 DrawStructure ( me : mutable;
917 ACStructure : CStructure from Graphic3d )
918 is deferred;
919 ---Purpose: call_togl_draw_structure
920
921 EndImmediatMode ( me : mutable;
922 Synchronize : Integer from Standard )
923 is deferred;
924 ---Purpose: call_togl_end_immediat_mode
925
926 EndPolyline ( me : mutable )
927 is deferred;
928 ---Purpose: call_togl_end_polyline
929
930 Move ( me : mutable;
931 X : ShortReal from Standard;
932 Y : ShortReal from Standard;
933 Z : ShortReal from Standard )
934 is deferred;
935 ---Purpose: call_togl_move
936
937 SetLineColor ( me : mutable;
938 R : ShortReal from Standard;
939 G : ShortReal from Standard;
940 B : ShortReal from Standard )
941 is deferred;
942 ---Purpose: call_togl_set_linecolor
943
944 SetLineType ( me : mutable;
945 Type : Integer from Standard )
946 is deferred;
947 ---Purpose: call_togl_set_linetype
948
949 SetLineWidth ( me : mutable;
950 Width : ShortReal from Standard )
951 is deferred;
952 ---Purpose: call_togl_set_linewidth
953
954 SetMinMax ( me : mutable;
955 X1 : ShortReal from Standard;
956 Y1 : ShortReal from Standard;
957 Z1 : ShortReal from Standard;
958 X2 : ShortReal from Standard;
959 Y2 : ShortReal from Standard;
960 Z2 : ShortReal from Standard )
961 is deferred;
962 ---Purpose: call_togl_set_minmax
963
964 Transform ( me : mutable;
965 AMatrix : Array2OfReal from TColStd;
966 AType : TypeOfComposition from Graphic3d )
967 is deferred;
968 ---Purpose: call_togl_transform
969
970 -----------------------------
971 -- Category: Textures methods
972 -----------------------------
973
974 CreateTexture ( me;
975 Type : TypeOfTexture from Graphic3d;
976 Image : AlienImage from AlienImage;
977 FileName : CString from Standard;
978 TexUpperBounds : HArray1OfReal from TColStd )
979 returns Integer from Standard
980 is deferred;
981 ---Purpose:
982
983 DestroyTexture ( me;
984 TexId : Integer from Standard )
985 is deferred;
986 ---Purpose:
987
988 ModifyTexture ( me;
989 TexId : Integer from Standard;
990 AValue : CInitTexture from Graphic3d )
991 is deferred;
992 ---Purpose:
993
994 -------------------------------
995 -- Category: Layer mode methods
996 -------------------------------
997
998 Layer ( me : mutable;
999 ACLayer : in out CLayer2d from Aspect )
1000 is deferred;
1001 ---Purpose: call_togl_layer2d
1002
1003 RemoveLayer ( me : mutable;
1004 ACLayer : CLayer2d from Aspect )
1005 is deferred;
1006 ---Purpose: call_togl_removelayer2d
1007
1008 BeginLayer ( me : mutable;
1009 ACLayer : CLayer2d from Aspect )
1010 is deferred;
1011 ---Purpose: call_togl_begin_layer2d
1012
1013 BeginPolygon2d ( me : mutable )
1014 is deferred;
1015 ---Purpose: call_togl_begin_polygon2d
1016
1017 BeginPolyline2d ( me : mutable )
1018 is deferred;
1019 ---Purpose: call_togl_begin_polyline2d
1020
1021 ClearLayer ( me : mutable;
1022 ACLayer : CLayer2d from Aspect )
1023 is deferred;
1024 ---Purpose: call_togl_clear_layer2d
1025
1026 Draw ( me : mutable;
1027 X : ShortReal from Standard;
1028 Y : ShortReal from Standard )
1029 is deferred;
1030 ---Purpose: call_togl_draw2d
1031
1032 Edge ( me : mutable;
1033 X : ShortReal from Standard;
1034 Y : ShortReal from Standard )
1035 is deferred;
1036 ---Purpose: call_togl_edge2d
1037
1038 EndLayer ( me : mutable )
1039 is deferred;
1040 ---Purpose: call_togl_end_layer2d
1041
1042 EndPolygon2d ( me : mutable )
1043 is deferred;
1044 ---Purpose: call_togl_end_polygon2d
1045
1046 EndPolyline2d ( me : mutable )
1047 is deferred;
1048 ---Purpose: call_togl_end_polyline2d
1049
1050 Move ( me : mutable;
1051 X : ShortReal from Standard;
1052 Y : ShortReal from Standard )
1053 is deferred;
1054 ---Purpose: call_togl_move2d
1055
1056 Rectangle ( me : mutable;
1057 X, Y : ShortReal from Standard;
1058 Width, Height : ShortReal from Standard )
1059 is deferred;
1060 ---Purpose: call_togl_rectangle2d
1061
1062 SetColor ( me : mutable;
1063 R : ShortReal from Standard;
1064 G : ShortReal from Standard;
1065 B : ShortReal from Standard )
1066 is deferred;
1067 ---Purpose: call_togl_set_color
1068
1069 SetTransparency ( me : mutable;
1070 ATransparency : ShortReal from Standard )
1071 is deferred;
1072 ---Purpose: call_togl_set_transparency
1073
1074 UnsetTransparency ( me : mutable )
1075 is deferred;
1076 ---Purpose: call_togl_unset_transparency
1077
1078 SetLineAttributes ( me : mutable;
1079 Type : Integer from Standard;
1080 Width : ShortReal from Standard )
1081 is deferred;
1082 ---Purpose: call_togl_set_line_attributes
1083
1084
1085 SetTextAttributes ( me : mutable;
1086 Font : CString from Standard;
1087 Type : Integer from Standard;
1088 R : ShortReal from Standard;
1089 G : ShortReal from Standard;
1090 B : ShortReal from Standard )
2166f0fa 1091 is deferred;
7fd59977 1092 ---Purpose: call_togl_set_text_attributes
1093
1094 Text ( me : mutable;
1095 AText : CString from Standard;
1096 X, Y : ShortReal from Standard;
1097 AHeight : ShortReal from Standard )
1098 is deferred;
1099 ---Purpose: call_togl_text2d
1100 -- If AHeight < 0 default text height is used by driver (DefaultTextHeight method)
1101
1102 DefaultTextHeight( me )
1103 returns ShortReal from Standard
1104 is deferred;
1105
1106
1107 TextSize( me;
1108 AText : CString from Standard;
1109 AHeight : ShortReal from Standard;
1110 AWidth : in out ShortReal from Standard;
1111 AnAscent : in out ShortReal from Standard;
1112 ADescent : in out ShortReal from Standard )
1113 is deferred;
1114 ---Purpose: call_togl_textsize2d
1115
1116 SetBackFacingModel ( me : mutable;
1117 aView : CView from Graphic3d )
1118 is deferred;
1119 ---Purpose: call_togl_backfacing
1120
1121 SetDepthTestEnabled( me; view : CView from Graphic3d;
1122 isEnabled : Boolean from Standard )
1123 is deferred;
1124 ---Purpose: call_togl_depthtest
1125
1126 IsDepthTestEnabled( me; view : CView from Graphic3d )
1127 returns Boolean from Standard is deferred;
1128 ---Purpose: call_togl_isdepthtest
1129
1130 ReadDepths( me;
1131 view : CView from Graphic3d;
1132 x, y : Integer;
1133 width, height : Integer;
1134 buffer : Address )
1135 is deferred;
1136 ---Purpose: Reads depths of shown pixels of the given
1137 -- rectangle (glReadPixels with GL_DEPTH_COMPONENT)
1138
1139 FBOCreate( me : mutable;
1140 view : CView from Graphic3d;
1141 width, height : Integer from Standard )
1142 returns PtrFrameBuffer from Graphic3d
1143 is deferred;
1144 ---Purpose: Generate offscreen FBO in the graphic library.
1145 -- If not supported on hardware returns NULL.
1146
1147 FBORelease( me : mutable;
1148 view : CView from Graphic3d;
1149 fboPtr : in out PtrFrameBuffer from Graphic3d )
1150 is deferred;
1151 ---Purpose: Remove offscreen FBO from the graphic library
1152
1153 FBOGetDimensions( me : mutable;
1154 view : CView from Graphic3d;
1155 fboPtr : PtrFrameBuffer from Graphic3d;
1156 width, height : out Integer from Standard;
1157 widthMax, heightMax : out Integer from Standard )
1158 is deferred;
1159 ---Purpose: Read offscreen FBO configuration.
1160
1161 FBOChangeViewport( me : mutable;
1162 view : CView from Graphic3d;
1163 fboPtr : in out PtrFrameBuffer from Graphic3d;
1164 width, height : Integer from Standard )
1165 is deferred;
1166 ---Purpose: Change offscreen FBO viewport.
1167
1168 BufferDump( me : mutable;
1169 view : CView from Graphic3d;
1170 buffer : in out CRawBufferData from Image )
1171 returns Boolean from Standard
1172 is deferred;
1173 ---Purpose: Dump active rendering buffer into specified memory buffer.
1174
1175 SetGLLightEnabled( me; view : CView from Graphic3d;
1176 isEnabled : Boolean from Standard )
1177 is deferred;
1178 ---Purpose: call_togl_gllight
1179
1180 IsGLLightEnabled( me; view : CView from Graphic3d )
1181 returns Boolean from Standard is deferred;
1182 ---Purpose: call_togl_isgllight
1183
1184 Print (me;
1185 ACView : CView from Graphic3d;
1186 ACUnderLayer : CLayer2d from Aspect;
1187 ACOverLayer : CLayer2d from Aspect;
1188 hPrnDC : Handle from Aspect;
1189 showBackground : Boolean;
7edf74fd
A
1190 filename : CString;
1191 printAlgorithm : PrintAlgo from Aspect = Aspect_PA_STRETCH;
1192 theScaleFactor : Real from Standard = 1.0 )
1193 returns Boolean from Standard is deferred;
7fd59977 1194 ---Level: Internal
1195 ---Purpose: print the contents of all layers of the view to the printer.
1196 -- <hPrnDC> : Pass the PrinterDeviceContext (HDC),
1197 -- <showBackground> : When set to FALSE then print the view without background color
1198 -- (background is white)
1199 -- else set to TRUE for printing with current background color.
1200 -- <filename>: If != NULL, then the view will be printed to a file.
7edf74fd
A
1201 -- <printAlgorithm>: Select print algorithm: stretch, tile.
1202 -- <theScaleFactor>: Scaling coefficient, used internally to scale the
1203 -- printings accordingly to the scale factor selected in the printer
1204 -- properties dialog.
1205 -- Returns Standard_True if the data is passed to the printer, otherwise
1206 -- Standard_False if the print operation failed due to the printer errors,
1207 -- or insufficient system memory available.
7fd59977 1208 ---Warning: Works only under Windows.
1209
7fd59977 1210 Export( me: mutable;
5cedc27f
K
1211 theFileName : CString from Standard;
1212 theFormat : ExportFormat from Graphic3d;
1213 theSortType : SortType from Graphic3d;
1214 theWidth, theHeight : Integer from Standard;
1215 theView : CView from Graphic3d;
1216 theLayerUnder : CLayer2d from Aspect;
1217 theLayerOver : CLayer2d from Aspect;
1218 thePrecision : Real from Standard = 0.005;
1219 theProgressBarFunc : Address from Standard = NULL;
1220 theProgressObject : Address from Standard = NULL )
1221 returns Boolean from Standard
1222 is deferred;
1223 ---Purpose:
1224 -- Export scene into the one of the Vector graphics formats (SVG, PS, PDF...).
1225 -- In contrast to Bitmaps, Vector graphics is scalable (so you may got quality benefits on printing to laser printer).
1226 -- Notice however that results may differ a lot and do not contain some elements.
7fd59977 1227
98178592
A
1228 RemovePrimitiveArray( me : mutable;
1229 theCGroup : CGroup from Graphic3d;
1230 thePArray : PrimitiveArray from Graphic3d )
1231 is deferred;
1232 ---Purpose: Clear visualization data in graphical driver and
1233 -- stop displaying the primitives array of the graphical group
1234 -- <theCGroup>. This method is internal and should be used
1235 -- by Graphic3d_Group only.
1236
59f45b7c 1237 AddZLayer( me : mutable;
1238 theCView : CView from Graphic3d;
1239 theLayerId : Integer from Standard )
1240 is deferred;
1241 ---Purpose: Add a new top-level z layer with ID <theLayerId> for
1242 -- the view. Z layers allow drawing structures in higher layers
1243 -- in foreground of structures in lower layers. To add a structure
1244 -- to desired layer on display it is necessary to set the layer
1245 -- ID for the structure.
1246
1247 RemoveZLayer( me : mutable;
1248 theCView : CView from Graphic3d;
1249 theLayerId : Integer from Standard )
1250 is deferred;
1251 ---Purpose: Remove Z layer from the specified view. All structures
1252 -- displayed at the moment in layer will be displayed in default layer
1253 -- ( the bottom-level z layer ). To unset layer ID from associated
1254 -- structures use method UnsetZLayer (...).
1255
1256 UnsetZLayer( me : mutable;
1257 theLayerId : Integer from Standard )
1258 is deferred;
1259 ---Purpose: Unset Z layer ID for all structures. The structure
1260 -- indexes will be set to default layer ( the bottom-level z layer
1261 -- with ID = 0 ).
1262
1263 ChangeZLayer( me : mutable;
1264 theCStructure : CStructure from Graphic3d;
1265 theLayerId : Integer from Standard )
1266 is deferred;
1267 ---Purpose: Change Z layer of a structure. The new z layer ID will
1268 -- be used to define the associated layer for structure on display.
1269
1270 ChangeZLayer( me : mutable;
1271 theCStructure : CStructure from Graphic3d;
1272 theCView : CView from Graphic3d;
1273 theNewLayerId : Integer from Standard )
1274 is deferred;
1275 ---Purpose: Change Z layer of a structure already presented in view.
1276
1277 GetZLayer( me;
1278 theCStructure : CStructure from Graphic3d )
1279 returns Integer from Standard is deferred;
1280 ---Purpose: Get Z layer ID of structure. If the structure doesn't
1281 -- exists in graphic driver, the method returns -1.
1282
7fd59977 1283 --------------------------
1284 -- Category: Class methods
1285 --------------------------
1286
1287 Light ( myclass;
1288 ACLight : CLight from Graphic3d;
1289 Update : Boolean from Standard )
1290 returns Integer from Standard;
1291 ---Purpose: call_togl_light
1292
1293 Plane ( myclass;
1294 ACPlane : CPlane from Graphic3d;
1295 Update : Boolean from Standard )
1296 returns Integer from Standard;
1297 ---Purpose: call_togl_plane
1298
1299 -----------------------------
1300 -- Category: Internal methods
1301 -----------------------------
1302
1303 PrintBoolean ( me;
1304 AComment : CString from Standard;
1305 AValue : Boolean from Standard );
1306
1307 PrintCGroup ( me;
1308 ACGroup : CGroup from Graphic3d;
1309 AField : Integer from Standard );
1310
1311 PrintCLight ( me;
1312 ACLight : CLight from Graphic3d;
1313 AField : Integer from Standard );
1314
1315 PrintCPick ( me;
1316 ACPick : CPick from Graphic3d;
1317 AField : Integer from Standard );
1318
1319 PrintCPlane ( me;
1320 ACPlane : CPlane from Graphic3d;
1321 AField : Integer from Standard );
1322
1323 PrintCStructure ( me;
1324 ACStructure : CStructure from Graphic3d;
1325 AField : Integer from Standard );
1326
1327 PrintCView ( me;
1328 ACView : CView from Graphic3d;
1329 AField : Integer from Standard );
1330
1331 PrintFunction ( me;
1332 AFunc : CString from Standard );
1333
1334 PrintInteger ( me;
1335 AComment : CString from Standard;
1336 AValue : Integer from Standard );
1337
1338 PrintIResult ( me;
1339 AFunc : CString from Standard;
1340 AResult : Integer from Standard );
1341
1342 PrintShortReal ( me;
1343 AComment : CString from Standard;
1344 AValue : ShortReal from Standard );
1345
1346 PrintMatrix ( me;
1347 AComment : CString from Standard;
1348 AMatrix : Array2OfReal from TColStd )
1349 raises TransformError from Graphic3d;
1350
1351 PrintString ( me;
1352 AComment : CString from Standard;
1353 AString : CString from Standard );
1354
1355 SetTrace ( me : mutable;
1356 ALevel : Integer from Standard )
1357 is static;
1358
1359 Trace ( me )
1360 returns Integer from Standard
1361 is static;
1362
1363 --ListOfAvalableFontNames( me;
1364 -- lst: out NListOfHAsciiString from Graphic3d )
1365 -- returns Boolean from Standard
1366 -- is deferred;
1367 -- Purpose: Initialize list of names of avalable system fonts
1368 -- returns Standard_False if fails
1369 -- ABD Integration support of system fonts (using FTGL and FreeType)
1370
1371fields
1372
1373 MyTraceLevel : Integer from Standard is protected;
1374 MySharedLibrary : SharedLibrary from OSD is protected;
1375
1376end GraphicDriver from Graphic3d;