[Paraview] Show custom cube axes annotations
Sebastien Jourdain
sebastien.jourdain at kitware.com
Fri Nov 16 11:42:08 EST 2012
Hi Felipe,
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.
This happen by adding new field data providing the min/max for each axis
that should be used for the labels.
Regarding you question the end points of the cube axes will be
Pmin = U*OrientedBounds[0] + V*OrientedBouds[2] + W*OrientedBouds[4]
...
Pmax = U*OrientedBounds[1] + V*OrientedBouds[3] + W*OrientedBouds[5]
Hope that help,
Seb
On Fri, Nov 16, 2012 at 10:02 AM, Felipe Bordeu
<felipe.bordeu at ec-nantes.fr>wrote:
> Hi,
>
> I am trying to understand how the new annotation for the cube axis works.
>
> I don't understand how to define the OrientedBoundingBox FieldData
> variable. (I understand the c++ part, that’s easy ;) )
> (I'm working with a c++ reader plugin).
>
> What is the relation between the Oriented Bound and the scale and the
> position of the axis.
>
>
> Thanks
>
> Felipe
>
>
>
> ps: Paraview 3.98.0-RC2 git version, kubuntu 12.04 64.
>
> --
>
> Felipe Bordeu Weldt
> Ingénieur de Recherche
> -------------------------------------
> Tél. : 33 (0)2 40 37 16 57
> Fax. : 33 (0)2 40 74 74 06Felipe.Bordeu at ec-nantes.fr
> Institut GeM - UMR CNRS 6183
> École Centrale Nantes
> 1 Rue de La Noë, 44321 Nantes, FRANCE
> -------------------------------------
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121116/fc69eafc/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 118749 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121116/fc69eafc/attachment-0001.png>
More information about the ParaView
mailing list