[Gate-users] Rotate the source position
Brent Huisman
brent.huisman at insa-lyon.fr
Mon Apr 27 10:45:25 CEST 2015
Hi Sonoko,
What if you do not attach your source? Perusing the Gate documentation it seems after attachment, the position of the source is meant to be controlled by the volume it is attached to. See http://wiki.opengatecollaboration.org/index.php/Users_Guide_V7.0:Source#Attach_to_a_volume
Cheers,
Brent
> Date: Fri, 24 Apr 2015 12:57:54 -0700 (PDT)
> From: Sonoko Nakano <snakano at sfu.ca>
> To: gate-users at lists.opengatecollaboration.org
> Subject: [Gate-users] Rotate the source position
> Message-ID: <1027949591.24121671.1429905474240.JavaMail.zimbra at sfu.ca>
> Content-Type: text/plain; charset=utf-8
>
> Hi Gate users,
>
> I am using Gate v6.2.
> I want to place a line source along *the x-axis*. (By default, a line source is placed along the z-axis.)
> Could someone help me how to do it?
>
>
> I am a bit confused, because a year ago when I rotated the phantom (a line) to place it along the x-axis,
>
> /gate/Phantom1/placement/setRotationAxis 0 1 0
> /gate/Phantom1/placement/setRotationAngle 90 deg
>
> and attached the source to Phantom1,
>
> /gate/source/SourceConfinement/attachTo Phantom1
>
> then I could see the trajectories coming from the line source which was along the x-axis.
>
> But now when I run the same code, the trajectories are coming from the line which is along the z-axis. (default line source position)
> I know that there is a limitation to view the source which is rotated, But is it the same for the trajectories?
>
> Best regards,
>
> Sonoko
>
>
> ------------------------------
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
>
> End of Gate-users Digest, Vol 107, Issue 41
> *******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20150427/e34ac732/attachment.html>
More information about the Gate-users
mailing list