[vtkusers] Why two versions of UpdatePiece() for vtkXMLPolyDataReader
Grothausmann, Roman Dr.
grothausmann.roman at mh-hannover.de
Tue Mar 6 08:36:30 EST 2018
Dear mailing list members,
VTK-7.1 introduced a change to the API concerning StreamingDemandDrivenPipeline
(https://www.vtk.org/doc/nightly/html/VTK-7-1-Changes.html). I gethered from
that, that
reader->SetUpdateExtent(0, myId, numProcs, 0);
needs to be changed to
reader->UpdatePiece(0, myId, numProcs, 0);
which works fine for e.g. vtkXMLImageDataReader but does not work for e.g.
vtkXMLPolyDataReader, which under "all members"
(https://www.vtk.org/doc/nightly/html/classvtkXMLPolyDataReader-members.html)
has two UpdatePiece listed. It seems the one from vtkAlgroithm is needed. Is
casting to vtkXMLDataReader/vtkAlgroithm the intended way to get to this?
Many thanks for any help or hints
Roman
--
Dr. Roman Grothausmann
Tomographie und Digitale Bildverarbeitung
Tomography and Digital Image Analysis
Medizinische Hochschule Hannover
Institut für Funktionelle und Angewandte Anatomie
OE 4120, Carl-Neuberg-Str. 1, 30625 Hannover, Deutschland
Tel. +49 511 532-2900
grothausmann.roman at mh-hannover.de
http://www.mh-hannover.de/anatomie.html
More information about the vtkusers
mailing list