1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-05-01 10:26:12 +03:00
occt/tests/bugs/vis/bug218
apn f1aa2b6272 Adding new testing cases for chl grid
Adding procedures checkcolor and checkpoint.
Modified test cases which are used QAGetPixelColor or QAAISGetPixelColor2d
Allow using command QAAISGetPixelColor2d on WNT
Rename test case tests/bugs/vis/bug19619 to pro19619
Added test cases to modalg and moddata
2012-12-14 16:56:11 +04:00

47 lines
926 B
Plaintext
Executable File

puts "================"
puts "OCC218"
puts "================"
puts ""
vinit
box b 10 10 10
explode b f
vdisplay b_1
vfit
set scale 7674.87317785833
set center_X -2.16918246707847
set center_Y 9.87290703657064
set proj_X 0.966540098190308
set proj_Y -0.24304473400116
set proj_Z 0.0820330902934074
set up_X -0.0460147373378277
set up_Y 0.150333747267723
set up_Z 0.987563848495483
set at_X 1.04834496974945
set at_Y 0.741619229316711
set at_Z -0.0881031528115273
set x_coord 388
set y_coord 28
QASetViewCharac ${scale} ${center_X} ${center_Y} ${proj_X} ${proj_Y} ${proj_Z} ${up_X} ${up_Y} ${up_Z} ${at_X} ${at_Y} ${at_Z}
OCC218 trihedron1 b_1 X Y
QAUpdateLights
checkcolor $x_coord $y_coord 0 0 0
OCC218 trihedron1 b_1 my___axis___1 my___axis2
QAUpdateLights
checkcolor $x_coord $y_coord 0.85 0.85 0
if { $stat != 1 } {
puts "There is no messages near axes"
}
set only_screen 1