QtVTKStreamingExamples
From KitwarePublic
Jump to navigationJump to search
Example 1
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.
Example 2
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.