Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DTransformationManagerInterface Class Referenceabstract

The U4DTransformation interfaces provides all the methods for the transformation of all entities. More...

Inherited by U4DEngine::U4DTransformation.

Public Member Functions

 ~U4DTransformationManagerInterface ()
 interface destructor
 
virtual void translateTo (U4DVector3n &translation)=0
 Method which translates entity to a new position. More...
 
virtual void translateTo (float x, float y, float z)=0
 Method which translates entity to a new position. More...
 
virtual void rotateTo (U4DQuaternion &rotation)=0
 Method which rotates entity to a new orientation. More...
 
virtual void rotateTo (U4DMatrix3n &uRotationMatrix)=0
 rotates to a new orientation More...
 
virtual void rotateBy (U4DQuaternion &rotation)=0
 Method which rotates entity by a certain amount. More...
 
virtual void rotateTo (float angle, U4DVector3n &axis)=0
 Method which rotates entity to a new orientation. More...
 
virtual void rotateBy (float angle, U4DVector3n &axis)=0
 Method which rotates entity by certain amount. More...
 
virtual void translateTo (U4DVector2n &translation)=0
 Method which translates entity to a new position. More...
 
virtual void translateBy (float x, float y, float z)=0
 Method which translates entity by certain amount. More...
 
virtual void rotateTo (float angleX, float angleY, float angleZ)=0
 Method which rotates entity to a new orientation. More...
 
virtual void rotateBy (float angleX, float angleY, float angleZ)=0
 Method which rotates entity by a certain amount. More...
 
virtual void rotateAboutAxis (float angle, U4DVector3n &axisOrientation, U4DVector3n &axisPosition)=0
 Method which rotates entity about an axis. More...
 

Detailed Description

The U4DTransformation interfaces provides all the methods for the transformation of all entities.

Member Function Documentation

◆ rotateAboutAxis()

virtual void U4DEngine::U4DTransformationManagerInterface::rotateAboutAxis ( float  angle,
U4DVector3n axisOrientation,
U4DVector3n axisPosition 
)
pure virtual

Method which rotates entity about an axis.

Parameters
angleAngle representing rotation
axisOrientationAxis of rotation
axisPositionPosition of rotation axis

Implemented in U4DEngine::U4DTransformation.

◆ rotateBy() [1/3]

virtual void U4DEngine::U4DTransformationManagerInterface::rotateBy ( float  angle,
U4DVector3n axis 
)
pure virtual

Method which rotates entity by certain amount.

Parameters
angleAngle of rotation
axisAxis of rotation

Implemented in U4DEngine::U4DTransformation.

◆ rotateBy() [2/3]

virtual void U4DEngine::U4DTransformationManagerInterface::rotateBy ( float  angleX,
float  angleY,
float  angleZ 
)
pure virtual

Method which rotates entity by a certain amount.

Parameters
angleXAngle of rotation along x-axis
angleYAngle of rotation along y-axis
angleZAngle of rotation along z-axis

Implemented in U4DEngine::U4DTransformation.

◆ rotateBy() [3/3]

virtual void U4DEngine::U4DTransformationManagerInterface::rotateBy ( U4DQuaternion rotation)
pure virtual

Method which rotates entity by a certain amount.

Parameters
rotationQuaternion representing orientation

Implemented in U4DEngine::U4DTransformation.

◆ rotateTo() [1/4]

virtual void U4DEngine::U4DTransformationManagerInterface::rotateTo ( float  angle,
U4DVector3n axis 
)
pure virtual

Method which rotates entity to a new orientation.

Parameters
angleAngle of rotation
axisAsis of rotation

Implemented in U4DEngine::U4DTransformation.

◆ rotateTo() [2/4]

virtual void U4DEngine::U4DTransformationManagerInterface::rotateTo ( float  angleX,
float  angleY,
float  angleZ 
)
pure virtual

Method which rotates entity to a new orientation.

Parameters
angleXAngle of rotation along the x-axis
angleYAngle of rotation along the y-axis
angleZAngle of rotation along the z-axis

Implemented in U4DEngine::U4DTransformation.

◆ rotateTo() [3/4]

virtual void U4DEngine::U4DTransformationManagerInterface::rotateTo ( U4DMatrix3n uRotationMatrix)
pure virtual

rotates to a new orientation

Parameters
uRotationMatrixmatrix representing the orientation

Implemented in U4DEngine::U4DTransformation.

◆ rotateTo() [4/4]

virtual void U4DEngine::U4DTransformationManagerInterface::rotateTo ( U4DQuaternion rotation)
pure virtual

Method which rotates entity to a new orientation.

Parameters
rotationQuaternion representing orientation

Implemented in U4DEngine::U4DTransformation.

◆ translateBy()

virtual void U4DEngine::U4DTransformationManagerInterface::translateBy ( float  x,
float  y,
float  z 
)
pure virtual

Method which translates entity by certain amount.

Parameters
xTranslaiion along x-coordinate
yTranslation along y-coordinate
zTranslation along z-coordinate

Implemented in U4DEngine::U4DTransformation.

◆ translateTo() [1/3]

virtual void U4DEngine::U4DTransformationManagerInterface::translateTo ( float  x,
float  y,
float  z 
)
pure virtual

Method which translates entity to a new position.

Parameters
xTranslation along x-coordinate
yTranslation along y-coordinate
zTranalation along z-coordinate

Implemented in U4DEngine::U4DTransformation.

◆ translateTo() [2/3]

virtual void U4DEngine::U4DTransformationManagerInterface::translateTo ( U4DVector2n translation)
pure virtual

Method which translates entity to a new position.

Parameters
translation2D vector translation

Implemented in U4DEngine::U4DTransformation.

◆ translateTo() [3/3]

virtual void U4DEngine::U4DTransformationManagerInterface::translateTo ( U4DVector3n translation)
pure virtual

Method which translates entity to a new position.

Parameters
translation3D vector translation

Implemented in U4DEngine::U4DTransformation.