[Paraview] Send an array from client to server

2015-09-17 Thread Biddiscombe, John A.
I'm afraid I've forgotten how to write plugins for paraview and I have a simple-ish question : I've got a vtkUnsignedIntArray in my custom panel and I'd like to set it as a property on a reader, the reader has a member vtkSetObjectMacro(SelectedGIDs) and in the panel I've generated a list of

[Paraview] Legend and labels

2015-09-17 Thread Jean-Michel
Dear all, I have two question regarding legends and labels in ParaView and the way to adjust them in a Python script. 1) Is it possible to adjust the spacing between the Title Texts and the labels ? 2) Is it possible to adjust the labels' font size ? Thank you in advance for your

Re: [Paraview] Send an array from client to server

2015-09-17 Thread Utkarsh Ayachit
(hit `send` prematurely, ignore previous email) How big is the array? For 100s of values, I'd say IntVectorProperty is still reasonable. Any other approach will mean that those values are not going to get saved in state files and such. For a one off push to server side for values you don't care

Re: [Paraview] Axes Grid bug with 2D surfaces

2015-09-17 Thread Utkarsh Ayachit
> 1) Adjusting the font, color, etc. for all axes together in one step. > Currently I have to change e.g. the color 6 times, which is quite > tedious if I just quickly want to adjust the color of the axes. True. I couldnt' decide if they should be separate or combined. I opted for separate since

Re: [Paraview] Send an array from client to server

2015-09-17 Thread Utkarsh Ayachit
How big is the array? For 100s of values, I'd say IntVectorProperty is still reasonable. Any other approach will mean that those values are not going to get saved in state files and such. For a one off push to server side for values you don't care to be saved in state files, you can directly call

Re: [Paraview] Send an array from client to server

2015-09-17 Thread Biddiscombe, John A.
Utkarsh That's great, these values are temporary and possibly large, so saving them in state files is not required. I'll try your snippet and report back cheers JB -Original Message- From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] Sent: 17 September 2015 16:47 To:

[Paraview] Changing axes scale

2015-09-17 Thread Kaushik Kulkarni
Is there any method to set the axes for X-axis 0 to 100 and for Y- axis 0 to 1. I am trying to plot 2-D data. Regards, Kaushik ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

[Paraview] Warning: Target "VRPlugin" requests linking to directory

2015-09-17 Thread andrew solis
Hello, I'm relatively new to Paraview and I had a question concerning getting Paraview to run on a Linux machine from source and adding vrpn. I downloaded and built both I believe, and I am using ccmake to build it. When I run ccmake and then try and generate however, I get an error at the

Re: [Paraview] Warning: Target "VRPlugin" requests linking to directory

2015-09-17 Thread Cory Quammen
Hi Andrew, What is the value of your VRPN_LIBRARY variable? I suspect it is "/home/ajs2987/Projects/ParaviewOnStallion/vrpn-07.33-bin/lib" when it should be something like "/home/ajs2987/Projects/ParaviewOnStallion/vrpn-07.33-bin/lib/libvrpn.a" The key is to point VRPN_LIBRARY to the VRPN