QtVTKStreamingExamples

From KitwarePublic
Revision as of 12:25, 25 January 2010 by Hvo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Example 1

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

All QThread does is to call Push() on the vtkTokenizer with new inputs at a random delay. vtkQtEmitter posts events to QListWidget for a thread-safe environment.

QtVTKStreaming1.png


Example 2

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Concatenate merges tokens from the 3 upstream tokenizers and send it down to QtEmitter for posting words to the QListWidget. Similar to the example 1, QThread does Push() on Concatenate, however, Concatenate also does Pull() on the upstream tokenizers. This creates 2 separate streaming subpipelines.

QtVTKStreaming2.png