Crate e57

source ·
Expand description

A pure Rust library for reading and writing E57 files without any unsafe code.

Some example code can be found here in the GitHub repository.

§Extensions

This library supports reading and writing extensions as defined in the E57 specification.

§Optional Crate Features

There is an optional feature called crc32c. If enabled, it will include an external crate as additional dependency. This crate provides a faster CRC implementation with HW support. It can speed up reading and writing of larger E57 files. The feature is disabled by default to keep the number dependencies as small as possible.

Structs§

  • Describes a binary data blob stored inside an E57 file.
  • Optional minimum and maximum values for Cartesian X, Y and Z coordinates.
  • Simple point colors with RGB values between 0 and 1.
  • Optional minimum and maximum values for the colors red, green and blue.
  • Describes an image with a cylindrical projection model.
  • Properties of a cylindrical image.
  • Represents a specific date and time used in E57 files.
  • Main interface for reading E57 files.
  • Main interface for creating and writing E57 files.
  • Describes an E57 extension by name and URL.
  • Represents the file structure from the start of an E57 file.
  • Descriptor with metadata for a single image.
  • Contains a blob with image data and the corresponding file type.
  • Defines a new image and writes it into an E57 file.
  • Optional minimum and maximum values for the row, column and return indices.
  • Optional minimum and maximum values for intensity.
  • Describes an image with a pinhole camera projection model.
  • Properties of a pinhole image.
  • Represents a high level point with its different attributes.
  • Descriptor with metadata for a single point cloud.
  • Iterate over all raw points of a point cloud for reading.
  • Iterate over all normalized points of a point cloud for reading.
  • Creates a new point cloud by taking points and writing them into an E57 file.
  • Describes the rotation of a point cloud.
  • Describes a record inside a E57 file with name and data type.
  • Optional minimum and maximum values for spherical coordinates.
  • Describes an image with a spherical projection model.
  • Properties of a spherical image.
  • Describes a transformation of a point cloud with a rotation and translation component.
  • Describes the translation of a point cloud.
  • A visual reference image for preview and illustration purposes.
  • Properties of an visual reference image.

Enums§

  • Structure for Cartesian coordinates with an X, Y and Z value.
  • Possible errors that can occur while working with E57 files.
  • File format of an image stored inside the E57 file as blob.
  • Contains one of the tree possible types for projectable images.
  • Basic primitive E57 data types that are used for the different point attributes.
  • Used to describe the prototype records with all attributes that exist in the point cloud.
  • Represents a raw value of attributes inside a point cloud.
  • Spherical coordinates with range, azimuth and elevation.

Type Aliases§

  • Storage container for low level point data.
  • Custom result type hardwired to use the Error type of this crate.