Skip to main content

bimifc_leptos/
lib.rs

1//! BIMIFC Leptos UI Components
2//!
3//! Leptos-based UI components for the BIMIFC viewer.
4//! Provides a reactive UI that integrates with the Bevy 3D renderer.
5
6pub mod bridge;
7pub mod components;
8pub mod state;
9pub mod utils;
10
11// Re-exports
12pub use bridge::{
13    clear_model_cache,
14    // Cache exports
15    compute_file_hash,
16    init_debug_from_url,
17    is_bevy_loaded,
18    is_bevy_loading,
19    is_model_cached,
20    is_unified_mode,
21    load_bevy_viewer,
22    load_cached_model,
23    save_camera_cmd,
24    save_focus,
25    save_geometry,
26    save_model_to_cache,
27    save_palette,
28    save_section,
29    save_selection,
30    save_visibility,
31    CacheEntry,
32    CacheIndex,
33    CachedModel,
34    CameraCommand,
35    ColorPalette,
36    EntityData,
37    FocusData,
38    GeometryData,
39    SectionData,
40    SelectionData,
41    VisibilityData,
42};
43pub use components::{App, ViewerLayout};
44pub use state::{
45    provide_viewer_state, use_viewer_state, EntityInfo, MeasurePoint, Measurement, Progress,
46    PropertySet, PropertyValue, QuantityValue, SectionAxis, SpatialNode, SpatialNodeType,
47    StoreyInfo, Theme, Tool, ViewerState,
48};