CVFTracker Class Reference

class CVFTracker : public CBase

This class provides functions to register the image that has got from viewfinder and checks the appropriate time to capture that image.

Inherits from

Constructor & Destructor Documentation

CVFTracker()

CVFTracker ( ) [private]

~CVFTracker()

IMPORT_C ~CVFTracker ( )

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Extension(TUid)

IMPORT_C TAny * Extension ( TUid aExtension )

Retrieves a non-standard extension on the VFTracker

Parameters

TUid aExtension The UID of the extension to be retrieved

InitializeL(const TSize &)

IMPORT_C void InitializeL ( const TSize & aSize )

Initialises the dimensions of the image on the plugin and creates the VFTracker object.

Parameters

const TSize & aSize Dimensions of the image.

IsTimeToCapture(TDirection &)

IMPORT_C TBool IsTimeToCapture ( TDirection & aDirection ) const

Determines from a PanoramaTransform if it is time to capture a new image.

Parameters

TDirection & aDirection The type of panorama being created.

IsTimeToCapture(TDirection &, TInt)

IMPORT_C TBool IsTimeToCapture ( TDirection & aDirection,
TInt aOverlap
) const

Determines from a PanoramaTransform if it is time to capture a new image.

Parameters

TDirection & aDirection The type of panorama being created.
TInt aOverlap Desired overlap in the panorama image.

NewL()

IMPORT_C CVFTracker * NewL ( ) [static]

Constructs a new VFTracker object.

A leave occurs if there is insufficient memory available.

RegisterImageL(const CFbsBitmap &, CPanoramaTransform &)

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

Performs overlapping calculations from viewfinder image. Pass all viewfinder images to this function to find out when its time to capture a new image.

Parameters

const CFbsBitmap & aBitmap A bitmap that needs to be registered
CPanoramaTransform & aPanTrans A panorama transform object.

RegisterImageL(const CImageFrame &, CPanoramaTransform &)

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

Performs overlapping calculations from viewfinder image. Pass all viewfinder images to this function to find out when its time to capture a new image.

Parameters

const CImageFrame & aImageFrame A imageframe object.
CPanoramaTransform & aPanTrans A panorama transform object.

Reset()

IMPORT_C void Reset ( )

Resets the transform return for the next RegisterImageL() .

Member Data Documentation

CVFTrackerImpl * iVFTrackImpl

CVFTrackerImpl * iVFTrackImpl [private]