API Reference | developer.brewmp.com API Reference | developer.brewmp.com


API Reference


Brew Release
Brew MP 1.0.2
See Also
- IModel Interface - IFrameModel_GetFrame() - IFrameModel_GetSize() - IFrameModel_SetSize() - IFrameModel_GetOffset() - IFrameModel_SetOffset()

IFrameModel is an abstract base class representing a media source such as video or a camera. The IFrameModel notifies it's listener through IMODEL_Notify whenever a new frame is available, and the listener can then retrieve the current frame and display it. A frame widget is typically used with the frame model.
See IModel usage, the IFrameModel is generally associated with a Frame Widget. Additionally, IFrameModel can be used to retrieve the current frame through IFrameModel_GetFrame(), get/set frame size through the IFrameModel_GetSize() and IFrameModel_SetSize(), get/set frame offset throught the IFrameModel_GetOffset() and IFrameModel_SetOffset().