pub struct SceneGraphConfig {
pub cluster_radius: f64,
pub min_cluster_size: usize,
pub max_objects: usize,
pub edge_distance_threshold: f64,
}Expand description
Tuning parameters for scene-graph construction from point clouds.
Fields§
§cluster_radius: f64Maximum distance between two points to be considered part of the same cluster (metres).
min_cluster_size: usizeMinimum number of points required to form a valid cluster / object.
max_objects: usizeHard cap on the number of objects the builder will emit.
edge_distance_threshold: f64Maximum centre-to-centre distance for two objects to be connected by an edge in the scene graph (metres).
Trait Implementations§
Source§impl Clone for SceneGraphConfig
impl Clone for SceneGraphConfig
Source§fn clone(&self) -> SceneGraphConfig
fn clone(&self) -> SceneGraphConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SceneGraphConfig
impl Debug for SceneGraphConfig
Source§impl Default for SceneGraphConfig
impl Default for SceneGraphConfig
Source§impl<'de> Deserialize<'de> for SceneGraphConfig
impl<'de> Deserialize<'de> for SceneGraphConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SceneGraphConfig
impl PartialEq for SceneGraphConfig
Source§impl Serialize for SceneGraphConfig
impl Serialize for SceneGraphConfig
impl StructuralPartialEq for SceneGraphConfig
Auto Trait Implementations§
impl Freeze for SceneGraphConfig
impl RefUnwindSafe for SceneGraphConfig
impl Send for SceneGraphConfig
impl Sync for SceneGraphConfig
impl Unpin for SceneGraphConfig
impl UnsafeUnpin for SceneGraphConfig
impl UnwindSafe for SceneGraphConfig
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