Clarification about RequestData methods
the_not <[email protected]>
| Newsgroups | gmane.comp.lib.vtk.user |
|---|---|
| Message-ID | <[email protected]> |
I am reading the VTKTextbook. On page 112 (physical page 128) it says: /Now let’s reexamine the same process of pipeline execution by following method invocation. The process begins when the actor receives a Render() message from a renderer. The actor in turn sends a Render() message to its mapper. The mapper begins network execution by asking its input to update itself via the Update() operation. This causes a cascade of Update() methods as each filter in turn asks its input to update itself. If branching in the pipeline is present, the update method will branch as well. Finally, the cascade terminates when a source object is encountered. If the source object is out of date, it will send itself an RequestData() command. Each filter will send itself an RequestData() as necessary to bring itself up to date. Finally, the mapper will perform operations to transform its input into rendering primitives./ <http://vtk.1045678.n5.nabble.com/file/t342660/2018-12-22_19-17-28_screenshot.png> It is clear how Update() mehods get propagated towards the Source, as each "node" in the network asks its input to update. Following the text above, it says that the cascade terminates when the source is reached. It than sends itself RequestData command, if it is out of date. But the text than goes to say " Each filter will send itself an RequestData()" if needed. How do filters know to call RequestData on themselves? With Update, it is clear, as each filter asks its input to update. This flows upstream to the source. But than if only the source asks itself to RequestData, how do filters downstream from it know to do so aswell? I hope I made my question clear, I thank you in advance. -- Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html _______________________________________________ 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