1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +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,12 @@
puts "3D visualization performance tests"
puts "Display/erase 1 AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
verase b; vdisplay b
}

View File

@@ -0,0 +1,12 @@
puts "3D visualization performance tests"
puts "Display/erase 1 AIS-object"
puts "Object haves shading mode"
vsetdispmode 1
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
verase b; vdisplay b
}

View File

@@ -0,0 +1,12 @@
puts "3D visualization performance tests"
puts "Display/erase 1 AIS-object"
puts "Object haves HidelLineRemoval mode"
vsetdispmode 2
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
verase b; vdisplay b
}

View File

@@ -0,0 +1,13 @@
puts "3D visualization performance tests"
puts "Activation of VERTEX selection mode for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
vselmode 1 1
vselmode 1 0
}

View File

@@ -0,0 +1,13 @@
puts "3D visualization performance tests"
puts "Activation of EDGE selection mode for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
vselmode 2 1
vselmode 2 0
}

View File

@@ -0,0 +1,13 @@
puts "3D visualization performance tests"
puts "Activation of WIRE selection mode for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
vselmode 3 1
vselmode 3 0
}

View File

@@ -0,0 +1,13 @@
puts "3D visualization performance tests"
puts "Activation of FACE selection mode for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
vselmode 4 1
vselmode 4 0
}

View File

@@ -0,0 +1,13 @@
puts "3D visualization performance tests"
puts "Activation of SHELL selection mode for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
vselmode 5 1
vselmode 5 0
}

View File

@@ -0,0 +1,13 @@
puts "3D visualization performance tests"
puts "Activation of SOLID selection mode for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
vselmode 6 1
vselmode 6 0
}

View File

@@ -0,0 +1,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of whole interactive object by point-and-click for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
set x 247
set y 214
set x2 247
set y2 10
for {set i 1} {$i < 100} {incr i} {
vselect $x $y
vselect $x2 $y2
}

View File

@@ -0,0 +1,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of whole interactive object by point-and-click for AIS-object"
puts "Object haves shading mode"
vsetdispmode 1
dchrono tmr start
set x 247
set y 214
set x2 247
set y2 10
for {set i 1} {$i < 100} {incr i} {
vselect $x $y
vselect $x2 $y2
}

View File

@@ -0,0 +1,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of whole interactive object by point-and-click for AIS-object"
puts "Object haves HidelLineRemoval mode"
vsetdispmode 2
dchrono tmr start
set x 247
set y 214
set x2 247
set y2 10
for {set i 1} {$i < 100} {incr i} {
vselect $x $y
vselect $x2 $y2
}

View File

@@ -0,0 +1,16 @@
puts "3D visualization performance tests"
puts "Interactive selection of whole interactive object by rectangular selection for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
set x1 225; set y1 235; set x2 270; set y2 190
set x11 5; set y11 5
for {set i 1} {$i < 100} {incr i} {
vselect $x1 $y1 $x2 $y2 1
vselect $x11 $y11
}

View File

@@ -0,0 +1,16 @@
puts "3D visualization performance tests"
puts "Interactive selection of whole interactive object by rectangular selection for AIS-object"
puts "Object haves shading mode"
vsetdispmode 1
dchrono tmr start
set x1 225; set y1 235; set x2 270; set y2 190
set x11 5; set y11 5
for {set i 1} {$i < 100} {incr i} {
vselect $x1 $y1 $x2 $y2 1
vselect $x11 $y11
}

View File

@@ -0,0 +1,16 @@
puts "3D visualization performance tests"
puts "Interactive selection of whole interactive object by rectangular selection for AIS-object"
puts "Object haves HidelLineRemoval mode"
vsetdispmode 2
dchrono tmr start
set x1 225; set y1 235; set x2 270; set y2 190
set x11 5; set y11 5
for {set i 1} {$i < 100} {incr i} {
vselect $x1 $y1 $x2 $y2 1
vselect $x11 $y11
}

View File

@@ -0,0 +1,18 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (VERTEX) by point-and-click for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 1 1
dchrono tmr start
set x 262
set y 205
set x2 10
set y2 10
for {set i 1} {$i < 100} {incr i} {
vselect $x $y
vselect $x2 $y2
}

View File

@@ -0,0 +1,18 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (EDGE) by point-and-click for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 2 1
dchrono tmr start
set x 262
set y 205
set x2 10
set y2 10
for {set i 1} {$i < 100} {incr i} {
vselect $x $y
vselect $x2 $y2
}

View File

@@ -0,0 +1,18 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (WIRE) by point-and-click for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 3 1
dchrono tmr start
set x 262
set y 205
set x2 10
set y2 10
for {set i 1} {$i < 100} {incr i} {
vselect $x $y
vselect $x2 $y2
}

View File

@@ -0,0 +1,18 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (VERTEX) by point-and-click for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 4 1
dchrono tmr start
set x 262
set y 205
set x2 10
set y2 10
for {set i 1} {$i < 100} {incr i} {
vselect $x $y
vselect $x2 $y2
}

View File

@@ -0,0 +1,18 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (SHELL) by point-and-click for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 5 1
dchrono tmr start
set x 262
set y 205
set x2 10
set y2 10
for {set i 1} {$i < 100} {incr i} {
vselect $x $y
vselect $x2 $y2
}

View File

@@ -0,0 +1,18 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (SOLID) by point-and-click for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 6 1
dchrono tmr start
set x 262
set y 205
set x2 10
set y2 10
for {set i 1} {$i < 100} {incr i} {
vselect $x $y
vselect $x2 $y2
}

View File

@@ -0,0 +1,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (VERTEX) by rectangular selection for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 1 1
dchrono tmr start
set x1 225; set y1 235; set x2 270; set y2 190
set x11 5; set y11 5
for {set i 1} {$i < 100} {incr i} {
vselect $x1 $y1 $x2 $y2 1
vselect $x11 $y11
}

View File

@@ -0,0 +1,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (EDGE) by rectangular selection for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 2 1
dchrono tmr start
set x1 225; set y1 235; set x2 270; set y2 190
set x11 5; set y11 5
for {set i 1} {$i < 100} {incr i} {
vselect $x1 $y1 $x2 $y2 1
vselect $x11 $y11
}

View File

@@ -0,0 +1,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (WIRE) by rectangular selection for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 3 1
dchrono tmr start
set x1 225; set y1 235; set x2 270; set y2 190
set x11 5; set y11 5
for {set i 1} {$i < 100} {incr i} {
vselect $x1 $y1 $x2 $y2 1
vselect $x11 $y11
}

View File

@@ -0,0 +1,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (FACE) by rectangular selection for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 4 1
dchrono tmr start
set x1 225; set y1 235; set x2 270; set y2 190
set x11 5; set y11 5
for {set i 1} {$i < 100} {incr i} {
vselect $x1 $y1 $x2 $y2 1
vselect $x11 $y11
}

View File

@@ -0,0 +1,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (SHELL) by rectangular selection for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 5 1
dchrono tmr start
set x1 225; set y1 235; set x2 270; set y2 190
set x11 5; set y11 5
for {set i 1} {$i < 100} {incr i} {
vselect $x1 $y1 $x2 $y2 1
vselect $x11 $y11
}

View File

@@ -0,0 +1,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (SOLID) by rectangular selection for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
vselmode 6 1
dchrono tmr start
set x1 225; set y1 235; set x2 270; set y2 190
set x11 5; set y11 5
for {set i 1} {$i < 100} {incr i} {
vselect $x1 $y1 $x2 $y2 1
vselect $x11 $y11
}

View File

@@ -0,0 +1,12 @@
puts "3D visualization performance tests"
puts "Non-interactive selection/deselection for AIS-object"
puts "Object haves wireframe mode"
vsetdispmode 0
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
vchangeselected b
}

View File

@@ -0,0 +1,12 @@
puts "3D visualization performance tests"
puts "Non-interactive selection/deselection for AIS-object"
puts "Object haves shading mode"
vsetdispmode 1
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
vchangeselected b
}

View File

@@ -0,0 +1,12 @@
puts "3D visualization performance tests"
puts "Non-interactive selection/deselection for AIS-object"
puts "Object haves HidelLineRemoval mode"
vsetdispmode 2
dchrono tmr start
for {set i 1} {$i < 100} {incr i} {
vchangeselected b
}

View File

@@ -0,0 +1,5 @@
box b 100 0 0 50 50 50
vinit; vdisplay b
vtrihedron tri
verase b
vdisplay b