![]() |
ImFusion SDK 4.3
|
Generic Recording and Playback of Streams. More...
Collaboration diagram for Recording:Generic Recording and Playback of Streams.
The Stream API allows for the generic recording of all streamed data and playing back the exact same stream at a later occasion. This functionality is based on the DataComponent API. When you implement your own specific Stream class you can implement additional DataComponents that store stream-sepcific information. The StreamRecorder interface will take care of storing both individual components per frame as well as global components for the entire stream.
The generic stream recording is handled by the StreamRecorderAlgorithm class. During recording, the recorder will copy all DataComponents attached to a StreamData instance to the ElementwiseDataComponentList of the output Data.
The PlaybackAlgorithm will create a new PlaybackStream that replays the recorded data. In order to mimic the original Stream state all DataComponents for an individual frame are restored from the ElementwiseDataComponentList (including potential custom information).
Classes | |
| class | ImageStreamRecorder |
| Records images from an ImageStream. More... | |
| class | StreamRecorder |
| Abstract base class for stream recorders. More... | |
| class | StreamRecorderAlgorithm |
| Records multiple ImageStream and TrackingStream instances and optionally merges their results into one or more TrackedSharedImageSet objects. More... | |
| class | StreamRecorderController |
| Controller for recording and synchronizing any combination of ImageStreams and TrackingStreams. More... | |
| class | TrackingStreamRecorder |
| Records data from a TrackingStream. More... | |