1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00

0023752: Integration of test grid "vpr" into the new testing system

This commit is contained in:
ski
2013-02-12 15:24:16 +04:00
parent fa6cd9152f
commit ee535a6c7c
208 changed files with 3326 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
puts "3D visualization performance tests"
puts "Rotate V3d View with 27 AIS-objects (+ AIS trihedron)"
puts "Objects have wireframe mode"
set A_z 0.1
for {set i 1} {$i < 100} {incr i} {
vrotate 0 0 ${A_z}
}

View File

@@ -0,0 +1,9 @@
puts "3D visualization performance tests"
puts "Move V3d View with 27 AIS-objects (+ AIS trihedron)"
puts "Objects have wireframe mode"
set D_x 10000
for {set i 1} {$i < 100} {incr i} {
vmoveview ${D_x} 0 0 1
}

View File

@@ -0,0 +1,11 @@
puts "3D visualization performance tests"
puts "Translate V3d View with 27 AIS-objects (+ AIS trihedron)"
puts "Objects have wireframe mode"
set D_x 10
set D_y 10
set D_z 10
for {set i 1} {$i < 30} {incr i} {
vtranslateview ${D_x} ${D_y} ${D_z} 1
}

View File

@@ -0,0 +1,9 @@
puts "3D visualization performance tests"
puts "Turn V3d View with 27 AIS-objects (+ AIS trihedron)"
puts "Objects have wireframe mode"
set A_z 0.10
for {set i 1} {$i < 100} {incr i} {
vturnview 0 0 ${A_z} 1
}

View File

@@ -0,0 +1,9 @@
puts "3D visualization performance tests"
puts "Panning V3d View with 27 AIS-objects (+ AIS trihedron)"
puts "Objects have wireframe mode"
set D_y 10
for {set i 1} {$i < 30} {incr i} {
vpan 0 ${D_y}
}

View File

@@ -0,0 +1,9 @@
puts "3D visualization performance tests"
puts "Zoom V3d View with 27 AIS-objects (+ AIS trihedron)"
puts "Objects have wireframe mode"
set Zoom 1.05
for {set i 1} {$i < 20} {incr i} {
vzoom ${Zoom}
}

View File

@@ -0,0 +1,9 @@
puts "3D visualization performance tests"
puts "Size V3d View with 27 AIS-objects (+ AIS trihedron)"
puts "Objects have wireframe mode"
set Size 1000
for {set i 1} {$i < 70} {incr i} {
vsetviewsize [expr ${Size} - 10 * $i]
}

View File

@@ -0,0 +1,8 @@
puts "3D visualization performance tests"
puts "Redraw V3d View with 27 AIS-objects (+ AIS trihedron)"
puts "Objects have wireframe mode"
for {set i 1} {$i < 100} {incr i} {
vrepaint
}

View File

@@ -0,0 +1,57 @@
box b1 100 0 0 50 50 50
box b2 100 -200 0 50 50 50
box b3 100 200 0 50 50 50
box b4 -100 0 0 50 50 50
box b5 -100 -200 0 50 50 50
box b6 -100 200 0 50 50 50
box b7 -300 0 0 50 50 50
box b8 -300 -200 0 50 50 50
box b9 -300 200 0 50 50 50
box b11 100 0 -300 50 50 50
box b12 100 -200 -300 50 50 50
box b13 100 200 -300 50 50 50
box b14 -100 0 -300 50 50 50
box b15 -100 -200 -300 50 50 50
box b16 -100 200 -300 50 50 50
box b17 -300 0 -300 50 50 50
box b18 -300 -200 -300 50 50 50
box b19 -300 200 -300 50 50 50
box b21 100 0 300 50 50 50
box b22 100 -200 300 50 50 50
box b23 100 200 300 50 50 50
box b24 -100 0 300 50 50 50
box b25 -100 -200 300 50 50 50
box b26 -100 200 300 50 50 50
box b27 -300 0 300 50 50 50
box b28 -300 -200 300 50 50 50
box b29 -300 200 300 50 50 50
vinit;
vdisplay b1; vdisplay b2; vdisplay b3;
vdisplay b4; vdisplay b5; vdisplay b6;
vdisplay b7; vdisplay b8; vdisplay b9;
vdisplay b11; vdisplay b12; vdisplay b13;
vdisplay b14; vdisplay b15; vdisplay b16;
vdisplay b17; vdisplay b18; vdisplay b19;
vdisplay b21; vdisplay b22; vdisplay b23;
vdisplay b24; vdisplay b25; vdisplay b26;
vdisplay b27; vdisplay b28; vdisplay b29;
vtrihedron tri
vsetdispmode 0
dchrono tmr start