Struct vicon_sys::ViconSubject
source · pub struct ViconSubject {
pub name: String,
pub origin: Vector3D,
pub rotation: Vector3D,
}Expand description
A single subject identified in a frame
read by a thing that HasViconHardware.
Fields§
§name: StringThe subject’s name.
origin: Vector3DThe subject’s in cartesian space.
rotation: Vector3DTODO: Should the subject instead have its quaternion instead of these values?
The subject’s yaw, pitch, and roll in space, derived from its rotational quaternion.
The axes correspond to the subject’s
yaw (Vector3D::x), pitch (Vector3D::y),
and roll (Vector3D::z),
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ViconSubject
impl RefUnwindSafe for ViconSubject
impl Send for ViconSubject
impl Sync for ViconSubject
impl Unpin for ViconSubject
impl UnwindSafe for ViconSubject
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more