[Gate-users] installation complete

Simon Stute gate.stute at gmail.com
Wed Jan 20 12:18:38 CET 2010


Hi,

If you want to keep your visualization 'on' without having to launch a real
simulation, you just have to launch Gate in interactive mode (just launch
Gate without argument), and the you type the command /control/execute
/path/to/my/macro.mac. And that's it !
Even if you want to change the visualization angle, you can then use the
command /vis/viewer/set/viewpointThetaPhi 60 60 any times you want changing
the angle values to get the appropriate angle of view. Same thing for the
zoom, and other visualization commands.

Cheers !
Simon

On Wed, Jan 20, 2010 at 11:42 AM, Nicolas Ivanovich <nivanovich at gmail.com>wrote:

> Thank you Mike.
>
> I will see that examples.
>
> 2010/1/20 Jan Mickelle Maratas <jmmaratas at gmail.com>
>
> > Hi,
> >
> > If you are running only the "visualization.mac", then Gate will terminate
> > right after executing all the commands in visualization.mac.
> >
> > Add commands for the detector construction, phantom construction,
> > physics list, radiation source, and then INCREASE acquisition time.
> >
> > Maybe you should try running the examples in PET and SPECT folder
> > first.
> >
> > Hope it helps!
> >
> >
> > Mike
> >
> > On Wed, Jan 20, 2010 at 10:11 AM, Nicolas Ivanovich <
> nivanovich at gmail.com>wrote:
> >
> >> Hi Fares.
> >>
> >> That works. Thank you. But why the visualization stand for so few
> secons?
> >> how can I keep it for more time on the screen?.
> >>
> >> 2010/1/19 Fares Alhassen <fares.alhassen at radiology.ucsf.edu>
> >>
> >> > I think there's an error with the macro. Try changing
> >> >
> >> > /vis/viewer/viewpointThetaPhi 60 60
> >> >
> >> > To
> >> >
> >> > /vis/viewer/set/viewpointThetaPhi 60 60
> >> >
> >> >
> >> > Sincerely,
> >> > Fares
> >> >
> >> > On 1/19/10 5:32 PM, "Nicolas Ivanovich" <nivanovich at gmail.com> wrote:
> >> >
> >> > > Hi Gate users
> >> > >
> >> > > Finally I got to compile the gate software. I want to thank to all
> >> people
> >> > > that help me with that task.
> >> > >
> >> > > However now I got the following error when I started to run the
> >> example
> >> > in
> >> > > the user guide:
> >> > >
> >> > > root at ubuntu:/home/nicolas/Desktop/gate/bin/Linux-g++# ./Gate
> >> > > /home/nicolas/Desktop/gate/examples/tutorial/visualizacion.mac
> >> > >
> >> > > *************************************************************
> >> > >  Geant4 version Name: geant4-09-02-patch-01    (13-March-2009)
> >> > >                       Copyright : Geant4 Collaboration
> >> > >                       Reference : NIM A 506 (2003), 250-303
> >> > >                             WWW : http://cern.ch/geant4
> >> > > *************************************************************
> >> > >
> >> > > Visualization Manager instantiating...
> >> > > Visualization Manager initialising...
> >> > > Registering graphics systems...
> >> > >
> >> > > You have successfully registered the following graphics systems.
> >> > > Current available graphics systems are:
> >> > >   ASCIITree (ATree)
> >> > >   DAWNFILE (DAWNFILE)
> >> > >   G4HepRep (HepRepXML)
> >> > >   G4HepRepFile (HepRepFile)
> >> > >   RayTracer (RayTracer)
> >> > >   VRML1FILE (VRML1FILE)
> >> > >   VRML2FILE (VRML2FILE)
> >> > >   OpenGLImmediateX (OGLIX)
> >> > >   OpenGLStoredX (OGLSX)
> >> > >   RayTracerX (RayTracerX)
> >> > >
> >> > > Registering model factories...
> >> > >
> >> > > You have successfully registered the following model factories.
> >> > > Registered model factories:
> >> > >   generic
> >> > >   drawByCharge
> >> > >   drawByParticleID
> >> > >   drawByOriginVolume
> >> > >   drawByAttribute
> >> > >
> >> > > Registered filter factories:
> >> > >   chargeFilter
> >> > >   particleFilter
> >> > >   originVolumeFilter
> >> > >   attributeFilter
> >> > >
> >> > > Time set to (s) 0
> >> > > Got standard cmap
> >> > > Window name: viewer-0 (OpenGLStoredX)
> >> > > ***** COMMAND NOT FOUND </vis/viewer/viewpointThetaPhi 60 60> *****
> >> > >
> >> > > ***** Batch is interupted!! *****
> >> > > Graphics systems deleted.
> >> > > Visualization Manager deleting...
> >> > > GateRTPhantomMgr deleting...
> >> > >
> >> > > This error appears with a macro that I defined for the visualization
> >> > section
> >> > > described in the mentioned example. I attached that macro.
> >> > >
> >> > >
> >> > > Thank you in advance.
> >> > > _______________________________________________
> >> > > Gate-users mailing list
> >> > > Gate-users at lists.opengatecollaboration.org
> >> > > http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> >> >
> >> > ------------------------------------------------
> >> > Fares Alhassen
> >> > Associate Specialist
> >> > UCSF Physics Research Laboratory
> >> > Department of Radiology and Biomedical Imaging
> >> > University of California, San Francisco
> >> > 185 Berry Street, Suite 350 BOX # 0946
> >> > San Francisco, CA 94143-0946 (94107 UPS/FedEx/DHL)
> >> > email: fares.alhassen at radiology.ucsf.edu
> >> > web: http://radiology.ucsf.edu/physics
> >> >
> >> >
> >> >
> >> >
> >> _______________________________________________
> >> Gate-users mailing list
> >> Gate-users at lists.opengatecollaboration.org
> >> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
> >>
> >
> >
> >
> > --
> > #################################################################
> >   Computational High Energy Physics Laboratory, Physics Department,
> >   College of Science and Mathematics, MSU - Iligan Institute of
> Technology
> >   A. Bonifacio Ave., Tibanga, 9200 Iligan City, Philippines
> >   E-mail: jmmaratas at gmail.com, jmmaratas at physics.msuiit.edu.ph
> > #################################################################
> >
> >
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>


More information about the Gate-users mailing list