#include <panorama/panorama.h>
Link against: panorama.lib
| class CVFTracker : public CBase |
| 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() |
This class provides functions to register the image that has got from viewfinder and checks the appropriate time to capture that image.
| IMPORT_C | ~CVFTracker | ( | ) |
| IMPORT_C void | InitializeL | ( | const TSize & | aSize | ) |
Initialises the dimensions of the image on the plugin and creates the VFTracker object.
| Parameters | |
|---|---|
| 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.
| Parameters | |
|---|---|
| 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.
| Parameters | |
|---|---|
| aDirection | The type of panorama being created. |
| 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.
| 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 | |
|---|---|
| aBitmap | A bitmap that needs to be registered |
| 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.
| Parameters | |
|---|---|
| aImageFrame | A imageframe object. |
| aPanTrans | A panorama transform object. |