[][src]Struct realsense_rust::processing_block::ProcessingBlock

pub struct ProcessingBlock<Kind> where
    Kind: ProcessingBlockKind
{ /* fields omitted */ }

The type of data processing unit.

Implementations

impl<Kind> ProcessingBlock<Kind> where
    Kind: ProcessingBlockKind
[src]

pub fn process<K>(&mut self, input: Frame<K>) -> RsResult<Frame<Any>> where
    K: FrameKind
[src]

pub async fn process_async<'_, K>(
    &'_ mut self,
    input: Frame<K>
) -> RsResult<Frame<Any>> where
    K: FrameKind
[src]

impl ProcessingBlock<Any>[src]

pub fn is_extendable_to<Kind>(&self) -> RsResult<bool> where
    Kind: ExtendableProcessingBlockKind
[src]

pub fn try_extend_to<Kind>(
    self
) -> RsResult<Result<ProcessingBlock<Kind>, Self>> where
    Kind: ExtendableProcessingBlockKind
[src]

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]

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]

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]

impl ProcessingBlock<DecimationFilter>[src]

pub fn create() -> RsResult<Self>[src]

pub fn with_options(magnitude: f32) -> RsResult<Self>[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]

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]

pub async fn map_to_async<'_>(
    &'_ mut self,
    color_frame: Frame<Video>
) -> RsResult<()>
[src]

impl ProcessingBlock<YuyDecoder>[src]

pub fn create() -> RsResult<Self>[src]

impl ProcessingBlock<UnitsTransform>[src]

pub fn create() -> RsResult<Self>[src]

impl ProcessingBlock<Syncer>[src]

pub fn create() -> RsResult<Self>[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]

pub fn create() -> RsResult<Self>[src]

impl ProcessingBlock<RatesPrinter>[src]

pub fn create() -> RsResult<Self>[src]

Trait Implementations

impl<Kind: Debug> Debug for ProcessingBlock<Kind> where
    Kind: ProcessingBlockKind
[src]

impl<Kind> Drop for ProcessingBlock<Kind> where
    Kind: ProcessingBlockKind
[src]

impl<Kind> Send for ProcessingBlock<Kind> where
    Kind: ProcessingBlockKind
[src]

impl<Kind> ToOptions for ProcessingBlock<Kind> where
    Kind: ProcessingBlockKind
[src]

Auto Trait Implementations

impl<Kind> RefUnwindSafe for ProcessingBlock<Kind> where
    Kind: RefUnwindSafe

impl<Kind> !Sync for ProcessingBlock<Kind>

impl<Kind> Unpin for ProcessingBlock<Kind> where
    Kind: Unpin

impl<Kind> UnwindSafe for ProcessingBlock<Kind> where
    Kind: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,