CImagePanorama Class Reference
#include
<panorama/panorama.h>
Link against: panorama.lib
class CImagePanorama : public CBase |
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) |
Detailed Description
This class provides functions to get basic stitching. Input can be a file, descriptor, bitmap, imageframe.
Constructor & Destructor Documentation
~CImagePanorama ( )
IMPORT_C | ~CImagePanorama | ( | ) | |
Member Function Documentation
AddBufferL ( const TDesC8 &, CPanoramaTransform & )
Add an image to the panorama creation
Parameter | Description | aData | The buffer containing the image data |
aPanTrans | Panorama transform object |
AddFileL ( const TDesC &, CPanoramaTransform & )
Add an image to the panorama creation
Parameter | Description | aFilename | Input filename |
aPanTrans | Panorama transform object |
AddImageL ( const CFbsBitmap &, CPanoramaTransform & )
Add an image to the panorama creation in progress
Parameter | Description | aBitmap | A bitmap that will contain the image |
aPanTrans | Panorama transform object |
AddImageL ( const CImageFrame &, CPanoramaTransform & )
Add an image to the panorama creation in progress
Parameter | Description | aImageFrame | A imageframe object. |
aPanTrans | Panorama transform object. |
CurrentImageSizeL ( TSize & )
IMPORT_C void | CurrentImageSizeL | ( | TSize & | aSize | ) | |
Retrieves the dimensions of the current session image.
Parameter | Description | aSize | Dimensions of the image. |
Extension ( TUid )
IMPORT_C TAny * | Extension | ( | TUid | aExtension | ) | |
Retrieves a non-standard extension on the image panorama.
Parameter | Description | aExtension | The UID of the extension to be retrieved |
Returns: Extension corresponding to the UID given as a parameter.
InitializeL ( const TSize &, const TPanoramaLens &, const TDirection & )
Initialises the size, direction and panoramalens on plugin and creates the CCapsPanorama, CCapsPanoramaTransform objects.
Parameter | Description | aSize | Size of the image. |
aPanoramaLens | Panorama lens which is specific to camera |
aDirection | Direction of the panorama |
NewL ( )
Constructs a new image panorama object.
A leave occurs if there is insufficient memory available.
Returns: A pointer to the new image panorama object.
RenderL ( const TDesC & )
IMPORT_C void | RenderL | ( | const TDesC & | aFilename | ) | |
Renders the currest session image to file.
Parameter | Description | 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.
Parameter | Description | aFilename | Filename specifying where to store the output file. |
aSize | Dimensions of the output image. |
aMaintainAspectRatio | Aspect ratio based on which output options will be defined |
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.
Parameter | Description | 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.
Parameter | Description | aFile | A file handler |
aSize | Dimensions of the output image. |
aMaintainAspectRatio | Aspect ratio based on which output options will be defined. |
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.
Parameter | Description | 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.
Parameter | Description | aDestData | Pointer to a buffer which will recieve the encoded image data. |
aMaxBufferSize | The maximum size of the buffer in bytes. |
aSize | Dimensions of the output image. |
aMaintainAspectRatio | Aspect ratio based on which output options will be defined. |
aImageTypeUid | The format Uid in which to encode the output image. |
RenderL ( const CFbsBitmap & )
Renders the output to a buffer in raw format.
Parameter | Description | 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.
Parameter | Description | aBitmap | A bitmap to get the output image. |
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.
Parameter | Description | 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.
Parameter | Description | aImageFrame | A imageframe object to get the output image. |
aMaintainAspectRatio | Aspect ration based on which output options will be defined. |