1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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,17 @@
puts "3D visualization performance tests"
puts "Interactive selection of sub-objects (SHELL) by point-and-click for AIS-object in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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 in V3d View with 27 AIS-objects (+ AIS trihedron)"
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,53 @@
box b 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 b; 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