[Paraview] Missing feature in ./Qt/Core/pqObjectBuilder.cxx

2014-01-29 Thread mathieu . westphal
Hello in pqObjectBuilder::createFilter, there is a properties parameter wich is suposed to allow programmer to pass properties to ther filter. Yet it seems in pqSMAdaptor::FILE_LIST type property are taken in account : QMapQString, QVariant::const_iterator mapIter; for (mapIter =

[Paraview] ParaViewWeb ./pvpython segmentation fault

2014-01-29 Thread kai liu
I downloaded ParaView-4.1.0-Linux-32bit-glibc-2.3.6.tar.gz fromhttp://www.paraview.org/paraview/resources/software.php.  I run the following command ./bin/pvpython lib/paraview-4.1/site-packages/paraview/web/pv_web_visualizer.py  \             --content ./share/paraview-4.1/www                 

Re: [Paraview] Missing feature in ./Qt/Core/pqObjectBuilder.cxx

2014-01-29 Thread Utkarsh Ayachit
Mathieu, There isn't much difference between setting the properties in that function call or you doing the same after that call. The method in pqObjectBUilder is only meant to pass in filenames to the readers which need to happen before any other changes on the proxy. Utkarsh On Wed, Jan 29,

Re: [Paraview] ParaViewWeb ./pvpython segmentation fault

2014-01-29 Thread Utkarsh Ayachit
Kai, Can you rebuilding with CMAKE_BUILD_TYPE set Debug and the attaching the backtrace for the segfault? It's unclear why ParaViewPython::Run() would segfault. On Wed, Jan 29, 2014 at 7:45 AM, kai liu liuwu...@yahoo.com wrote: I downloaded ParaView-4.1.0-Linux-32bit-glibc-2.3.6.tar.gz from

Re: [Paraview] ParaViewWeb ./pvpython segmentation fault

2014-01-29 Thread kai liu
Utkarsh, How do I attach the backtrace for the segfault? I am pretty new to the Linux as well. Do I just do $: gdb pvpython $: run on Ubuntu terminal to backtrace?  If that's not how we backtrace, can you please tell me how to do it? Thank you! Kai L.  On Wednesday, January 29, 2014 5:35

Re: [Paraview] ParaViewWeb ./pvpython segmentation fault

2014-01-29 Thread Utkarsh Ayachit
Kai, Once it segfaults, just type bt (enter) to pring the backtrace. Utkarsh On Wed, Jan 29, 2014 at 11:12 AM, kai liu liuwu...@yahoo.com wrote: Utkarsh, How do I attach the backtrace for the segfault? I am pretty new to the Linux as well. Do I just do $: gdb pvpython $: run on Ubuntu

Re: [Paraview] ParaViewWeb ./pvpython segmentation fault

2014-01-29 Thread kai liu
Utkarsh,  I rebuilding with CMAKE_BUILD_TYPE set Debug. The following is the backtrace for the segfault (gdb) run Starting program: /home/user/Desktop/pvw/bin/pvpython  [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/i386-linux-gnu/libthread_db.so.1.

Re: [Paraview] How to compute functions for all particles and plot as function of time

2014-01-29 Thread William Oquendo
Hi, thanks for your response. Yes, I have tried it, and although useful for the statistics, like average velocity magnitud, still does not allow me to extract what I really need, like the sum of every mass*|V|^2 for all particles as a function of time, and, in general, a global function (a

[Paraview] Building a programmable source based on existing sources

2014-01-29 Thread Richard Townsend
Hi — Suppose I want to create a programmable source which draws a 3D (polygon) arrow between two user-specified points. Is there a way to leverage the already-existing arrow source to do this? Ideally, I’d like to take the polygons defined by the arrow source, adjust the vertex coordinates to

Re: [Paraview] Accessing window pixel data from python

2014-01-29 Thread Richard Townsend
I’d like to read the image rendered by ParaView. cheers, Rich On Jan 20, 2014, at 9:31 AM, Utkarsh Ayachit utkarsh.ayac...@kitware.com wrote: I am not sure I understand what you're trying to do. Do you want to access the pixel buffer to read the image rendered by ParaView or write to the