[−][src]Struct realsense_rust::processing_block::ProcessingBlock
The type of data processing unit.
Implementations
impl<Kind> ProcessingBlock<Kind> where
Kind: ProcessingBlockKind, [src]
Kind: ProcessingBlockKind,
pub fn process<K>(&mut self, input: Frame<K>) -> RsResult<Frame<Any>> where
K: FrameKind, [src]
K: FrameKind,
pub async fn process_async<'_, K>(
&'_ mut self,
input: Frame<K>
) -> RsResult<Frame<Any>> where
K: FrameKind, [src]
&'_ mut self,
input: Frame<K>
) -> RsResult<Frame<Any>> where
K: FrameKind,
impl ProcessingBlock<Any>[src]
pub fn is_extendable_to<Kind>(&self) -> RsResult<bool> where
Kind: ExtendableProcessingBlockKind, [src]
Kind: ExtendableProcessingBlockKind,
pub fn try_extend_to<Kind>(
self
) -> RsResult<Result<ProcessingBlock<Kind>, Self>> where
Kind: ExtendableProcessingBlockKind, [src]
self
) -> RsResult<Result<ProcessingBlock<Kind>, Self>> where
Kind: ExtendableProcessingBlockKind,
pub fn try_extend(self) -> RsResult<ExtendedProcessingBlock>[src]
impl ProcessingBlock<ThresholdFilter>[src]
pub fn create() -> RsResult<Self>[src]
pub fn with_options(
min_dist: Option<f32>,
max_dist: Option<f32>
) -> RsResult<Self>[src]
min_dist: Option<f32>,
max_dist: Option<f32>
) -> RsResult<Self>
impl ProcessingBlock<SpatialFilter>[src]
pub fn create() -> RsResult<Self>[src]
pub fn with_options(
smooth_alpha: f32,
smooth_delta: f32,
magnitude: f32,
hole_fill: f32
) -> RsResult<Self>[src]
smooth_alpha: f32,
smooth_delta: f32,
magnitude: f32,
hole_fill: f32
) -> RsResult<Self>
impl ProcessingBlock<TemporalFilter>[src]
pub fn create() -> RsResult<Self>[src]
pub fn with_options(
smooth_alpha: f32,
smooth_delta: f32,
persistence_control: PersistenceControl
) -> RsResult<Self>[src]
smooth_alpha: f32,
smooth_delta: f32,
persistence_control: PersistenceControl
) -> RsResult<Self>
impl ProcessingBlock<DecimationFilter>[src]
impl ProcessingBlock<HoleFillingFilter>[src]
pub fn create() -> RsResult<Self>[src]
pub fn with_options(mode: HoleFillingMode) -> RsResult<Self>[src]
impl ProcessingBlock<DisparityFilter>[src]
pub fn create() -> RsResult<Self>[src]
pub fn with_options(transform_to_disparity: bool) -> RsResult<Self>[src]
impl ProcessingBlock<PointCloud>[src]
pub fn create() -> RsResult<Self>[src]
pub fn calculate(
&mut self,
depth_frame: Frame<Depth>
) -> RsResult<Frame<Points>>[src]
&mut self,
depth_frame: Frame<Depth>
) -> RsResult<Frame<Points>>
pub fn map_to(&mut self, color_frame: Frame<Video>) -> RsResult<()>[src]
pub async fn calculate_async<'_>(
&'_ mut self,
depth_frame: Frame<Depth>
) -> RsResult<Frame<Points>>[src]
&'_ mut self,
depth_frame: Frame<Depth>
) -> RsResult<Frame<Points>>
pub async fn map_to_async<'_>(
&'_ mut self,
color_frame: Frame<Video>
) -> RsResult<()>[src]
&'_ mut self,
color_frame: Frame<Video>
) -> RsResult<()>
impl ProcessingBlock<YuyDecoder>[src]
impl ProcessingBlock<UnitsTransform>[src]
impl ProcessingBlock<Syncer>[src]
impl ProcessingBlock<Align>[src]
pub fn create(align_to: StreamKind) -> RsResult<Self>[src]
impl ProcessingBlock<Colorizer>[src]
pub fn create() -> RsResult<Self>[src]
pub fn with_options(color_scheme: ColorScheme) -> RsResult<Self>[src]
pub fn colorize(&mut self, depth_frame: Frame<Depth>) -> RsResult<Frame<Video>>[src]
impl ProcessingBlock<HuffmanDepthDecompress>[src]
impl ProcessingBlock<RatesPrinter>[src]
Trait Implementations
impl<Kind: Debug> Debug for ProcessingBlock<Kind> where
Kind: ProcessingBlockKind, [src]
Kind: ProcessingBlockKind,
impl<Kind> Drop for ProcessingBlock<Kind> where
Kind: ProcessingBlockKind, [src]
Kind: ProcessingBlockKind,
impl<Kind> Send for ProcessingBlock<Kind> where
Kind: ProcessingBlockKind, [src]
Kind: ProcessingBlockKind,
impl<Kind> ToOptions for ProcessingBlock<Kind> where
Kind: ProcessingBlockKind, [src]
Kind: ProcessingBlockKind,
fn get_options_ptr(&self) -> NonNull<rs2_options>[src]
fn to_options(&self) -> RsResult<HashMap<Rs2Option, OptionHandle>>[src]
Auto Trait Implementations
impl<Kind> RefUnwindSafe for ProcessingBlock<Kind> where
Kind: RefUnwindSafe,
Kind: RefUnwindSafe,
impl<Kind> !Sync for ProcessingBlock<Kind>
impl<Kind> Unpin for ProcessingBlock<Kind> where
Kind: Unpin,
Kind: Unpin,
impl<Kind> UnwindSafe for ProcessingBlock<Kind> where
Kind: UnwindSafe,
Kind: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
fn to_subset(&self) -> Option<SS>
fn is_in_subset(&self) -> bool
fn to_subset_unchecked(&self) -> SS
fn from_subset(element: &SS) -> SP
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,