Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LioQing/wgpu-3dgs-viewer-app
/ functions
Functions
124 in github.com/LioQing/wgpu-3dgs-viewer-app
⨍
Functions
124
◇
Types & classes
59
↓ 11 callers
Method
selected_model
Get the currently selected model.
src/app.rs:584
↓ 8 callers
Function
exec_task
Execute a task on a background thread.
src/util.rs:5
↓ 8 callers
Method
parse
Parse from a string.
src/app.rs:1660
↓ 6 callers
Function
human_readable_size
Convert a `usize` to a human-readable string representing storage size.
src/util.rs:72
↓ 6 callers
Method
try_recv
Try to receive the downloaded data.
src/app.rs:608
↓ 3 callers
Method
empty
Create an empty scene tab.
src/tab/scene.rs:173
↓ 3 callers
Function
toggle
A wrapper that allows the more idiomatic usage pattern: `ui.add(toggle(&mut my_bool))` iOS-style toggle switch. ## Example: ``` ignore ui.add(toggle(
src/util.rs:37
↓ 3 callers
Method
update
Update the web event listener. Call this once per frame to take the web events.
src/tab/scene.rs:1740
↓ 2 callers
Method
is_loaded
Check if the value is loaded.
src/app.rs:458
↓ 2 callers
Method
make_sure_created
Make sure the tab is created.
src/tab/mod.rs:194
↓ 2 callers
Method
quat
Get the rotation in quaternion.
src/app.rs:1123
↓ 2 callers
Method
render
Render the measurement.
src/renderer/measurement.rs:170
↓ 2 callers
Method
update_bind_group
Update the bind group. This is for when query texture is updated.
src/tab/scene.rs:1879
↓ 2 callers
Method
update_mask
Update the mask.
src/tab/mask.rs:286
↓ 2 callers
Function
wgpu_configuration
()
src/main.rs:85
↓ 1 callers
Method
about
Show the about dialog.
src/app.rs:264
↓ 1 callers
Method
action
Handle action.
src/tab/scene.rs:1142
↓ 1 callers
Method
compressed_size
Calculate the compressed size.
src/app.rs:354
↓ 1 callers
Method
control
Handle the scene camera control.
src/tab/scene.rs:1329
↓ 1 callers
Method
control_by_first_person
Handle the scene camera by first person control.
src/tab/scene.rs:1358
↓ 1 callers
Method
control_by_orbit
Handle the scene camera by orbit control.
src/tab/scene.rs:1461
↓ 1 callers
Method
dock_area
The dock area for the tabs.
src/tab/mod.rs:97
↓ 1 callers
Function
exec_blocking_task
Execute a blocking task on a background thread.
src/util.rs:17
↓ 1 callers
Method
export_models
Export the models.
src/app.rs:897
↓ 1 callers
Method
focus
Handle focus.
src/tab/scene.rs:1279
↓ 1 callers
Method
gaussian
Create the UI for the Gaussian transform.
src/tab/transform.rs:101
↓ 1 callers
Method
handle
Handle the scene input.
src/tab/scene.rs:1114
↓ 1 callers
Method
initialize
Initialize the scene. Gaussians loaded, currently selecting compression settings for viewer. Returns true if confirmed, false if cancelled, [`None`]
src/tab/scene.rs:881
↓ 1 callers
Method
loaded
Create a loaded scene tab. Returns whether the scene is still loaded, false indicates the scene should be unloaded now.
src/tab/scene.rs:265
↓ 1 callers
Method
measurement
Create the UI for the measurement. Returns whether the measurement is kept alive, i.e. not removed.
src/tab/measurement.rs:130
↓ 1 callers
Method
menu
The menu for the tabs.
src/tab/mod.rs:116
↓ 1 callers
Method
menu_bar
Create the menu bar.
src/app.rs:95
↓ 1 callers
Method
menu_title
Get the title of the tab for the menu.
src/tab/mod.rs:50
↓ 1 callers
Method
model
Create the UI for model transform.
src/tab/transform.rs:57
↓ 1 callers
Method
operations
Create the UI for operations.
src/tab/mask.rs:248
↓ 1 callers
Method
pos
Get the position.
src/app.rs:1261
↓ 1 callers
Method
shape
Create the UI for a shape.
src/tab/mask.rs:122
↓ 1 callers
Method
shapes
Create the UI for shapes.
src/tab/mask.rs:85
↓ 1 callers
Method
to_first_person
Convert into first person control.
src/app.rs:1293
↓ 1 callers
Method
to_orbit
Convert into orbit control.
src/app.rs:1310
↓ 1 callers
Method
to_pod
To [`gs::GaussianEditPod`].
src/app.rs:1547
↓ 1 callers
Method
to_tree
Create a [`gs::MaskOpTree`] from the operation.
src/app.rs:1816
↓ 1 callers
Method
update_hit_pairs
Update the hit pairs buffer.
src/renderer/measurement.rs:133
↓ 1 callers
Method
update_pods
Update the PODs.
src/app.rs:1597
↓ 1 callers
Method
validate_shapes
Validate shape indices.
src/app.rs:1786
↓ 1 callers
Method
vertical_fov
Get the field of view in radian.
src/app.rs:1277
↓ 1 callers
Method
vertical_fov_mut
Get the field of view mutably in radian.
src/app.rs:1285
↓ 1 callers
Method
world_center
Get the center in world space.
src/app.rs:1044
Method
add_model
Add a new model.
src/tab/scene.rs:2088
Method
add_model_with_viewer
Add a new model with a viewer.
src/tab/scene.rs:2102
Method
apple_silicon_crash_warning
()
src/app.rs:68
Method
create
(_state: &mut app::State)
src/tab/transform.rs:12
Method
create
(_state: &mut app::State)
src/tab/selection.rs:13
Method
create
(_state: &mut app::State)
src/tab/models.rs:19
Method
create
(_state: &mut app::State)
src/tab/camera.rs:13
Method
create
(_state: &mut app::State)
src/tab/metadata.rs:13
Method
create
(_state: &mut app::State)
src/tab/scene.rs:106
Method
create
(_state: &mut app::State)
src/tab/measurement.rs:12
Method
create
(_state: &mut app::State)
src/tab/mask.rs:25
Method
default
()
src/app.rs:464
Method
default
()
src/tab/mod.rs:161
Method
default
()
src/tab/scene.rs:1566
Method
distance
Ge the distance between the hits.
src/app.rs:1405
Method
drop
(&mut self)
src/tab/scene.rs:1763
Method
error
Create an error instance of the loadable value.
src/app.rs:443
Method
evaluate_mask
Evaluate the mask given the op code.
src/tab/scene.rs:2191
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/app.rs:492
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/tab/mod.rs:153
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/tab/scene.rs:1782
Method
from
(val: SelectionColorEdit)
src/app.rs:1497
Method
from
(hit_pair: app::MeasurementHitPair)
src/renderer/measurement.rs:187
Method
get_canvas
()
src/app.rs:54
Method
get_document
()
src/app.rs:43
Method
init_load
Initialize loading a model. This starts a task and sends to the returned [`mpsc::Receiver`]. Returns the number of Gaussians and the receiver.
src/app.rs:1053
Method
load_model
Load Gaussians for a model.
src/tab/scene.rs:2069
Method
loaded
Create a loaded instance of the loadable value.
src/app.rs:453
Method
loaded_postprocess
Run the postprocess. Because eframe does not allow any compute pass after the render pass, this is run before the preprocess pass to compute the prev
src/tab/scene.rs:577
Method
loaded_preprocess
Run the preprocess.
src/tab/scene.rs:699
Function
main
()
src/main.rs:8
Method
measurement_locate_hit
Create a [`Query::MeasurementLocateHit`] query.
src/tab/scene.rs:1627
Method
new
Create a main application.
src/app.rs:28
Method
new
Create a new measurement renderer.
src/renderer/measurement.rs:18
Method
new
Create a new tab manager.
src/tab/mod.rs:77
Method
new
Create a new scene input state.
src/tab/scene.rs:1102
Method
none
Create a none query.
src/tab/scene.rs:1620
Method
orbit
Find the updated orbit vector from pos to target.
src/tab/scene.rs:1487
Method
paint
( &self, _info: egui::PaintCallbackInfo, render_pass: &mut wgpu::RenderPass<'static>,
src/tab/scene.rs:2264
Method
parse_complement
Parse a complement expression (!X)
src/app.rs:1690
Method
parse_difference
Parse difference with - operator
src/app.rs:1723
Method
parse_expr
Parse the main expression
src/app.rs:1770
Method
parse_factor
Parse a factor (shape, paren, or complement)
src/app.rs:1699
Method
parse_intersection
Parse intersection with & operator
src/app.rs:1740
Method
parse_paren
Parse a term in parentheses
src/app.rs:1680
Method
parse_shape
Parse a shape (just a number)
src/app.rs:1671
Method
parse_symmetric_difference
Parse symmetric difference with ^ operator
src/app.rs:1709
Method
parse_union
Parse union with | operator
src/app.rs:1755
Method
pos_mut
Get the position mutably.
src/app.rs:1269
Method
projection
(&self, aspect_ratio: f32)
src/app.rs:1241
Method
remove_model
Remove a model.
src/tab/scene.rs:2170
Method
save
(&mut self, storage: &mut dyn eframe::Storage)
src/app.rs:312
next →
1–100 of 124, ranked by callers