1 -- Created on: 1998-03-27
2 -- Created by: Robert COUBLANC
3 -- Copyright (c) 1998-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 private class Shape from StdSelect inherits PresentableObject from PrsMgr
19 ---Purpose: Presentable shape only for purpose of display for BRepOwner...
23 Transformation from Geom,
25 PresentationManager3d from PrsMgr,
27 Presentation from Prs3d
30 Create(theShape : Shape from TopoDS;
31 theDrawer : Drawer from Prs3d) returns Shape from StdSelect;
34 aPresentationManager: PresentationManager3d from PrsMgr;
35 aPresentation: Presentation from Prs3d;
36 aMode: Integer from Standard = 0)
40 aProjector: Projector from Prs3d;
41 aPresentation: Presentation from Prs3d)
42 is redefined static private;
46 aProjector : Projector from Prs3d;
47 aTrsf : Transformation from Geom;
48 aPresentation : Presentation from Prs3d)
50 ---Purpose: computes the presentation according to a point of view
51 -- given by <aProjector>.
52 -- To be Used when the associated degenerated Presentations
53 -- have been transformed by <aTrsf> which is not a Pure
54 -- Translation. The HLR Prs can't be deducted automatically
55 -- WARNING :<aTrsf> must be applied
56 -- to the object to display before computation !!!
58 Shape(me) returns Shape from TopoDS;
62 Shape(me:mutable;sh : Shape from TopoDS);
66 mysh : Shape from TopoDS;
67 myDrawer : Drawer from Prs3d;