pub struct SpatialTimeBinding { /* private fields */ }Expand description
Drives point-cloud visibility from the workbook playhead. When enabled, only points with a time attribute value ≤ the mapped playhead position are shown, revealing the cloud progressively as the playhead advances.
Implementations§
Source§impl SpatialTimeBinding
impl SpatialTimeBinding
Sourcepub fn builder() -> Builder<EnabledStage>
pub fn builder() -> Builder<EnabledStage>
Returns a new builder.
Source§impl SpatialTimeBinding
impl SpatialTimeBinding
Sourcepub fn new(
enabled: bool,
attribute: impl Into<String>,
unit: SpatialTimeUnit,
) -> Self
pub fn new( enabled: bool, attribute: impl Into<String>, unit: SpatialTimeUnit, ) -> Self
Constructs a new instance of the type.
pub fn enabled(&self) -> bool
Sourcepub fn attribute(&self) -> &str
pub fn attribute(&self) -> &str
Name of the per-point attribute that encodes time (e.g. “timestamp”).
pub fn unit(&self) -> &SpatialTimeUnit
Sourcepub fn relative_start_us(&self) -> Option<SafeLong>
pub fn relative_start_us(&self) -> Option<SafeLong>
User-supplied start of the point cloud’s time range in µs. Used as a fallback when the ingest pipeline has not yet populated the spatial asset’s relative_start_us property.
Sourcepub fn relative_end_us(&self) -> Option<SafeLong>
pub fn relative_end_us(&self) -> Option<SafeLong>
User-supplied end of the point cloud’s time range in µs. Used as a fallback when the ingest pipeline has not yet populated the spatial asset’s relative_end_us property.
Sourcepub fn time_window(&self) -> Option<&SpatialTimeWindow>
pub fn time_window(&self) -> Option<&SpatialTimeWindow>
Controls which returns are visible relative to the playhead. Defaults to accumulated.
Trait Implementations§
Source§impl Clone for SpatialTimeBinding
impl Clone for SpatialTimeBinding
Source§fn clone(&self) -> SpatialTimeBinding
fn clone(&self) -> SpatialTimeBinding
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SpatialTimeBinding
impl Debug for SpatialTimeBinding
Source§impl<'de> Deserialize<'de> for SpatialTimeBinding
impl<'de> Deserialize<'de> for SpatialTimeBinding
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for SpatialTimeBinding
Source§impl From<SpatialTimeBinding> for Builder<Complete>
impl From<SpatialTimeBinding> for Builder<Complete>
Source§fn from(v: SpatialTimeBinding) -> Self
fn from(v: SpatialTimeBinding) -> Self
Source§impl Hash for SpatialTimeBinding
impl Hash for SpatialTimeBinding
Source§impl Ord for SpatialTimeBinding
impl Ord for SpatialTimeBinding
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for SpatialTimeBinding
impl PartialEq for SpatialTimeBinding
Source§impl PartialOrd for SpatialTimeBinding
impl PartialOrd for SpatialTimeBinding
Auto Trait Implementations§
impl Freeze for SpatialTimeBinding
impl RefUnwindSafe for SpatialTimeBinding
impl Send for SpatialTimeBinding
impl Sync for SpatialTimeBinding
impl Unpin for SpatialTimeBinding
impl UnsafeUnpin for SpatialTimeBinding
impl UnwindSafe for SpatialTimeBinding
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request