55491dac79d8b2a6aea10a9a9032876e071a84f3
[occt.git] / src / PrsMgr / PrsMgr_Presentation3d.cdl
1 -- File:        P3rsMgr_Presentation3d.cdl
2 -- Created:     Thu Oct 21 13:09:32 1993
3 -- Author:      Jean-Louis FRENKEL
4 --              <jlf@stylox>
5 -- Modified by  rob 09-oct-96
6 ---Copyright:    Matra Datavision 1993
7
8
9
10 class Presentation3d from PrsMgr inherits Presentation from PrsMgr
11
12 uses
13     PresentationManager3d from PrsMgr,
14     Presentation from Prs3d,
15     NameOfColor from Quantity,
16     Transformation from Geom,
17     Length from Quantity,
18     ShadingAspect from Prs3d,
19     TypeOfPresentation3d from PrsMgr,
20     DataStructureManager from Graphic3d,
21     Structure from Graphic3d,
22     PresentableObjectPointer from PrsMgr,PresentableObject from PrsMgr,
23     Prs from PrsMgr,
24     Projector from Prs3d,
25     KindOfPrs from PrsMgr
26 is
27     Create(aPresentationManager: PresentationManager3d from PrsMgr;
28            aPresentableObject: PresentableObject from PrsMgr)
29     returns mutable Presentation3d  from  PrsMgr
30     is private;
31
32     KindOfPresentation(me) returns KindOfPrs from PrsMgr is redefined static;
33
34     Destroy(me: mutable) is redefined;
35     ---Level: Public
36     ---Purpose: Destructor
37     ---C++:     alias ~
38
39     Display(me: mutable) 
40     is redefined static private;
41     
42     Erase(me) is redefined static private;
43     
44     Highlight(me: mutable) is redefined static private;
45     
46     Unhighlight (me) is redefined static private;
47     
48     IsDisplayed (me) returns Boolean from Standard
49     is redefined static private;
50
51     IsHighlighted (me) returns Boolean from Standard
52     is redefined static private;
53
54
55     DisplayPriority(me) returns Integer from Standard
56     is redefined static private;
57     
58     SetDisplayPriority(me:mutable;aNewPrior:Integer from Standard)
59     is redefined static private;
60
61     Clear(me:mutable)
62     ---Purpose: removes the whole content of the presentation.
63     --          Does not remove the other connected presentations.
64     --          
65     is redefined static private;
66
67
68     Color(me:mutable; aColor: NameOfColor from Quantity)
69     is static private;
70     
71     BoundBox(me)
72     is static private;
73     
74 ---Category: references to other presentation.
75
76     Connect(me; anOtherPresentation: Presentation3d from PrsMgr)
77     is static private;
78     
79 ---Category: Transformation methods.
80
81     Transform (me; aTransformation: Transformation from Geom)
82     is static private;
83
84     Place (me; X,Y,Z: Length from Quantity)
85     is static private;
86
87     Multiply (me; aTransformation: Transformation from Geom)
88     is static private;
89
90     Move (me; X,Y,Z: Length from Quantity)
91     is static private;
92         
93  ---Category: Global Aspect methods
94
95     SetShadingAspect(me;
96                      aShadingAspect: ShadingAspect from Prs3d)
97     is static private;
98
99     Presentation (me) returns mutable Presentation from Prs3d
100     is static;
101
102
103             ---Category:  Computed Structures
104
105     Compute(me : mutable; aProjector: DataStructureManager from Graphic3d)
106     returns Structure from Graphic3d
107     is static private;
108
109     Compute(me           : mutable; 
110             aProjector   : DataStructureManager from Graphic3d;
111             TheTrsf      : Transformation from Geom)
112     returns Structure from Graphic3d
113     is static private;
114
115     Compute(me           :  mutable; 
116             aProjector   :  DataStructureManager from Graphic3d;
117             aGivenStruct :  Structure from Graphic3d)
118     is static private;
119
120     Compute(me           : mutable; 
121             aProjector   : DataStructureManager from Graphic3d;
122             TheTrsf      : Transformation from Geom;
123             aGivenStruct : Structure from Graphic3d)
124     is static private;
125
126
127
128     Projector(myclass; aProjector: DataStructureManager from Graphic3d)
129     returns Projector from Prs3d
130     is private;
131     
132 fields
133
134     myStructure: Prs from PrsMgr;
135     myDisplayReason: Boolean from Standard;
136     myPresentableObject: PresentableObjectPointer from PrsMgr;
137 friends 
138     class PresentationManager3d from PrsMgr,
139     class PresentableObject from PrsMgr,
140     class Prs from PrsMgr
141 end Presentation3d from PrsMgr;