<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Ok,<div><br></div><div>My idea is simple (<a href="http://www.paraview.org/Bug/view.php?id=13583">http://www.paraview.org/Bug/view.php?id=13583</a>).&nbsp;</div><div>We visualizes data with non convectional axes, so we put that information (name and units) in the labels. Also we want to be able to use the transformation filter to modified the meshes, and we want the axis and labels to follow the transformation. So I'm writing a filter (vtkTransformWithAxis) that apply the transform to the mesh and to all the data that is used for the cube axis.</div><div><br></div><div>But I'm not able create correctly the&nbsp;OrientedBoundingBox and the three vectors to generate the Non Orthogonal Bounding Box.</div><div><br></div><div>So if the input does not have all the data for the axis, it will generate the data (vector, OriendedBoundigBox... and so on ) , and then apply the transformation filter.</div><div><br></div><div>Is that&nbsp;clearer?&nbsp;</div><div><br></div><div>Thanks for you time so far.</div><div>Felipe&nbsp;</div><div><br><div><div><div>Le 16 nov. 12 à 19:33, Sebastien Jourdain a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi Felipe,<div><br></div><div>could you rephrase your question, as I'm not sure to follow you anymore. Specially what are the piece of informations that are still missing to you.</div><div><br></div><div>Thanks,</div><div> <br></div><div>Seb</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 16, 2012 at 1:13 PM, Felipe Bordeu <span dir="ltr">&lt;<a href="mailto:felipebordeu@gmail.com" target="_blank">felipebordeu@gmail.com</a>&gt;</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>I have no problem with the use custom      range. <br>      <br>      My problem is than I use a home made transform filter to transform      my data, our data is sometimes degenerated (one axis is very very      small), so we use the transform filter to increase the size of      that dimensions. But the problems is that the cube axes does not      have the good units any more ( so we want to keep the labels of      the input by applying the same transform) <br>      <br>      Until now I can apply only translation and scale, not rotation. <br>      <br>      note: in the images the little arrow is the original one. <br>      <br>      <span>&lt;bhfgfhca.png&gt;</span><br>      <span>&lt;ddgjfefc.png&gt;</span><br>      <br>      Felipe<br>      <br>      Le 16/11/2012 17:47, Sebastien Jourdain a écrit&nbsp;:<br>    </div><div><div class="h5">    <blockquote type="cite">Oops,      <div><br>      </div>      <div>the "<span style="font-family:arial,sans-serif;font-size:13px">Use Custom          Range" will use the text field property but this will add          extra information so when you use the QuadView, the QuadView          will be able to know what the slices origin is regarding those          arbitrary bounds.</span></div>      <div><span style="font-family:arial,sans-serif;font-size:13px"><br>        </span></div>      <div><span style="font-family:arial,sans-serif;font-size:13px">Hope          that makes a little bit more sense,</span></div>      <div><span style="font-family:arial,sans-serif;font-size:13px"><br>        </span></div>      <div><span style="font-family:arial,sans-serif;font-size:13px">Seb</span></div>      <div class="gmail_extra"><br>        <br>        <div class="gmail_quote">On Fri, Nov 16, 2012 at 11:42 AM,          Sebastien Jourdain <span dir="ltr">&lt;<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.com</a>&gt;</span>          wrote:<br>          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Felipe,            <div><br>            </div>            <div>if you check "Use Custom Range" the cube axis will use              the oriented bounds correctly for the labels instead of              using the world space coordinate bounds.</div>            <div>This happen by adding new field data providing the              min/max for each axis that should be used for the labels.</div>            <div><br>            </div>            <div>Regarding you question the end points of the cube axes              will be</div>            <div><br>            </div>            <div>              <div>Pmin = U*OrientedBounds[0] + V*OrientedBouds[2] +                W*OrientedBouds[4]</div>            </div>            <div>...</div>            <div>              <div>Pmax = U*OrientedBounds[1] + V*OrientedBouds[3] +                W*OrientedBouds[5]</div>            </div>            <div><br>            </div>            <div>Hope that help,</div>            <div><br>            </div>            <div>Seb</div>            <div><br>            </div>            <div class="gmail_extra"><br>              <br>              <div class="gmail_quote">                <div>                  <div>On Fri, Nov 16, 2012 at 10:02 AM,                    Felipe Bordeu <span dir="ltr">&lt;<a href="mailto:felipe.bordeu@ec-nantes.fr" target="_blank">felipe.bordeu@ec-nantes.fr</a>&gt;</span>                    wrote:<br>                  </div>                </div>                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">                  <div>                    <div>                      <div bgcolor="#FFFFFF" text="#000000"> Hi,<br>                        <br>                        I am trying&nbsp; to understand how the new                        annotation for the cube axis works.<br>                        <br>                        I don't understand how to define the                        OrientedBoundingBox FieldData variable. (I                        understand the c++ part, that’s easy ;) )<br>                        (I'm working with a c++ reader plugin).<br>                        <br>                        What is the relation between the Oriented Bound                        and the scale and the position of the axis.<br>                        <span>&lt;mime-attachment.png&gt;</span><br>                        <pre cols="72">    Thanks 

    Felipe

    

    ps: Paraview 3.98.0-RC2 git version, kubuntu 12.04 64.

-- 

Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : <a href="tel:33%20%280%292%2040%2037%2016" value="+13302403716" target="_blank">33 (0)2 40 37 16</a> 57
Fax. : <a href="tel:33%20%280%292%2040%2074%2074" value="+13302407474" target="_blank">33 (0)2 40 74 74</a> 06
<span><font color="#888888"><a href="mailto:Felipe.Bordeu@ec-nantes.fr" target="_blank">Felipe.Bordeu@ec-nantes.fr</a>
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------</font></span></pre>                      </div>                      <br>                    </div>                  </div>                  _______________________________________________<br>                  Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>                  <br>                  Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>                  <br>                  Please keep messages on-topic and check the ParaView                  Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>                  <br>                  Follow this link to subscribe/unsubscribe:<br>                  <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>                  <br>                </blockquote>              </div>              <br>            </div>          </blockquote>        </div>        <br>      </div>    </blockquote>    <br>    <br>    </div></div><pre cols="72"><span class="HOEnZb"><font color="#888888">-- 
Felipe Bordeu Weldt
Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : <a href="tel:33%20%280%292%2040%2037%2016" value="+13302403716" target="_blank">33 (0)2 40 37 16</a> 57
Fax. : <a href="tel:33%20%280%292%2040%2074%2074" value="+13302407474" target="_blank">33 (0)2 40 74 74</a> 06
</font></span><div class="im"><a href="mailto:Felipe.Bordeu@ec-nantes.fr" target="_blank">Felipe.Bordeu@ec-nantes.fr</a>
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------
</div></pre>  </div> </blockquote></div><br></div></blockquote></div><br></div></div></body></html>