I am trying to probe a planar source (fig1) with a sector-like input (fig2), which is also planar. However, I get this weird output (fig 3). Here is my code:
sector_avg = True
filler = vtk.vtkContourTriangulator()
probe_sec = vtk.vtkProbeFilter()
mapper2 = vtk.vtkPolyDataMapper()
Thank you all for your help
After a while of struggling, I found the reason why I get these weird results and how to obviate the problem. Thought it might be helpful for others also.
The vtkProbeFilter works with interpolating points located on the input. So, if your input does not have enough point resolution on edges the number of triangles formed by vtkContourTriangulator() would be low and the probe cannot interpolate the source. Thus, by increasing the number of nodes on the edges and then triangulating the surface, you would get what you want. This can also be tricky when one aims to use geometrical sources, in my case vtkDiskSource(); you should be careful to increase the radial and circumferential resolution and then perform probing.
Hope this can help some