Raytrix RayCam SDK  v2.1.0
Enumerations
ECallbackMode Namespace Reference

Defines the callback modes. More...

Enumerations

enum  ID { Standard = 0, ExternalImageBuffer }
 

Detailed Description

Defines the callback modes.

Enumeration Type Documentation

Enumerator
Standard 

Standard mode (default). The registered Callback returns a pointer to an image. This image is only valid during the callback.

ExternalImageBuffer 

External image mode. The registered Callback returns a pointer to memory. This pointer can be added by using SetProperty(ECamProperty::AddImageBufferPtr, pMemory). Each AddImageBufferPtr will be internally queued. After the queue is empty, all image will be dropped until the next AddImageBufferPtr call. The queue will be emptied when the stream stops or the image size changes (ROI, image format, etc.)