<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">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<br>
      <br>
      On 09/07/14 16:59, Simon Rit wrote:<br>
    </div>
    <blockquote
cite="mid:CAF0oig2u0bvGxN4s_yiAKnRD9zr0BdRMsR9Tj=YZ4ShOCwsJzA@mail.gmail.com"
      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 class="h5"><br>
                    <br>
                    <br>
                    <br>
                    On 09/07/14 15:32, Jérôme Suhard wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <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">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 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>