[vtkusers] pipeline question
David Gobbi
david.gobbi at gmail.com
Wed Jan 30 08:19:49 EST 2019
On Wed, Jan 30, 2019 at 12:58 AM Lodron, Gerald <Gerald.Lodron at joanneum.at>
wrote:
>
>
> I made a vtk source with 5 outputs and time data. I am getting the
> requested time from output 0. I included the source into paraview. The
> problem is that the request Data function gets called 5 times (because of 5
> outputs). Is there a way to get the output port index of the requested data
> function call?
>
int outputPort = request->Get(vtkDemandDrivenPipeline::FROM_OUTPUT_PORT());
if outputPort has the special value -1, then all outputs should be
generated.
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://vtk.org/pipermail/vtkusers/attachments/20190130/50a8987b/attachment.html>
More information about the vtkusers
mailing list