mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-09 18:50:54 +03:00
Replaced QAMoveTo, QASelect and QAShiftSelect draw commands with vmoveto and vselect Moved vselect and vmoveto draw commands to ViewerTest_ViewerCommands.cxx Replaced QAMoveTo and QASelect in test cases. Corrected returned error case result in vselect and vmoveto. Added commands in ViewerTest_ViewerCommands from QADraw. Edited tests. QACommands in tests were replaced with ViewerTest commands. QAxwd command was removed from QADraw. Edited command wzoom and commands from ViewerTest. Help for ViewerTest commands was edited Small corrections. Added test cases for polygonal selection. Small correction of test cases
48 lines
846 B
Plaintext
Executable File
48 lines
846 B
Plaintext
Executable File
puts "========"
|
|
puts "OCC544"
|
|
puts "========"
|
|
puts ""
|
|
#################################
|
|
## Problems with the results of MakePipeShell
|
|
#################################
|
|
|
|
vinit
|
|
vsetdispmode 1
|
|
OCC544
|
|
vdisplay result
|
|
vsetmaterial result PLASTIC
|
|
vsetcolor result MATRABLUE
|
|
vsettransparency result 0.5
|
|
vsetdispmode 1
|
|
vfit
|
|
|
|
set scale 2.05374
|
|
set center_X 169.854
|
|
set center_Y -49.5549
|
|
set proj_X 0.135192
|
|
set proj_Y -0.978297
|
|
set proj_Z -0.157031
|
|
set up_X -0.399854
|
|
set up_Y -0.198875
|
|
set up_Z 0.894743
|
|
set at_X 241.985
|
|
set at_Y 329.911
|
|
set at_Z 390.356
|
|
|
|
vviewparams ${scale} ${center_X} ${center_Y} ${proj_X} ${proj_Y} ${proj_Z} ${up_X} ${up_Y} ${up_Z} ${at_X} ${at_Y} ${at_Z}
|
|
|
|
set x1 300
|
|
set y1 70
|
|
|
|
set x2 190
|
|
set y2 110
|
|
|
|
set x3 220
|
|
set y3 110
|
|
|
|
vmoveto ${x1} ${y1}
|
|
|
|
checkcolor $x3 $y3 0.04 0.04 0.5
|
|
|
|
set only_screen 1
|