MCPcopy Create free account

hub / github.com/LioQing/wgpu-3dgs-viewer-app / functions

Functions124 in github.com/LioQing/wgpu-3dgs-viewer-app

↓ 11 callersMethodselected_model
Get the currently selected model.
src/app.rs:584
↓ 8 callersFunctionexec_task
Execute a task on a background thread.
src/util.rs:5
↓ 8 callersMethodparse
Parse from a string.
src/app.rs:1660
↓ 6 callersFunctionhuman_readable_size
Convert a `usize` to a human-readable string representing storage size.
src/util.rs:72
↓ 6 callersMethodtry_recv
Try to receive the downloaded data.
src/app.rs:608
↓ 3 callersMethodempty
Create an empty scene tab.
src/tab/scene.rs:173
↓ 3 callersFunctiontoggle
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 callersMethodupdate
Update the web event listener. Call this once per frame to take the web events.
src/tab/scene.rs:1740
↓ 2 callersMethodis_loaded
Check if the value is loaded.
src/app.rs:458
↓ 2 callersMethodmake_sure_created
Make sure the tab is created.
src/tab/mod.rs:194
↓ 2 callersMethodquat
Get the rotation in quaternion.
src/app.rs:1123
↓ 2 callersMethodrender
Render the measurement.
src/renderer/measurement.rs:170
↓ 2 callersMethodupdate_bind_group
Update the bind group. This is for when query texture is updated.
src/tab/scene.rs:1879
↓ 2 callersMethodupdate_mask
Update the mask.
src/tab/mask.rs:286
↓ 2 callersFunctionwgpu_configuration
()
src/main.rs:85
↓ 1 callersMethodabout
Show the about dialog.
src/app.rs:264
↓ 1 callersMethodaction
Handle action.
src/tab/scene.rs:1142
↓ 1 callersMethodcompressed_size
Calculate the compressed size.
src/app.rs:354
↓ 1 callersMethodcontrol
Handle the scene camera control.
src/tab/scene.rs:1329
↓ 1 callersMethodcontrol_by_first_person
Handle the scene camera by first person control.
src/tab/scene.rs:1358
↓ 1 callersMethodcontrol_by_orbit
Handle the scene camera by orbit control.
src/tab/scene.rs:1461
↓ 1 callersMethoddock_area
The dock area for the tabs.
src/tab/mod.rs:97
↓ 1 callersFunctionexec_blocking_task
Execute a blocking task on a background thread.
src/util.rs:17
↓ 1 callersMethodexport_models
Export the models.
src/app.rs:897
↓ 1 callersMethodfocus
Handle focus.
src/tab/scene.rs:1279
↓ 1 callersMethodgaussian
Create the UI for the Gaussian transform.
src/tab/transform.rs:101
↓ 1 callersMethodhandle
Handle the scene input.
src/tab/scene.rs:1114
↓ 1 callersMethodinitialize
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 callersMethodloaded
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 callersMethodmeasurement
Create the UI for the measurement. Returns whether the measurement is kept alive, i.e. not removed.
src/tab/measurement.rs:130
↓ 1 callersMethodmenu
The menu for the tabs.
src/tab/mod.rs:116
↓ 1 callersMethodmenu_bar
Create the menu bar.
src/app.rs:95
↓ 1 callersMethodmenu_title
Get the title of the tab for the menu.
src/tab/mod.rs:50
↓ 1 callersMethodmodel
Create the UI for model transform.
src/tab/transform.rs:57
↓ 1 callersMethodoperations
Create the UI for operations.
src/tab/mask.rs:248
↓ 1 callersMethodpos
Get the position.
src/app.rs:1261
↓ 1 callersMethodshape
Create the UI for a shape.
src/tab/mask.rs:122
↓ 1 callersMethodshapes
Create the UI for shapes.
src/tab/mask.rs:85
↓ 1 callersMethodto_first_person
Convert into first person control.
src/app.rs:1293
↓ 1 callersMethodto_orbit
Convert into orbit control.
src/app.rs:1310
↓ 1 callersMethodto_pod
To [`gs::GaussianEditPod`].
src/app.rs:1547
↓ 1 callersMethodto_tree
Create a [`gs::MaskOpTree`] from the operation.
src/app.rs:1816
↓ 1 callersMethodupdate_hit_pairs
Update the hit pairs buffer.
src/renderer/measurement.rs:133
↓ 1 callersMethodupdate_pods
Update the PODs.
src/app.rs:1597
↓ 1 callersMethodvalidate_shapes
Validate shape indices.
src/app.rs:1786
↓ 1 callersMethodvertical_fov
Get the field of view in radian.
src/app.rs:1277
↓ 1 callersMethodvertical_fov_mut
Get the field of view mutably in radian.
src/app.rs:1285
↓ 1 callersMethodworld_center
Get the center in world space.
src/app.rs:1044
Methodadd_model
Add a new model.
src/tab/scene.rs:2088
Methodadd_model_with_viewer
Add a new model with a viewer.
src/tab/scene.rs:2102
Methodapple_silicon_crash_warning
()
src/app.rs:68
Methodcreate
(_state: &mut app::State)
src/tab/transform.rs:12
Methodcreate
(_state: &mut app::State)
src/tab/selection.rs:13
Methodcreate
(_state: &mut app::State)
src/tab/models.rs:19
Methodcreate
(_state: &mut app::State)
src/tab/camera.rs:13
Methodcreate
(_state: &mut app::State)
src/tab/metadata.rs:13
Methodcreate
(_state: &mut app::State)
src/tab/scene.rs:106
Methodcreate
(_state: &mut app::State)
src/tab/measurement.rs:12
Methodcreate
(_state: &mut app::State)
src/tab/mask.rs:25
Methoddefault
()
src/app.rs:464
Methoddefault
()
src/tab/mod.rs:161
Methoddefault
()
src/tab/scene.rs:1566
Methoddistance
Ge the distance between the hits.
src/app.rs:1405
Methoddrop
(&mut self)
src/tab/scene.rs:1763
Methoderror
Create an error instance of the loadable value.
src/app.rs:443
Methodevaluate_mask
Evaluate the mask given the op code.
src/tab/scene.rs:2191
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/app.rs:492
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/tab/mod.rs:153
Methodfmt
(&self, f: &mut std::fmt::Formatter<'_>)
src/tab/scene.rs:1782
Methodfrom
(val: SelectionColorEdit)
src/app.rs:1497
Methodfrom
(hit_pair: app::MeasurementHitPair)
src/renderer/measurement.rs:187
Methodget_canvas
()
src/app.rs:54
Methodget_document
()
src/app.rs:43
Methodinit_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
Methodload_model
Load Gaussians for a model.
src/tab/scene.rs:2069
Methodloaded
Create a loaded instance of the loadable value.
src/app.rs:453
Methodloaded_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
Methodloaded_preprocess
Run the preprocess.
src/tab/scene.rs:699
Functionmain
()
src/main.rs:8
Methodmeasurement_locate_hit
Create a [`Query::MeasurementLocateHit`] query.
src/tab/scene.rs:1627
Methodnew
Create a main application.
src/app.rs:28
Methodnew
Create a new measurement renderer.
src/renderer/measurement.rs:18
Methodnew
Create a new tab manager.
src/tab/mod.rs:77
Methodnew
Create a new scene input state.
src/tab/scene.rs:1102
Methodnone
Create a none query.
src/tab/scene.rs:1620
Methodorbit
Find the updated orbit vector from pos to target.
src/tab/scene.rs:1487
Methodpaint
( &self, _info: egui::PaintCallbackInfo, render_pass: &mut wgpu::RenderPass<'static>,
src/tab/scene.rs:2264
Methodparse_complement
Parse a complement expression (!X)
src/app.rs:1690
Methodparse_difference
Parse difference with - operator
src/app.rs:1723
Methodparse_expr
Parse the main expression
src/app.rs:1770
Methodparse_factor
Parse a factor (shape, paren, or complement)
src/app.rs:1699
Methodparse_intersection
Parse intersection with & operator
src/app.rs:1740
Methodparse_paren
Parse a term in parentheses
src/app.rs:1680
Methodparse_shape
Parse a shape (just a number)
src/app.rs:1671
Methodparse_symmetric_difference
Parse symmetric difference with ^ operator
src/app.rs:1709
Methodparse_union
Parse union with | operator
src/app.rs:1755
Methodpos_mut
Get the position mutably.
src/app.rs:1269
Methodprojection
(&self, aspect_ratio: f32)
src/app.rs:1241
Methodremove_model
Remove a model.
src/tab/scene.rs:2170
Methodsave
(&mut self, storage: &mut dyn eframe::Storage)
src/app.rs:312
next →1–100 of 124, ranked by callers