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 CRC 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§

Blob
Describes a binary data blob stored inside an E57 file.
CartesianBounds
Optional minimum and maximum values for Cartesian X, Y and Z coordinates.
Color
Simple RGB point colors.
ColorLimits
Optional minimum and maximum values for the colors red, green and blue.
CylindricalImage
Describes an image with a cylindrical projection model.
CylindricalImageProperties
Properties of a cylindrical image.
DateTime
Represents a specific date and time used in E57 files.
E57Reader
Main interface for reading E57 files.
E57Writer
Main interface for creating and writing E57 files.
Extension
Describes an E57 extension by name and URL.
Header
Represents the file structure from the start of an E57 file.
Image
Descriptor with metadata for a single image.
ImageBlob
Contains a blob with image data and the corresponding file type.
ImageWriter
Defines a new image and writes it into an E57 file.
IndexBounds
Optional minimum and maximum values for the row, column and return indices.
IntensityLimits
Optional minimum and maximum values for intensity.
PinholeImage
Describes an image with a pinhole camera projection model.
PinholeImageProperties
Properties of a pinhole image.
Point
Represents a high level point with its different attributes.
PointCloud
Descriptor with metadata for a single point cloud.
PointCloudReaderRaw
Iterate over all raw points of a point cloud for reading.
PointCloudReaderSimple
Simple iterator over all normalized points of a point cloud for reading.
PointCloudWriter
Creates a new point cloud by taking points and writing them into an E57 file.
Quaternion
Describes the rotation of a point cloud.
Record
Describes a record inside a E57 file with name and data type.
SphericalBounds
Optional minimum and maximum values for spherical coordinates.
SphericalImage
Describes an image with a spherical projection model.
SphericalImageProperties
Properties of a spherical image.
Transform
Describes a transformation of a point cloud with a rotation and translation component.
Translation
Describes the translation of a point cloud.
VisualReferenceImage
A visual reference image for preview and illustration purposes.
VisualReferenceImageProperties
Properties of an visual reference image.

Enums§

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

Type Aliases§

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