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">On Fri, Nov 16, 2012 at 10:02 AM, Felipe Bordeu <span dir="ltr"><<a href="mailto:felipe.bordeu@ec-nantes.fr" target="_blank">felipe.bordeu@ec-nantes.fr</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">
Hi,<br>
<br>
I am trying 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>
<img src="cid:part1.07020902.01090104@ec-nantes.fr" alt=""><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. : 33 (0)2 40 74 74 06
<span class="HOEnZb"><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>_______________________________________________<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>