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:
9
tests/perf/single_mesh_wireframe/A1
Normal file
9
tests/perf/single_mesh_wireframe/A1
Normal file
@@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Rotate V3d View with 1 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set A_z 0.1
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrotate 0 0 ${A_z}
|
||||
}
|
9
tests/perf/single_mesh_wireframe/A2
Normal file
9
tests/perf/single_mesh_wireframe/A2
Normal file
@@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Move V3d View with 1 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set D_x 10000
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vmoveview ${D_x} 0 0
|
||||
}
|
11
tests/perf/single_mesh_wireframe/A3
Normal file
11
tests/perf/single_mesh_wireframe/A3
Normal file
@@ -0,0 +1,11 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Translate V3d View with 1 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Object haves wireframe 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}
|
||||
}
|
9
tests/perf/single_mesh_wireframe/A4
Normal file
9
tests/perf/single_mesh_wireframe/A4
Normal file
@@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Turn V3d View with 1 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set A_z 0.10
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vturnview 0 0 ${A_z}
|
||||
}
|
9
tests/perf/single_mesh_wireframe/A5
Normal file
9
tests/perf/single_mesh_wireframe/A5
Normal file
@@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Panning V3d View with 1 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set D_y 10
|
||||
for {set i 1} {$i < 30} {incr i} {
|
||||
vpan 0 ${D_y}
|
||||
}
|
9
tests/perf/single_mesh_wireframe/A6
Normal file
9
tests/perf/single_mesh_wireframe/A6
Normal file
@@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Zoom V3d View with 1 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set Zoom 1.05
|
||||
for {set i 1} {$i < 20} {incr i} {
|
||||
vzoom ${Zoom}
|
||||
}
|
9
tests/perf/single_mesh_wireframe/A7
Normal file
9
tests/perf/single_mesh_wireframe/A7
Normal file
@@ -0,0 +1,9 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Size V3d View with 1 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
set Size 1000
|
||||
for {set i 1} {$i < 70} {incr i} {
|
||||
vsetviewsize [expr ${Size} - 10 * $i]
|
||||
}
|
8
tests/perf/single_mesh_wireframe/A8
Normal file
8
tests/perf/single_mesh_wireframe/A8
Normal file
@@ -0,0 +1,8 @@
|
||||
puts "3D visualization performance tests"
|
||||
puts "Redraw V3d View with 1 MeshVS_Mesh (+ AIS trihedron)"
|
||||
puts "Object haves wireframe mode"
|
||||
|
||||
|
||||
for {set i 1} {$i < 100} {incr i} {
|
||||
vrepaint
|
||||
}
|
9
tests/perf/single_mesh_wireframe/begin
Normal file
9
tests/perf/single_mesh_wireframe/begin
Normal file
@@ -0,0 +1,9 @@
|
||||
pload XSDRAW
|
||||
vinit
|
||||
meshfromstl m [locate_data_file b.stl]
|
||||
vtrihedron tri
|
||||
meshdispmode m 1
|
||||
|
||||
vzoom 0.1
|
||||
|
||||
dchrono tmr start
|
Reference in New Issue
Block a user