[−][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)
[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>
[src]
impl<D> Send for CoverTreeWriter<D>
[src]
impl<D> !Sync for CoverTreeWriter<D>
[src]
impl<D> Unpin for CoverTreeWriter<D> where
D: Unpin,
[src]
D: Unpin,
impl<D> !UnwindSafe for CoverTreeWriter<D>
[src]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> Cast<U> for T where
U: FromCast<T>,
U: FromCast<T>,
pub fn cast(self) -> U
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
pub fn from_cast(t: T) -> T
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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>,
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<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.
pub 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.
pub 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>,