Re: [Paraview] Programmable Filter - Multiple Inputs - Crash

2017-04-25 Thread Moreland, Kenneth
Gabriel, I was using scalar data, but I just tried again with vectors of three components, and everything still worked fine. Your data is not that large, so I doubt you are running out. It could be because you are setting point data to an array that is the wrong size. That is generally a

Re: [Paraview] Programmable Filter - Multiple Inputs - Crash

2017-04-25 Thread Gabriel Nahas
Ken, Thank you very much for trying. I am using version 4.3 of ParaView, but I also tried my code in the version 5.1 and it is also crashing. The first input data is a PointData vector with three components (x,y,z) and around 41,000 points. The second input are the normal vectors of my geometry

Re: [Paraview] Programmable Filter - Multiple Inputs - Crash

2017-04-25 Thread Moreland, Kenneth
Gabriel, I tried loading in your script into ParaView 5.3 and was unable to replicate your crash even when the number of points did not match or I used fields that did not exist. Are you using the most recent version of ParaView? If so, can you tell us more about your data? -Ken From:

[Paraview] Programmable Filter - Multiple Inputs - Crash

2017-04-25 Thread Gabriel Nahas
Dear all, I am trying to use a programmable filter that takes two other filters from different blocks as inputs. When I get each data as input (and output) separately my filter works, but when I try with both filters as input and output at the same time it crashes. Does anyone know what might be

Re: [Paraview] Outline of vtkImageData incorrect?

2017-04-25 Thread Utkarsh Ayachit
If you can share the dataset, it may be easier to point out what could be going wrong. Thanks Utkarsh On Tue, Apr 25, 2017 at 4:47 AM, philipp jung wrote: > Dear all, > > Within one of my custom filters i am trying to return an uniform grid, > i.e. vtkImageData. > >

Re: [Paraview] xdmf2 vs xdmf3 file type

2017-04-25 Thread David E DeMarle
This should do it. diff --git a/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml b/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml index 46bf7fb..9236ebd 100644 --- a/ParaViewCore/ServerManager/SMApplication/Resources/proxies_xdmf3.xml +++

Re: [Paraview] xdmf2 vs xdmf3 file type

2017-04-25 Thread Nico Schlömer
> If one had something like xmf2 and the other xmf3 it would do what you are asking for. > You could do that if you build from source for example. I don't have a problem with that. What do I need to patch? Cheers, Nico On Mon, Apr 24, 2017 at 11:07 PM David E DeMarle

Re: [Paraview] ParaView v5.3: Generating textures from scalars and lookup table

2017-04-25 Thread Nenad Vujicic
David, Thank you very much for your response! I tried what you suggested and it worked, but, I'm getting bad texture, i.e. I get texture 2xN, where N is number of segments in colormap and the exported texture mapped object looks like I turned OFF InterpolateScalarsBeforeMapping flag. I would like

[Paraview] Outline of vtkImageData incorrect?

2017-04-25 Thread philipp jung
Dear all, Within one of my custom filters i am trying to return an uniform grid, i.e. vtkImageData. When using the filter within paraview the bounds, extent and spacing are detected correctly, meaning they are the same as the input, as intended. However, the outline representation greatly