[Paraview] custom object panel with access to input

2013-11-27 Thread Lodron, Gerald
Hi I currently made my own custom object panel in PV 3.98.1 and successfully made buttons and input dialogs which are calling functions of my filter. Now I want to make a list widget which depends on the input of the filter, so the number of entries in the list and their name should depend on t

Re: [Paraview] [EXTERNAL] Contour Labels

2013-11-27 Thread Scott, W Alan
Ah, the image came through this time. I don't think it can be done, but is an excellent idea for a feature enhancement. Anyone else have any ideas? Alan From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of CLEUZIR DA LUZ Sent: Wednesday, November 27, 2013 8:

[Paraview] Contour Labels

2013-11-27 Thread CLEUZIR DA LUZ
 I am with problem to make the Contour Plot in the Paraview software, i.e., Contour Labels.  I would like making the graphic as the example of the attached figure. Please, could anybody help me? Best regards, Cleuzir da Luz PlotContour.pdf Description: Adobe PDF document ___

Re: [Paraview] [EXTERNAL] Contour Labels

2013-11-27 Thread Scott, W Alan
Cleuzir, * You did not attach a graphic. * Define Contour Labels? You want to create multiple contour surfaces, and label them individually? Alan From: paraview-boun...@paraview.org [mailto:paraview-boun...@paraview.org] On Behalf Of CLEUZIR DA LUZ Sent: Wednesday, November

[Paraview] Contour Labels

2013-11-27 Thread CLEUZIR DA LUZ
 I am with problem to make the Contour Plot in the Paraview software, i.e., Contour Labels.  I would like making the graphic as the example of the attached figure. Please, could anybody help me? Best regards, Cleuzir da Luz ___ Powered by www.kitware.

Re: [Paraview] Gauss points

2013-11-27 Thread Burlen Loring
You'll need to use an XML file format. There's some documentation in the following link. It's slightly dated but should get you started. http://www.vtk.org/Wiki/images/7/78/VTK-Quadrature-Point-Design-Doc.pdf The ctest, VTK/Filters/General/Testing/Cxx/TestQuadraturePoints.cxx, could be used as a

[Paraview] Gauss points

2013-11-27 Thread Marios Mavros
Hi I have wrote a simple program in Fortran that transform the output of a finite element software in vtk Legacy Format. I don't know how to handle the Gauss points values. For example in my case my cells have 4 Gauss points and I have 4 values (for example strain in x-direction) for each cell. Ho

[Paraview] OSMesa built into Paraview 4.1 ?

2013-11-27 Thread Albrecht Kyrieleis
Hi, When using Paraview/Web 4.1 I found the performance is quite a bit slower compared to Paraview/Web <4. So I was wondering whether OSMesa was compiled in the available Paraview 4.1 binary (Linux 64bit). If not, then building it myself with OSMesa would hopefully speed it up. Thank you for any

Re: [Paraview] bad scaling of low values data ranges in 4.1.0rc1

2013-11-27 Thread Gena Bug
Thanks, Utkarsh! On 11/27/2013 11:15 PM, Utkarsh Ayachit wrote: Thanks for reporting. Just pushed a fix. On Wed, Nov 27, 2013 at 12:53 PM, Gena Bug wrote: Hi! Found another difference between 4.0.1 and 4.1.0rc1: the last doesn't respect data ranges with upper bound value less than 1e-5 when

Re: [Paraview] Show scalar range on a slider bar

2013-11-27 Thread Joe Ping-Lin Hsiao
I figured this out by looking at the 'vtkThreshold' section in Paraview's 'filters.xml'. Use instead of . On Wed, Nov 27, 2013 at 1:37 PM, Joe Ping-Lin Hsiao wrote: > What I am asking is how to dynamically change a slider's min and max > values on Properties pane

Re: [Paraview] In-situ file/image output on Titan with 18k cores

2013-11-27 Thread Berk Geveci
Someone just pointed out that I read Hong's original e-mail wrong. I read 64 as 64K. Sorry about that. There are still some questions about which part of rendering not scaling, which we are investigating off-list. We still need: - to know if transparency is involved because D3 most likely won't sc

Re: [Paraview] Plugin to modify the current transfer function

2013-11-27 Thread Joe Ping-Lin Hsiao
Which libraries should I link to use pqActiveObjects? I tried ${PARAVIEW_BUILD_SHARED_LIBS} but it doesn't work. Joe On Sat, Nov 23, 2013 at 5:48 PM, Utkarsh Ayachit < utkarsh.ayac...@kitware.com> wrote: > Yes, you can indeed write a client-side plugin that updates the active > opacity transfer

Re: [Paraview] programmable filter in a python script

2013-11-27 Thread Utkarsh Ayachit
Joe, Note you can use """ """ in Python for strings with new lines, that way you don't have to escape anything. Utkarsh On Wed, Nov 27, 2013 at 2:18 PM, joseph insley wrote: > Thanks, Utkarsh, > > Yeah, I figured out the part about passing the needed variables as arguments > last night.

Re: [Paraview] programmable filter in a python script

2013-11-27 Thread joseph insley
Thanks, Utkarsh, Yeah, I figured out the part about passing the needed variables as arguments last night. The next problem that I ran into was that from within my script I create vtk objects (vtk.vtkCutter() for example). Of course in the scope of my new script, vtk is not defined. I tried i

Re: [Paraview] bad scaling of low values data ranges in 4.1.0rc1

2013-11-27 Thread Utkarsh Ayachit
Thanks for reporting. Just pushed a fix. On Wed, Nov 27, 2013 at 12:53 PM, Gena Bug wrote: > Hi! > > Found another difference between 4.0.1 and 4.1.0rc1: the last doesn't > respect data ranges with upper bound value less than 1e-5 when coloring the > data. I attached an example that demonstrate t

Re: [Paraview] Show scalar range on a slider bar

2013-11-27 Thread Joe Ping-Lin Hsiao
What I am asking is how to dynamically change a slider's min and max values on Properties panel. ParaView wiki has this code to add a slider on Properties panel: This slider has values ranging from 0.0 to 1.0 hard-coded. I want to change the min and max values to the min and max values in my

[Paraview] bad scaling of low values data ranges in 4.1.0rc1

2013-11-27 Thread Gena Bug
Hi! Found another difference between 4.0.1 and 4.1.0rc1: the last doesn't respect data ranges with upper bound value less than 1e-5 when coloring the data. I attached an example that demonstrate the problem: it's a 1D mesh with 100 hexahedral cells: half region has rho = 1e-11 and another hal

Re: [Paraview] Paraview support on jboss

2013-11-27 Thread Sebastien Jourdain
You can re-use the servlets in the Jetty session manager to start new processes, but should rely on a more robust implementation of the WS forwarding. If you can use Apache 2.4+ as a front-end that will be best. Or you can make your own implementation if you want... Seb On Wed, Nov 27, 2013 at 9

Re: [Paraview] In-situ file/image output on Titan with 18k cores

2013-11-27 Thread Moreland, Kenneth
I also wonder if you are trying to render anything transparent (volume rendering, opacity < 1, or transparency in the color bars). If you do that, then ParaView will redistribute the data to create a visibility reordering. Although the rendering itself has been scaled past 18K cores, the data r

[Paraview] Paraview support on jboss

2013-11-27 Thread amrita munolkar
Hello Everyone, Does Paraview provide support for Jboss server?? Regards, Amrita ___ 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

Re: [Paraview] Problem loading custom object panels

2013-11-27 Thread Utkarsh Ayachit
> That's really annoying, lol. I know that paraview shifted the interface in > version 4, I normally wait 1-2 subversions after upgrading a mayor version > because of bugs But I hope that there is a good migration guide You and me both :). It's hard to come up with the generic guide sinc

Re: [Paraview] Problem loading custom object panels

2013-11-27 Thread Lodron, Gerald
Hi I found the error after 5 hour debugging: My CMake variable " GUI_INTERFACES " has the same name as the key of the plugin makro > ADD_PARAVIEW_PLUGIN(MySourcePlugin "1.0" > GUI_INTERFACES ${GUI_INTERFACES} > GUI_RESOURCE_FILES ${GUI_XML} > GUI_SOURCES ${GUI_SRCS} > SERVER_MANAGE

Re: [Paraview] Show scalar range on a slider bar

2013-11-27 Thread Utkarsh Ayachit
I am not sure I follow the question. Are you talking about how to put a slider on Properties panel based on something on the filter XML? On Tue, Nov 26, 2013 at 3:19 PM, Joe Ping-Lin Hsiao wrote: > Hi, > > I'd like to expose a double variable in the form of slider. In the Wiki > example, the rang

Re: [Paraview] Can't get Volume by using dara/render server mode, is this a bug?

2013-11-27 Thread Junyi Han
I get it. Thanks. 2013/11/27 Utkarsh Ayachit > Volume rendering is not supported in data-server+render-server mode. > With pvserver, volume rendering is only supported when you enable > remote-rendering. Delivering entire datasets, as needed for volume > rendering, is expensive and hence we don

Re: [Paraview] Problem loading custom object panels

2013-11-27 Thread Utkarsh Ayachit
Gerald, I cannot spot anything obviously wrong. Can yo share the code or something? BTW you may want to move away from custom panels since future releases will deprecate them. Refer to the following Wiki pages for details: http://www.paraview.org/Wiki/ParaView/Plugin_HowTo#Adding_Customizations_f

Re: [Paraview] Problem in setting up data/render server model

2013-11-27 Thread Utkarsh Ayachit
What are the two outputs you are getting from dataserver and renderserver? The idea is that you can then combine the two to pass on to the ParaView client. ParaView takes care of communicating the data-server/render-server information between each other e.g. # On Hera > ./pvdataserver Waiting for

Re: [Paraview] Paraview's initial directory when using multicore

2013-11-27 Thread Utkarsh Ayachit
Alas, no. I can't think of any way to overcome that currently. The pvserver process is launched from home directory without respecting the CWD. Utkarsh On Wed, Nov 27, 2013 at 10:08 AM, Daniel Bruno wrote: > Hello all. > > I'm using Paraview 4.0.1 on a Linux box and I'm used to start it through

[Paraview] Paraview's initial directory when using multicore

2013-11-27 Thread Daniel Bruno
Hello all. I'm using Paraview 4.0.1 on a Linux box and I'm used to start it through the command line. First I cd to my working directory and then I issue the command to start Paraview. In doing this when I want to open my data, the open file dialog is already pointing at the directory where I want

Re: [Paraview] programmable filter in a python script

2013-11-27 Thread Utkarsh Ayachit
Joe, YOu can put your script in a function with arguments in the foo.py file and then call that function with the inputs argument passed in from the small script in the Programmable filter. Utkarsh On Tue, Nov 26, 2013 at 5:47 PM, joseph insley wrote: > Thanks for the pointers. > > Another naiv

Re: [Paraview] Can't get Volume by using dara/render server mode, is this a bug?

2013-11-27 Thread Utkarsh Ayachit
Volume rendering is not supported in data-server+render-server mode. With pvserver, volume rendering is only supported when you enable remote-rendering. Delivering entire datasets, as needed for volume rendering, is expensive and hence we don't do it. Utkarsh On Tue, Nov 26, 2013 at 6:11 PM, Juny

Re: [Paraview] In-situ file/image output on Titan with 18k cores

2013-11-27 Thread Berk Geveci
Hi Hong, > 1. It appears IceT-based image compositing for 18k cores takes such a long time that it becomes unpractical to output images in-situ. > Specifically, in our case, it takes about 14 minutes for coprocessing for one time point that output a composited image while simulation > alone