Re: Help with vtkInterpolateDataSetAttributes
David Thompson via vtkusers <[email protected]>
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Andrew, > The interpolation for point data is working great, I am working on making my script more robust before posting by including cell and global data to the interpolation. I also am interpolating all active data into a vtkMultiBlockDataSetAlgorithm so the end product will behave similarly as a vtkExodusIIReader object. > > Anyway, I can't get the cell data to interpolate. The point data is working fine (change the variable to 'point') to show this result. It would help to know more about what you hope to accomplish with the interpolation. If you are trying to compare field values (or differences between them) on different meshes, then maybe it would be appropriate as a first pass to use vtkCellCenters to get a location for each cell. You might also be interested in the vtkProbeFilter for projecting points (whether they are cell centers or original input points) from one dataset to another without writing a Python script that iterates over tuples. David _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ Search the list archives at: http://markmail.org/search/?q=vtkusers Follow this link to subscribe/unsubscribe: https://vtk.org/mailman/listinfo/vtkusers