Resources | Resources |



Frame model

IFrameModel is an abstract base class representing a media source such as video or a camera that is generally associated with a Frame widget. The IFrameModel notifies its listener through IModel_Notify() whenever a new frame is available, and the listener can then retrieve the current frame and display it.

IFrameModel usage

IFrameModel can be used to retrieve the current frame through IFrameModel_GetFrame(), get and set frame size through IFrameModel_GetSize() and IFrameModel_SetSize(), respectively, and get and set frame offset using IFrameModel_GetOffset() and IFrameModel_SetOffset(), respectively.