<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
Ok thanks for your help and the clarification.<br>
<br>
By the way, is there a method to visualize voxelized sources which
are read in from an interfile? At least I wasn't able to visualize
it in order to check whether it is located where it should be.<br>
<br>
My workaround would be to read it in as phantom an check the
position. However, in the manual it says, that I have to shift the
source by half in -x and -y direction. Is there a better way to
check the position?<br>
<br>
Cheers,<br>
Albert<br>
<br>
On 10/07/14 15:28, Jérôme Suhard wrote:<br>
</div>
<blockquote
cite="mid:CANCPmRfEvadkB3Q=+fBTRUeLfK0_cnDcuzhQMgxJkE9TaGHhWA@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Hi,<br>
<br>
I can reproduce it. <br>
Technically, my OpenGL custom commands are called one first
time even in Stored mode. At this moment, it seems that the
rotation was not yet applied. <br>
But with X11 in Stored mode, there is no "refresh" of the
graphical scene thus leading to this artifact, you can remove
it by forcing it with:<br>
/vis/viewer/refresh<br>
<br>
</div>
Best regards,<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">2014-07-10 9:25 GMT+02:00 Albert Hirtl
<span dir="ltr"><<a moz-do-not-send="true"
href="mailto:albert.hirtl@meduniwien.ac.at"
target="_blank">albert.hirtl@meduniwien.ac.at</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Dear Simon,<br>
<br>
Thanks for the header. I thought it's best if I simply
sent you some screen shots from my system (attached). I
hope the names make clear what's in the image.
Summarized one can say, that OGLIX does what it should,
OGLSX, however, at least on my system, does not what I
expect it to do.<br>
<br>
The command <br>
<br>
glxinfo | grep "OpenGL version"<br>
<br>
gives <br>
<br>
OpenGL version string: 2.1 Mesa 9.0-devel<br>
<br>
I am running Scientific Linux 6.0. <br>
<br>
Maybe everything is as it is expected to be? And simply
I misunderstand the properties of OGLSX?<br>
<br>
Cheers,<br>
Albert
<div>
<div class="h5"><br>
<br>
On 09/07/14 16:59, Simon Rit wrote:<br>
</div>
</div>
</div>
<div>
<div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Thanks for sharing the data with
us. I tested on my computer and I have
the expected behavior, i.e.,<br>
</div>
- the image is upside down because Y
goes from bottom to the top on Gate and
it's the opposite in VV,<br>
</div>
- if I set<br>
/gate/patient/placement/setRotationAngle
180 deg <br>
</div>
then it is back to its normal position<br>
</div>
- same thing if I use the enclosed mhd but it
is now upside down in VV</div>
- if I do the last two points together, it's
back to the original position.<br>
</div>
Is this not what you observe?<br>
Simon<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, Jul 9, 2014 at
3:55 PM, Albert Hirtl <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:albert.hirtl@meduniwien.ac.at"
target="_blank">albert.hirtl@meduniwien.ac.at</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi,<br>
<br>
Please find attached my very basic macros
and the header of my image file that I
used to play around with the .mhd feature
(as tar archive). I can not send the raw
data, since even if I gzip them they are
larger than 11 MB and my mail is rejected.
Do you have a mailbox which accepts more
than 11 MB?<br>
<br>
Thanks again and cheers,<br>
Albert
<div>
<div><br>
<br>
<br>
<br>
On 09/07/14 15:32, Jérôme Suhard
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>X stands for X11 (old
static window)<br>
</div>
Qt stands for ... Qt ( GUI
with mouse support)<br>
<br>
</div>
S(tored) mode: you just see a
box <br>
</div>
I(mmediate) mode: you see your
image with Gate7<br>
<br>
</div>
<div>so OGLS or OGLI should not
change orientation and/or
rotation...<br>
</div>
<div><br>
</div>
If you have time to send me your
CT/macro, I'm still interested by
them<br>
<div>
<div>
<div>
<div>
<div>
<div class="gmail_extra">
<br>
<br>
<div class="gmail_quote">2014-07-09
15:24 GMT+02:00 Albert
Hirtl <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:albert.hirtl@meduniwien.ac.at"
target="_blank">albert.hirtl@meduniwien.ac.at</a>></span>:<br>
<blockquote
class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
<div
bgcolor="#FFFFFF"
text="#000000">
<div>Hi,<br>
<br>
Thanks for the
prompt answer,
it was already
enough to solve
the problem:<br>
<br>
I initially
copied the
following line
from the
example_PHANTOM_SOURCE/Voxelized_Phantom_Source/mainMacro.mac<br>
<br>
/vis/open
OGLSX<br>
<br>
Motivated by
your answer I
tried OGL<b>I</b>X
and everything
is fine... Now
all orientations
are correct and
rotations work
properly.<br>
<br>
So, could OGLSX
be a typo in the
example?<br>
<br>
Thanks a lot for
you help! <br>
<br>
Cheers,<br>
Albert (a bit
embarrassed <span><span>
:-[ </span></span>)
<div>
<div><br>
<br>
<br>
On 09/07/14
15:09, Jérôme
Suhard wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote
type="cite">
<div dir="ltr">Hi,<br>
<div
class="gmail_extra"><br>
<div
class="gmail_quote">2014-07-09
15:01
GMT+02:00
Albert Hirtl <span
dir="ltr"><<a
moz-do-not-send="true" href="mailto:albert.hirtl@meduniwien.ac.at"
target="_blank">albert.hirtl@meduniwien.ac.at</a>></span>:<br>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">If
I display the
CT using OGLSX
it seems to be
bottom up. </blockquote>
<div><br>
</div>
<div>You mean
OGL<b>I</b>X,
right ?<br>
<br>
</div>
<blockquote
class="gmail_quote"
style="margin:0
0 0
.8ex;border-left:1px
#ccc
solid;padding-left:1ex">
/gate/patient/placement/setRotationAxis
0 0
1<br>
/gate/patient/placement/setRotationAngle
XXXX
deg<br>
<br>
it stays the
same. In vv it
was in the
correct
orientation.
The box that
is plotted
around the CT
seems to be
rotating,
however. Do I
make anything
wrong? Or is
just the image
that I see in
OGLSX not
rotating?<br>
</blockquote>
</div>
<br>
</div>
<div
class="gmail_extra">can
you give the
most small
macro with the
CT showing
this behaviour
?<br>
</div>
<div
class="gmail_extra"><br>
</div>
<div
class="gmail_extra">thanks<br
clear="all">
</div>
<div
class="gmail_extra">
<br>
-- <br>
<div dir="ltr">Jérôme
Suhard<br>
</div>
</div>
</div>
</blockquote>
<br>
<br>
</div>
</div>
<div>
<pre cols="72">--
Medizinische Universität Wien
Universitätsklinik für Radiologie und Nuklearmedizin
Währinger Gürtel 18-20
1090 Wien
Austria
Tel.: <a moz-do-not-send="true" href="tel:%2B43%20%280%29%201%20%2F%2040400%2055450" value="+4314040055450" target="_blank">+43 (0) 1 / 40400 55450</a>
Web:
<a moz-do-not-send="true" href="http://www.meduniwien.ac.at/user/albert.hirtl" target="_blank">http://www.meduniwien.ac.at/user/albert.hirtl</a>
<a moz-do-not-send="true" href="http://www.meduniwien.ac.at/moccamed/" target="_blank">http://www.meduniwien.ac.at/moccamed/</a>
</pre>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">Jérôme
Suhard<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<br>
<pre cols="72">--
Medizinische Universität Wien
Universitätsklinik für Radiologie und Nuklearmedizin
Währinger Gürtel 18-20
1090 Wien
Austria
Tel.: <a moz-do-not-send="true" href="tel:%2B43%20%280%29%201%20%2F%2040400%2055450" value="+4314040055450" target="_blank">+43 (0) 1 / 40400 55450</a>
Web:
<a moz-do-not-send="true" href="http://www.meduniwien.ac.at/user/albert.hirtl" target="_blank">http://www.meduniwien.ac.at/user/albert.hirtl</a>
<a moz-do-not-send="true" href="http://www.meduniwien.ac.at/moccamed/" target="_blank">http://www.meduniwien.ac.at/moccamed/</a>
</pre>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Gate-users@lists.opengatecollaboration.org"
target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users"
target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<br>
<pre cols="72">--
Medizinische Universität Wien
Universitätsklinik für Radiologie und Nuklearmedizin
Währinger Gürtel 18-20
1090 Wien
Austria
Tel.: <a moz-do-not-send="true" href="tel:%2B43%20%280%29%201%20%2F%2040400%2055450" value="+4314040055450" target="_blank">+43 (0) 1 / 40400 55450</a>
Web:
<a moz-do-not-send="true" href="http://www.meduniwien.ac.at/user/albert.hirtl" target="_blank">http://www.meduniwien.ac.at/user/albert.hirtl</a>
<a moz-do-not-send="true" href="http://www.meduniwien.ac.at/moccamed/" target="_blank">http://www.meduniwien.ac.at/moccamed/</a>
</pre>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Gate-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users"
target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
Jérôme Suhard<br>
</div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Medizinische Universität Wien
Universitätsklinik für Radiologie und Nuklearmedizin
Währinger Gürtel 18-20
1090 Wien
Austria
Tel.: +43 (0) 1 / 40400 55450
Web:
<a class="moz-txt-link-freetext" href="http://www.meduniwien.ac.at/user/albert.hirtl">http://www.meduniwien.ac.at/user/albert.hirtl</a>
<a class="moz-txt-link-freetext" href="http://www.meduniwien.ac.at/moccamed/">http://www.meduniwien.ac.at/moccamed/</a>
</pre>
</body>
</html>