0022819: Redesign of OpenGl driver
[occt.git] / src / QAOCC / QAOCC_OCC749Prs.cdl
1 -- File:        QAOCC_OCC749Prs.cdl
2 -- Created:     Fri Sep 20 16:32:13 2002
3 -- Author:      Michael KUZMITCHEV
4 --              <mkv@russox>
5 ---Copyright:    Matra Datavision 2002
6
7 class OCC749Prs from QAOCC inherits InteractiveObject from AIS
8
9 uses
10     PresentationManager3d from PrsMgr,
11     Presentation          from Prs3d,
12     Selection             from SelectMgr,
13     Color                 from Quantity
14     
15 is
16     Create( reflection : Boolean from Standard;
17             color      : Color from Quantity;
18             color1      : Color from Quantity )
19      returns mutable OCC749Prs from QAOCC;
20
21     Compute(me                   : mutable;
22             aPresentationManager : PresentationManager3d from PrsMgr;
23             aPresentation        : mutable Presentation from Prs3d;
24             aMode                : Integer from Standard = 0) 
25     is redefined virtual protected;
26
27     ComputeSelection(me          : mutable;
28                      aSelection  : mutable Selection from SelectMgr;
29                      aMode       : Integer from Standard)
30     is redefined virtual protected; 
31
32     SetReflection( me : mutable; reflection : Boolean from Standard );
33     
34     SetColor( me : mutable; color  : Color from Quantity;
35                             color1 : Color from Quantity );
36
37 fields
38     myReflection   : Boolean from Standard;
39     myColor1       : Color from Quantity;
40     myColor2       : Color from Quantity;
41 end OCC749Prs;