0032886: Visualization, V3d_View - introduce interface for creating a subview
[occt.git] / tests / opengl / data / general / multiview4
diff --git a/tests/opengl/data/general/multiview4 b/tests/opengl/data/general/multiview4
new file mode 100644 (file)
index 0000000..15c4496
--- /dev/null
@@ -0,0 +1,26 @@
+puts "========"
+puts "0032886: Visualization, V3d_View - introduce interface for creating a subview"
+puts "V1/RootView + V1/ThumbView at corner"
+puts "========"
+
+pload MODELING VISUALIZATION
+vinit V1/RootView -width 380 -height 520 -composer 0
+vbackground GRAY20
+vaxo
+vcamera -persp
+box b 1 2 3
+vdisplay -dispMode 1 b
+vaspects b -faceBoundaryDraw 1
+vfit
+vzbufftrihedron
+
+vinit V1/ThumbView -parent V1/RootView -width 0.25 -height 0.25 -corner bottomRight -top 10 -left 10
+vbackground GRAY40
+vaxo
+vfit
+
+vactivate V1/RootView
+vdump $::imagedir/${::casename}.png
+
+vactivate V1/ThumbView
+vdump $::imagedir/${::casename}_thumb.png