class CImagePanorama : public CBase |
This class provides functions to get basic stitching. Input can be a file, descriptor, bitmap, imageframe.
Public Member Functions | |
---|---|
~CImagePanorama() | |
IMPORT_C void | AddBufferL(const TDesC8 &, CPanoramaTransform &) |
IMPORT_C void | AddFileL(const TDesC &, CPanoramaTransform &) |
IMPORT_C void | AddImageL(const CFbsBitmap &, CPanoramaTransform &) |
IMPORT_C void | AddImageL(const CImageFrame &, CPanoramaTransform &) |
IMPORT_C void | CurrentImageSizeL(TSize &) |
IMPORT_C TAny * | Extension(TUid) |
IMPORT_C void | InitializeL(const TSize &, const TPanoramaLens &, const TDirection &) |
IMPORT_C CImagePanorama * | NewL() |
IMPORT_C void | RenderL(const TDesC &) |
IMPORT_C void | RenderL(const TDesC &, const TSize &, const TBool, const TUid &) |
IMPORT_C void | RenderL(RFile &) |
IMPORT_C void | RenderL(RFile &, const TSize &, const TBool, const TUid &) |
IMPORT_C void | RenderL(HBufC8 *&) |
IMPORT_C void | RenderL(HBufC8 *&, TUint32, const TSize &, const TBool, const TUid &) |
IMPORT_C void | RenderL(const CFbsBitmap &) |
IMPORT_C void | RenderL(const CFbsBitmap &, const TBool) |
IMPORT_C void | RenderL(const CImageFrame &) |
IMPORT_C void | RenderL(const CImageFrame &, const TBool) |
Private Member Functions | |
---|---|
CImagePanorama() | |
void | ConstructL() |
Private Attributes | |
---|---|
CImagePanoramaImpl * | iImgPanImpl |
IMPORT_C void | AddBufferL | ( | const TDesC8 & | aData, |
CPanoramaTransform & | aPanTrans | |||
) |
Add an image to the panorama creation
const TDesC8 & aData | The buffer containing the image data |
CPanoramaTransform & aPanTrans | Panorama transform object |
IMPORT_C void | AddFileL | ( | const TDesC & | aFilename, |
CPanoramaTransform & | aPanTrans | |||
) |
Add an image to the panorama creation
const TDesC & aFilename | Input filename |
CPanoramaTransform & aPanTrans | Panorama transform object |
IMPORT_C void | AddImageL | ( | const CFbsBitmap & | aBitmap, |
CPanoramaTransform & | aPanTrans | |||
) |
Add an image to the panorama creation in progress
const CFbsBitmap & aBitmap | A bitmap that will contain the image |
CPanoramaTransform & aPanTrans | Panorama transform object |
IMPORT_C void | AddImageL | ( | const CImageFrame & | aImageFrame, |
CPanoramaTransform & | aPanTrans | |||
) |
Add an image to the panorama creation in progress
const CImageFrame & aImageFrame | A imageframe object. |
CPanoramaTransform & aPanTrans | Panorama transform object. |
IMPORT_C void | CurrentImageSizeL | ( | TSize & | aSize | ) |
Retrieves the dimensions of the current session image.
TSize & aSize | Dimensions of the image. |
IMPORT_C TAny * | Extension | ( | TUid | aExtension | ) |
Retrieves a non-standard extension on the image panorama.
Extension corresponding to the UID given as a parameter.
TUid aExtension | The UID of the extension to be retrieved |
IMPORT_C void | InitializeL | ( | const TSize & | aSize, |
const TPanoramaLens & | aPanoramaLens, | |||
const TDirection & | aDirection | |||
) |
Initialises the size, direction and panoramalens on plugin and creates the CCapsPanorama, CCapsPanoramaTransform objects.
const TSize & aSize | Size of the image. |
const TPanoramaLens & aPanoramaLens | Panorama lens which is specific to camera |
const TDirection & aDirection | Direction of the panorama |
IMPORT_C CImagePanorama * | NewL | ( | ) | [static] |
Constructs a new image panorama object.
A leave occurs if there is insufficient memory available.
A pointer to the new image panorama object.
IMPORT_C void | RenderL | ( | const TDesC & | aFilename | ) |
Renders the currest session image to file.
const TDesC & aFilename | Filename specifying where to store the output file. |
IMPORT_C void | RenderL | ( | const TDesC & | aFilename, |
const TSize & | aSize, | |||
const TBool | aMaintainAspectRatio, | |||
const TUid & | aImageTypeUid | |||
) |
Renders the current session image to file.
const TDesC & aFilename | Filename specifying where to store the output file. |
const TSize & aSize | Dimensions of the output image. |
const TBool aMaintainAspectRatio | Aspect ratio based on which output options will be defined |
const TUid & aImageTypeUid | The format Uid in which to encode the output image |
IMPORT_C void | RenderL | ( | RFile & | aFile | ) |
Renders the current session image to an open file handle.
RFile & aFile | A file handler. |
IMPORT_C void | RenderL | ( | RFile & | aFile, |
const TSize & | aSize, | |||
const TBool | aMaintainAspectRatio, | |||
const TUid & | aImageTypeUid | |||
) |
Renders the current session image to an open file handle.
IMPORT_C void | RenderL | ( | HBufC8 *& | aDestData | ) |
Renders the current session image encoded to a buffer.
HBufC8 *& aDestData | Pointer to a buffer which will recieve the encoded image data. |
IMPORT_C void | RenderL | ( | HBufC8 *& | aDestData, |
TUint32 | aMaxBufferSize, | |||
const TSize & | aSize, | |||
const TBool | aMaintainAspectRatio, | |||
const TUid & | aImageTypeUid | |||
) |
Renders the current session image encoded to a buffer.
HBufC8 *& aDestData | Pointer to a buffer which will recieve the encoded image data. |
TUint32 aMaxBufferSize | The maximum size of the buffer in bytes. |
const TSize & aSize | Dimensions of the output image. |
const TBool aMaintainAspectRatio | Aspect ratio based on which output options will be defined. |
const TUid & aImageTypeUid | The format Uid in which to encode the output image. |
IMPORT_C void | RenderL | ( | const CFbsBitmap & | aBitmap | ) |
Renders the output to a buffer in raw format.
const CFbsBitmap & aBitmap | A bitmap to get the output image. |
IMPORT_C void | RenderL | ( | const CFbsBitmap & | aBitmap, |
const TBool | aMaintainAspectRatio | |||
) |
Renders the output to a buffer in raw format.
const CFbsBitmap & aBitmap | A bitmap to get the output image. |
const TBool aMaintainAspectRatio | Aspect ration based on which output options will be defined. |
IMPORT_C void | RenderL | ( | const CImageFrame & | aImageFrame | ) |
Renders the output to a buffer in raw format.
const CImageFrame & aImageFrame | A imageframe object to get the output image. |
IMPORT_C void | RenderL | ( | const CImageFrame & | aImageFrame, |
const TBool | aMaintainAspectRatio | |||
) |
Renders the output to a buffer in raw format.
const CImageFrame & aImageFrame | A imageframe object to get the output image. |
const TBool aMaintainAspectRatio | Aspect ration based on which output options will be defined. |