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:
12
tests/perf/single_mesh_selection/A1
Normal file
12
tests/perf/single_mesh_selection/A1
Normal file
@@ -0,0 +1,12 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Display/erase 1 MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshhide m; meshshow m
|
||||
}
|
12
tests/perf/single_mesh_selection/A2
Normal file
12
tests/perf/single_mesh_selection/A2
Normal file
@@ -0,0 +1,12 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Display/erase 1 MeshVS_Mesh"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
meshdispmode m 2
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshhide m; meshshow m
|
||||
}
|
12
tests/perf/single_mesh_selection/A3
Normal file
12
tests/perf/single_mesh_selection/A3
Normal file
@@ -0,0 +1,12 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Display/erase 1 MeshVS_Mesh"
|
||||
puts "Object haves shrink mode"
|
||||
|
||||
|
||||
meshdispmode m 3
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshhide m; meshshow m
|
||||
}
|
13
tests/perf/single_mesh_selection/A4
Normal file
13
tests/perf/single_mesh_selection/A4
Normal file
@@ -0,0 +1,13 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of NODE selection mode for MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshselmode m 1
|
||||
meshselmode m -1
|
||||
}
|
13
tests/perf/single_mesh_selection/A5
Normal file
13
tests/perf/single_mesh_selection/A5
Normal file
@@ -0,0 +1,13 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of FACE selection mode for MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshselmode m 8
|
||||
meshselmode m -1
|
||||
}
|
13
tests/perf/single_mesh_selection/A6
Normal file
13
tests/perf/single_mesh_selection/A6
Normal file
@@ -0,0 +1,13 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Activation of WHOLE MESH selection mode for MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
meshselmode m 0
|
||||
meshselmode m -1
|
||||
}
|
18
tests/perf/single_mesh_selection/A7
Normal file
18
tests/perf/single_mesh_selection/A7
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by point-and-click for MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 205
|
||||
set y 185
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
18
tests/perf/single_mesh_selection/A8
Normal file
18
tests/perf/single_mesh_selection/A8
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by point-and-click for MeshVS_Mesh"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
meshdispmode m 2
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 205
|
||||
set y 185
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
18
tests/perf/single_mesh_selection/A9
Normal file
18
tests/perf/single_mesh_selection/A9
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by point-and-click for MeshVS_Mesh"
|
||||
puts "Object haves shrink mode"
|
||||
|
||||
|
||||
meshdispmode m 3
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 205
|
||||
set y 185
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
17
tests/perf/single_mesh_selection/B1
Normal file
17
tests/perf/single_mesh_selection/B1
Normal file
@@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by rectangular selection for MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 180; set y1 180; set x2 225; set y2 230
|
||||
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_mesh_selection/B2
Normal file
17
tests/perf/single_mesh_selection/B2
Normal file
@@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by rectangular selection for MeshVS_Mesh"
|
||||
puts "Object haves shading mode"
|
||||
|
||||
|
||||
meshdispmode m 2
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 180; set y1 180; set x2 225; set y2 230
|
||||
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_mesh_selection/B3
Normal file
17
tests/perf/single_mesh_selection/B3
Normal file
@@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of whole MeshVS_Mesh object by rectangular selection for MeshVS_Mesh"
|
||||
puts "Object haves shrink mode"
|
||||
|
||||
|
||||
meshdispmode m 3
|
||||
meshselmode m 0
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 180; set y1 180; set x2 225; set y2 230
|
||||
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_mesh_selection/B4
Normal file
18
tests/perf/single_mesh_selection/B4
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (NODES) by point-and-click for MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
meshselmode m 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 205
|
||||
set y 185
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
18
tests/perf/single_mesh_selection/B5
Normal file
18
tests/perf/single_mesh_selection/B5
Normal file
@@ -0,0 +1,18 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (FACES) by point-and-click for MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
meshselmode m 8
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x 205
|
||||
set y 185
|
||||
set x2 10
|
||||
set y2 10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x $y
|
||||
vselect $x2 $y2
|
||||
}
|
17
tests/perf/single_mesh_selection/B6
Normal file
17
tests/perf/single_mesh_selection/B6
Normal file
@@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (NODES) by rectangular selection for MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
meshselmode m 1
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 180; set y1 180; set x2 225; set y2 230
|
||||
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_mesh_selection/B7
Normal file
17
tests/perf/single_mesh_selection/B7
Normal file
@@ -0,0 +1,17 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Interactive selection of sub-objects (FACES) by rectangular selection for MeshVS_Mesh"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
meshdispmode m 1
|
||||
meshselmode m 8
|
||||
|
||||
dchrono tmr start
|
||||
|
||||
set x1 180; set y1 180; set x2 225; set y2 230
|
||||
set x11 5; set y11 5
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vselect $x1 $y1 $x2 $y2 1
|
||||
vselect $x11 $y11
|
||||
}
|
6
tests/perf/single_mesh_selection/begin
Normal file
6
tests/perf/single_mesh_selection/begin
Normal file
@@ -0,0 +1,6 @@
|
||||
pload XSDRAW
|
||||
vinit
|
||||
meshfromstl m [locate_data_file b.stl]
|
||||
vtrihedron tri
|
||||
|
||||
vzoom 0.1
|
Reference in New Issue
Block a user