Struct natnet_decode::RigidBody
[−]
[src]
pub struct RigidBody { pub id: i32, pub position: Marker, pub orientation: Quaternion<f32>, pub markers: Vec<Marker>, pub marker_ids: Vec<i32>, pub marker_sizes: Vec<f32>, pub mean_error: f32, pub valid_track: Option<bool>, }
A set of Marker
s creating a rigid body
Fields
id: i32
ID of body
position: Marker
Position in 3D
orientation: Quaternion<f32>
Orientation represented as a quaternion
markers: Vec<Marker>
List of markers comprising this body
marker_ids: Vec<i32>
List of marker IDs
marker_sizes: Vec<f32>
List of marker sizes
mean_error: f32
Mean error for markers
valid_track: Option<bool>
Was the body successfully tracked this frame (NatNet >= 2.6)
Trait Implementations
impl Clone for RigidBody
[src]
fn clone(&self) -> RigidBody
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more