Skip to content

Commit

Permalink
Merge pull request #62 from OpenGATE/visu
Browse files Browse the repository at this point in the history
Move the visualization part after the initialization
  • Loading branch information
tbaudier authored May 13, 2022
2 parents 83386a1 + 88a066a commit c184baf
Show file tree
Hide file tree
Showing 70 changed files with 386 additions and 309 deletions.
13 changes: 7 additions & 6 deletions GATE-RTion/DoseActor/mac/mainA1.mac
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable

#================================================================

# MATERIALS
Expand Down Expand Up @@ -99,6 +93,13 @@
# INITIALISATION
/gate/run/initialize

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable


#================================================================

# SOURCE
Expand Down
13 changes: 7 additions & 6 deletions GATE-RTion/DoseActor/mac/mainA2.mac
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable

#================================================================

# MATERIALS
Expand Down Expand Up @@ -121,6 +115,13 @@
# INITIALISATION
/gate/run/initialize

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable


#================================================================

# TPSPencilBeam SOURCE
Expand Down
13 changes: 7 additions & 6 deletions GATE-RTion/DoseActor/mac/mainA3.mac
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable

#================================================================

# MATERIALS
Expand Down Expand Up @@ -99,6 +93,13 @@
# INITIALISATION
/gate/run/initialize

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable


#================================================================

# TPSPencilBeam SOURCE
Expand Down
12 changes: 6 additions & 6 deletions GATE-RTion/DoseActor/mac/mainA4.mac
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable

#================================================================

# MATERIALS
Expand Down Expand Up @@ -123,6 +117,12 @@
# INITIALISATION
/gate/run/initialize

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable

#================================================================

# TPSPencilBeam SOURCE
Expand Down
12 changes: 6 additions & 6 deletions GATE-RTion/DoseActor/mac/mainB1.mac
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
#/vis/disable

#================================================================

# MATERIALS
Expand Down Expand Up @@ -150,6 +144,12 @@
# INITIALISATION
/gate/run/initialize

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable

#================================================================

# TPSPencilBeam SOURCE
Expand Down
12 changes: 6 additions & 6 deletions GATE-RTion/DoseActor/mac/mainB2.mac
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
#/vis/disable

#================================================================

# MATERIALS
Expand Down Expand Up @@ -143,6 +137,12 @@
# INITIALISATION
/gate/run/initialize

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable

#================================================================

# TPSPencilBeam SOURCE
Expand Down
12 changes: 6 additions & 6 deletions GATE-RTion/DoseActor/mac/mainC.mac
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable

#================================================================

# MATERIALS
Expand Down Expand Up @@ -141,6 +135,12 @@
# INITIALISATION
/gate/run/initialize

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
##/vis/disable

#================================================================

# TPSPencilBeam SOURCE
Expand Down
12 changes: 6 additions & 6 deletions GATE-RTion/DoseActor2-CT/mac/main1voxel.mac
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,6 @@

#/control/alias type "simple"

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
#/vis/disable

#================================================================

# MATERIALS
Expand Down Expand Up @@ -85,6 +79,12 @@

/gate/run/initialize

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
#/vis/disable

#================================================================

# SOURCE
Expand Down
12 changes: 6 additions & 6 deletions GATE-RTion/DoseActor2-CT/mac/maincomplex.mac
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@
/control/alias dt "0.01"


#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
#/vis/disable

#================================================================

# MATERIALS
Expand Down Expand Up @@ -74,6 +68,12 @@

/gate/run/initialize

#================================================================

# VISUALISATION
#/control/execute mac/visu.mac
#/vis/disable

#================================================================

# SOURCE
Expand Down
12 changes: 6 additions & 6 deletions dosimetry/DNA/mixedDNA.mac
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,6 @@
# GUIDE: USE PHYSICSLIST MIXED
#=====================================================

#=====================================================
# VISUALISATION
#=====================================================

#/control/execute visu.mac

#===================================================
# MATERIAL DATABASE
#===================================================
Expand Down Expand Up @@ -39,6 +33,12 @@
/gate/run/initialize


#=====================================================
# VISUALISATION
#=====================================================

#/control/execute visu.mac

#=======================================================
# SOURCE
#=======================================================
Expand Down
12 changes: 6 additions & 6 deletions dosimetry/EMFields/electromagnetic-field/mac/main.mac
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#=====================================================
# Visualization
#=====================================================

#/control/execute mac/visu.mac

#=====================================================
# Material
#=====================================================
Expand Down Expand Up @@ -124,6 +118,12 @@

/gate/run/initialize

#=====================================================
# Visualization
#=====================================================

#/control/execute mac/visu.mac

#=====================================================
# Source
#=====================================================
Expand Down
19 changes: 12 additions & 7 deletions dosimetry/Radiotherapy/example1/mac/main.mac
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,11 @@


#=====================================================
# VERBOSE and VISUALISATION
# VERBOSE
#=====================================================

/control/execute mac/verbose.mac

# to use the visualisation :
# - uncomment the following line
# - use Gate --qt
# - in the interface, type /control/execute mac/main.mac
#/control/execute mac/visu.mac


#=====================================================
# GEOMETRY
Expand Down Expand Up @@ -121,6 +115,17 @@

/gate/run/initialize

#=====================================================
# VISUALISATION
#=====================================================

# to use the visualisation :
# - uncomment the following line
# - use Gate --qt
# - in the interface, type /control/execute mac/main.mac
#/control/execute mac/visu.mac


#=====================================================
# BEAMS
#=====================================================
Expand Down
14 changes: 8 additions & 6 deletions dosimetry/Radiotherapy/example10/mac/main-setle.mac
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@

/control/execute mac/verbose.mac

#=====================================================
# VISUALISATION
#=====================================================

#/control/execute mac/visu.mac

#=====================================================
# GEOMETRY
#=====================================================
Expand Down Expand Up @@ -90,6 +84,14 @@

/gate/run/initialize


#=====================================================
# VISUALISATION
#=====================================================

#/control/execute mac/visu.mac


#=====================================================
# BEAMS
#=====================================================
Expand Down
13 changes: 7 additions & 6 deletions dosimetry/Radiotherapy/example10/mac/main.mac
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@

/control/execute mac/verbose.mac

#=====================================================
# VISUALISATION
#=====================================================

#/control/execute mac/visu.mac

#=====================================================
# GEOMETRY
#=====================================================
Expand Down Expand Up @@ -92,6 +86,13 @@

/gate/run/initialize


#=====================================================
# VISUALISATION
#=====================================================

#/control/execute mac/visu.mac

#=====================================================
# BEAMS
#=====================================================
Expand Down
2 changes: 1 addition & 1 deletion dosimetry/Radiotherapy/example11/mac/main.mac
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

/control/execute mac/verbose.mac
/control/execute mac/visu.mac
/gate/geometry/setMaterialDatabase data/Materials.db

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Expand Down Expand Up @@ -134,6 +133,7 @@

/gate/run/initialize

/control/execute mac/visu.mac

#=====================================================
# INPUT BEAM
Expand Down
12 changes: 7 additions & 5 deletions dosimetry/Radiotherapy/example12/mac/main-read-PhS.mac
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@

/control/execute mac/verbose.mac

#=====================================================
# VISUALISATION
#=====================================================

/control/execute mac/visu.mac

# =====================================================
# GEOMETRY
Expand Down Expand Up @@ -121,6 +116,13 @@

/gate/run/initialize

#=====================================================
# VISUALISATION
#=====================================================

/control/execute mac/visu.mac


#=====================================================
# BEAMS
#=====================================================
Expand Down
Loading

0 comments on commit c184baf

Please sign in to comment.