CVFTracker Class Reference

#include <panorama/panorama.h>

Link against: panorama.lib

class CVFTracker : public CBase

Inherits from

  • CVFTracker

    Detailed Description

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

    Constructor & Destructor Documentation

    ~CVFTracker ( )

    IMPORT_C~CVFTracker()

    Member Function Documentation

    Extension ( TUid )

    IMPORT_C TAny *Extension(TUidaExtension)

    Retrieves a non-standard extension on the VFTracker

    ParameterDescription
    aExtensionThe UID of the extension to be retrieved

    Returns: Extension corresponding to the UID given as a parameter.

    InitializeL ( const TSize & )

    IMPORT_C voidInitializeL(const TSize &aSize)

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

    ParameterDescription
    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.

    ParameterDescription
    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.

    ParameterDescription
    aDirectionThe type of panorama being created.
    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.

    Returns: A pointer to a new VFTracker object.

    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.

    ParameterDescription
    aBitmapA bitmap that needs to be registered
    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.

    ParameterDescription
    aImageFrameA imageframe object.
    aPanTransA panorama transform object.

    Reset ( )

    IMPORT_C voidReset()

    Resets the transform return for the next RegisterImageL().