1 -- Created on: 1993-10-21
2 -- Created by: Jean-Louis FRENKEL
3 -- Copyright (c) 1993-1999 Matra Datavision
4 -- Copyright (c) 1999-2012 OPEN CASCADE SAS
6 -- The content of this file is subject to the Open CASCADE Technology Public
7 -- License Version 6.5 (the "License"). You may not use the content of this file
8 -- except in compliance with the License. Please obtain a copy of the License
9 -- at http://www.opencascade.org and read it completely before using this file.
11 -- The Initial Developer of the Original Code is Open CASCADE S.A.S., having its
12 -- main offices at: 1, place des Freres Montgolfier, 78280 Guyancourt, France.
14 -- The Original Code and all software distributed under the License is
15 -- distributed on an "AS IS" basis, without warranty of any kind, and the
16 -- Initial Developer hereby disclaims all such warranties, including without
17 -- limitation, any warranties of merchantability, fitness for a particular
18 -- purpose or non-infringement. Please see the License for the specific terms
19 -- and conditions governing the rights and limitations under the License.
21 -- Modified by rob 09-oct-96
25 class Presentation3d from PrsMgr inherits Presentation from PrsMgr
28 PresentationManager3d from PrsMgr,
29 Presentation from Prs3d,
30 NameOfColor from Quantity,
31 Transformation from Geom,
33 ShadingAspect from Prs3d,
34 TypeOfPresentation3d from PrsMgr,
35 DataStructureManager from Graphic3d,
36 Structure from Graphic3d,
37 PresentableObjectPointer from PrsMgr,PresentableObject from PrsMgr,
42 Create(aPresentationManager: PresentationManager3d from PrsMgr;
43 aPresentableObject: PresentableObject from PrsMgr)
44 returns mutable Presentation3d from PrsMgr
47 KindOfPresentation(me) returns KindOfPrs from PrsMgr is redefined static;
49 Destroy(me: mutable) is redefined;
51 ---Purpose: Destructor
55 is redefined static private;
57 Erase(me) is redefined static private;
59 Highlight(me: mutable) is redefined static private;
61 Unhighlight (me) is redefined static private;
63 IsDisplayed (me) returns Boolean from Standard
64 is redefined static private;
66 IsHighlighted (me) returns Boolean from Standard
67 is redefined static private;
70 DisplayPriority(me) returns Integer from Standard
71 is redefined static private;
73 SetDisplayPriority(me:mutable;aNewPrior:Integer from Standard)
74 is redefined static private;
76 SetZLayer ( me : mutable;
77 theLayerId : Integer from Standard )
78 is redefined static private;
79 ---Purpose: Set Z layer ID for the presentation
82 returns Integer from Standard is redefined static private;
83 ---Purpose: Get Z layer ID for the presentation
86 ---Purpose: removes the whole content of the presentation.
87 -- Does not remove the other connected presentations.
89 is redefined static private;
92 Color(me:mutable; aColor: NameOfColor from Quantity)
98 ---Category: references to other presentation.
100 Connect(me; anOtherPresentation: Presentation3d from PrsMgr)
103 ---Category: Transformation methods.
105 Transform (me; aTransformation: Transformation from Geom)
108 Place (me; X,Y,Z: Length from Quantity)
111 Multiply (me; aTransformation: Transformation from Geom)
114 Move (me; X,Y,Z: Length from Quantity)
117 ---Category: Global Aspect methods
120 aShadingAspect: ShadingAspect from Prs3d)
123 Presentation (me) returns mutable Presentation from Prs3d
127 ---Category: Computed Structures
129 Compute(me : mutable; aProjector: DataStructureManager from Graphic3d)
130 returns Structure from Graphic3d
133 Compute(me : mutable;
134 aProjector : DataStructureManager from Graphic3d;
135 TheTrsf : Transformation from Geom)
136 returns Structure from Graphic3d
139 Compute(me : mutable;
140 aProjector : DataStructureManager from Graphic3d;
141 aGivenStruct : Structure from Graphic3d)
144 Compute(me : mutable;
145 aProjector : DataStructureManager from Graphic3d;
146 TheTrsf : Transformation from Geom;
147 aGivenStruct : Structure from Graphic3d)
152 Projector(myclass; aProjector: DataStructureManager from Graphic3d)
153 returns Projector from Prs3d
158 myStructure: Prs from PrsMgr;
159 myDisplayReason: Boolean from Standard;
160 myPresentableObject: PresentableObjectPointer from PrsMgr;
162 class PresentationManager3d from PrsMgr,
163 class PresentableObject from PrsMgr,
164 class Prs from PrsMgr
165 end Presentation3d from PrsMgr;