<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.E-mailStlus18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi </span>Xinjie,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="EN-US">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Arpad<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US" style="mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="HU">Feladó:</span></b><span lang="HU"> Gate-users <gate-users-bounces@lists.opengatecollaboration.org>
<b>E személy nevében: </b>Xinjie Cao<br>
<b>Küldve:</b> Freitag, 26. März 2021 23:48<br>
<b>Címzett:</b> Gate-Users <gate-users@lists.opengatecollaboration.org><br>
<b>Tárgy:</b> [Gate-users] Phantom Placement Translation<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Dear all,<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">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.<o:p></o:p></p>
</div>
<p class="MsoNormal"><img width="344" height="492" style="width:3.5833in;height:5.125in" id="Kép_x0020_1" src="cid:image001.jpg@01D7241C.0F08D400"><o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">The visualization and the phantom parts of the macro are as follow:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">==========================================================<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b>/vis/open OGLIQt</b><o:p></o:p></p>
</div>
<p class="MsoNormal"><b>/vis/viewer/set/viewpointThetaPhi 0 0<br>
/vis/viewer/zoom 6.0</b><o:p></o:p></p>
<div>
<p class="MsoNormal"><b>/vis/drawVolume </b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><b>/gate/world/daughters/name hof_brain<br>
/gate/world/daughters/insert ImageRegularParametrisedVolume</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><b><br>
/gate/hof_brain/geometry/setImage phantom.hdr<br>
/gate/hof_brain/geometry/setRangeToMaterialFile range.dat<br>
<br>
/gate/hof_brain/placement/setTranslation 0. 125. 0. mm<br>
/gate/hof_brain/placement/setRotationAxis 0 0 1<br>
/gate/hof_brain/placement/setRotationAngle 90 deg</b><br>
<br>
/gate/geometry/rebuild <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Does anyone have some idea why there is a phantom left at the center? Any answer will be highly appreciated! Thanks!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Best,<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Xinjie<o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>