Re: pipeline question
David Gobbi <[email protected]> Wed, 30 Jan 2019 06:19:49 -0700
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <CANwS1=F=vnfsmqLJWM9_7crCWmpvNUHCzs4i5XaeUBhA_6jAAA@mail.gmail.com> |
On Wed, Jan 30, 2019 at 12:58 AM Lodron, Gerald <[email protected]> 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 _______________________________________________ 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