[Gate-users] Multiple rotations
Fares Alhassen
fares.alhassen at radiology.ucsf.edu
Thu Feb 18 00:18:10 CET 2010
Dear all,
Does anyone know how to perform multiple rotations on shapes? For example,
if I want to rotate a geometry by 47 degrees about the x-axis and 27 degrees
about the z-axis, how would I go about doing that?
If I write
/gate/volume_name/placement/setRotationAxis 1 0 0
/gate/volume_name/placement/setRotationAngle 47 deg
/gate/volume_name/placement/setRotationAxis 0 0 1
/gate/volume_name/placement/setRotationAngle 27 deg
GATE will simply use the last specified rotation axis and angle. Is there a
way I can specify a rotation matrix for my volume?
Sincerely,
Fares
------------------------------------------------
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
T: (415) 353-9438
F: (415) 353-9421
web: http://radiology.ucsf.edu/physics
More information about the Gate-users
mailing list