0027961: Visualization - remove unused and no more working OpenGl_AVIWriter
[occt.git] / tests / bugs / vis / bug23670_1
CommitLineData
18d715bd 1puts "============"
2puts "OCC23670"
3puts "============"
4puts ""
5############################################################################
6# Support for multiple 3D views
7############################################################################
8
9#test case for vinit and vactivate commands
10#create view with default name Driver1/Viewer1/View1
11vinit
12vinit MyDriver/MyViewer/View1
13vinit MyDriver/MyViewer/MyView
14vactivate Driver1/Viewer1/View1
15box a 10 10 10
16vdisplay a
17vfit
18vactivate MyDriver/MyViewer/MyView
19#activate MyDriver/MyViewer/View1
20vactivate View1
21box b 5 5 5 10 10 10
22vdisplay a b
23vfit
24#disactivate active view
25vactivate none
26vactivate Driver1/Viewer1/View1
27vsetdispmode 1
28set x_coord 205
29set y_coord 180
30checkcolor $x_coord $y_coord 1 0.87 0.15
31
32vactivate MyDriver/MyViewer/MyView
33vsetdispmode 1
34checkcolor $x_coord $y_coord 0 0 0
35
5747059b 36checkview -screenshot -3d -path ${imagedir}/${test_image}.png
18d715bd 37