32 / 58
32
int
iCube
SDK_
GetGoodFrames(int nCamIndex,int* pnFrames)
Purpose: get the number of good frames since the last start.
Description
Parameters
int
CamIndex,
int*
pnFrames
Return value
int
stat
Return value:
int
stat
:
IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
int*
pnFrames: the number of good frames since the last start.
int ICubeSDK_SetDisplayMode(int nCamIndex,int nMode, DISP_PROPERTY property)
Purpose:
sets the display mode. This function has to be called before ICubeSDK_Start().
Description
Parameters
int
CamIndex,
int
nMode,
DISP_PROPERTY
property
Return value
int
stat
Return value:
int
stat: IC_SUCCESS: success
else: error
Parameters:
int
nCamIndex: index of camera.
int
nMode: DISPLAY_NORMAL displays the full frame
DISPLAY_FIT_TO_WINDOW resizes the displayed frame to the size
of the preview window
DISPLAY_RECT
resizes the displayed frame to the size
given with DISP_PROPERTY
DISP_PROPERTY property:
defines height, width and position of the displayed window, only
used in DISPLAY_RECT-Mode
(left / top; right / bottom)