CImagePanorama Class Reference
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) |
Constructor & Destructor Documentation
CImagePanorama()
CImagePanorama | ( | ) | [private] |
~CImagePanorama()
IMPORT_C | ~CImagePanorama | ( | ) | |
Member Functions Documentation
AddBufferL(const TDesC8 &, CPanoramaTransform &)
Add an image to the panorama creation
AddFileL(const TDesC &, CPanoramaTransform &)
Add an image to the panorama creation
AddImageL(const CFbsBitmap &, CPanoramaTransform &)
Add an image to the panorama creation in progress
AddImageL(const CImageFrame &, CPanoramaTransform &)
Add an image to the panorama creation in progress
Parameters
const CImageFrame & aImageFrame | A imageframe object. |
CPanoramaTransform & aPanTrans | Panorama transform object. |
ConstructL()
void | ConstructL | ( | ) | [private] |
CurrentImageSizeL(TSize &)
IMPORT_C void | CurrentImageSizeL | ( | TSize & | aSize | ) | |
Retrieves the dimensions of the current session image.
Parameters
TSize & aSize | Dimensions of the image. |
Extension(TUid)
IMPORT_C TAny * | Extension | ( | TUid | aExtension | ) | |
Retrieves a non-standard extension on the image panorama.
Parameters
TUid aExtension | The UID of the extension to be retrieved |
InitializeL(const TSize &, const TPanoramaLens &, const TDirection &)
Initialises the size, direction and panoramalens on plugin and creates the CCapsPanorama, CCapsPanoramaTransform objects.
Parameters
const TSize & aSize | Size of the image. |
const TPanoramaLens & aPanoramaLens | Panorama lens which is specific to camera |
const TDirection & aDirection | Direction of the panorama |
NewL()
Constructs a new image panorama object.
A leave occurs if there is insufficient memory available.
RenderL(const TDesC &)
IMPORT_C void | RenderL | ( | const TDesC & | aFilename | ) | |
Renders the currest session image to file.
Parameters
const TDesC & aFilename | Filename specifying where to store the output file. |
RenderL(const TDesC &, const TSize &, const TBool, const TUid &)
IMPORT_C void | RenderL | ( | const TDesC & | aFilename, |
| const TSize & | aSize, |
| const TBool | aMaintainAspectRatio, |
| const TUid & | aImageTypeUid |
| ) | |
Renders the current session image to file.
Parameters
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 |
RenderL(RFile &)
IMPORT_C void | RenderL | ( | RFile & | aFile | ) | |
Renders the current session image to an open file handle.
Parameters
RFile & aFile | A file handler. |
RenderL(RFile &, const TSize &, const TBool, const TUid &)
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.
Parameters
RFile & aFile | A file handler |
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. |
RenderL(HBufC8 *&)
IMPORT_C void | RenderL | ( | HBufC8 *& | aDestData | ) | |
Renders the current session image encoded to a buffer.
Parameters
HBufC8 *& aDestData | Pointer to a buffer which will recieve the encoded image data. |
RenderL(HBufC8 *&, TUint32, const TSize &, const TBool, const TUid &)
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.
Parameters
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. |
RenderL(const CFbsBitmap &)
Renders the output to a buffer in raw format.
Parameters
const CFbsBitmap & aBitmap | A bitmap to get the output image. |
RenderL(const CFbsBitmap &, const TBool)
IMPORT_C void | RenderL | ( | const CFbsBitmap & | aBitmap, |
| const TBool | aMaintainAspectRatio |
| ) | |
Renders the output to a buffer in raw format.
Parameters
const CFbsBitmap & aBitmap | A bitmap to get the output image. |
const TBool aMaintainAspectRatio | Aspect ration based on which output options will be defined. |
RenderL(const CImageFrame &)
IMPORT_C void | RenderL | ( | const CImageFrame & | aImageFrame | ) | |
Renders the output to a buffer in raw format.
Parameters
const CImageFrame & aImageFrame | A imageframe object to get the output image. |
RenderL(const CImageFrame &, const TBool)
IMPORT_C void | RenderL | ( | const CImageFrame & | aImageFrame, |
| const TBool | aMaintainAspectRatio |
| ) | |
Renders the output to a buffer in raw format.
Parameters
const CImageFrame & aImageFrame | A imageframe object to get the output image. |
const TBool aMaintainAspectRatio | Aspect ration based on which output options will be defined. |
Member Data Documentation
CImagePanoramaImpl * iImgPanImpl
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.