1 -- File: AIS_GraphicTool.cdl
2 -- Created: Mon Feb 10 16:17:04 1997
3 -- Author: Robert COUBLANC
4 -- <rob@robox.paris1.matra-dtv.fr>
5 -- GG : GER61351 17/11/1999 Change SetColor() with a compatible Quantity_Color instead
6 -- the restricted NameOfColor.
7 ---Copyright: Matra Datavision 1997
9 class GraphicTool from AIS
15 TypeOfAttribute from AIS,
16 NameOfColor from Quantity,
18 TypeOfLine from Aspect,
19 MaterialAspect from Graphic3d
24 GetLineColor(myclass; aDrawer : Drawer from Prs3d; TheTypeOfAttributes : TypeOfAttribute from AIS)
25 returns NameOfColor from Quantity;
27 GetLineColor(myclass; aDrawer : Drawer from Prs3d;
28 TheTypeOfAttributes : TypeOfAttribute from AIS;
29 TheLineColor: out Color from Quantity);
31 GetLineWidth(myclass; aDrawer : Drawer from Prs3d; TheTypeOfAttributes : TypeOfAttribute from AIS)
32 returns Real from Standard;
35 GetLineType (myclass; aDrawer : Drawer from Prs3d; TheTypeOfAttributes : TypeOfAttribute from AIS)
36 returns TypeOfLine from Aspect;
40 aDrawer : Drawer from Prs3d;
41 TheTypeOfAttributes : TypeOfAttribute from AIS;
42 aCol : in out NameOfColor from Quantity;
43 aWidth : in out Real from Standard;
44 aTyp : in out TypeOfLine from Aspect);
47 GetInteriorColor(myclass;
48 aDrawer : Drawer from Prs3d)
49 returns NameOfColor from Quantity;
51 GetInteriorColor(myclass;
52 aDrawer : Drawer from Prs3d;
53 aColor: out Color from Quantity);
55 GetMaterial(myclass; aDrawer:Drawer from Prs3d)
56 returns MaterialAspect from Graphic3d;