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_CTHuiTransformationCommand(TAny *aOwner,
CHuiTransformation &aTransformation,
THuiOpaOperation = EHuiOpLoadIdentity,
TIntaStep = EStepNone
)

Constructs a new transformation command.

Parameters

TAny * aOwnerOwner of the transformation. Allowed be NULL.
CHuiTransformation & aTransformationTransformation to operate on.
THuiOp aOperation = EHuiOpLoadIdentityOperation to perform.
TInt aStep = EStepNoneStep index in the transformation.

Member Functions Documentation

CommandExtension(const TUid &, TAny **)

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

Parameters

const TUid & aExtensionUid
TAny ** aExtensionParams

ExecuteL(CHuiEnv &)

IMPORT_C voidExecuteL(CHuiEnv &aEnv)const [virtual]

Executes the command.

Parameters

CHuiEnv & aEnvThe environment in which the command is being executed.

SetAngle(const THuiTimedValue &)

IMPORT_C voidSetAngle(const THuiTimedValue &aValue)

Returns a reference to the angle component.

Parameters

const THuiTimedValue & aValue

SetX(const THuiTimedValue &)

IMPORT_C voidSetX(const THuiTimedValue &aValue)

Sets the X component.

Parameters

const THuiTimedValue & aValueValue.

SetY(const THuiTimedValue &)

IMPORT_C voidSetY(const THuiTimedValue &aValue)

Returns a reference to the Y component.

Parameters

const THuiTimedValue & aValue

SetZ(const THuiTimedValue &)

IMPORT_C voidSetZ(const THuiTimedValue &aValue)

Returns a reference to the Z component.

Parameters

const THuiTimedValue & aValue

Size()

IMPORT_C TIntSize()const [virtual]

Returns the size of the command.

Step()

IMPORT_C TIntStep()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.