[gate-users] viewpointThetaPhi command

Sebastien JAN jan at shfj.cea.fr
Wed Aug 10 11:13:32 CEST 2005


Hi,

That's exact, for g4 7, we need to use :

/vis/viewer/set/viewpointThetaPhi xx yy

or

/vis/drawView xx yy


Sorry for this mistake in the visualisation macro for benchmarks (the 
good command was included in the example macro).
This is now fixed for the 2.2.0 gate version on the web site, for SPECT 
and PET benchmarks.

Regards
Seb


Chen, Yu a écrit:
> Thanks, Fernando.
> 
> I suggest to modify the visulization macro correspondingly,
> e.g., /benchmarkPET/visu.mac.
> 
> Yu Chen, Ph.D.
> University of Massachusetts Medical School
> Division of Nuclear Medicine
> 55 Lake Avenue North
> Worcester, MA 01655-0243
> Phone:  (508) 856-6123
> Fax:    (508) 856-4572
> 
> 
> 
> -----Original Message-----
> From: Fernando Rannou [mailto:rannou at diinf.usach.cl]
> Sent: Mon 8/8/2005 2:20 PM
> To: GATE feedback and helpline for Users
> Subject: Re: [gate-users] viewpointThetaPhi command
>  
> Hi.
> it is under
>     
> /vis/viewer/set/viewpointThetaPhi
> 
> Fernando
> 
> On Mon, 2005-08-08 at 17:07 -0400, Chen, Yu wrote:
> 
>>Hi,
>>
>>I just installed GATE v2.2.0 (Geant4 7.0.p01) and found no 
>>
>>/vis/viewer/viewpointThataPhi
>>
>>command. 
>>
>>Before:
>>==============================================================
>>
>>Command directory path : /vis/viewer/
>> 
>>
>>Guidance :
>>Operations on Geant4 viewers.
>> 
>> Sub-directories :
>> 1) /vis/viewer/set/   Set view parameters of current viewer.
>> Commands :
>> 2) clear * /vis/viewer/clear [<viewer-name>]
>> 3) create * /vis/viewer/create  [<scene-handler>] [<viewer-name>] [<pixels>]
>> 4) dolly * /vis/viewer/dolly [<increment>] [<unit>]
>> 5) dollyTo * /vis/viewer/dollyTo [<distance>] [<unit>]
>> 6) flush * /vis/viewer/flush [<viewer-name>]
>> 7) lightsThetaPhi * /vis/viewer/lightsThetaPhi  [<theta>] [<phi>] [deg|rad]
>> 8) lightsVector * /vis/viewer/lightsVector  [<x>] [<y>] [<z>]
>> 9) list * /vis/viewer/list [<viewer-name>] [<verbosity>]
>> 10) pan * /vis/viewer/pan [<right-increment>] [<up-increment>] [<unit>]
>> 11) panTo * /vis/viewer/panTo [<right>] [<up>] [<unit>]
>> 12) refresh * /vis/viewer/refresh [<viewer-name>]
>> 13) remove * /vis/viewer/remove <viewer-name>
>> 14) reset * /vis/viewer/reset [<viewer-name>]
>> 15) select * /vis/viewer/select <viewer-name>
>> 16) update * /vis/viewer/update [<viewer-name>]
>> 17) show * Synonym for "/vis/viewer/update" - see that command for guidance.
>> 18) viewpointThetaPhi * /vis/viewer/viewpointThetaPhi  [<theta>] [<phi>] [deg|rad]
>> 19) viewpointVector * /vis/viewer/viewpointVector  [<x>] [<y>] [<z>]
>> 20) zoom * /vis/viewer/zoom [<multiplier>]
>> 21) zoomTo * /vis/viewer/zoomTo [<factor>]
>> 
>>=======================================================================================
>>
>>Now:
>>
>>=======================================================================================
>>
>>Command directory path : /vis/viewer/
>> 
>>
>>Guidance :
>>Operations on Geant4 viewers.
>> 
>> Sub-directories :
>> 1) /vis/viewer/set/   Set view parameters of current viewer.
>> Commands :
>> 2) clear * /vis/viewer/clear [<viewer-name>]
>> 3) create * /vis/viewer/create  [<scene-handler>] [<viewer-name>] [<pixels>]
>> 4) dolly * /vis/viewer/dolly [<increment>] [<unit>]
>> 5) dollyTo * /vis/viewer/dollyTo [<distance>] [<unit>]
>> 6) flush * /vis/viewer/flush [<viewer-name>]
>> 7) list * /vis/viewer/list [<viewer-name>] [<verbosity>]
>> 8) pan * /vis/viewer/pan [<right-increment>] [<up-increment>] [<unit>]
>> 9) panTo * /vis/viewer/panTo [<right>] [<up>] [<unit>]
>> 10) refresh * /vis/viewer/refresh [<viewer-name>]
>> 11) remove * /vis/viewer/remove <viewer-name>
>> 12) reset * /vis/viewer/reset [<viewer-name>]
>> 13) select * /vis/viewer/select <viewer-name>
>> 14) update * /vis/viewer/update [<viewer-name>]
>> 15) zoom * /vis/viewer/zoom [<multiplier>]
>> 16) zoomTo * /vis/viewer/zoomTo [<factor>]
>> 
>>================================================================================
>>
>>Is it due to my uncomplete installation or
>>due to the changed feature of Geant4?
>>
>>Thanks, Yu
>>
>>Yu Chen, Ph.D.
>>University of Massachusetts Medical School
>>Division of Nuclear Medicine
>>55 Lake Avenue North
>>Worcester, MA 01655-0243
>>Phone:  (508) 856-6123
>>Fax:    (508) 856-4572
>>
>>
>>
>>-----Original Message-----
>>From: gate-users-bounces at lphe1pet1.epfl.ch on behalf of gate-users-request at lphe1pet1.epfl.ch
>>Sent: Mon 8/8/2005 6:00 AM
>>To: gate-users at lphe1pet1.epfl.ch
>>Subject: gate-users Digest, Vol 17, Issue 11
>> 
>>Send gate-users mailing list submissions to
>>	gate-users at lphe1pet1.epfl.ch
>>
>>To subscribe or unsubscribe via the World Wide Web, visit
>>	http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
>>
>>Please use the GATE's site webmaster e-mail to  reach the person
>>managing the list.
>>
>>_______________________________________________
>>gate-users mailing list
>>gate-users at lphe1pet1.epfl.ch
>>http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> gate-users mailing list
> gate-users at lphe1pet1.epfl.ch
> http://lphe1pet1.epfl.ch/mailman/listinfo/gate-users




More information about the Gate-users mailing list