[vtkusers] Getting requested time in reader with multiple outputs
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Thu Jun 25 11:15:43 EDT 2009
The request vtkInformation has a key vtkExecutive::FROM_OUTPUT_PORT() which
has the output port that the request is coming from.
Utkarsh
On Thu, Jun 25, 2009 at 10:23 AM, Moreland, Kenneth <kmorel at sandia.gov>wrote:
> I am having trouble implementing a reader that supports time data and has
> multiple outputs (eventually destined for ParaView). The issue is that I
> get the requested update time step from the output information (as in any
> time-supporting reader), but I don’t know which output port to get it from.
> The two ports often have different time steps set in them. The correct
> time is in the output from which the demand driven request comes. But which
> one is that? It changes between calls? Is there a way to get the “real”
> requested time? Is there a way to know from which output port the request
> comes from?
>
> -Ken
>
> **** Kenneth Moreland
> *** Sandia National Laboratories
> ***********
> *** *** *** email: kmorel at sandia.gov
> ** *** ** phone: (505) 844-8919
> *** web: http://www.cs.unm.edu/~kmorel<http://www.cs.unm.edu/%7Ekmorel>
>
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20090625/72381600/attachment.htm>
More information about the vtkusers
mailing list