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