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 sohailsha...@yahoo.comwrote: Hi, Let me correct myself; the block contained inside is a vtkStructuredGrid. I did a printout what is in the pipeline (self.GetInput()): vtkMultiBlockDataSet

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

[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

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():

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] 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)

[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

Re: [Paraview] Gradient of an image

2011-03-02 Thread David Doria
On Wed, Mar 2, 2011 at 4:32 PM, Jérôme jerome.ve...@gmail.com 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