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;
58 theIsHighlight: Boolean from Standard)
61 ---Purpose: displays myStructure and sets myDisplayReason to theIsHighlight value if
62 -- myStructure was not displayed or was invisible
64 Erase(me) is redefined static private;
66 SetVisible (me: mutable; theValue: Boolean from Standard) is redefined static private;
68 Highlight(me: mutable) is redefined static private;
70 Unhighlight (me) is redefined static private;
72 IsDisplayed (me) returns Boolean from Standard
73 is redefined static private;
75 IsHighlighted (me) returns Boolean from Standard
76 is redefined static private;
79 DisplayPriority(me) returns Integer from Standard
80 is redefined static private;
82 SetDisplayPriority(me:mutable;aNewPrior:Integer from Standard)
83 is redefined static private;
85 SetZLayer ( me : mutable;
86 theLayerId : Integer from Standard )
87 is redefined static private;
88 ---Purpose: Set Z layer ID for the presentation
91 returns Integer from Standard is redefined static private;
92 ---Purpose: Get Z layer ID for the presentation
95 ---Purpose: removes the whole content of the presentation.
96 -- Does not remove the other connected presentations.
98 is redefined static private;
101 Color(me:mutable; aColor: NameOfColor from Quantity)
107 ---Category: references to other presentation.
109 Connect(me; anOtherPresentation: Presentation3d from PrsMgr)
112 ---Category: Transformation methods.
114 Transform (me; aTransformation: Transformation from Geom)
117 Place (me; X,Y,Z: Length from Quantity)
120 Multiply (me; aTransformation: Transformation from Geom)
123 Move (me; X,Y,Z: Length from Quantity)
126 ---Category: Global Aspect methods
129 aShadingAspect: ShadingAspect from Prs3d)
132 Presentation (me) returns mutable Presentation from Prs3d
136 ---Category: Computed Structures
138 Compute(me : mutable; theStructure: Structure from Graphic3d)
141 Compute(me : mutable; aProjector: DataStructureManager from Graphic3d)
142 returns Structure from Graphic3d
145 Compute(me : mutable;
146 aProjector : DataStructureManager from Graphic3d;
147 TheTrsf : Transformation from Geom)
148 returns Structure from Graphic3d
151 Compute(me : mutable;
152 aProjector : DataStructureManager from Graphic3d;
153 aGivenStruct : Structure from Graphic3d)
156 Compute(me : mutable;
157 aProjector : DataStructureManager from Graphic3d;
158 TheTrsf : Transformation from Geom;
159 aGivenStruct : Structure from Graphic3d)
164 Projector(myclass; aProjector: DataStructureManager from Graphic3d)
165 returns Projector from Prs3d
170 myStructure: Prs from PrsMgr;
171 myDisplayReason: Boolean from Standard;
172 myPresentableObject: PresentableObjectPointer from PrsMgr;
174 class PresentationManager3d from PrsMgr,
175 class PresentableObject from PrsMgr,
176 class Prs from PrsMgr
177 end Presentation3d from PrsMgr;