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

View File

@@ -0,0 +1,9 @@
pload XSDRAW
vinit
meshfromstl m [locate_data_file b.stl]
vtrihedron tri
meshdispmode m 2
vzoom 0.1
dchrono tmr start