0030182: Visualization, Image_AlienPixMap - support reading encoded image from memory...
[occt.git] / tests / bugs / vis / bug10702
CommitLineData
e54706ed 1puts "============"
2puts "OCC10702"
3puts "============"
4puts ""
5#######################################################################
6# MeshVS_NodalColorPrsBuilder does not take into account visibility of mesh elements
7#######################################################################
8
9set BugNumber OCC10702
10
11pload XDE
12
709e97a0 13vinit
14
e54706ed 15meshfromstl m [locate_data_file OMF6391_box.stl]
16
17set x_coord 180
18set y_coord 260
19
709e97a0 20vsetdispmode m 2
e54706ed 21puts "\nMesh displayed in shading mode"
22
e54706ed 23checkcolor $x_coord $y_coord 0 0 0.36
24
709e97a0 25vselmode m 8 1
e54706ed 26puts "\nSelection of elements is activated"
27
4754e164 28vselect $x_coord $y_coord 1
29###vselect $x_coord $y_coord 1
e54706ed 30
31meshhidesel m
32puts "\nSelected elemement is hidden"
33
e54706ed 34checkcolor $x_coord $y_coord 0 0 0.36
35
709e97a0 36meshcolors m nodal 0
e54706ed 37puts "\nDisplay nodal color presentation"
38
fcc61cc4 39#checkcolor $x_coord $y_coord 0.46 0.12 0.37
40checkcolor $x_coord $y_coord 0.72 0.72 0.70
e54706ed 41
5747059b 42checkview -screenshot -3d -path ${imagedir}/${test_image}.png
e54706ed 43