| java.lang.Object | |
| ↳ | com.datalogic.device.configuration.PoseManager.GravityVector |
Represents a 3D gravity vector with X, Y, and Z components. Used to characterize the orientation of the device in space.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| INVALID | An invalid gravity vector returned when the PoseManager fails to retrieve a valid gravity vector. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructor for the gravity vector.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the X component of the gravity vector.
| |||||||||||
Get the Y component of the gravity vector.
| |||||||||||
Get the Z component of the gravity vector.
| |||||||||||
Set the X component of the gravity vector.
| |||||||||||
Set the Y component of the gravity vector.
| |||||||||||
Set the Z component of the gravity vector.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
An invalid gravity vector returned when the PoseManager fails to retrieve a valid gravity vector.
Constructor for the gravity vector.
| x | The X component. |
|---|---|
| y | The Y component. |
| z | The Z component. |
Get the X component of the gravity vector.
Get the Y component of the gravity vector.
Get the Z component of the gravity vector.
Set the X component of the gravity vector.
| x | The new value for X. |
|---|
Set the Y component of the gravity vector.
| y | The new value for Y. |
|---|
Set the Z component of the gravity vector.
| z | The new value for Z. |
|---|