Re: [Paraview] Gradient of an image

2011-03-02 Thread David Doria
On Wed, Mar 2, 2011 at 4:32 PM, Jérôme wrote: > Hi David, > I think that your image has a 3-components data array, such as RGB. > ParaView "Gradient" filter is based on vtkImageGradient which expects > a 1-component image. You can > - convert your image in grey level with a third party software,

[Paraview] static linking with python

2011-03-02 Thread Burlen Loring
Hi, I'm trying to link paraview static and include python. In the executable link line there are a couple "-Wl,-Bdynamic" appearing and I am not able to locate their source. Can anyone help figure out where these comes from and how to turn them off? Burlen Linking CXX executable ../../bin/p

Re: [Paraview] Using streamtracer/gradient filters on "multi-block" data set

2011-03-02 Thread Sohail Shafii
Not sure what you mean by that last statement -- do you mean transfer an array to pointdata? I tried to do this: input = self.GetInput() output = self.GetOuput() output = vtk.vtkStructuredGrid() output.ShallowCopy(input.GetBlock(0)) // create UVW array (3-component velocity array) output.GetPo

Re: [Paraview] Gradient of an image

2011-03-02 Thread Jérôme
Hi David, I think that your image has a 3-components data array, such as RGB. ParaView "Gradient" filter is based on vtkImageGradient which expects a 1-component image. You can - convert your image in grey level with a third party software, - use the calculator to compute a norm of the input image,

[Paraview] Gradient of an image

2011-03-02 Thread David Doria
If I open a png file, the Gradient filter is grayed out. Is there a way to compute the gradient of such an image file? David ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html P

[Paraview] VirtualGL dashboard errors

2011-03-02 Thread Biddiscombe, John A.
Every night, I run the dashboard tests and get about 1000 passes and 60 fails. Some of the fails are genuine, but a hefty chunk are caused by this kind of error message caused by us using VirtualGL for remote VNC based use of the cluster, http://cdash.cscs.ch/testDetails.php?test=241451&build=13

Re: [Paraview] Ghost data in parallel formats

2011-03-02 Thread Berk Geveci
I am not sure that I follow. The output of D3 should be a dataset re-partitioned to be load balanced whether the input is distributed or not. Are you saying that the output of D3 is different based on whether the input is distributed? As expected, D3 will probably produce a different partitioning

Re: [Paraview] Save Data for all branches

2011-03-02 Thread Utkarsh Ayachit
Here's a simple script that saves all "sinks". from paraview.simple import * counter = 0 sources = GetSources() for source in sources.values(): has_consumer = False for i in range(0, source.GetNumberOfConsumers()): consumer = source.GetConsumerProxy(i) if consumer in sources.values()

[Paraview] Save Data for all branches

2011-03-02 Thread owen.arnold
Hi, Is it there any way to save data from all pipeline branches without selecting them individually? Is this something that could be scripted? Thanks in advance, Owen. -- Scanned by iCritical. ___ Powered by www.kitware.com Visit other Kitware ope

Re: [Paraview] Ghost data in parallel formats

2011-03-02 Thread Renato Elias
Hi Berk, I already did such test. It really works but the dataset must be serial and loaded in a parallel session. In this case, D3 will take care of the data distribution, load balance and ghost information. However, if the dataset read is already partitioned, D3 only creates a new partition and

Re: [Paraview] Using streamtracer/gradient filters on "multi-block" data set

2011-03-02 Thread Berk Geveci
I looks like you to apply cell data to point data. On Tue, Mar 1, 2011 at 9:06 PM, Sohail Shafii wrote: > Hi, > > Let me correct myself; the block contained inside is a vtkStructuredGrid. > I did a printout what is in the pipeline (self.GetInput()): > > vtkMultiBlockDataSet (0x3a7c1d0) > > Debug: