THuiTransformationCommand Class Reference

class THuiTransformationCommand : public THuiObjectCommand

THuiTransformationCommand is a command that operaters on a transformation.

Inherits from

Constructor & Destructor Documentation

THuiTransformationCommand(TAny *, CHuiTransformation &, THuiOp, TInt)

IMPORT_C THuiTransformationCommand ( TAny * aOwner,
CHuiTransformation & aTransformation,
THuiOp aOperation = EHuiOpLoadIdentity,
TInt aStep = EStepNone
)

Constructs a new transformation command.

Parameters

TAny * aOwner Owner of the transformation. Allowed be NULL.
CHuiTransformation & aTransformation Transformation to operate on.
THuiOp aOperation = EHuiOpLoadIdentity Operation to perform.
TInt aStep = EStepNone Step index in the transformation.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

IMPORT_C void CommandExtension ( const TUid & aExtensionUid,
TAny ** aExtensionParams
) [protected, virtual]

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CHuiEnv &)

IMPORT_C void ExecuteL ( CHuiEnv & aEnv ) const [virtual]

Executes the command.

Parameters

CHuiEnv & aEnv The environment in which the command is being executed.

SetAngle(const THuiTimedValue &)

IMPORT_C void SetAngle ( const THuiTimedValue & aValue )

Returns a reference to the angle component.

Parameters

const THuiTimedValue & aValue

SetX(const THuiTimedValue &)

IMPORT_C void SetX ( const THuiTimedValue & aValue )

Sets the X component.

Parameters

const THuiTimedValue & aValue Value.

SetY(const THuiTimedValue &)

IMPORT_C void SetY ( const THuiTimedValue & aValue )

Returns a reference to the Y component.

Parameters

const THuiTimedValue & aValue

SetZ(const THuiTimedValue &)

IMPORT_C void SetZ ( const THuiTimedValue & aValue )

Returns a reference to the Z component.

Parameters

const THuiTimedValue & aValue

Size()

IMPORT_C TInt Size ( ) const [virtual]

Returns the size of the command.

Step()

IMPORT_C TInt Step ( ) const

Returns the transformation step index.

Transformation()

IMPORT_C CHuiTransformation & Transformation ( ) const

Returns the transformation that the command operates on.

Member Enumerations Documentation

Enum anonymous

Enumerators

EStepNone = -1

Used in the aStep parameter to specify that no step index is specified.

Member Data Documentation

THuiTimedValue iAngle

THuiTimedValue iAngle [private]

Angle component. Suspended.

TInt iSpare1

TInt iSpare1 [private]

TInt iSpare2

TInt iSpare2 [private]

TInt iStep

TInt iStep [private]

Step index.

CHuiTransformation & iTransformation

CHuiTransformation & iTransformation [private]

Image of the command.

THuiTimedValue iX

THuiTimedValue iX [private]

X component. Suspended.

THuiTimedValue iY

THuiTimedValue iY [private]

Y component. Suspended.

THuiTimedValue iZ

THuiTimedValue iZ [private]

Z component. Suspended.