0026139: AIS_InteractiveContext::Display performance regression
[occt.git] / tests / bugs / vis / bug24606
CommitLineData
4a350f94 1puts "============"
2puts "OCC24606"
3puts "============"
4puts ""
5####################################################################################
6# Tests ::FitDepth and ::FitAll implementation of V3d_View.
7####################################################################################
8
9set check_x 402
10set check_y 320
11
12restore [locate_data_file bug24606.brep] shape
13
14vinit View1
15vautozfit 0
16vsetdispmode 1
17vdisplay shape
18OCC24606
19vmoveto $check_x $check_y
20
21checkcolor $check_x $check_y 0 1 1
22
23if {$stat != 1} {
24 puts "Error : V3d view ::FitAll is broken."
25}
26vdump ${imagedir}/${casename}_1.png
27
28vinit View2
29vautozfit 1
30vsetdispmode 1
31vdisplay shape
32OCC24606
33vmoveto $check_x $check_y
34
35checkcolor $check_x $check_y 0 1 1
36
37if {$stat != 1} {
38 puts "Error : V3d view ::FitAll is broken."
39}
40vdump ${imagedir}/${casename}_2.png