Neodroid  0.2.0
Machine Learning Environment Prototyping Tool
droid.Runtime.Utilities.Structs.OutPose Class Reference
Inheritance diagram for droid.Runtime.Utilities.Structs.OutPose:

Public Member Functions

 OutPose ()
 
 OutPose (Vector3 position, Quaternion orientation)
 Constructor that takes a Vector3 and a Quaternion. More...
 
 OutPose (Matrix4x4 matrix)
 Constructor that takes a Matrix4x4. More...
 

Protected Member Functions

void Set (Vector3 position, Quaternion orientation)
 
void Set (Matrix4x4 matrix)
 

Static Protected Attributes

static readonly Matrix4x4 _FlipZ = Matrix4x4.Scale(new Vector3(1, 1, -1))
 

Properties

Vector3 Position [get, protected set]
 The translation component of the pose. More...
 
Quaternion Orientation [get, protected set]
 The rotation component of the pose. More...
 
Matrix4x4 Matrix [get, protected set]
 The pose as a matrix in Unity gameobject convention (left-handed). More...
 
Matrix4x4 RightHandedMatrix [get]
 The pose as a matrix in right-handed coordinates. More...
 

Detailed Description

Definition at line 4 of file OutPose.cs.

Constructor & Destructor Documentation

◆ OutPose() [1/3]

droid.Runtime.Utilities.Structs.OutPose.OutPose ( )

Default constructor. Initializes position to the origin and orientation to the identity rotation.

Definition at line 24 of file OutPose.cs.

◆ OutPose() [2/3]

droid.Runtime.Utilities.Structs.OutPose.OutPose ( Vector3  position,
Quaternion  orientation 
)

Constructor that takes a Vector3 and a Quaternion.

Definition at line 31 of file OutPose.cs.

◆ OutPose() [3/3]

droid.Runtime.Utilities.Structs.OutPose.OutPose ( Matrix4x4  matrix)

Constructor that takes a Matrix4x4.

Definition at line 34 of file OutPose.cs.

Member Function Documentation

◆ Set() [1/2]

void droid.Runtime.Utilities.Structs.OutPose.Set ( Vector3  position,
Quaternion  orientation 
)
protected

Definition at line 36 of file OutPose.cs.

◆ Set() [2/2]

void droid.Runtime.Utilities.Structs.OutPose.Set ( Matrix4x4  matrix)
protected

Definition at line 42 of file OutPose.cs.

Member Data Documentation

◆ _FlipZ

readonly Matrix4x4 droid.Runtime.Utilities.Structs.OutPose._FlipZ = Matrix4x4.Scale(new Vector3(1, 1, -1))
staticprotected

Encapsulates a rotation and a translation. This is a convenience class that allows construction and value access either by Matrix4x4 or Quaternion + Vector3 types. Right-handed to left-handed matrix converter (and vice versa).

Definition at line 8 of file OutPose.cs.

Property Documentation

◆ Matrix

Matrix4x4 droid.Runtime.Utilities.Structs.OutPose.Matrix
getprotected set

The pose as a matrix in Unity gameobject convention (left-handed).

Definition at line 17 of file OutPose.cs.

◆ Orientation

Quaternion droid.Runtime.Utilities.Structs.OutPose.Orientation
getprotected set

The rotation component of the pose.

Definition at line 14 of file OutPose.cs.

◆ Position

Vector3 droid.Runtime.Utilities.Structs.OutPose.Position
getprotected set

The translation component of the pose.

Definition at line 11 of file OutPose.cs.

◆ RightHandedMatrix

Matrix4x4 droid.Runtime.Utilities.Structs.OutPose.RightHandedMatrix
get

The pose as a matrix in right-handed coordinates.

Definition at line 20 of file OutPose.cs.


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