pub struct GpuRansacPlaneSegmenter { /* private fields */ }Expand description
GPU-accelerated RANSAC plane segmenter.
Hypothesis scoring (inlier counting) runs on wgpu; refinement and cloud
extraction reuse the CPU helpers so results match crate::RansacPlaneSegmenter.
Implementations§
Source§impl GpuRansacPlaneSegmenter
impl GpuRansacPlaneSegmenter
Sourcepub const fn new(config: RansacPlaneConfig) -> Self
pub const fn new(config: RansacPlaneConfig) -> Self
Creates a GPU segmenter from config.
Sourcepub const fn config(&self) -> RansacPlaneConfig
pub const fn config(&self) -> RansacPlaneConfig
Returns the segmenter config.
Sourcepub fn segment(
&self,
input: &PointCloud,
) -> SpatialResult<RansacPlaneSegmentation>
pub fn segment( &self, input: &PointCloud, ) -> SpatialResult<RansacPlaneSegmentation>
Segments the dominant plane using GPU hypothesis scoring.
Trait Implementations§
Source§impl Clone for GpuRansacPlaneSegmenter
impl Clone for GpuRansacPlaneSegmenter
Source§fn clone(&self) -> GpuRansacPlaneSegmenter
fn clone(&self) -> GpuRansacPlaneSegmenter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GpuRansacPlaneSegmenter
impl Debug for GpuRansacPlaneSegmenter
Source§impl PartialEq for GpuRansacPlaneSegmenter
impl PartialEq for GpuRansacPlaneSegmenter
Source§fn eq(&self, other: &GpuRansacPlaneSegmenter) -> bool
fn eq(&self, other: &GpuRansacPlaneSegmenter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GpuRansacPlaneSegmenter
impl StructuralPartialEq for GpuRansacPlaneSegmenter
Auto Trait Implementations§
impl Freeze for GpuRansacPlaneSegmenter
impl RefUnwindSafe for GpuRansacPlaneSegmenter
impl Send for GpuRansacPlaneSegmenter
impl Sync for GpuRansacPlaneSegmenter
impl Unpin for GpuRansacPlaneSegmenter
impl UnsafeUnpin for GpuRansacPlaneSegmenter
impl UnwindSafe for GpuRansacPlaneSegmenter
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