Talk:ParaView/Examples/Plugins/Reader: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Created page with "The function of RequestInformation(...) is not needed?")
 
No edit summary
 
Line 1: Line 1:
The function of RequestInformation(...) is not needed?
The function of RequestInformation(...) is not needed?
* Nope - only RequestData. It is really terribly confusing. Here is everything I have been able to gather: http://www.vtk.org/Wiki/VTK/Examples/Developers . You only have to use functions other than RequestData, FillInputInformation, and FillOutputInformation if you derive directly from vtkAlgorithm, which you should only do in very rare cases. Most of the time I derive from vtkPolyDataAlgorithm, which implements all of the complicated functions for you so you only have to implement RequestData. [[User:Daviddoria|daviddoria]] 21:21, 7 January 2011 (EST)

Latest revision as of 02:21, 8 January 2011

The function of RequestInformation(...) is not needed?

  • Nope - only RequestData. It is really terribly confusing. Here is everything I have been able to gather: http://www.vtk.org/Wiki/VTK/Examples/Developers . You only have to use functions other than RequestData, FillInputInformation, and FillOutputInformation if you derive directly from vtkAlgorithm, which you should only do in very rare cases. Most of the time I derive from vtkPolyDataAlgorithm, which implements all of the complicated functions for you so you only have to implement RequestData. daviddoria 21:21, 7 January 2011 (EST)