|Message: Re: GUI problems in example N03||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
It is a user choice. This is because only the user can know what libraries are available on his/her machine.
So you have 4 OGL possibilities.
I = "immediate mode" - the viewer draws to the screen without storing the graphical information. This is probably best for a complex detector or a view with many trajectories because memory for graphical information can become a problem. But if you want to change views the viewer has to revisit the Geant4 kernel to regenerate the view, which can be slow.
S = "stored mode" - the viewer draws and stores. The graphical information is stored in OpenGL "display lists". It forms a sort of graphical database. These display lists are often stored in the graphics hardware so to regenerate a view, say from another viewpoint, can be very fast.
X = X windows. This window is not interactive except for picking (/vis/viewer/set/picking).
Xm = Motif, an interactive layer above X Windows. This gets you some pull down menues and interaction panels, as you have noticed.
Qt = another type of interactive layer. Currently the Geant4 driver is only available in beta release. You have to install Qt.
So for a simple detector with maximum interactivity in your case:
/vis/open OGLSXm 600x600-0+0
(the 2nd argument (optional) places it in the top right corner, otherwise the window manager puts it where it likes.)
You can open as many viewers as you like.
I would advise against trying to close the windows and panels - we are not very good at handling such events. They will be closed when you exit Geant4.
You can use X and Xm from any session, even from a terminal. For Xm you get the interactive buttons in the viewer.
The user also has a choice of user interface, which we call a session. Again, you will see from exampleN03.cc how this choice is made - it depends on environment variables that are translated into cpp (C-pre-processor) names that are queried by the #ifdef statements. Anyway, you should arrange to instantiate only one either by editing exampleN03.cc or choosing your environment.
If you choose G4UIXm you get an interactive session and access to /gui/ commands. Again, you will see from exampleN03.cc that visTutor/gui.mac is executed for you in this case, but you could, if you like, remove that line from exampleN03.cc and execute it yourself in the command window at the bottom of the Xm session.
If you want OGLSQt you must choose a G4UIQt session (and, of course, you must have Qt installed).
I hope this helps.
|Inline Depth:||Outline Depth:||Add message:|