2 -- File: Graphic3d_GraphicDriver.cdl
3 -- Created: Mardi 28 janvier 1997
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
27 -- 20/01/09 ; ABD : Integration support of system fonts (using FTGL and FreeType)
29 -- Copyright: MatraDatavision 1997
32 deferred class GraphicDriver from Graphic3d inherits GraphicDriver from Aspect
36 ---Purpose: This class allows the definition of a graphic
37 -- driver and encapsulates the Pex driver, the
38 -- OpenGl driver, the Optimizer driver and the Phigs driver.
40 ---Keywords: Pex, OpenGl, Optimizer, Phigs
47 SharedLibrary from OSD,
49 Array1OfInteger from TColStd,
50 Array1OfReal from TColStd,
51 Array2OfReal from TColStd,
53 ExtendedString from TCollection,
55 NameOfColor from Quantity,
58 PlaneAngle from Quantity,
60 AlienImage from AlienImage,
62 Array1OfEdge from Aspect,
64 GraphicDriver from Aspect,
65 TypeOfTriedronEcho from Aspect,
66 TypeOfTriedronPosition from Aspect,
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,
79 CPlane from Graphic3d,
80 CStructure 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,
118 CGraduatedTrihedron from Graphic3d
122 TransformError from Graphic3d
125 Initialize ( AShrName : CString from Standard )
126 returns mutable GraphicDriver from Graphic3d;
128 ---Purpose: Initialises the Driver
130 -------------------------
131 -- Category: Init methods
132 -------------------------
134 Begin ( me : mutable;
135 ADisplay : CString from Standard )
136 returns Boolean from Standard
138 ---Purpose: call_togl_begin
140 Begin ( me : mutable;
141 ADisplay : Display from Aspect )
142 returns Boolean from Standard
144 ---Purpose: call_togl_begin_display
148 ---Purpose: call_togl_end
150 ----------------------------
151 -- Category: Inquire methods
152 ----------------------------
154 InquireLightLimit ( me : mutable )
155 returns Integer from Standard
157 ---Purpose: call_togl_inquirelight
159 InquireMat ( me : mutable;
160 ACView : CView from Graphic3d;
161 AMatO : out Array2OfReal from TColStd;
162 AMatM : out Array2OfReal from TColStd )
164 ---Purpose: call_togl_inquiremat
166 InquirePlaneLimit ( me : mutable )
167 returns Integer from Standard
169 ---Purpose: call_togl_inquireplane
171 InquireViewLimit ( me : mutable )
172 returns Integer from Standard
174 ---Purpose: call_togl_inquireview
176 InquireTextureAvailable ( me : mutable )
177 returns Boolean from Standard
179 ---Purpose: Returns Standard_True if texture is
180 -- supported by the graphic driver
182 ------------------------------
183 -- Category: Highlight methods
184 ------------------------------
186 Blink ( me : mutable;
187 ACStructure : CStructure from Graphic3d;
188 Create : Boolean from Standard )
190 ---Purpose: call_togl_blink
192 BoundaryBox ( me : mutable;
193 ACStructure : CStructure from Graphic3d;
194 Create : Boolean from Standard )
196 ---Purpose: call_togl_boundarybox
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 )
205 ---Purpose: call_togl_highlightcolor
207 NameSetStructure ( me : mutable;
208 ACStructure : CStructure from Graphic3d )
210 ---Purpose: call_togl_namesetstructure
212 -------------------------------------
213 -- Category: Group management methods
214 -------------------------------------
216 ClearGroup ( me : mutable;
217 ACGroup : CGroup from Graphic3d )
219 ---Purpose: call_togl_cleargroup
221 CloseGroup ( me : mutable;
222 ACGroup : CGroup from Graphic3d )
224 ---Purpose: call_togl_closegroup
226 FaceContextGroup ( me : mutable;
227 ACGroup : CGroup from Graphic3d;
228 NoInsert : Integer from Standard )
230 ---Purpose: call_togl_facecontextgroup
232 Group ( me : mutable;
233 ACGroup : in out CGroup from Graphic3d )
235 ---Purpose: call_togl_group
237 LineContextGroup ( me : mutable;
238 ACGroup : CGroup from Graphic3d;
239 NoInsert : Integer from Standard )
241 ---Purpose: call_togl_linecontextgroup
243 MarkerContextGroup ( me : mutable;
244 ACGroup : CGroup from Graphic3d;
245 NoInsert : Integer from Standard )
247 ---Purpose: call_togl_markercontextgroup
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 )
256 ---Purpose: call_togl_markercontextgroup
258 OpenGroup ( me : mutable;
259 ACGroup : CGroup from Graphic3d )
261 ---Purpose: call_togl_opengroup
263 RemoveGroup ( me : mutable;
264 ACGroup : CGroup from Graphic3d )
266 ---Purpose: call_togl_removegroup
268 TextContextGroup ( me : mutable;
269 ACGroup : CGroup from Graphic3d;
270 NoInsert : Integer from Standard )
272 ---Purpose: call_togl_textcontextgroup
274 -----------------------------------------
275 -- Category: Structure management methods
276 -----------------------------------------
278 ClearStructure ( me : mutable;
279 ACStructure : CStructure from Graphic3d )
281 ---Purpose: call_togl_clearstructure
283 Connect ( me : mutable;
284 AFather : CStructure from Graphic3d;
285 ASon : CStructure from Graphic3d )
287 ---Purpose: call_togl_connect
289 ContextStructure ( me : mutable;
290 ACStructure : CStructure from Graphic3d )
292 ---Purpose: call_togl_contextstructure
294 Disconnect ( me : mutable;
295 AFather : CStructure from Graphic3d;
296 ASon : CStructure from Graphic3d )
298 ---Purpose: call_togl_disconnect
300 DisplayStructure ( me : mutable;
301 ACView : CView from Graphic3d;
302 ACStructure : CStructure from Graphic3d;
303 APriority : Integer from Standard )
305 ---Purpose: call_togl_displaystructure
307 EraseStructure ( me : mutable;
308 ACView : CView from Graphic3d;
309 ACStructure : CStructure from Graphic3d )
311 ---Purpose: call_togl_erasestructure
313 RemoveStructure ( me : mutable;
314 ACStructure : CStructure from Graphic3d )
316 ---Purpose: call_togl_removestructure
318 Structure ( me : mutable;
319 ACStructure : in out CStructure from Graphic3d )
321 ---Purpose: call_togl_structure
323 --------------------------------
324 -- Category: Exploration methods
325 --------------------------------
327 DumpGroup ( me : mutable;
328 ACGroup : CGroup from Graphic3d )
330 ---Purpose: call_togl_structure_exploration
332 DumpStructure ( me : mutable;
333 ACStructure : CStructure from Graphic3d )
335 ---Purpose: call_togl_structure_exploration
337 DumpView ( me : mutable;
338 ACView : CView from Graphic3d )
340 ---Purpose: call_togl_view_exploration
342 ElementExploration ( me : mutable;
343 ACStructure : CStructure from Graphic3d;
344 ElementNumber : Integer from Standard;
345 AVertex : out VertexNC from Graphic3d;
346 AVector : out Vector from Graphic3d )
347 returns Boolean from Standard
349 ---Purpose: call_togl_element_exploration
351 ElementType ( me : mutable;
352 ACStructure : CStructure from Graphic3d;
353 ElementNumber : Integer from Standard )
354 returns TypeOfPrimitive from Graphic3d
356 ---Purpose: call_togl_element_type
358 ------------------------------------
359 -- Category: Pick management methods
360 ------------------------------------
362 InitPick ( me : mutable )
364 ---Purpose: call_togl_init_pick
367 ACPick : out CPick from Graphic3d )
369 ---Purpose: call_togl_pick
371 PickId ( me : mutable;
372 ACGroup : CGroup from Graphic3d )
374 ---Purpose: call_togl_pickid
376 ------------------------------------
377 -- Category: Structured mode methods
378 ------------------------------------
380 ActivateView ( me : mutable;
381 ACView : CView from Graphic3d )
383 ---Purpose: call_togl_activateview
385 AntiAliasing ( me : mutable;
386 ACView : CView from Graphic3d;
387 AFlag : Boolean from Standard )
389 ---Purpose: call_togl_antialiasing
391 Background ( me : mutable;
392 ACView : CView from Graphic3d )
394 ---Purpose: call_togl_background
396 GradientBackground ( me : mutable;
397 ACView : CView from Graphic3d;
398 AColor1: Color from Quantity;
399 AColor2: Color from Quantity;
400 FillStyle : GradientFillMethod from Aspect
403 ---Purpose: call_togl_gradient_background
406 BackgroundImage( me : mutable;
407 FileName : CString from Standard;
408 ACView : CView from Graphic3d;
409 FillStyle : FillMethod from Aspect )
412 SetBgImageStyle( me : mutable;
413 ACView : CView from Graphic3d;
414 FillStyle : FillMethod from Aspect )
417 SetBgGradientStyle( me : mutable;
418 ACView : CView from Graphic3d;
419 FillStyle : GradientFillMethod from Aspect )
422 ClipLimit ( me : mutable;
423 ACView : CView from Graphic3d;
424 AWait : Boolean from Standard )
426 ---Purpose: call_togl_cliplimit
428 DeactivateView ( me : mutable;
429 ACView : CView from Graphic3d )
431 ---Purpose: call_togl_deactivateview
433 DepthCueing ( me : mutable;
434 ACView : CView from Graphic3d;
435 AFlag : Boolean from Standard )
437 ---Purpose: call_togl_cliplimit
439 ProjectRaster ( me : mutable;
440 ACView : CView from Graphic3d;
441 AX : ShortReal from Standard;
442 AY : ShortReal from Standard;
443 AZ : ShortReal from Standard;
444 AU : out Integer from Standard;
445 AV : out Integer from Standard )
446 returns Boolean from Standard
448 ---Purpose: call_togl_unproject_raster
450 UnProjectRaster ( me : mutable;
451 ACView : CView from Graphic3d;
452 Axm : Integer from Standard;
453 Aym : Integer from Standard;
454 AXM : Integer from Standard;
455 AYM : Integer from Standard;
456 AU : Integer from Standard;
457 AV : Integer from Standard;
458 AX : out ShortReal from Standard;
459 AY : out ShortReal from Standard;
460 AZ : out ShortReal from Standard )
461 returns Boolean from Standard
463 ---Purpose: call_togl_unproject_raster
465 UnProjectRasterWithRay ( me : mutable;
466 ACView : CView from Graphic3d;
467 Axm : Integer from Standard;
468 Aym : Integer from Standard;
469 AXM : Integer from Standard;
470 AYM : Integer from Standard;
471 AU : Integer from Standard;
472 AV : Integer from Standard;
473 AX : out ShortReal from Standard;
474 AY : out ShortReal from Standard;
475 AZ : out ShortReal from Standard;
476 DX : out ShortReal from Standard;
477 DY : out ShortReal from Standard;
478 DZ : out ShortReal from Standard )
479 returns Boolean from Standard
481 ---Purpose: call_togl_unproject_raster_with_ray
483 RatioWindow ( me : mutable;
484 ACView : CView from Graphic3d )
486 ---Purpose: call_togl_ratio_window
488 Redraw ( me : mutable;
489 ACView : CView from Graphic3d;
490 ACUnderLayer : CLayer2d from Aspect;
491 ACOverLayer : CLayer2d from Aspect;
495 height : Integer = 0 )
497 ---Purpose: call_togl_redraw
498 -- Warning: when the redraw area has a null size, the full view is redrawn
500 RemoveView ( me : mutable;
501 ACView : CView from Graphic3d )
503 ---Purpose: call_togl_removeview
505 SetLight ( me : mutable;
506 ACView : CView from Graphic3d )
508 ---Purpose: call_togl_setlight
510 SetPlane ( me : mutable;
511 ACView : CView from Graphic3d )
513 ---Purpose: call_togl_setplane
515 SetVisualisation ( me : mutable;
516 ACView : CView from Graphic3d )
518 ---Purpose: call_togl_setvisualisation
520 TransformStructure ( me : mutable;
521 ACStructure : CStructure from Graphic3d )
523 ---Purpose: call_togl_transformstructure
525 DegenerateStructure ( me : mutable;
526 ACStructure : CStructure from Graphic3d )
528 ---Purpose: call_togl_degeneratestructure
530 Transparency ( me : mutable;
531 ACView : CView from Graphic3d;
532 AFlag : Boolean from Standard )
534 ---Purpose: call_togl_transparency
536 Update ( me : mutable;
537 ACView : CView from Graphic3d;
538 ACUnderLayer : CLayer2d from Aspect;
539 ACOverLayer : CLayer2d from Aspect )
541 ---Purpose: call_togl_update
544 ACView : in out CView from Graphic3d )
545 returns Boolean from Standard
547 ---Purpose: call_togl_view
549 ViewMapping ( me : mutable;
550 ACView : CView from Graphic3d;
551 AWait : Boolean from Standard )
553 ---Purpose: call_togl_viewmapping
555 ViewOrientation ( me : mutable;
556 ACView : CView from Graphic3d;
557 AWait : Boolean from Standard )
559 ---Purpose: call_togl_vieworientation
561 Environment ( me : mutable;
562 ACView : CView from Graphic3d )
566 ----------------------------------------
567 -- Category: Methods to create Marker
568 -- for Purpose : see Graphic3d_Group.cdl
569 ----------------------------------------
571 Marker ( me : mutable;
572 ACGroup : CGroup from Graphic3d;
573 APoint : Vertex from Graphic3d;
574 EvalMinMax : Boolean from Standard = Standard_True )
577 MarkerSet ( me : mutable;
578 ACGroup : CGroup from Graphic3d;
579 ListVertex : Array1OfVertex from Graphic3d;
580 EvalMinMax : Boolean from Standard = Standard_True )
583 ----------------------------------------
584 -- Category: Methods to create Polygon
585 -- for Purpose : see Graphic3d_Group.cdl
586 ----------------------------------------
588 Polygon ( me : mutable;
589 ACGroup : CGroup from Graphic3d;
590 ListVertex : Array1OfVertex from Graphic3d;
591 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
592 EvalMinMax : Boolean from Standard = Standard_True )
594 ---Purpose: call_togl_polygon
596 Polygon ( me : mutable;
597 ACGroup : CGroup from Graphic3d;
598 ListVertex : Array1OfVertex from Graphic3d;
599 Normal : Vector from Graphic3d;
600 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
601 EvalMinMax : Boolean from Standard = Standard_True )
603 ---Purpose: call_togl_polygon
605 Polygon ( me : mutable;
606 ACGroup : CGroup from Graphic3d;
607 ListVertex : Array1OfVertexN from Graphic3d;
608 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
609 EvalMinMax : Boolean from Standard = Standard_True )
611 ---Purpose: call_togl_polygon
613 Polygon ( me : mutable;
614 ACGroup : CGroup from Graphic3d;
615 ListVertex : Array1OfVertexN from Graphic3d;
616 Normal : Vector from Graphic3d;
617 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
618 EvalMinMax : Boolean from Standard = Standard_True )
620 ---Purpose: call_togl_polygon
622 Polygon ( me : mutable;
623 ACGroup : CGroup from Graphic3d;
624 ListVertex : Array1OfVertexNT from Graphic3d;
625 AType : TypeOfPolygon from Graphic3d = Graphic3d_TOP_CONVEX;
626 EvalMinMax : Boolean from Standard = Standard_True )
628 ---Purpose: call_togl_polygon
630 PolygonHoles ( me : mutable;
631 ACGroup : CGroup from Graphic3d;
632 Bounds : Array1OfInteger from TColStd;
633 ListVertex : Array1OfVertex from Graphic3d;
634 EvalMinMax : Boolean from Standard = Standard_True )
636 ---Purpose: call_togl_polygon_holes
638 PolygonHoles ( me : mutable;
639 ACGroup : CGroup from Graphic3d;
640 Bounds : Array1OfInteger from TColStd;
641 ListVertex : Array1OfVertex from Graphic3d;
642 Normal : Vector from Graphic3d;
643 EvalMinMax : Boolean from Standard = Standard_True )
645 ---Purpose: call_togl_polygon_holes
647 PolygonHoles ( me : mutable;
648 ACGroup : CGroup from Graphic3d;
649 Bounds : Array1OfInteger from TColStd;
650 ListVertex : Array1OfVertexN from Graphic3d;
651 EvalMinMax : Boolean from Standard = Standard_True )
653 ---Purpose: call_togl_polygon_holes
655 PolygonHoles ( me : mutable;
656 ACGroup : CGroup from Graphic3d;
657 Bounds : Array1OfInteger from TColStd;
658 ListVertex : Array1OfVertexN from Graphic3d;
659 Normal : Vector from Graphic3d;
660 EvalMinMax : Boolean from Standard = Standard_True )
662 ---Purpose: call_togl_polygon_holes
664 ----------------------------------------
665 -- Category: Methods to create Polyline
666 -- for Purpose : see Graphic3d_Group.cdl
667 ----------------------------------------
669 Polyline ( me : mutable;
670 ACGroup : CGroup from Graphic3d;
671 X1, Y1, Z1, X2, Y2, Z2 : Real from Standard;
672 EvalMinMax : Boolean from Standard = Standard_True )
674 ---Purpose: call_togl_polyline
676 Polyline ( me : mutable;
677 ACGroup : CGroup from Graphic3d;
678 ListVertex : Array1OfVertex from Graphic3d;
679 EvalMinMax : Boolean from Standard = Standard_True )
681 ---Purpose: call_togl_polyline
683 Polyline ( me : mutable;
684 ACGroup : CGroup from Graphic3d;
685 ListVertex : Array1OfVertexC from Graphic3d;
686 EvalMinMax : Boolean from Standard = Standard_True )
688 ---Purpose: call_togl_polyline
690 -----------------------------------------
691 -- Category: Methods to create Quadrangle
692 -- for Purpose : see Graphic3d_Group.cdl
693 -----------------------------------------
695 QuadrangleMesh ( me : mutable;
696 ACGroup : CGroup from Graphic3d;
697 ListVertex : Array2OfVertex from Graphic3d;
698 EvalMinMax : Boolean from Standard = Standard_True )
700 ---Purpose: call_togl_quadrangle
702 QuadrangleMesh ( me : mutable;
703 ACGroup : CGroup from Graphic3d;
704 ListVertex : Array2OfVertexN from Graphic3d;
705 EvalMinMax : Boolean from Standard = Standard_True )
707 ---Purpose: call_togl_quadrangle
709 QuadrangleMesh ( me : mutable;
710 ACGroup : CGroup from Graphic3d;
711 ListVertex : Array2OfVertexNT from Graphic3d;
712 EvalMinMax : Boolean from Standard = Standard_True )
714 ---Purpose: call_togl_quadrangle
716 QuadrangleSet ( me : mutable;
717 ACGroup : CGroup from Graphic3d;
718 ListVertex : Array1OfVertex from Graphic3d;
719 ListEdge : Array1OfEdge from Aspect;
720 EvalMinMax : Boolean from Standard = Standard_True )
722 ---Purpose: call_togl_polygon_indices
724 QuadrangleSet ( me : mutable;
725 ACGroup : CGroup from Graphic3d;
726 ListVertex : Array1OfVertexN from Graphic3d;
727 ListEdge : Array1OfEdge from Aspect;
728 EvalMinMax : Boolean from Standard = Standard_True )
730 ---Purpose: call_togl_polygon_indices
732 QuadrangleSet ( me : mutable;
733 ACGroup : CGroup from Graphic3d;
734 ListVertex : Array1OfVertexNT from Graphic3d;
735 ListEdge : Array1OfEdge from Aspect;
736 EvalMinMax : Boolean from Standard = Standard_True )
738 ---Purpose: call_togl_polygon_indices
740 QuadrangleSet ( me : mutable;
741 ACGroup : CGroup from Graphic3d;
742 ListVertex : Array1OfVertexC from Graphic3d;
743 ListEdge : Array1OfEdge from Aspect;
744 EvalMinMax : Boolean from Standard = Standard_True )
746 ---Purpose: call_togl_polygon_indices
748 QuadrangleSet ( me : mutable;
749 ACGroup : CGroup from Graphic3d;
750 ListVertex : Array1OfVertexNC from Graphic3d;
751 ListEdge : Array1OfEdge from Aspect;
752 EvalMinMax : Boolean from Standard = Standard_True )
754 ---Purpose: call_togl_polygon_indices
756 ----------------------------------------
757 -- Category: Methods to create Text
758 -- for Purpose : see Graphic3d_Group.cdl
759 ----------------------------------------
762 ACGroup : CGroup from Graphic3d;
763 AText : CString from Standard;
764 APoint : Vertex from Graphic3d;
765 AHeight : Real from Standard;
766 AAngle : PlaneAngle from Quantity;
767 ATp : TextPath from Graphic3d;
768 AHta : HorizontalTextAlignment from Graphic3d;
769 AVta : VerticalTextAlignment from Graphic3d;
770 EvalMinMax : Boolean from Standard = Standard_True )
772 ---Purpose: call_togl_text
775 ACGroup : CGroup from Graphic3d;
776 AText : CString from Standard;
777 APoint : Vertex from Graphic3d;
778 AHeight : Real from Standard;
779 EvalMinMax : Boolean from Standard = Standard_True )
781 ---Purpose: call_togl_text
784 ACGroup : CGroup from Graphic3d;
785 AText : ExtendedString from TCollection;
786 APoint : Vertex from Graphic3d;
787 AHeight : Real from Standard;
788 AAngle : PlaneAngle from Quantity;
789 ATp : TextPath from Graphic3d;
790 AHta : HorizontalTextAlignment from Graphic3d;
791 AVta : VerticalTextAlignment from Graphic3d;
792 EvalMinMax : Boolean from Standard = Standard_True )
794 ---Purpose: call_togl_text
797 ACGroup : CGroup from Graphic3d;
798 AText : ExtendedString from TCollection;
799 APoint : Vertex from Graphic3d;
800 AHeight : Real from Standard;
801 EvalMinMax : Boolean from Standard = Standard_True )
803 ---Purpose: call_togl_text
805 ----------------------------------------
806 ---Category: Methods to create Triangle
807 -- for Purpose : see Graphic3d_Group.cdl
808 ----------------------------------------
810 TriangleMesh ( me : mutable;
811 ACGroup : CGroup from Graphic3d;
812 ListVertex : Array1OfVertex from Graphic3d;
813 EvalMinMax : Boolean from Standard = Standard_True )
815 ---Purpose: call_togl_triangle
817 TriangleMesh ( me : mutable;
818 ACGroup : CGroup from Graphic3d;
819 ListVertex : Array1OfVertexN from Graphic3d;
820 EvalMinMax : Boolean from Standard = Standard_True )
822 ---Purpose: call_togl_triangle
824 TriangleMesh ( me : mutable;
825 ACGroup : CGroup from Graphic3d;
826 ListVertex : Array1OfVertexNT from Graphic3d;
827 EvalMinMax : Boolean from Standard = Standard_True )
829 ---Purpose: call_togl_triangle
831 TriangleSet ( me : mutable;
832 ACGroup : CGroup from Graphic3d;
833 ListVertex : Array1OfVertex from Graphic3d;
834 ListEdge : Array1OfEdge from Aspect;
835 EvalMinMax : Boolean from Standard = Standard_True )
837 ---Purpose: call_togl_polygon_indices
839 TriangleSet ( me : mutable;
840 ACGroup : CGroup from Graphic3d;
841 ListVertex : Array1OfVertexN from Graphic3d;
842 ListEdge : Array1OfEdge from Aspect;
843 EvalMinMax : Boolean from Standard = Standard_True )
845 ---Purpose: call_togl_polygon_indices
847 TriangleSet ( me : mutable;
848 ACGroup : CGroup from Graphic3d;
849 ListVertex : Array1OfVertexNT from Graphic3d;
850 ListEdge : Array1OfEdge from Aspect;
851 EvalMinMax : Boolean from Standard = Standard_True )
853 ---Purpose: call_togl_polygon_indices
855 TriangleSet ( me : mutable;
856 ACGroup : CGroup from Graphic3d;
857 ListVertex : Array1OfVertexC from Graphic3d;
858 ListEdge : Array1OfEdge from Aspect;
859 EvalMinMax : Boolean from Standard = Standard_True )
861 ---Purpose: call_togl_polygon_indices
863 TriangleSet ( me : mutable;
864 ACGroup : CGroup from Graphic3d;
865 ListVertex : Array1OfVertexNC from Graphic3d;
866 ListEdge : Array1OfEdge from Aspect;
867 EvalMinMax : Boolean from Standard = Standard_True )
869 ---Purpose: call_togl_polygon_indices
871 PrimitiveArray( me : mutable;
872 ACGroup : CGroup from Graphic3d;
873 parray : PrimitiveArray from Graphic3d;
874 EvalMinMax : Boolean from Standard = Standard_True )
876 ---Purpose: call_togl_parray
878 UserDraw( me : mutable;
879 ACGroup : CGroup from Graphic3d;
880 AUserDraw : CUserDraw from Graphic3d )
882 ---Purpose: call_togl_userdraw
884 EnableVBO( me : mutable;
885 status : Boolean from Standard )
887 ---Purpose: enables/disables usage of OpenGL vertex buffer arrays while drawing primitiev arrays
889 ----------------------------------------
890 ---Category: Methods to create Triedron
891 -- for Purpose : see Graphic3d_Group.cdl
892 ----------------------------------------
894 ZBufferTriedronSetup ( me : mutable;
895 XColor : NameOfColor from Quantity = Quantity_NOC_RED;
896 YColor : NameOfColor from Quantity = Quantity_NOC_GREEN;
897 ZColor : NameOfColor from Quantity = Quantity_NOC_BLUE1;
898 SizeRatio : Real from Standard = 0.8;
899 AxisDiametr : Real from Standard = 0.05;
900 NbFacettes : Integer from Standard = 12)
902 ---Purpose: call_togl_ztriedron_setup
904 TriedronDisplay ( me : mutable;
905 ACView : CView from Graphic3d;
906 APosition : TypeOfTriedronPosition from Aspect = Aspect_TOTP_CENTER;
907 AColor : NameOfColor from Quantity = Quantity_NOC_WHITE ;
908 AScale : Real from Standard = 0.02;
909 AsWireframe : Boolean from Standard = Standard_True )
911 ---Purpose: call_togl_triedron_display
914 TriedronErase ( me : mutable;
915 ACView : CView from Graphic3d)
917 ---Purpose: call_togl_triedron_erase
920 TriedronEcho ( me : mutable;
921 ACView : CView from Graphic3d;
922 AType : TypeOfTriedronEcho from Aspect = Aspect_TOTE_NONE )
924 ---Purpose: call_togl_triedron_echo
926 ---------------------------------
927 ---Category: Graduated trihedron
928 ---------------------------------
930 GetGraduatedTrihedron(me;
931 view : CView from Graphic3d;
933 xname : out CString from Standard;
934 yname : out CString from Standard;
935 zname : out CString from Standard;
937 xdrawname : out Boolean from Standard;
938 ydrawname : out Boolean from Standard;
939 zdrawname : out Boolean from Standard;
941 xdrawvalues : out Boolean from Standard;
942 ydrawvalues : out Boolean from Standard;
943 zdrawvalues : out Boolean from Standard;
945 drawgrid : out Boolean from Standard;
947 drawaxes : out Boolean from Standard;
948 -- Number of splits along axes --
949 nbx : out Integer from Standard;
950 nby : out Integer from Standard;
951 nbz : out Integer from Standard;
952 -- Offset for drawing values --
953 xoffset : out Integer from Standard;
954 yoffset : out Integer from Standard;
955 zoffset : out Integer from Standard;
956 -- Offset for drawing names of axes --
957 xaxisoffset : out Integer from Standard;
958 yaxisoffset : out Integer from Standard;
959 zaxisoffset : out Integer from Standard;
961 xdrawtickmarks : out Boolean from Standard;
962 ydrawtickmarks : out Boolean from Standard;
963 zdrawtickmarks : out Boolean from Standard;
964 -- Length of tickmarks --
965 xtickmarklength : out Integer from Standard;
966 ytickmarklength : out Integer from Standard;
967 ztickmarklength : out Integer from Standard;
969 gridcolor : out Color from Quantity;
971 xnamecolor : out Color from Quantity;
973 ynamecolor : out Color from Quantity;
975 znamecolor : out Color from Quantity;
976 -- X color of axis and values --
977 xcolor : out Color from Quantity;
978 -- Y color of axis and values --
979 ycolor : out Color from Quantity;
980 -- Z color of axis and values --
981 zcolor : out Color from Quantity;
982 -- Name of font for names of axes --
983 fontOfNames : out CString from Standard;
984 -- Style of names of axes --
985 styleOfNames : out FontAspect from OSD;
986 -- Size of names of axes --
987 sizeOfNames : out Integer from Standard;
988 -- Name of font for values --
989 fontOfValues : out CString from Standard;
990 -- Style of values --
991 styleOfValues : out FontAspect from OSD;
993 sizeOfValues : out Integer from Standard)
994 ---Purpose: call_togl_graduatedtrihedron_get
997 GraduatedTrihedronDisplay(me : mutable;
998 view : CView from Graphic3d;
999 cubic : in out CGraduatedTrihedron from Graphic3d;
1001 xname : CString from Standard;
1002 yname : CString from Standard;
1003 zname : CString from Standard;
1005 xdrawname : Boolean from Standard;
1006 ydrawname : Boolean from Standard;
1007 zdrawname : Boolean from Standard;
1009 xdrawvalues : Boolean from Standard;
1010 ydrawvalues : Boolean from Standard;
1011 zdrawvalues : Boolean from Standard;
1013 drawgrid : Boolean from Standard;
1015 drawaxes : Boolean from Standard;
1016 -- Number of splits along axes --
1017 nbx : Integer from Standard;
1018 nby : Integer from Standard;
1019 nbz : Integer from Standard;
1020 -- Offset for drawing values --
1021 xoffset : Integer from Standard;
1022 yoffset : Integer from Standard;
1023 zoffset : Integer from Standard;
1024 -- Offset for drawing names of axes --
1025 xaxisoffset : Integer from Standard;
1026 yaxisoffset : Integer from Standard;
1027 zaxisoffset : Integer from Standard;
1028 -- Draw tickmarks --
1029 xdrawtickmarks : Boolean from Standard;
1030 ydrawtickmarks : Boolean from Standard;
1031 zdrawtickmarks : Boolean from Standard;
1032 -- Length of tickmarks --
1033 xtickmarklength : Integer from Standard;
1034 ytickmarklength : Integer from Standard;
1035 ztickmarklength : Integer from Standard;
1037 gridcolor : Color from Quantity;
1039 xnamecolor : Color from Quantity;
1041 ynamecolor : Color from Quantity;
1043 znamecolor : Color from Quantity;
1044 -- X color of axis and values --
1045 xcolor : Color from Quantity;
1046 -- Y color of axis and values --
1047 ycolor : Color from Quantity;
1048 -- Z color of axis and values --
1049 zcolor : Color from Quantity;
1050 -- Name of font for names of axes --
1051 fontOfNames : CString from Standard;
1052 -- Style of names of axes --
1053 styleOfNames : FontAspect from OSD;
1054 -- Size of names of axes --
1055 sizeOfNames : Integer from Standard;
1056 -- Name of font for values --
1057 fontOfValues : CString from Standard;
1058 -- Style of values --
1059 styleOfValues : FontAspect from OSD;
1060 -- Size of values --
1061 sizeOfValues : Integer from Standard)
1062 ---Purpose: call_togl_graduatedtrihedron_display
1065 GraduatedTrihedronErase(me : mutable;
1066 view : CView from Graphic3d)
1067 ---Purpose: call_togl_graduatedtrihedron_erase
1070 GraduatedTrihedronMinMaxValues(me : mutable;
1071 xmin : ShortReal from Standard;
1072 ymin : ShortReal from Standard;
1073 zmin : ShortReal from Standard;
1074 xmax : ShortReal from Standard;
1075 ymax : ShortReal from Standard;
1076 zmax : ShortReal from Standard)
1077 ---Purpose: call_togl_graduatedtrihedron_minmaxvalues
1080 ----------------------------------------
1081 -- Category: Internal methods
1082 -- for Purpose : see Graphic3d_Group.cdl
1083 ----------------------------------------
1085 Bezier ( me : mutable;
1086 ACGroup : CGroup from Graphic3d;
1087 ListVertex : Array1OfVertex from Graphic3d;
1088 EvalMinMax : Boolean from Standard = Standard_True )
1090 ---Purpose: call_togl_bezier
1092 Bezier ( me : mutable;
1093 ACGroup : CGroup from Graphic3d;
1094 ListVertex : Array1OfVertex from Graphic3d;
1095 ListWeight : Array1OfReal from TColStd;
1096 EvalMinMax : Boolean from Standard = Standard_True )
1098 ---Purpose: call_togl_bezier_weight
1100 ---------------------------
1101 -- Category: Animation mode
1102 ---------------------------
1104 BeginAnimation ( me : mutable;
1105 ACView : CView from Graphic3d)
1107 ---Purpose: call_togl_begin_animation
1109 EndAnimation ( me : mutable;
1110 ACView : CView from Graphic3d)
1112 ---Purpose: call_togl_end_animation
1114 ----------------------------------
1115 -- Category: Ajout mode methods
1116 ----------------------------------
1118 BeginAddMode ( me : mutable;
1119 ACView : CView from Graphic3d)
1120 returns Boolean from Standard
1122 ---Purpose: call_togl_begin_ajout_mode
1124 EndAddMode ( me : mutable)
1126 ---Purpose: call_togl_end_ajout_mode
1128 ----------------------------------
1129 -- Category: Immediat mode methods
1130 ----------------------------------
1132 BeginImmediatMode ( me : mutable;
1133 ACView : CView from Graphic3d;
1134 ACUnderLayer : CLayer2d from Aspect;
1135 ACOverLayer : CLayer2d from Aspect;
1136 DoubleBuffer : Boolean from Standard;
1137 RetainMode : Boolean from Standard)
1138 returns Boolean from Standard
1140 ---Purpose: call_togl_begin_immediat_mode
1142 BeginPolyline ( me : mutable )
1144 ---Purpose: call_togl_begin_polyline
1146 ClearImmediatMode ( me : mutable; ACView : CView from Graphic3d;
1147 aFlush : Boolean from Standard = Standard_True)
1149 ---Purpose: call_togl_clear_immediat_mode
1151 Draw ( me : mutable;
1152 X : ShortReal from Standard;
1153 Y : ShortReal from Standard;
1154 Z : ShortReal from Standard )
1156 ---Purpose: call_togl_draw
1158 DrawStructure ( me : mutable;
1159 ACStructure : CStructure from Graphic3d )
1161 ---Purpose: call_togl_draw_structure
1163 EndImmediatMode ( me : mutable;
1164 Synchronize : Integer from Standard )
1166 ---Purpose: call_togl_end_immediat_mode
1168 EndPolyline ( me : mutable )
1170 ---Purpose: call_togl_end_polyline
1172 Move ( me : mutable;
1173 X : ShortReal from Standard;
1174 Y : ShortReal from Standard;
1175 Z : ShortReal from Standard )
1177 ---Purpose: call_togl_move
1179 SetLineColor ( me : mutable;
1180 R : ShortReal from Standard;
1181 G : ShortReal from Standard;
1182 B : ShortReal from Standard )
1184 ---Purpose: call_togl_set_linecolor
1186 SetLineType ( me : mutable;
1187 Type : Integer from Standard )
1189 ---Purpose: call_togl_set_linetype
1191 SetLineWidth ( me : mutable;
1192 Width : ShortReal from Standard )
1194 ---Purpose: call_togl_set_linewidth
1196 SetMinMax ( me : mutable;
1197 X1 : ShortReal from Standard;
1198 Y1 : ShortReal from Standard;
1199 Z1 : ShortReal from Standard;
1200 X2 : ShortReal from Standard;
1201 Y2 : ShortReal from Standard;
1202 Z2 : ShortReal from Standard )
1204 ---Purpose: call_togl_set_minmax
1206 Transform ( me : mutable;
1207 AMatrix : Array2OfReal from TColStd;
1208 AType : TypeOfComposition from Graphic3d )
1210 ---Purpose: call_togl_transform
1212 -----------------------------
1213 -- Category: Textures methods
1214 -----------------------------
1217 Type : TypeOfTexture from Graphic3d;
1218 Image : AlienImage from AlienImage;
1219 FileName : CString from Standard;
1220 TexUpperBounds : HArray1OfReal from TColStd )
1221 returns Integer from Standard
1225 DestroyTexture ( me;
1226 TexId : Integer from Standard )
1231 TexId : Integer from Standard;
1232 AValue : CInitTexture from Graphic3d )
1236 -------------------------------
1237 -- Category: Layer mode methods
1238 -------------------------------
1240 Layer ( me : mutable;
1241 ACLayer : in out CLayer2d from Aspect )
1243 ---Purpose: call_togl_layer2d
1245 RemoveLayer ( me : mutable;
1246 ACLayer : CLayer2d from Aspect )
1248 ---Purpose: call_togl_removelayer2d
1250 BeginLayer ( me : mutable;
1251 ACLayer : CLayer2d from Aspect )
1253 ---Purpose: call_togl_begin_layer2d
1255 BeginPolygon2d ( me : mutable )
1257 ---Purpose: call_togl_begin_polygon2d
1259 BeginPolyline2d ( me : mutable )
1261 ---Purpose: call_togl_begin_polyline2d
1263 ClearLayer ( me : mutable;
1264 ACLayer : CLayer2d from Aspect )
1266 ---Purpose: call_togl_clear_layer2d
1268 Draw ( me : mutable;
1269 X : ShortReal from Standard;
1270 Y : ShortReal from Standard )
1272 ---Purpose: call_togl_draw2d
1274 Edge ( me : mutable;
1275 X : ShortReal from Standard;
1276 Y : ShortReal from Standard )
1278 ---Purpose: call_togl_edge2d
1280 EndLayer ( me : mutable )
1282 ---Purpose: call_togl_end_layer2d
1284 EndPolygon2d ( me : mutable )
1286 ---Purpose: call_togl_end_polygon2d
1288 EndPolyline2d ( me : mutable )
1290 ---Purpose: call_togl_end_polyline2d
1292 Move ( me : mutable;
1293 X : ShortReal from Standard;
1294 Y : ShortReal from Standard )
1296 ---Purpose: call_togl_move2d
1298 Rectangle ( me : mutable;
1299 X, Y : ShortReal from Standard;
1300 Width, Height : ShortReal from Standard )
1302 ---Purpose: call_togl_rectangle2d
1304 SetColor ( me : mutable;
1305 R : ShortReal from Standard;
1306 G : ShortReal from Standard;
1307 B : ShortReal from Standard )
1309 ---Purpose: call_togl_set_color
1311 SetTransparency ( me : mutable;
1312 ATransparency : ShortReal from Standard )
1314 ---Purpose: call_togl_set_transparency
1316 UnsetTransparency ( me : mutable )
1318 ---Purpose: call_togl_unset_transparency
1320 SetLineAttributes ( me : mutable;
1321 Type : Integer from Standard;
1322 Width : ShortReal from Standard )
1324 ---Purpose: call_togl_set_line_attributes
1327 SetTextAttributes ( me : mutable;
1328 Font : CString from Standard;
1329 Type : Integer from Standard;
1330 R : ShortReal from Standard;
1331 G : ShortReal from Standard;
1332 B : ShortReal from Standard )
1334 ---Purpose: call_togl_set_text_attributes
1336 Text ( me : mutable;
1337 AText : CString from Standard;
1338 X, Y : ShortReal from Standard;
1339 AHeight : ShortReal from Standard )
1341 ---Purpose: call_togl_text2d
1342 -- If AHeight < 0 default text height is used by driver (DefaultTextHeight method)
1344 DefaultTextHeight( me )
1345 returns ShortReal from Standard
1350 AText : CString from Standard;
1351 AHeight : ShortReal from Standard;
1352 AWidth : in out ShortReal from Standard;
1353 AnAscent : in out ShortReal from Standard;
1354 ADescent : in out ShortReal from Standard )
1356 ---Purpose: call_togl_textsize2d
1358 SetBackFacingModel ( me : mutable;
1359 aView : CView from Graphic3d )
1361 ---Purpose: call_togl_backfacing
1363 SetDepthTestEnabled( me; view : CView from Graphic3d;
1364 isEnabled : Boolean from Standard )
1366 ---Purpose: call_togl_depthtest
1368 IsDepthTestEnabled( me; view : CView from Graphic3d )
1369 returns Boolean from Standard is deferred;
1370 ---Purpose: call_togl_isdepthtest
1373 view : CView from Graphic3d;
1375 width, height : Integer;
1378 ---Purpose: Reads depths of shown pixels of the given
1379 -- rectangle (glReadPixels with GL_DEPTH_COMPONENT)
1381 FBOCreate( me : mutable;
1382 view : CView from Graphic3d;
1383 width, height : Integer from Standard )
1384 returns PtrFrameBuffer from Graphic3d
1386 ---Purpose: Generate offscreen FBO in the graphic library.
1387 -- If not supported on hardware returns NULL.
1389 FBORelease( me : mutable;
1390 view : CView from Graphic3d;
1391 fboPtr : in out PtrFrameBuffer from Graphic3d )
1393 ---Purpose: Remove offscreen FBO from the graphic library
1395 FBOGetDimensions( me : mutable;
1396 view : CView from Graphic3d;
1397 fboPtr : PtrFrameBuffer from Graphic3d;
1398 width, height : out Integer from Standard;
1399 widthMax, heightMax : out Integer from Standard )
1401 ---Purpose: Read offscreen FBO configuration.
1403 FBOChangeViewport( me : mutable;
1404 view : CView from Graphic3d;
1405 fboPtr : in out PtrFrameBuffer from Graphic3d;
1406 width, height : Integer from Standard )
1408 ---Purpose: Change offscreen FBO viewport.
1410 BufferDump( me : mutable;
1411 view : CView from Graphic3d;
1412 buffer : in out CRawBufferData from Image )
1413 returns Boolean from Standard
1415 ---Purpose: Dump active rendering buffer into specified memory buffer.
1417 SetGLLightEnabled( me; view : CView from Graphic3d;
1418 isEnabled : Boolean from Standard )
1420 ---Purpose: call_togl_gllight
1422 IsGLLightEnabled( me; view : CView from Graphic3d )
1423 returns Boolean from Standard is deferred;
1424 ---Purpose: call_togl_isgllight
1427 ACView : CView from Graphic3d;
1428 ACUnderLayer : CLayer2d from Aspect;
1429 ACOverLayer : CLayer2d from Aspect;
1430 hPrnDC : Handle from Aspect;
1431 showBackground : Boolean;
1435 ---Purpose: print the contents of all layers of the view to the printer.
1436 -- <hPrnDC> : Pass the PrinterDeviceContext (HDC),
1437 -- <showBackground> : When set to FALSE then print the view without background color
1438 -- (background is white)
1439 -- else set to TRUE for printing with current background color.
1440 -- <filename>: If != NULL, then the view will be printed to a file.
1441 ---Warning: Works only under Windows.
1444 Export( me: mutable;
1445 FileName : CString from Standard;
1446 Format : ExportFormat from Graphic3d;
1447 SortType : SortType from Graphic3d;
1448 W, H : Integer from Standard;
1449 View : CView from Graphic3d;
1450 Under, Over : CLayer2d from Aspect;
1451 Precision : Real from Standard = 0.005;
1452 ProgressBarFunc : Address from Standard = NULL;
1453 ProgressObject : Address from Standard = NULL ) is deferred;
1455 --------------------------
1456 -- Category: Class methods
1457 --------------------------
1460 ACLight : CLight from Graphic3d;
1461 Update : Boolean from Standard )
1462 returns Integer from Standard;
1463 ---Purpose: call_togl_light
1466 ACPlane : CPlane from Graphic3d;
1467 Update : Boolean from Standard )
1468 returns Integer from Standard;
1469 ---Purpose: call_togl_plane
1471 -----------------------------
1472 -- Category: Internal methods
1473 -----------------------------
1476 AComment : CString from Standard;
1477 AValue : Boolean from Standard );
1480 ACGroup : CGroup from Graphic3d;
1481 AField : Integer from Standard );
1484 ACLight : CLight from Graphic3d;
1485 AField : Integer from Standard );
1488 ACPick : CPick from Graphic3d;
1489 AField : Integer from Standard );
1492 ACPlane : CPlane from Graphic3d;
1493 AField : Integer from Standard );
1495 PrintCStructure ( me;
1496 ACStructure : CStructure from Graphic3d;
1497 AField : Integer from Standard );
1500 ACView : CView from Graphic3d;
1501 AField : Integer from Standard );
1504 AFunc : CString from Standard );
1507 AComment : CString from Standard;
1508 AValue : Integer from Standard );
1511 AFunc : CString from Standard;
1512 AResult : Integer from Standard );
1514 PrintShortReal ( me;
1515 AComment : CString from Standard;
1516 AValue : ShortReal from Standard );
1519 AComment : CString from Standard;
1520 AMatrix : Array2OfReal from TColStd )
1521 raises TransformError from Graphic3d;
1524 AComment : CString from Standard;
1525 AString : CString from Standard );
1527 SetTrace ( me : mutable;
1528 ALevel : Integer from Standard )
1532 returns Integer from Standard
1535 --ListOfAvalableFontNames( me;
1536 -- lst: out NListOfHAsciiString from Graphic3d )
1537 -- returns Boolean from Standard
1539 -- Purpose: Initialize list of names of avalable system fonts
1540 -- returns Standard_False if fails
1541 -- ABD Integration support of system fonts (using FTGL and FreeType)
1545 MyTraceLevel : Integer from Standard is protected;
1546 MySharedLibrary : SharedLibrary from OSD is protected;
1548 end GraphicDriver from Graphic3d;