Discussion:
[vtkusers] Help with vtkInterpolateDataSetAttributes
Andrew E. Slaughter via vtkusers
2018-11-29 16:13:28 UTC
Permalink
I am attempting to interpolate between two ExodusII (vtkExodusIIReader) results using the vtkInterpolateDataSetAttributes, but am having trouble getting it to work. I was able to perform an interpolation that mimics the behavior with calls to vtkAbstractArray::InterpolateTuple, but this doesn’t seem like the correct solution.

I have attached a script that show what I am trying to do, including what is working and what is not. I know that for this problem I could use vtkTemporalInterpolator, but for the actual problem I am trying to solve it isn’t appropriate. I am using python bindings with VTK7.1 on MacOS.

I would appreciate any help I can get making this work.

Thanks,
Andrew
Bill Lorensen
2018-12-04 02:20:31 UTC
Permalink
I suspect that vtkInterpolateDataSetAttributes may be buggy. The are no
tests that interpolate scalar data. I'm looking into it.

On Thu, Nov 29, 2018, 8:13 AM Andrew E. Slaughter via vtkusers <
Post by Andrew E. Slaughter via vtkusers
I am attempting to interpolate between two ExodusII (vtkExodusIIReader)
results using the vtkInterpolateDataSetAttributes, but am having trouble
getting it to work. I was able to perform an interpolation that mimics the
behavior with calls to vtkAbstractArray::InterpolateTuple, but this doesn’t
seem like the correct solution.
I have attached a script that show what I am trying to do, including what
is working and what is not. I know that for this problem I could use
vtkTemporalInterpolator, but for the actual problem I am trying to solve it
isn’t appropriate. I am using python bindings with VTK7.1 on MacOS.
I would appreciate any help I can get making this work.
Thanks,
Andrew
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
http://www.vtk.org/Wiki/VTK_FAQ
Search the list archives at: http://markmail.org/search/?q=vtkusers
https://public.kitware.com/mailman/listinfo/vtkusers
Loading...