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:
12
tests/perf/single_object_selection/A1
Normal file
12
tests/perf/single_object_selection/A1
Normal 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
|
||||
}
|
12
tests/perf/single_object_selection/A2
Normal file
12
tests/perf/single_object_selection/A2
Normal 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
|
||||
}
|
12
tests/perf/single_object_selection/A3
Normal file
12
tests/perf/single_object_selection/A3
Normal 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
|
||||
}
|
13
tests/perf/single_object_selection/A4
Normal file
13
tests/perf/single_object_selection/A4
Normal 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
|
||||
}
|
13
tests/perf/single_object_selection/A5
Normal file
13
tests/perf/single_object_selection/A5
Normal 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
|
||||
}
|
13
tests/perf/single_object_selection/A6
Normal file
13
tests/perf/single_object_selection/A6
Normal 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
|
||||
}
|
13
tests/perf/single_object_selection/A7
Normal file
13
tests/perf/single_object_selection/A7
Normal 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
|
||||
}
|
13
tests/perf/single_object_selection/A8
Normal file
13
tests/perf/single_object_selection/A8
Normal 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
|
||||
}
|
13
tests/perf/single_object_selection/A9
Normal file
13
tests/perf/single_object_selection/A9
Normal 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
|
||||
}
|
17
tests/perf/single_object_selection/B1
Normal file
17
tests/perf/single_object_selection/B1
Normal 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
|
||||
}
|
17
tests/perf/single_object_selection/B2
Normal file
17
tests/perf/single_object_selection/B2
Normal 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
|
||||
}
|
17
tests/perf/single_object_selection/B3
Normal file
17
tests/perf/single_object_selection/B3
Normal 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
|
||||
}
|
16
tests/perf/single_object_selection/B4
Normal file
16
tests/perf/single_object_selection/B4
Normal 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
|
||||
}
|
16
tests/perf/single_object_selection/B5
Normal file
16
tests/perf/single_object_selection/B5
Normal 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
|
||||
}
|
16
tests/perf/single_object_selection/B6
Normal file
16
tests/perf/single_object_selection/B6
Normal 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
|
||||
}
|
18
tests/perf/single_object_selection/B7
Normal file
18
tests/perf/single_object_selection/B7
Normal 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
|
||||
}
|
18
tests/perf/single_object_selection/B8
Normal file
18
tests/perf/single_object_selection/B8
Normal 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
|
||||
}
|
18
tests/perf/single_object_selection/B9
Normal file
18
tests/perf/single_object_selection/B9
Normal 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
|
||||
}
|
18
tests/perf/single_object_selection/C1
Normal file
18
tests/perf/single_object_selection/C1
Normal 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
|
||||
}
|
18
tests/perf/single_object_selection/C2
Normal file
18
tests/perf/single_object_selection/C2
Normal 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
|
||||
}
|
18
tests/perf/single_object_selection/C3
Normal file
18
tests/perf/single_object_selection/C3
Normal 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
|
||||
}
|
17
tests/perf/single_object_selection/C4
Normal file
17
tests/perf/single_object_selection/C4
Normal 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
|
||||
}
|
17
tests/perf/single_object_selection/C5
Normal file
17
tests/perf/single_object_selection/C5
Normal 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
|
||||
}
|
17
tests/perf/single_object_selection/C6
Normal file
17
tests/perf/single_object_selection/C6
Normal 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
|
||||
}
|
17
tests/perf/single_object_selection/C7
Normal file
17
tests/perf/single_object_selection/C7
Normal 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
|
||||
}
|
17
tests/perf/single_object_selection/C8
Normal file
17
tests/perf/single_object_selection/C8
Normal 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
|
||||
}
|
17
tests/perf/single_object_selection/C9
Normal file
17
tests/perf/single_object_selection/C9
Normal 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
|
||||
}
|
12
tests/perf/single_object_selection/D1
Normal file
12
tests/perf/single_object_selection/D1
Normal 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
|
||||
}
|
12
tests/perf/single_object_selection/D2
Normal file
12
tests/perf/single_object_selection/D2
Normal 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
|
||||
}
|
12
tests/perf/single_object_selection/D3
Normal file
12
tests/perf/single_object_selection/D3
Normal 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
|
||||
}
|
5
tests/perf/single_object_selection/begin
Normal file
5
tests/perf/single_object_selection/begin
Normal file
@@ -0,0 +1,5 @@
|
||||
box b 100 0 0 50 50 50
|
||||
vinit; vdisplay b
|
||||
vtrihedron tri
|
||||
verase b
|
||||
vdisplay b
|
Reference in New Issue
Block a user