source: trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/visTutor/exN03Tree0_mac.html

Last change on this file was 904, checked in by garnier, 17 years ago

ajout de la doc

File size: 3.2 KB
Line 
1<pre>
2#######################################################################
3# MACRO FILE NAME: exN03Tree0.mac #
4# #
5# AUTHOR(S): Satoshi Tanaka #
6# #
7# DATE: #
8# Sept 08-09, 2001 (at Hebden Bridge, UK) #
9# June 20, 2001 #
10# #
11# CONTENTS: A macro to demonstrate ASCII DTREE #
12# #
13# USAGE: #
14# % $G4BINDIR/exampleN03 #
15# Idle> /control/execute visTutor/exN03Tree0.mac #
16# #
17# REQUIRED PLATFORMS & SOFTWARES: Unix / Windows #
18# #
19# ENVIRONMENTAL VARIABLES (C-MACROS) FOR INSTALLATION: #
20# #
21# * Unnecessary #
22# #
23# ENVIRONMENTAL VARIABLES (C-MACROS) FOR COMPILATION: #
24# (See geant4/source/visualization/README for details.) #
25# #
26# * Unnecessary #
27# #
28# VERBOSE LEVEL: #
29# #
30# < 10: - does not print daughters of repeated logical volumes. #
31# - does not repeat replicas. #
32# >= 10: prints all physical volumes. #
33# For level of detail add: #
34# >= 0: prints physical volume name. #
35# >= 1: prints logical volume name. #
36# >= 2: prints solid name and type. #
37# #
38# ADDITIONAL NOTES: #
39# * The geometry tree is displayed in the stdout. #
40# * The compound command to visualize geometry tree: #
41# /vis/drawTree [<physical-volume-name>] [<system>] #
42#######################################################################
43
44# Draw the whole geometry tree
45/vis/drawTree
46
47# Draw a part of tree
48/vis/drawTree Gap
49
50# Change the level to display details
51/vis/ASCIITree/verbose 1
52/vis/drawTree
53
54# Change the level to display details
55/vis/ASCIITree/verbose 2
56/vis/drawTree
57
58# Change the level to display details
59/vis/ASCIITree/verbose 10
60/vis/drawTree
61</pre>
Note: See TracBrowser for help on using the repository browser.