Difference between revisions of "Acquiring New Data"

From KitwarePublic
Jump to navigationJump to search
 
Line 1: Line 1:
Currently, ParaView reads data from one or more files. There are many ways to extend this idea to data that is being created on the fly. A few obvious apporaches:
+
Currently, ParaView reads data from one or more files. There are many ways to extend this idea to data that is being created on the fly. A few obvious approaches:
 
<ul>
 
<ul>
 
<li>Add some new parts to readers that can handle transient data. This will include a method named, say, "HaveNewData" that can be called by the background loop to let the reader check whether it has new data. Upon receiving a "True" the background loop would do something, e.g., bump the animator forward one step.
 
<li>Add some new parts to readers that can handle transient data. This will include a method named, say, "HaveNewData" that can be called by the background loop to let the reader check whether it has new data. Upon receiving a "True" the background loop would do something, e.g., bump the animator forward one step.

Revision as of 12:25, 23 October 2006

Currently, ParaView reads data from one or more files. There are many ways to extend this idea to data that is being created on the fly. A few obvious approaches:

  • Add some new parts to readers that can handle transient data. This will include a method named, say, "HaveNewData" that can be called by the background loop to let the reader check whether it has new data. Upon receiving a "True" the background loop would do something, e.g., bump the animator forward one step.
  • Create a new module for a particular application that receives the data somehow (sockets, files, magic). This new module would support the "HaveNewData" method. See "Greg's Case".

Please contribute other ideas or variations.