[Paraview] Show custom cube axes annotations

Felipe Bordeu felipe.bordeu at ec-nantes.fr
Fri Nov 16 13:15:42 EST 2012


I have no problem with the use custom range.

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)

Until now I can apply only translation and scale, not rotation.

note: in the images the little arrow is the original one.

Felipe



Le 16/11/2012 17:47, Sebastien Jourdain a écrit :
> Oops,
>
> the "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.
>
> Hope that makes a little bit more sense,
>
> Seb
>
>
> On Fri, Nov 16, 2012 at 11:42 AM, Sebastien Jourdain 
> <sebastien.jourdain at kitware.com 
> <mailto:sebastien.jourdain at kitware.com>> wrote:
>
>     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 <mailto: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  <tel:33%20%280%292%2040%2037%2016>  57
>         Fax. :33 (0)2 40 74 74  <tel:33%20%280%292%2040%2074%2074>  06
>         Felipe.Bordeu at ec-nantes.fr  <mailto:Felipe.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 <http://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
>
>
>


-- 

Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
Felipe.Bordeu at ec-nantes.fr
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121116/7dcadd84/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/7dcadd84/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GoodNoRotationParaviewProperties2.png
Type: image/png
Size: 109258 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121116/7dcadd84/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: BadWithRotations.png
Type: image/png
Size: 100711 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20121116/7dcadd84/attachment-0005.png>


More information about the ParaView mailing list