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 MeshVS_Mesh (+ AIS trihedron)"
puts "Objects have shading 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 MeshVS_Mesh (+ AIS trihedron)"
puts "Objects have shading 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 MeshVS_Mesh (+ AIS trihedron)"
puts "Objects have shading 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 MeshVS_Mesh (+ AIS trihedron)"
puts "Objects have shading 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 MeshVS_Mesh (+ AIS trihedron)"
puts "Objects have shading 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 MeshVS_Mesh (+ AIS trihedron)"
puts "Objects have shading 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 MeshVS_Mesh (+ AIS trihedron)"
puts "Objects have shading 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 MeshVS_Mesh (+ AIS trihedron)"
puts "Objects have shading mode"
for {set i 1} {$i < 100} {incr i} {
vrepaint
}

View File

@@ -0,0 +1,70 @@
pload XSDRAW
vinit
meshdispmode m 2
meshfromstl m [locate_data_file b.stl]
meshfromstl m2 [locate_data_file b2.stl]
meshfromstl m3 [locate_data_file b3.stl]
meshfromstl m4 [locate_data_file b4.stl]
meshfromstl m5 [locate_data_file b5.stl]
meshfromstl m6 [locate_data_file b6.stl]
meshfromstl m7 [locate_data_file b7.stl]
meshfromstl m8 [locate_data_file b8.stl]
meshfromstl m9 [locate_data_file b9.stl]
meshfromstl m11 [locate_data_file b11.stl]
meshfromstl m12 [locate_data_file b12.stl]
meshfromstl m13 [locate_data_file b13.stl]
meshfromstl m14 [locate_data_file b14.stl]
meshfromstl m15 [locate_data_file b15.stl]
meshfromstl m16 [locate_data_file b16.stl]
meshfromstl m17 [locate_data_file b17.stl]
meshfromstl m18 [locate_data_file b18.stl]
meshfromstl m19 [locate_data_file b19.stl]
meshfromstl m21 [locate_data_file b21.stl]
meshfromstl m22 [locate_data_file b22.stl]
meshfromstl m23 [locate_data_file b23.stl]
meshfromstl m24 [locate_data_file b24.stl]
meshfromstl m25 [locate_data_file b25.stl]
meshfromstl m26 [locate_data_file b26.stl]
meshfromstl m27 [locate_data_file b27.stl]
meshfromstl m28 [locate_data_file b28.stl]
meshfromstl m29 [locate_data_file b29.stl]
vtrihedron tri
set dispmode 2
meshdispmode m ${dispmode}
meshdispmode m2 ${dispmode}
meshdispmode m3 ${dispmode}
meshdispmode m4 ${dispmode}
meshdispmode m5 ${dispmode}
meshdispmode m6 ${dispmode}
meshdispmode m7 ${dispmode}
meshdispmode m8 ${dispmode}
meshdispmode m9 ${dispmode}
meshdispmode m11 ${dispmode}
meshdispmode m12 ${dispmode}
meshdispmode m13 ${dispmode}
meshdispmode m14 ${dispmode}
meshdispmode m15 ${dispmode}
meshdispmode m16 ${dispmode}
meshdispmode m17 ${dispmode}
meshdispmode m18 ${dispmode}
meshdispmode m19 ${dispmode}
meshdispmode m21 ${dispmode}
meshdispmode m22 ${dispmode}
meshdispmode m23 ${dispmode}
meshdispmode m24 ${dispmode}
meshdispmode m25 ${dispmode}
meshdispmode m26 ${dispmode}
meshdispmode m27 ${dispmode}
meshdispmode m28 ${dispmode}
meshdispmode m29 ${dispmode}
vzoom 0.5
dchrono tmr start