Struct goko::CoverTreeWriter [−][src]
pub struct CoverTreeWriter<D: PointCloud> { /* fields omitted */ }
Implementations
impl<D: PointCloud> CoverTreeWriter<D>
[src]
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]
cover_proto: &CoreProto,
point_cloud: Arc<D>
) -> GokoResult<CoverTreeWriter<D>>
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> !RefUnwindSafe for CoverTreeWriter<D>
impl<D> Send for CoverTreeWriter<D>
impl<D> Send for CoverTreeWriter<D>
impl<D> !Sync for CoverTreeWriter<D>
impl<D> !Sync for CoverTreeWriter<D>
impl<D> Unpin for CoverTreeWriter<D> where
D: Unpin,
impl<D> Unpin for CoverTreeWriter<D> where
D: Unpin,
impl<D> !UnwindSafe for CoverTreeWriter<D>
impl<D> !UnwindSafe for CoverTreeWriter<D>
Blanket Implementations
impl<T, U> Cast<U> for T where
U: FromCast<T>,
impl<T, U> Cast<U> for T where
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> FromCast<T> for T
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T> Same<T> for T
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<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub unsafe fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,