CImagePanorama Class Reference

class CImagePanorama : public CBase

This class provides functions to get basic stitching. Input can be a file, descriptor, bitmap, imageframe.

Inherits from

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 ()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
CImagePanoramaImpl * iImgPanImpl

Constructor & Destructor Documentation

CImagePanorama()

CImagePanorama ( ) [private]

~CImagePanorama()

IMPORT_C ~CImagePanorama ( )

Member Functions Documentation

AddBufferL(const TDesC8 &, CPanoramaTransform &)

IMPORT_C void AddBufferL ( const TDesC8 & aData,
CPanoramaTransform & aPanTrans
)

Add an image to the panorama creation

Parameters

const TDesC8 & aData The buffer containing the image data
CPanoramaTransform & aPanTrans Panorama transform object

AddFileL(const TDesC &, CPanoramaTransform &)

IMPORT_C void AddFileL ( const TDesC & aFilename,
CPanoramaTransform & aPanTrans
)

Add an image to the panorama creation

Parameters

const TDesC & aFilename Input filename
CPanoramaTransform & aPanTrans Panorama transform object

AddImageL(const CFbsBitmap &, CPanoramaTransform &)

IMPORT_C void AddImageL ( const CFbsBitmap & aBitmap,
CPanoramaTransform & aPanTrans
)

Add an image to the panorama creation in progress

Parameters

const CFbsBitmap & aBitmap A bitmap that will contain the image
CPanoramaTransform & aPanTrans Panorama transform object

AddImageL(const CImageFrame &, CPanoramaTransform &)

IMPORT_C void AddImageL ( const CImageFrame & aImageFrame,
CPanoramaTransform & aPanTrans
)

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 &)

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.

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()

IMPORT_C CImagePanorama * NewL ( ) [static]

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 &)

IMPORT_C void RenderL ( const CFbsBitmap & aBitmap )

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

CImagePanoramaImpl * iImgPanImpl [private]