ICatchIPancamImage interface
package com.icatchtek.pancam.customer;public interface ICatchIPancamImage {...}
This interface is used to render panoramic pictures or normal pictures.
Public methods
update
boolean update(ICatchGLImage image)throws com.icatchtek.reliant.customer.exception.IchInvalidArgumentException
Update the image to the drawing surface. ICatchGLImage encapsulates a bitmap image.
Parameters:
- image - image to be rendered.
Returns:
Return true if no error happened, otherwise return false.
Throws:
- com.icatchtek.reliant.customer.exception.IchInvalidArgumentException - Invalid parameters may be caused by invalid bitmap content in the image.
update
boolean update(ICatchGLImage image,float pitch)throws com.icatchtek.reliant.customer.exception.IchInvalidArgumentException
Update the image to the drawing surface. ICatchGLImage encapsulates a bitmap image.
Parameters:
- image - image to be rendered.
- pitch - eis parameter, pitch.
Returns:
Return true if no error happened, otherwise return false.
Throws:
- com.icatchtek.reliant.customer.exception.IchInvalidArgumentException - Invalid parameters may be caused by invalid bitmap content in the image.
update
boolean update(ICatchGLImageRaw image)throws com.icatchtek.reliant.customer.exception.IchInvalidArgumentException
Update the image to the drawing surface, This image should be an raw image.
Parameters:
- image - The raw image, support formats: YUV_420, YUV_NV16.
Returns:
Return true if no error happened, otherwise return false.
Throws:
- com.icatchtek.reliant.customer.exception.IchInvalidArgumentException - Invalid parameters may be caused by invalid content in the image.
update
boolean update(ICatchGLImageRaw image,float pitch)throws com.icatchtek.reliant.customer.exception.IchInvalidArgumentException
Update the image to the drawing surface, And with the eis parameter(pitch value). This image should be an raw image.
Parameters:
- image - The raw image, support formats: YUV_420, YUV_NV16.
- pitch - eis parameter, pitch.
Returns:
Return true if no error happened, otherwise return false.
Throws:
- com.icatchtek.reliant.customer.exception.IchInvalidArgumentException - Invalid parameters may be caused by invalid content in the image.
clear
boolean clear()
Erase the previous drawing, this will trigger the SDK to use the default coloring drawing (the default color you specified in the prepareSession of ICatchPancamSession)
Returns:
Returns true on success, otherwise false.
**
