You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crates/re_entity_db/src/entity_properties.rs
-98Lines changed: 0 additions & 98 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,3 @@
1
-
use std::fmt::Formatter;
2
-
3
1
#[cfg(feature = "serde")]
4
2
use re_log_types::EntityPath;
5
3
@@ -99,9 +97,6 @@ pub struct EntityProperties {
99
97
100
98
/// Used to scale the radii of the points in the resulting point cloud.
101
99
pubbackproject_radius_scale:EditableAutoValue<f32>,// TODO(andreas): should be a component on the DepthImage archetype.
102
-
103
-
/// What kind of data aggregation to perform (for plot space views).
104
-
pubtime_series_aggregator:EditableAutoValue<TimeSeriesAggregator>,// TODO(andreas): Should be a component probably on SeriesLine, but today it would become a view property.
105
100
}
106
101
107
102
#[cfg(feature = "serde")]
@@ -110,7 +105,6 @@ impl Default for EntityProperties {
// Just making sure this method won't compile if the enum gets modified.
221
-
#[allow(clippy::match_same_arms)]
222
-
matchSelf::default(){
223
-
Self::Off => {}
224
-
Self::Average => {}
225
-
Self::Max => {}
226
-
Self::Min => {}
227
-
Self::MinMax => {}
228
-
Self::MinMaxAverage => {}
229
-
}
230
-
231
-
[
232
-
Self::Off,
233
-
Self::Average,
234
-
Self::Max,
235
-
Self::Min,
236
-
Self::MinMax,
237
-
Self::MinMaxAverage,
238
-
]
239
-
}
240
-
241
-
#[inline]
242
-
pubfndescription(&self) -> &'staticstr{
243
-
matchself{
244
-
Self::Off => "No aggregation.",
245
-
Self::Average => "Average all points in the range together.",
246
-
Self::Max => "Keep only the maximum values in the range.",
247
-
Self::Min => "Keep only the minimum values in the range.",
248
-
Self::MinMax => "Keep both the minimum and maximum values in the range.\nThis will yield two aggregated points instead of one, effectively creating a vertical line.",
249
-
Self::MinMaxAverage => "Find both the minimum and maximum values in the range, then use the average of those",
0 commit comments