CPanoramaTransform Class Reference

#include <panorama/panorama.h>

Link against: panorama.lib

class CPanoramaTransform : public CBase

Inherits from

Detailed Description

This class provides help functions for handling the result of the viewfinder tracking. It contains getters and setters.

Constructor & Destructor Documentation

~CPanoramaTransform ( )

IMPORT_C~CPanoramaTransform()

Member Function Documentation

GetDirection ( TDirection & )

IMPORT_C voidGetDirection(TDirection &aDirection)

Get the direction of a panorama transform

Parameters
aDirectionDirection of the panorama

GetDirection ( TDirection &, TInt & )

IMPORT_C voidGetDirection(TDirection &aDirection,
TInt &aMinimumDelta
)

Get the direction of a panorama transform

Parameters
aDirectionDirection of the panorama
aMinimumDeltaMinimum translation in percent.

GetTranslation ( TPoint &, TSize & )

IMPORT_C voidGetTranslation(TPoint &aDxDy,
TSize &aDims
)const

Get the translation part of a PanoramaTransform

Parameters
aDxDyx and y coordinates
aDimsImage dimensions for the transform

NewL ( )

IMPORT_C CPanoramaTransform *NewL()[static]

Constructs a new panorama transform object.

A leave occurs if there is insufficient memory available.

Return Value
A pointer to the new panorama transform object.

SetDirection ( TDirection & )

IMPORT_C voidSetDirection(TDirection &aDirection)

Set the desired direction of a panorama transform

Parameters
aDirectionDirection of the panorama

SetDirection ( TDirection &, TInt )

IMPORT_C voidSetDirection(TDirection &aDirection,
TIntaMinDelta
)

Set the desired direction of a panorama transform

Parameters
aDirectionDirection of the panorama
aMinDeltaMinimum translation in percent.

SetTranslationL ( const TPoint &, const TSize & )

IMPORT_C voidSetTranslationL(const TPoint &aDxDy,
const TSize &aDims
)

Set the desired translation values on a panorama transform object.

Parameters
aDxDyx and y coordinates
aDimsImage dimenstion for the transform