1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
//! # 3DCrate
//!
//! A comprehensive 3D point cloud processing library for Rust.
//!
//! This is the umbrella crate that provides convenient access to all 3DCrate functionality.
//! You can use this crate to get everything in one place, or use individual crates for
//! more granular control over dependencies.
//!
//! ## Features
//!
//! - **Core**: Basic 3D data structures (Point, PointCloud, Mesh, etc.)
//! - **Algorithms**: Point cloud processing algorithms (filtering, registration, etc.)
//! - **GPU**: GPU-accelerated processing using wgpu
//! - **I/O**: File format support (PLY, OBJ, LAS, etc.)
//! - **Simplification**: Mesh and point cloud simplification algorithms
//! - **Reconstruction**: Surface reconstruction from point clouds
//! - **Visualization**: Interactive 3D visualization tools
//!
//! ## Quick Start
//!
//! ```rust
//! use threecrate::prelude::*;
//!
//! // Create a point cloud
//! let points = vec![
//! Point3D::new(0.0, 0.0, 0.0),
//! Point3D::new(1.0, 0.0, 0.0),
//! Point3D::new(0.0, 1.0, 0.0),
//! ];
//! let cloud = PointCloud::from_points(points);
//!
//! // Apply algorithms
//! let filtered = cloud.statistical_filter(50, 1.0);
//! ```
//!
//! ## Feature Flags
//!
//! - `default`: Enables core, algorithms, io, and simplification
//! - `core`: Core data structures (always enabled)
//! - `algorithms`: Point cloud processing algorithms
//! - `gpu`: GPU-accelerated processing
//! - `io`: File format support
//! - `simplification`: Mesh and point cloud simplification
//! - `reconstruction`: Surface reconstruction from point clouds
//! - `visualization`: Interactive 3D visualization tools
//! - `all`: Enables all features
// Re-export core functionality
pub use *;
// Re-export sub-crates
pub use threecrate_algorithms as algorithms;
pub use threecrate_gpu as gpu;
pub use threecrate_io as io;
pub use threecrate_simplification as simplification;
pub use threecrate_reconstruction as reconstruction;
pub use threecrate_visualization as visualization;
/// Convenient imports for common use cases