Re: pipeline question
"Lodron, Gerald" <[email protected]> Wed, 30 Jan 2019 13:26:41 +0000
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <[email protected]> |
ah, ok, great. i already found that FROM_OUTPUT_PORT after parsing many examples. But did not check for -1. Thanks… I also noticed a starnge behaviour in time: When I use TIME_STEPS in RequestInformation with a double array of descrete (e.g.1,2,3,4) values, shouldn’t I get only those requests from paraview (so that i do not need to recompute e.g. requests of 1.1 and 1.2 which will be both 1 from TIME_STEPS)? I still get continues values from UPDATE_TIME_STEP, e.g. 1.1 and 1.2. Is that behaviour a bug or a feature? best regards Gerald Von: David Gobbi <[email protected]> Gesendet: Mittwoch, 30. Januar 2019 14:20 An: Lodron, Gerald <[email protected]> Cc: ([email protected]) <[email protected]> Betreff: Re: [vtkusers] pipeline question On Wed, Jan 30, 2019 at 12:58 AM Lodron, Gerald <[email protected]<mailto:[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