Commit d35e3ab
authored
Expose
### What
Introduces `FillRatio` component. Example:
```python
rr.log("world/camera/depth", rr.DepthImage(depth_image, meter=10_000.0, backproject_radius_scale=0.2))
```
* Almost done with #5067
* This was the last legacy property to blueprintify!
* Only the actual cleanup is missing. Some of it already creeped in here
since clippy noticed the cascade of unused things, but I went only as
far as I had to to make it happy to keep this PR sane
Works as before:
<img width="1167" alt="image"
src="https://github.com/rerun-io/rerun/assets/1220815/b564944b-c4a3-459a-a9a0-9692caeb5110">
Based on #6558 to avoid conflicts
### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [ ] I have tested the web demo (if applicable):
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/6566?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/6566?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!
- [PR Build Summary](https://build.rerun.io/pr/6566)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
To run all checks from `main`, comment on the PR with `@rerun-bot
full-check`.FillRatio component to configure DepthImage backprojection radius scaling (#6566)1 parent 5e91a30 commit d35e3ab
File tree
42 files changed
+585
-211
lines changed- crates
- re_edit_ui/src
- re_entity_db/src
- re_selection_panel/src
- re_space_view_spatial/src
- visualizers
- re_space_view_time_series/src
- re_space_view/src
- re_types_core
- src/datatypes
- re_types
- definitions/rerun
- archetypes
- components
- datatypes
- src
- archetypes
- components
- tests
- re_viewer_context/src/space_view
- re_viewer/src/component_defaults
- docs/content/reference/types
- archetypes
- components
- datatypes
- rerun_cpp/src/rerun
- archetypes
- components
- rerun_py/rerun_sdk/rerun
- archetypes
- components
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
42 files changed
+585
-211
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5137 | 5137 | | |
5138 | 5138 | | |
5139 | 5139 | | |
| 5140 | + | |
5140 | 5141 | | |
5141 | 5142 | | |
5142 | 5143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | 48 | | |
| 49 | + | |
| 50 | + | |
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
11 | | - | |
| 8 | + | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
| |||
88 | 85 | | |
89 | 86 | | |
90 | 87 | | |
91 | | - | |
| 88 | + | |
92 | 89 | | |
93 | 90 | | |
94 | 91 | | |
95 | 92 | | |
96 | 93 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | 94 | | |
101 | 95 | | |
102 | 96 | | |
103 | 97 | | |
104 | 98 | | |
105 | 99 | | |
106 | 100 | | |
107 | | - | |
108 | 101 | | |
109 | 102 | | |
110 | 103 | | |
| |||
115 | 108 | | |
116 | 109 | | |
117 | 110 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | 111 | | |
124 | 112 | | |
125 | 113 | | |
| |||
130 | 118 | | |
131 | 119 | | |
132 | 120 | | |
| 121 | + | |
133 | 122 | | |
134 | 123 | | |
135 | 124 | | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 125 | | |
142 | 126 | | |
143 | 127 | | |
144 | 128 | | |
145 | 129 | | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
| 130 | + | |
150 | 131 | | |
151 | 132 | | |
152 | | - | |
153 | 133 | | |
154 | 134 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | 7 | | |
10 | 8 | | |
11 | 9 | | |
| |||
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
1162 | 1162 | | |
1163 | 1163 | | |
1164 | 1164 | | |
1165 | | - | |
1166 | | - | |
1167 | | - | |
1168 | 1165 | | |
1169 | 1166 | | |
1170 | 1167 | | |
1171 | 1168 | | |
1172 | 1169 | | |
1173 | | - | |
1174 | 1170 | | |
1175 | | - | |
1176 | | - | |
1177 | | - | |
1178 | | - | |
1179 | | - | |
1180 | | - | |
1181 | 1171 | | |
1182 | 1172 | | |
1183 | 1173 | | |
| |||
1187 | 1177 | | |
1188 | 1178 | | |
1189 | 1179 | | |
1190 | | - | |
1191 | 1180 | | |
1192 | 1181 | | |
1193 | 1182 | | |
| |||
1261 | 1250 | | |
1262 | 1251 | | |
1263 | 1252 | | |
1264 | | - | |
| 1253 | + | |
1265 | 1254 | | |
1266 | 1255 | | |
1267 | 1256 | | |
1268 | 1257 | | |
1269 | | - | |
1270 | | - | |
1271 | | - | |
1272 | | - | |
1273 | | - | |
1274 | | - | |
1275 | | - | |
| 1258 | + | |
| 1259 | + | |
| 1260 | + | |
| 1261 | + | |
| 1262 | + | |
| 1263 | + | |
| 1264 | + | |
1276 | 1265 | | |
1277 | 1266 | | |
1278 | 1267 | | |
| |||
1401 | 1390 | | |
1402 | 1391 | | |
1403 | 1392 | | |
1404 | | - | |
1405 | 1393 | | |
1406 | 1394 | | |
1407 | 1395 | | |
| |||
1428 | 1416 | | |
1429 | 1417 | | |
1430 | 1418 | | |
1431 | | - | |
1432 | | - | |
1433 | | - | |
| 1419 | + | |
| 1420 | + | |
| 1421 | + | |
| 1422 | + | |
| 1423 | + | |
| 1424 | + | |
| 1425 | + | |
1434 | 1426 | | |
1435 | 1427 | | |
1436 | 1428 | | |
1437 | 1429 | | |
1438 | | - | |
1439 | | - | |
1440 | | - | |
1441 | | - | |
1442 | | - | |
1443 | | - | |
1444 | | - | |
| 1430 | + | |
| 1431 | + | |
| 1432 | + | |
| 1433 | + | |
| 1434 | + | |
| 1435 | + | |
| 1436 | + | |
1445 | 1437 | | |
1446 | 1438 | | |
1447 | 1439 | | |
| |||
1464 | 1456 | | |
1465 | 1457 | | |
1466 | 1458 | | |
1467 | | - | |
| 1459 | + | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
1468 | 1467 | | |
1469 | | - | |
| 1468 | + | |
1470 | 1469 | | |
1471 | 1470 | | |
1472 | 1471 | | |
| |||
1481 | 1480 | | |
1482 | 1481 | | |
1483 | 1482 | | |
1484 | | - | |
| 1483 | + | |
1485 | 1484 | | |
1486 | 1485 | | |
1487 | | - | |
| 1486 | + | |
1488 | 1487 | | |
1489 | 1488 | | |
1490 | 1489 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
6 | | - | |
7 | | - | |
8 | 4 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 5 | + | |
| 6 | + | |
24 | 7 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 8 | + | |
30 | 9 | | |
31 | 10 | | |
32 | 11 | | |
| |||
53 | 32 | | |
54 | 33 | | |
55 | 34 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | 35 | | |
80 | 36 | | |
81 | 37 | | |
| |||
0 commit comments