[Paraview] VTK 7.1 and co-processing

Deij-van Rijswijk, Menno M.Deij at marin.nl
Tue Aug 2 04:10:04 EDT 2016


Hi,

Recently I started upgrading our co-processing code to the latest paraview/VTK version. After having to modify our mapped data array classes to support the new *TypedTuple API, I run into the problem that these mapped data arrays are read-only. In the past this was no problem, but now I get errors because the pipeline tries to modify the read-only data arrays.

Parts of the stack-trace include this:

/libvtkCommonDataModel-pv5.1.so.1 : vtkDataSetAttributes::InternalCopyAllocate(vtkDataSetAttributes*, int, long long, long long, int)+0x1d2
/libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::UnstructuredGridExecute(vtkDataSet*, vtkPolyData*)+0x4b7
/libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)+0x107

And this

/lib/libvtkCommonDataModel-pv5.1.so.1 : vtkDataSetAttributes::CopyData(vtkDataSetAttributes*, long long, long long)+0x6a
/lib/libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::UnstructuredGridExecute(vtkDataSet*, vtkPolyData*)+0x173f
/lib/libvtkFiltersGeometry-pv5.1.so.1 : vtkDataSetSurfaceFilter::RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*)+0x107

I could really use some guidance on how to modify our co-processing code to make use of the new paraview/VTK version and API.
I have to say I am somewhat surprised to see this go wrong all of a sudden.

Thanks and best wishes,


Menno Deij – van Rijswijk



dr. ir. Menno A. Deij-van Rijswijk  | Researcher / Software Engineer | Maritime Simulation & Software Group
MARIN | T +31 317 49 35 06 | mailto:M.Deij at marin.nl | http://www.marin.nl

MARIN news: http://www.marin.nl/web/News/News-items/MARIN-Report-118-Renewable-energy-and-sustainable-ships.htm



More information about the ParaView mailing list