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.
Public Member Functions | |
---|---|
~CVFTracker() | |
IMPORT_C TAny * | Extension(TUid) |
IMPORT_C void | InitializeL(const TSize &) |
IMPORT_C TBool | IsTimeToCapture(TDirection &) |
IMPORT_C TBool | IsTimeToCapture(TDirection &, TInt) |
IMPORT_C CVFTracker * | NewL() |
IMPORT_C void | RegisterImageL(const CFbsBitmap &, CPanoramaTransform &) |
IMPORT_C void | RegisterImageL(const CImageFrame &, CPanoramaTransform &) |
IMPORT_C void | Reset() |
Private Member Functions | |
---|---|
CVFTracker() | |
void | ConstructL() |
Private Attributes | |
---|---|
CVFTrackerImpl * | iVFTrackImpl |
IMPORT_C TAny * | Extension | ( | TUid | aExtension | ) |
Retrieves a non-standard extension on the VFTracker
Extension corresponding to the UID given as a parameter.
TUid aExtension | The UID of the extension to be retrieved |
IMPORT_C void | InitializeL | ( | const TSize & | aSize | ) |
Initialises the dimensions of the image on the plugin and creates the VFTracker object.
const TSize & aSize | Dimensions of the image. |
IMPORT_C TBool | IsTimeToCapture | ( | TDirection & | aDirection | ) | const |
Determines from a PanoramaTransform if it is time to capture a new image.
TDirection & aDirection | The type of panorama being created. |
IMPORT_C TBool | IsTimeToCapture | ( | TDirection & | aDirection, |
TInt | aOverlap | |||
) | const |
Determines from a PanoramaTransform if it is time to capture a new image.
TDirection & aDirection | The type of panorama being created. |
TInt aOverlap | Desired overlap in the panorama image. |
IMPORT_C CVFTracker * | NewL | ( | ) | [static] |
Constructs a new VFTracker object.
A leave occurs if there is insufficient memory available.
A pointer to a new VFTracker object.
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.
const CFbsBitmap & aBitmap | A bitmap that needs to be registered |
CPanoramaTransform & aPanTrans | A panorama transform object. |
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.
const CImageFrame & aImageFrame | A imageframe object. |
CPanoramaTransform & aPanTrans | A panorama transform object. |