[−][src]Struct pointcloud::labels::LabelScheme
The schema defined by a user to build a more complex metadata system from a CSV
Methods
impl LabelScheme
[src]
pub fn new() -> LabelScheme
[src]
Creates a new blank schema
pub fn add_name_column(&mut self, name: &str)
[src]
Add a name column. This will be interpreted as a string, and will be the accessor for the points
pub fn add_string(&mut self, key: String)
[src]
Add a string column, with a given string. If the CSV header has that string, it will load from that column
pub fn add_bool(&mut self, key: String)
[src]
Add a bool column, with a given string. If the CSV header has that string, it will load from that column
pub fn add_f32(&mut self, key: String)
[src]
Add a float column, with a given string. If the CSV header has that string, it will load from that column
pub fn add_u32(&mut self, key: String)
[src]
Add a float column, with a given string. If the CSV header has that string, it will load from that column
pub fn add_i32(&mut self, key: String)
[src]
Add a float column, with a given string. If the CSV header has that string, it will load from that column
pub fn add_vector(&mut self, name: String, dim: usize, dtype: &str)
[src]
If there is a column with natural numbers intended to be used as a class label, it creates a accessor for that
pub fn open(&self, path: &PathBuf) -> Result<MetadataList, PointCloudError>
[src]
Opens a file, and attemps to create an internal representation of the data with our type
Trait Implementations
impl Clone for LabelScheme
[src]
fn clone(&self) -> LabelScheme
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for LabelScheme
[src]
Auto Trait Implementations
impl RefUnwindSafe for LabelScheme
impl Send for LabelScheme
impl Sync for LabelScheme
impl Unpin for LabelScheme
impl UnwindSafe for LabelScheme
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>,
[src]
U: FromCast<T>,
impl<T> From<T> for T
[src]
impl<T> FromCast<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,