<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hey guys,<br>
    <br>
    here is a 2D example of what I wanted to do. I think data
    transformation would not be the correct way of doing this.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Am 05.12.2015 um 09:35 schrieb Imre
      Goretzki:<br>
    </div>
    <blockquote cite="mid:5662A1B8.2060704@gmail.com" type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      Cory,<br>
      <br>
      is it possible to change the tick of the axes? Right know using
      the transform filter is equivalent to the second image.
      Unfortunately that is not what I would like to have. I think the
      best way to do this is to change to tick of the Z-Dimension.<br>
      <br>
      The image has the dimensions 520x520x47. So the tick for x and y
      is 1, for z it should be 47/520. I don't want to change the data.<br>
      <br>
      Imre<br>
      <br>
      <div class="moz-cite-prefix">Am 04.12.2015 um 20:56 schrieb Cory
        Quammen:<br>
      </div>
      <blockquote
cite="mid:CAB5Fpx7F6N3sWbkMKFDtwVO-yFqE1LPW1Bu2U8ujq_a-eFVfwg@mail.gmail.com"
        type="cite">
        <div dir="ltr">Imre,
          <div><br>
          </div>
          <div>Your best bet is probably to transform the data itself
            rather than the user transform of the actors.</div>
          <div><br>
          </div>
          <div>vtkSmartPointer<vtkTransformFilter> transformFilter
            = vtkSmartPointer<vtkTransformFilter>::New();</div>
          <div>transformFilter->SetTransform(axis);</div>
          <div>transformFilter->SetInputData(<your input
            data>);</div>
          <div><br>
          </div>
          <div>HTH,</div>
          <div>Cory</div>
        </div>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Fri, Dec 4, 2015 at 1:48 PM, Imre
            Goretzki <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:goretzki.imre@gmail.com" target="_blank">goretzki.imre@gmail.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">I have
              data like this:<br>
              <a moz-do-not-send="true"
                href="http://i.imgur.com/CR2O8Ik.png" rel="noreferrer"
                target="_blank">http://i.imgur.com/CR2O8Ik.png</a><br>
              and I would like to "stretch" the Z-axis to get more like
              a cube visualization.<br>
              <br>
              I used vtkTransform to transform the axes, but I would
              change the data if I do this. I hope you understand what I
              want to do, e.g. is there a possibility to change /
              stretch the ticks of a specific axis.<br>
              <br>
              The vtkTransform plot stretches to much:<br>
              <a moz-do-not-send="true"
                href="http://i.imgur.com/DDUW91T.png" rel="noreferrer"
                target="_blank">http://i.imgur.com/DDUW91T.png</a><br>
              The data is deformed<br>
              <br>
              I use the vtkTransform like this:<br>
              vtkSmartPointer<vtkTransform> axis =
              vtkSmartPointer<vtkTransform>::New();<br>
              axis->Scale(1,1,10);<br>
              <br>
              dataActor->SetUserTransform(axis);<br>
              outlineActor->SetUserTransform(axis);<br>
              <br>
              I tried using the camera with the vtkTransform, but the
              only thing I got from there, was an empty image or I had
              to zoom out greatly.<br>
              <br>
              For matlab reference, something like this:<br>
              <a moz-do-not-send="true"
                href="http://de.mathworks.com/help/matlab/ref/axis.html?refresh=true"
                rel="noreferrer" target="_blank">http://de.mathworks.com/help/matlab/ref/axis.html?refresh=true</a><br>
              <br>
              Would be nice if you could help me<span class="HOEnZb"><font
                  color="#888888"><br>
                  <br>
                  Imre</font></span>
              <div class="HOEnZb">
                <div class="h5"><br>
                  <br>
                  Am 03.12.2015 um 22:20 schrieb Imre Goretzki:<br>
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex;border-left:1px #ccc solid;padding-left:1ex">
                    Hey guys<br>
                    <br>
                    i'd like to ask you if there's a equivalent method
                    for vtkRenderWindow for equalizing the axis, just
                    like MATLABs axis equal. Could vtkAxesActor be
                    helpful?<br>
                    <br>
                    I hope you can help<br>
                    <br>
                    Thanks<br>
                    Imre<br>
                    <br>
                  </blockquote>
                  <br>
                  _______________________________________________<br>
                  Powered by <a moz-do-not-send="true"
                    href="http://www.kitware.com" rel="noreferrer"
                    target="_blank">www.kitware.com</a><br>
                  <br>
                  Visit other Kitware open-source projects at <a
                    moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.kitware.com/opensource/opensource.html"><a class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></a><br>
                  <br>
                  Please keep messages on-topic and check the VTK FAQ
                  at: <a moz-do-not-send="true"
                    href="http://www.vtk.org/Wiki/VTK_FAQ"
                    rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
                  <br>
                  Search the list archives at: <a
                    moz-do-not-send="true"
                    href="http://markmail.org/search/?q=vtkusers"
                    rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="http://markmail.org/search/?q=vtkusers">http://markmail.org/search/?q=vtkusers</a></a><br>
                  <br>
                  Follow this link to subscribe/unsubscribe:<br>
                  <a moz-do-not-send="true"
                    href="http://public.kitware.com/mailman/listinfo/vtkusers"
                    rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
                </div>
              </div>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div class="gmail_signature">Cory Quammen<br>
            R&D Engineer<br>
            Kitware, Inc.</div>
        </div>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>