1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00
occt/tests/bugs/vis/bug281_1
aba 4754e16481 0023539: QASelect and QAShiftSelect commands
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
2013-01-18 14:22:14 +04:00

34 lines
608 B
Plaintext
Executable File

puts "========"
puts "OCC281"
puts "========"
vinit
set x 205
set y 208
set TypeOfMarker 0
set scale 50.0521
set center_X 0
set center_Y 0
set proj_X 0.57735
set proj_Y -0.57735
set proj_Z 0.57735
set up_X -0.408248
set up_Y 0.408248
set up_Z 0.816497
set at_X 0
set at_Y 0
set at_Z 0
vviewparams ${scale} ${center_X} ${center_Y} ${proj_X} ${proj_Y} ${proj_Z} ${up_X} ${up_Y} ${up_Z} ${at_X} ${at_Y} ${at_Z}
OCC281 ${x} ${y} ${TypeOfMarker}
OCC281 ${x} ${y} ${TypeOfMarker}
OCC281 200 200 0
OCC281 200 200 0
puts "Type of marker mast be blue point!"
set only_screen 1