[vtk-developers] vtkSelectVisiblePoints on empty data set

Andreas Buykx A.Buykx at tnodiana.com
Sat Jun 4 02:15:09 EDT 2011


Hi all,

I have a pipeline in my application that should display the ids of visible points, using a.o. the vtkSelectVisiblePoints filter. The input to this filter is a - possibly empty - selection of the original data set.
When the set is in fact empty, I get a lot of the following errors:
ERROR: In <path-deleted>/VTK/src/Filtering/vtkExecutive.cxx, line 753
vtkStreamingDemandDrivenPipeline (0x32b8700): Algorithm vtkSelectVisiblePoints(0x3168ea0) returned failure for request: vtkInformation (0x3340180)
  Debug: Off
  Modified Time: 23448
  Reference Count: 1
  Registered Events: (none)
  Request: REQUEST_DATA
  FROM_OUTPUT_PORT: 0
  FORWARD_DIRECTION: 0
  ALGORITHM_AFTER_FORWARD: 1

I looked in the code and found that this filter returns a 0 from RequestData if the input dataset is empty. In my situation an empty input dataset is a valid input condition and I'd like to prevent all these errors. What are my options?

Thanks for your help!
Andreas Buykx
Senior Software Engineer

TNO DIANA BV
Software Developers and Analysis Consultants for Civil and Geotechnical Engineering

Delftechpark 19a, 2628 XJ, Delft, The Netherlands
Tel: +31 88 34262 15 (Direct) │ Tel: +31 88 34262 00 (Switchboard) │ +31 88 34262 99 (Fax)
http://tnodiana.com<http://tnodiana.com/>

...be green keep it on screen

____________________________________________________________
TNO DIANA BV is a limited liability company registered in the trade register of the Chamber of Commerce as TNO DIANA BV with registered number 27252655.
____________________________________________________________
This e-mail and its contents are subject to the DISCLAIMER at http://tnodiana.com/content/Disclaimer
____________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20110604/6f73d827/attachment.html>


More information about the vtk-developers mailing list