CVFTracker Class Reference
#include
<panorama/panorama.h>
Link against: panorama.lib
class CVFTracker : public CBase |
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
Member Function Documentation
Extension ( TUid )
IMPORT_C TAny * | Extension | ( | TUid | aExtension | ) | |
Retrieves a non-standard extension on the VFTracker
Parameter | Description | aExtension | The UID of the extension to be retrieved |
Returns: Extension corresponding to the UID given as a parameter.
InitializeL ( const TSize & )
IMPORT_C void | InitializeL | ( | const TSize & | aSize | ) | |
Initialises the dimensions of the image on the plugin and creates the VFTracker object.
Parameter | Description | aSize | Dimensions of the image. |
IsTimeToCapture ( TDirection & )
Determines from a PanoramaTransform if it is time to capture a new image.
Parameter | Description | aDirection | The type of panorama being created. |
IsTimeToCapture ( TDirection &, TInt )
Determines from a PanoramaTransform if it is time to capture a new image.
Parameter | Description | aDirection | The type of panorama being created. |
aOverlap | Desired overlap in the panorama image. |
NewL ( )
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 & )
Performs overlapping calculations from viewfinder image. Pass all viewfinder images to this function to find out when its time to capture a new image.
Parameter | Description | aBitmap | A bitmap that needs to be registered |
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.
Parameter | Description | aImageFrame | A imageframe object. |
aPanTrans | A panorama transform object. |