Crate threecrate_io

Crate threecrate_io 

Source
Expand description

I/O operations for point clouds and meshes

This crate provides functionality to read and write various 3D file formats including PLY, OBJ, and other common point cloud and mesh formats.

Re-exports§

pub use ply::RobustPlyReader;
pub use ply::RobustPlyWriter;
pub use ply::PlyWriteOptions;
pub use ply::PlyFormat;
pub use ply::PlyValue;
pub use obj::RobustObjReader;
pub use obj::RobustObjWriter;
pub use obj::ObjData;
pub use obj::ObjWriteOptions;
pub use obj::Material;
pub use obj::FaceVertex;
pub use obj::Face;
pub use obj::Group;
pub use pcd::RobustPcdReader;
pub use pcd::RobustPcdWriter;
pub use pcd::PcdWriteOptions;
pub use pcd::PcdDataFormat;
pub use pcd::PcdFieldType;
pub use pcd::PcdHeader;
pub use pcd::PcdValue;
pub use xyz_csv::XyzCsvReader;
pub use xyz_csv::XyzCsvWriter;
pub use xyz_csv::XyzCsvStreamingReader;
pub use xyz_csv::XyzCsvWriteOptions;
pub use xyz_csv::XyzCsvSchema;
pub use xyz_csv::XyzCsvPoint;
pub use xyz_csv::Delimiter;
pub use xyz_csv::ColumnType;
pub use registry::IoRegistry;
pub use registry::FormatHandler;
pub use mesh_attributes::ExtendedTriangleMesh;
pub use mesh_attributes::MeshAttributeOptions;
pub use mesh_attributes::MeshMetadata;
pub use mesh_attributes::Tangent;
pub use mesh_attributes::UV;
pub use serialization::SerializationOptions;
pub use serialization::AttributePreservingReader;
pub use serialization::AttributePreservingWriter;
pub use error::*;

Modules§

error
Error types for I/O operations
mesh_attributes
Mesh attribute serialization utilities
obj
OBJ format support with MTL material linking
pcd
PCD (Point Cloud Data) format support
ply
Robust PLY format support
registry
Unified IO registry for format-agnostic reading and writing
serialization
Mesh serialization utilities with attribute preservation
xyz_csv
XYZ/CSV point cloud format support

Traits§

MeshReader
Trait for reading meshes from files
MeshWriter
Trait for writing meshes to files
PointCloudReader
Trait for reading point clouds from files
PointCloudWriter
Trait for writing point clouds to files

Functions§

get_io_registry
Get the global IO registry for advanced usage
read_mesh
Auto-detect format and read mesh using the unified registry
read_mesh_iter
Streaming mesh reader for large files
read_point_cloud
Auto-detect format and read point cloud using the unified registry
read_point_cloud_iter
Streaming point cloud reader for large files
write_mesh
Write mesh with format auto-detection using the unified registry
write_point_cloud
Write point cloud with format auto-detection using the unified registry