7fd59977 |
1 | -- File: ViewerTest_Tool.cdl |
2 | -- Created: Thu Oct 15 10:20:43 1998 |
3 | -- Author: Denis PASCAL |
4 | -- <dp@dingox.paris1.matra-dtv.fr> |
5 | ---Copyright: Matra Datavision 1998 |
6 | |
7 | |
8 | class Tool from ViewerTest |
9 | |
10 | ---Purpose: to build and initialize ViewerTest static variables. |
11 | -- ==================================================== |
12 | |
13 | uses Viewer from V3d, |
14 | InteractiveContext from AIS |
15 | |
16 | |
17 | is |
18 | |
19 | MakeViewer (myclass; title : CString from Standard) |
20 | ---Purpose: create a new <context>. ViewerTest variables are not initialized; |
21 | returns Viewer from V3d; |
22 | |
23 | MakeContext (myclass; title : CString from Standard) |
24 | ---Purpose: create a new <context>. ViewerTest variables are not initialized; |
25 | returns InteractiveContext from AIS; |
26 | |
27 | InitViewerTest (myclass; current : InteractiveContext from AIS); |
28 | ---Purpose: init variables of ViewerTest with <current> |
29 | |
30 | end Tool; |