0023654: Problem with displaying vertices in OCC view after closing all OCC views...
[occt.git] / src / PrsMgr / PrsMgr_Prs.cdl
CommitLineData
b311480e 1-- Created on: 1995-01-31
2-- Created by: Mister rmi
3-- Copyright (c) 1995-1999 Matra Datavision
4-- Copyright (c) 1999-2012 OPEN CASCADE SAS
5--
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.
10--
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.
13--
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.
20
7fd59977 21--Modified by rob 11-mar-98 : Implement virtual methods from Graphic3d_Structure
22-- to optimize HLR Display...
7fd59977 23
24class Prs from PrsMgr inherits Presentation from Prs3d
25
26uses
27 Array2OfReal from TColStd,
28 StructureManager from Graphic3d,
29 Structure from Graphic3d,
30 DataStructureManager from Graphic3d,
31 TypeOfPresentation3d from PrsMgr,
32 Presentation3dPointer from PrsMgr
33
34is
35 Create(aStructureManager : StructureManager from Graphic3d;
36 aPresentation : Presentation3dPointer from PrsMgr;
37 aTypeOfPresentation3d : TypeOfPresentation3d from PrsMgr)
38 returns mutable Prs from PrsMgr;
eb4320f2 39
40 Compute (me: mutable)
41 is redefined static;
42
7fd59977 43 Compute(me : mutable; aProjector: DataStructureManager from Graphic3d)
44 returns Structure from Graphic3d
45 is redefined static;
46
47 Compute ( me : mutable;
48 aProjector: DataStructureManager from Graphic3d;
49 AMatrix : Array2OfReal from TColStd )
50 returns Structure from Graphic3d is
51 redefined static;
52 ---Purpose: the "degenerated" Structure is displayed with
53 -- a transformation defined by <AMatrix>
54 -- which is not a Pure Translation.
55 -- We have to take in account this Transformation
56 -- in the computation of hidden line removal...
57 -- returns a filled Graphic Structure.
58
59
60
61 Compute(me : mutable;
62 aProjector : DataStructureManager from Graphic3d;
63 ComputedStruct : in out Structure from Graphic3d)
64 is redefined static;
65 ---Purpose: No need to return a structure, just to fill
66 -- <ComputedStruct> ....
67
68
69 Compute ( me : mutable;
70 aProjector: DataStructureManager from Graphic3d;
71 AMatrix : Array2OfReal from TColStd ;
72 aStructure: in out Structure from Graphic3d )
73 is redefined static;
74 ---Purpose: No Need to return a Structure, just to
75 -- Fill <aStructure>. The Trsf has to be taken in account
76 -- in the computation (Rotation Part....)
77
78
79
80fields
81 myPresentation3d: Presentation3dPointer from PrsMgr;
82end Prs from PrsMgr;