Struct goko::CoverTreeWriter[][src]

pub struct CoverTreeWriter<D: PointCloud> { /* fields omitted */ }

Implementations

impl<D: PointCloud> CoverTreeWriter<D>[src]

pub fn generate_meta_summaries(&mut self)[src]

pub fn generate_summaries(&mut self)[src]

pub fn add_plugin<P: GokoPlugin<D>>(&mut self, plug_in: P)[src]

pub fn reader(&self) -> CoverTreeReader<D>[src]

Creates a reader for queries.

pub fn load(
    cover_proto: &CoreProto,
    point_cloud: Arc<D>
) -> GokoResult<CoverTreeWriter<D>>
[src]

Loads a tree from a protobuf. There’s a load_tree in utils that handles loading from a path to a protobuf file.

pub fn refresh_final_indexes(&mut self)[src]

Completely redoes the final index map.

pub fn save(&self) -> CoreProto[src]

Encodes the tree into a protobuf. See utils::save_tree for saving to a file on disk.

pub fn refresh(&mut self)[src]

Swaps the maps on each layer so that any CoverTreeReaders see the updated tree. Only call once you have a valid tree.

Auto Trait Implementations

impl<D> !RefUnwindSafe for CoverTreeWriter<D>

impl<D> Send for CoverTreeWriter<D>

impl<D> !Sync for CoverTreeWriter<D>

impl<D> Unpin for CoverTreeWriter<D> where
    D: Unpin

impl<D> !UnwindSafe for CoverTreeWriter<D>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> Cast<U> for T where
    U: FromCast<T>, 

impl<T> From<T> for T[src]

impl<T> FromCast<T> for T

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,