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

voidConstructL()[private]

Extension(TUid)

IMPORT_C TAny *Extension(TUidaExtension)

Retrieves a non-standard extension on the VFTracker

Parameters

TUid aExtensionThe UID of the extension to be retrieved

InitializeL(const TSize &)

IMPORT_C voidInitializeL(const TSize &aSize)

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

Parameters

const TSize & aSizeDimensions of the image.

IsTimeToCapture(TDirection &)

IMPORT_C TBoolIsTimeToCapture(TDirection &aDirection)const

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

Parameters

TDirection & aDirectionThe type of panorama being created.

IsTimeToCapture(TDirection &, TInt)

IMPORT_C TBoolIsTimeToCapture(TDirection &aDirection,
TIntaOverlap
)const

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

Parameters

TDirection & aDirectionThe type of panorama being created.
TInt aOverlapDesired 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 voidRegisterImageL(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 & aBitmapA bitmap that needs to be registered
CPanoramaTransform & aPanTransA panorama transform object.

RegisterImageL(const CImageFrame &, CPanoramaTransform &)

IMPORT_C voidRegisterImageL(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 & aImageFrameA imageframe object.
CPanoramaTransform & aPanTransA panorama transform object.

Reset()

IMPORT_C voidReset()

Resets the transform return for the next RegisterImageL().

Member Data Documentation

CVFTrackerImpl * iVFTrackImpl

CVFTrackerImpl *iVFTrackImpl[private]