Monado OpenXR Runtime
Public Member Functions | Static Public Member Functions | Data Fields
Pose Class Reference

#include <north_star/distortion/utility_northstar.h>

Collaboration diagram for Pose:
Collaboration graph
[legend]

Public Member Functions

 Pose (Vector3 pos)
 
 Pose (Quaternion rot)
 
 Pose (Vector3 pos, Quaternion rot)
 
Pose Inverse ()
 
Matrix4x4 Matrix ()
 
Pose operator* (Pose rhs)
 
Pose operator* (Vector3 rhs)
 

Static Public Member Functions

static Pose Identity ()
 
static Pose FromMatrix (Matrix4x4 m)
 

Data Fields

Vector3 position
 
Quaternion rotation
 

Constructor & Destructor Documentation

◆ Pose() [1/3]

Pose::Pose ( Vector3  pos)
inline

◆ Pose() [2/3]

Pose::Pose ( Quaternion  rot)
inline

References Vector3::Zero().

◆ Pose() [3/3]

Pose::Pose ( Vector3  pos,
Quaternion  rot 
)
inline

Member Function Documentation

◆ FromMatrix()

static Pose Pose::FromMatrix ( Matrix4x4  m)
inlinestatic

◆ Identity()

static Pose Pose::Identity ( )
inlinestatic

◆ Inverse()

Pose Pose::Inverse ( )
inline

References Quaternion::Inverse().

◆ Matrix()

Matrix4x4 Pose::Matrix ( )
inline

◆ operator*() [1/2]

Pose Pose::operator* ( Pose  rhs)
inline

References position, and rotation.

◆ operator*() [2/2]

Pose Pose::operator* ( Vector3  rhs)
inline

Field Documentation

◆ position

Vector3 Pose::position

Referenced by operator*().

◆ rotation

Quaternion Pose::rotation

Referenced by operator*().


The documentation for this class was generated from the following file: