RequestData doesn't get called unless the pipeline determines that
something has changed. This is at core of VTK's demand driven execution
pipeline. You may want to checkout Berk's blog (
http://www.kitware.com/blog/home/post/831) about how you can use
`CONTINUE_EXECUTING` key for "streaming".

Utkarsh

On Wed, Jun 24, 2015 at 2:32 PM Dean, Kevin <
[email protected]> wrote:

> I was wondering if anyone has run into this problem before. I am streaming
> vtkPolyData objects into ParaView, but for some reason (after my
> UpdatePipeline function is called), the executive does not call RequestData
> upon an Update command. Could there be any reasons for this?
>
> Here is my snippet:
>
> *void* *VTKPolyDataObjectsDDSReader::UpdateMyPipeline*(vtkPolyData*
> poly_data)
> {
>   // DEBUG:
>   // printf("%s\n", __PRETTY_FUNCTION__);
>
>   VTKPolyDataObjectsDDSReader::*UpdateInformation*();
>   vtkStreamingDemandDrivenPipeline* executive =
> vtkStreamingDemandDrivenPipeline::*SafeDownCast*(
> VTKPolyDataObjectsDDSReader::*GetExecutive*());
>
>   *if* (!executive)
>   {
>     *return*;
>   }
>
>   *this*->poly_data = poly_data;
>
>   *for* (*int* i = 0; i < *this*->poly_data->*GetNumberOfPieces*(); i++)
>   {
>     executive->*SetUpdateExtent*(0, i, *this*->poly_data->
> *GetNumberOfPieces*(), 0);
>     VTKPolyDataObjectsDDSReader::*Update*();
>   }
> }
>
> Any help is appreciated! Thanks guys.
>
> Kevin E. Dean
>
> P.S. - also attached is a screenshot of what some of the output looks like.
>
> This email and its contents are confidential. If you are not the intended
> recipient, please do not disclose or use the information within this email
> or its attachments. If you have received this email in error, please report
> the error to the sender by return email and delete this communication from
> your records.
_______________________________________________
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview

Reply via email to