[−][src]Struct goko::CoverTreeWriter
Implementations
impl<D: PointCloud + LabeledCloud> CoverTreeWriter<D>
[src]
pub fn generate_summaries(&mut self)
[src]
impl<D: PointCloud + MetaCloud> CoverTreeWriter<D>
[src]
pub fn generate_meta_summaries(&mut self)
[src]
impl<D: PointCloud> CoverTreeWriter<D>
[src]
pub fn add_plugin<P: GokoPlugin<D>>(
&mut self,
plug_in: <P as GokoPlugin<D>>::TreeComponent
) where
<P as GokoPlugin<D>>::TreeComponent: 'static,
<P as GokoPlugin<D>>::NodeComponent: 'static,
[src]
&mut self,
plug_in: <P as GokoPlugin<D>>::TreeComponent
) where
<P as GokoPlugin<D>>::TreeComponent: 'static,
<P as GokoPlugin<D>>::NodeComponent: 'static,
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> Send for CoverTreeWriter<D>
impl<D> !Sync for CoverTreeWriter<D>
impl<D> Unpin for CoverTreeWriter<D> where
D: Unpin,
D: Unpin,
impl<D> !UnwindSafe for CoverTreeWriter<D>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<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>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
unsafe fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,