From 2b2b0f6b852a363543399a29c3e1d8f65ed65b34 Mon Sep 17 00:00:00 2001 From: Jing Liu Date: Wed, 13 Dec 2023 06:42:24 -0600 Subject: [PATCH] added Qt.mac VTK.mac --- tutorials/detector/visualization/Qt.mac | 17 +++++++++++++++++ tutorials/detector/visualization/VTK.mac | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 tutorials/detector/visualization/Qt.mac create mode 100644 tutorials/detector/visualization/VTK.mac diff --git a/tutorials/detector/visualization/Qt.mac b/tutorials/detector/visualization/Qt.mac new file mode 100644 index 0000000..be579e4 --- /dev/null +++ b/tutorials/detector/visualization/Qt.mac @@ -0,0 +1,17 @@ +/geometry/source ../gears.tg + +/run/initialize + +/geometry/test/run + +/vis/geometry/list + +/vis/open Qt3D +/vis/drawVolume +/vis/viewer/set/style surface +/vis/viewer/set/background white ! ! 0 +/vis/viewer/set/lineSegmentsPerCircle 50 +/vis/viewer/set/viewpointThetaPhi 35 55 +/vis/viewer/set/lightsMove cam +/vis/viewer/flush + diff --git a/tutorials/detector/visualization/VTK.mac b/tutorials/detector/visualization/VTK.mac new file mode 100644 index 0000000..97582c2 --- /dev/null +++ b/tutorials/detector/visualization/VTK.mac @@ -0,0 +1,17 @@ +/geometry/source ../gears.tg + +/run/initialize + +/geometry/test/run + +/vis/geometry/list + +/vis/open Vtk +/vis/drawVolume +/vis/viewer/set/style surface +/vis/viewer/set/background white ! ! 0 +/vis/viewer/set/lineSegmentsPerCircle 50 +/vis/viewer/set/viewpointThetaPhi 35 55 +/vis/viewer/set/lightsMove cam +/vis/viewer/flush +