[Gate-users] translation of voxelizedphantom as a block?
Howard
lomahu at gmail.com
Tue Aug 13 18:42:08 CEST 2019
Dear Gate Users,
I am trying to utilize the voxelized phantom as a beam block for X-ray.
First of all, I am not sure if this is feasible. If it is, then I'd like to
move the block to along the x-axis by, say, 30cm. I used the brain_phantom
as the voxelizedphantom. However, I found that the phantom was still at the
isocenter while the block had a displacement, as shown in the figure (
https://ibb.co/9HpXPCQ). For your reference, I am also attaching the macro
below.
Any suggestions would be appreciated!
Howard
====================================================
/gate/world/daughters/name block
/gate/world/daughters/insert ImageRegularParametrisedVolume
/gate/block/geometry/setImage ./voxelized/brain_phantom.h33
/gate/block/geometry/setRangeToMaterialFile
./voxelized/attenuation_range_brain.dat
#/gate/block/geometry/TranslateTheImageAtThisIsoCenter 0. 0. 0. mm
/gate/block/placement/setTranslation 300. 0. -400. mm ### 20. 0. -30.
/gate/block/placement/setRotationAxis 0 0 1
/gate/block/placement/setRotationAngle 0. deg
/gate/block/vis/forceWireframe
/gate/block/moves/insert rotation
/gate/block/rotation/setSpeed 45. deg/s
/gate/block/rotation/setAxis 0 0 1
/gate/block/attachPhantomSD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20190813/08dcd6a2/attachment.html>
More information about the Gate-users
mailing list