[Paraview] Cube axes label format

Sebastien Jourdain sebastien.jourdain at kitware.com
Fri May 3 09:24:45 EDT 2013


Do you know exactly the set of methods that needs to be called on the VTK
objects ? I can certainly try to expose them on the Python layer which
could let you have a wider set of possibilities. (For that just give me a
list of method calls that you would like to be able to do in C++)

I can somehow guide you on how to get a reference to the VTK objects from
the Python layer but all the methods that you need to access have to be
public.

Another approach could be to 'patch' the vtkCubeAxesRepresentation so the
default behavior will be what you expect...

There is many way to tackle the current limitation.

Seb





On Fri, May 3, 2013 at 7:47 AM, Felipe Bordeu <felipe.bordeu at ec-nantes.fr>wrote:

>  One solution is to change the scale. You can subtract the constant part
> to your coordinates.
>
> Felipe
> Le 03/05/2013 12:58, Guðni Karl Rosenkjær a écrit :
>
> Hello,
>
>  Thanks for the reply Sebastien.
>
>  Is there any way where I can deal with this? I want to make
> a publishable figure from my work in Paraview and this issue with labels is
> the last problem that I need to deal with. Is it possible to mix the
> Paraview script (.py state file of the model) and vtk 5.10.1 method to fix
> the labels and generate the figure I want?
>
>  Is there anybody that has been able to deal with this problem that can
> share some idea's?
>
>  Thanks very much in advance.
>
>  Cheers,
> Gudni
>
>
> On Thu, May 2, 2013 at 7:15 PM, Sebastien Jourdain <
> sebastien.jourdain at kitware.com> wrote:
>
>> This is not something that is currently supported.
>>
>>
>>  On Thu, May 2, 2013 at 1:26 PM, Guðni Karl Rosenkjær <
>> grosenkj at eos.ubc.ca> wrote:
>>
>>>  Hello,
>>>
>>>  I am using Paraview to visualize data in UTM coordinates. I have a
>>> problem with the labels on the Northing axes, since the label format
>>> doesn't include enough digits for the range my data is in ( as seen on in
>>> the figure attached to the email).
>>>
>>>  How can I access the string format to be able to change it?
>>>
>>>  I have made some attempts to do this via a the python shell by doing
>>> by accessing the represtation, rep = GetRepresention() and explore the
>>> options there. But I haven't been able to find where I could change the
>>> format. I have found with google and from playing with the vtk 5.10.1 that
>>> vtkCubeAxesActor has get/set*LabelFormat methods that I am not able to find
>>> in Paraview.
>>>
>>>  I am using Paraview 3.98.1 (pre-compiled version) on a 64-bit Fedora
>>> 17 system.
>>>
>>>  Thanks for the help.
>>> Cheers,
>>> Gudni
>>>
>>>
>>>
>>>  _______________________________________________
>>> 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
>>>
>>>
>>
>
>
> _______________________________________________
> 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
>
>
>
> --
> 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/20130503/ebb276e4/attachment.htm>


More information about the ParaView mailing list