Orientation

class PMI::Orientation

This class represents the positioning information necessary to display a piece of text associated with an Entity. It is essentially a modelling matrix. The X, Y, Z and Origin components describe the plane in which the text lies. The X component is the direction in which the text will be written, the Y component describes the vertical orientation along X, the Z component describes the normal of the plane defined by X and Y, and the origin component specifies the exact plane in which the text should be inserted.

Methods

PMI::Orientation::Orientation()
PMI::Orientation::Orientation(Orientation const &that)
PMI::Orientation::~Orientation()
void PMI::Orientation::Set(Orientation const &that)
Orientation const &PMI::Orientation::operator=(Orientation const &that)
void PMI::Orientation::GetXComponent(Point &out_component) const

const

Gets the X component. Returned to the user.

void PMI::Orientation::GetXComponent(float &out_x, float &out_y, float &out_z) const

const

Gets the X component. Returned to the user.

void PMI::Orientation::SetXComponent(Point const &in_component)

Sets the X component. This will replace an existing X component.

void PMI::Orientation::SetXComponent(float in_x, float in_y, float in_z)

Sets the X component. This will replace an existing X component.

void PMI::Orientation::GetYComponent(Point &out_component) const

const

Gets the Y component. Returned to the user.

void PMI::Orientation::GetYComponent(float &out_x, float &out_y, float &out_z) const

const

Gets the Y component. Returned to the user.

void PMI::Orientation::SetYComponent(Point const &in_component)

Sets the Y component. This will replace an existing Y component.

void PMI::Orientation::SetYComponent(float in_x, float in_y, float in_z)

Sets the Y component. This will replace an existing Y component.

void PMI::Orientation::GetZComponent(Point &out_component) const

const

Gets the Z component. Returned to the user.

void PMI::Orientation::GetZComponent(float &out_x, float &out_y, float &out_z) const

const

Gets the Z component. Returned to the user.

void PMI::Orientation::SetZComponent(Point const &in_component)

Sets the Z component. This will replace an existing Z component.

void PMI::Orientation::SetZComponent(float in_x, float in_y, float in_z)

Sets the Z component. This will replace an existing Z component.

void PMI::Orientation::GetOriginComponent(Point &out_component) const

const

Gets the Origin component. Returned to the user.

void PMI::Orientation::GetOriginComponent(float &out_x, float &out_y, float &out_z) const

const

Gets the Origin component. Returned to the user.

void PMI::Orientation::SetOriginComponent(Point const &in_component)

Sets the Origin component. This will replace an existing Origin component.

void PMI::Orientation::SetOriginComponent(float in_x, float in_y, float in_z)

Sets the Origin component. This will replace an existing Origin component.

void PMI::Orientation::GetMatrix(float out_matrix[16]) const

const

Gets the matrix representing the Orientation. Returned to the user.

void PMI::Orientation::SetMatrix(float const in_matrix[16])

Sets the matrix representing the Orientation. This will replace all existing components.

Variables

PMII::PrivateImpl *PMI::Orientation::impl_

private

PMII::PrivateImpl