1 -- Created on: 1995-01-25
2 -- Created by: Jean-Louis Frenkel
3 -- Copyright (c) 1995-1999 Matra Datavision
4 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
6 -- This file is part of Open CASCADE Technology software library.
8 -- This library is free software; you can redistribute it and/or modify it under
9 -- the terms of the GNU Lesser General Public License version 2.1 as published
10 -- by the Free Software Foundation, with special exception defined in the file
11 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 -- distribution for complete text of the license and disclaimer of any warranty.
14 -- Alternatively, this file may be used under the terms of Open CASCADE
15 -- commercial license or contractual agreement.
17 class Presentation from PrsMgr
18 inherits TShared from MMgt
22 PresentationManager from PrsMgr,
23 NameOfColor from Quantity,
24 Transformation from Geom,
26 ShadingAspect from Prs3d,
27 TypeOfPresentation3d from PrsMgr,
28 DataStructureManager from Graphic3d,
29 Structure from Graphic3d,
30 PresentableObjectPointer from PrsMgr,PresentableObject from PrsMgr,
33 Presentation from Prs3d
37 Create (thePresentationManager : PresentationManager from PrsMgr;
38 thePresentableObject : PresentableObject from PrsMgr)
39 returns Presentation from PrsMgr
42 Destroy (me : mutable) is virtual;
44 ---Purpose: Destructor
47 Display (me : mutable)
50 Display (me : mutable;
51 theIsHighlight : Boolean from Standard)
53 ---Purpose: Displays myStructure.
58 SetVisible (me : mutable;
59 theValue : Boolean from Standard)
62 Highlight (me : mutable) is virtual private;
64 Unhighlight (me) is virtual private;
66 IsHighlighted (me) returns Boolean from Standard
69 IsDisplayed (me) returns Boolean from Standard
72 DisplayPriority(me) returns Integer from Standard
75 SetDisplayPriority(me:mutable;aNewPrior:Integer from Standard)
78 SetZLayer (me : mutable;
79 theLayerId : Integer from Standard)
81 ---Purpose: Set Z layer ID for the presentation
83 GetZLayer (me) returns Integer from Standard
85 ---Purpose: Get Z layer ID for the presentation
89 ---Purpose: removes the whole content of the presentation.
90 -- Does not remove the other connected presentations.
93 theColor : NameOfColor from Quantity)
99 ---Category: references to other presentation.
102 theOther : Presentation from PrsMgr)
105 ---Category: Transformation methods.
108 theTrsf : Transformation from Geom)
112 theX, theY, theZ : Length from Quantity)
116 theTrsf : Transformation from Geom)
120 theX, theY, theZ : Length from Quantity)
123 ---Category: Global Aspect methods
125 SetShadingAspect (me;
126 theShadingAspect : ShadingAspect from Prs3d)
129 Presentation (me) returns Presentation from Prs3d
132 ---C++: return const&
134 ---Category: Computed Structures
136 Compute (me : mutable;
137 theStructure : Structure from Graphic3d)
140 Compute (me : mutable;
141 theProjector : DataStructureManager from Graphic3d)
142 returns Structure from Graphic3d
145 Compute (me : mutable;
146 theProjector : DataStructureManager from Graphic3d;
147 theTrsf : Transformation from Geom)
148 returns Structure from Graphic3d
151 Compute (me : mutable;
152 theProjector : DataStructureManager from Graphic3d;
153 theGivenStruct : Structure from Graphic3d)
156 Compute (me : mutable;
157 theProjector : DataStructureManager from Graphic3d;
158 theTrsf : Transformation from Geom;
159 theGivenStruct : Structure from Graphic3d)
162 ---Category: Inquire Methods
164 PresentationManager (me) returns PresentationManager
165 ---Purpose: returns the PresentationManager in which the presentation has been created.
168 ---C++: return const&
171 theProjector : DataStructureManager from Graphic3d)
172 returns Projector from Prs3d
175 ---Category: Internal Methods
177 SetUpdateStatus (me : mutable;
178 theStat : Boolean from Standard);
181 MustBeUpdated (me) returns Boolean from Standard;
186 myPresentationManager : PresentationManager from PrsMgr;
187 myStructure : Prs from PrsMgr;
188 myPresentableObject : PresentableObjectPointer from PrsMgr;
189 myMustBeUpdated : Boolean from Standard;
190 myBeforeHighlightState: Integer from Standard;
194 class PresentationManager from PrsMgr,
195 class PresentableObject from PrsMgr,
196 class Prs from PrsMgr
198 end Presentation from PrsMgr;