Struct e57::PointCloudWriter

source ·
pub struct PointCloudWriter<'a, T: Read + Write + Seek> { /* private fields */ }
Expand description

Creates a new point cloud by taking points and writing them into an E57 file.

Implementations§

source§

impl<'a, T: Read + Write + Seek> PointCloudWriter<'a, T>

source

pub fn set_name(&mut self, value: Option<String>)

Set optional user-defined name for the point cloud (empty by default).

source

pub fn set_description(&mut self, value: Option<String>)

Set optional user-defined description for the point cloud (empty by default).

source

pub fn set_original_guids(&mut self, value: Option<Vec<String>>)

Set optional original GUIDs to indicate the source point clouds used to create this one. This is useful to keep track which different point clouds were combined.

source

pub fn set_transform(&mut self, value: Option<Transform>)

Set optional transformation to convert data from the local point cloud coordinates to the file-level coordinate system. By default this is empty, meaning the point cloud has no transformation.

source

pub fn set_acquisition_start(&mut self, value: Option<DateTime>)

Set optional start date and time when the point cloud was captured with a scanning device (empty by default).

source

pub fn set_acquisition_end(&mut self, value: Option<DateTime>)

Set optional end date and time when the point cloud was captured with a scanning device (empty by default).

source

pub fn set_sensor_vendor(&mut self, value: Option<String>)

Set optional name of the manufacturer for the sensor used to capture the point cloud (empty by default).

source

pub fn set_sensor_model(&mut self, value: Option<String>)

Set optional model name of the sensor used for capturing (empty by default).

source

pub fn set_sensor_serial(&mut self, value: Option<String>)

Set optional serial number of the sensor used for capturing (empty by default).

source

pub fn set_sensor_sw_version(&mut self, value: Option<String>)

Set optional version identifier for the sensor software used for capturing (empty by default).

source

pub fn set_sensor_hw_version(&mut self, value: Option<String>)

Set optional version identifier for the sensor hardware used for capturing (empty by default).

source

pub fn set_sensor_fw_version(&mut self, value: Option<String>)

Set optional version identifier for the sensor firmware used for capturing (empty by default).

source

pub fn set_temperature(&mut self, value: Option<f64>)

Set optional ambient temperature in degrees Celsius, measured at the sensor at the time of capturing (empty by default).

source

pub fn set_humidity(&mut self, value: Option<f64>)

Set optional percentage of relative humidity between 0 and 100, measured at the sensor at the time of capturing (empty by default).

source

pub fn set_atmospheric_pressure(&mut self, value: Option<f64>)

Set optional atmospheric pressure in Pascals, measured at the sensor at the time of capturing (empty by default).

source

pub fn add_point(&mut self, values: RawValues) -> Result<()>

Adds a new point to the point cloud.

source

pub fn finalize(&mut self) -> Result<()>

Called after all points have been added to finalize the creation of the new point cloud.

Auto Trait Implementations§

§

impl<'a, T> Freeze for PointCloudWriter<'a, T>

§

impl<'a, T> RefUnwindSafe for PointCloudWriter<'a, T>
where T: RefUnwindSafe,

§

impl<'a, T> Send for PointCloudWriter<'a, T>
where T: Send,

§

impl<'a, T> Sync for PointCloudWriter<'a, T>
where T: Sync,

§

impl<'a, T> Unpin for PointCloudWriter<'a, T>

§

impl<'a, T> !UnwindSafe for PointCloudWriter<'a, T>

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.