[Gate-users] Phantom Placement Translation

Jakab Árpád arpad.jakab at outlook.hu
Sun Mar 28 21:48:20 CEST 2021


Hi Xinjie,

The best is to attach the voxel image to a vacuum volume and perform the translation and rotation on this parent object. That’s how I overcome this same problem.

Arpad

Feladó: Gate-users <gate-users-bounces at lists.opengatecollaboration.org> E személy nevében: Xinjie Cao
Küldve: Freitag, 26. März 2021 23:48
Címzett: Gate-Users <gate-users at lists.opengatecollaboration.org>
Tárgy: [Gate-users] Phantom Placement Translation

Dear all,

I am trying to shift a voxelized body phantom along the y-axis with 90 degrees rotation angle along the z-axis. Although the phantom was shifted to the right position with the right angle, there was always an original phantom left at the center of the FOV, as you could see in the following image:

The top one marked by the red circle is the phantom after the right shift and the bottom is the original phantom at the center of FOV.
[cid:image001.jpg at 01D7241C.0F08D400]

The visualization and the phantom parts of the macro are as follow:
==========================================================
/vis/open                           OGLIQt
/vis/viewer/set/viewpointThetaPhi   0 0
/vis/viewer/zoom                    6.0
/vis/drawVolume

/gate/world/daughters/name hof_brain
/gate/world/daughters/insert ImageRegularParametrisedVolume

/gate/hof_brain/geometry/setImage phantom.hdr
/gate/hof_brain/geometry/setRangeToMaterialFile range.dat

/gate/hof_brain/placement/setTranslation  0. 125. 0. mm
/gate/hof_brain/placement/setRotationAxis 0 0 1
/gate/hof_brain/placement/setRotationAngle 90 deg

/gate/geometry/rebuild

Does anyone have some idea why there is a phantom left at the center? Any answer will be highly appreciated! Thanks!

Best,
Xinjie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210328/d0918cec/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 93327 bytes
Desc: image001.jpg
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20210328/d0918cec/attachment-0001.jpg>


More information about the Gate-users mailing list