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

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>) -> Result<AnyFrame> where
    K: FrameKind
[src]

pub async fn process_async<K>(&mut self, input: Frame<K>) -> Result<AnyFrame> where
    K: FrameKind
[src]

pub fn into_raw_parts(self) -> (*mut rs2_processing_block, FrameQueue)[src]

pub unsafe fn from_raw_parts(
    ptr: *mut rs2_processing_block,
    queue: FrameQueue
) -> Self
[src]

impl ProcessingBlock<Any>[src]

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

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

pub fn try_extend(self) -> Result<ExtendedProcessingBlock>[src]

impl ProcessingBlock<ThresholdFilterKind>[src]

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

pub fn with_options(
    min_dist: impl Into<Option<f32>>,
    max_dist: impl Into<Option<f32>>
) -> Result<Self>
[src]

impl ProcessingBlock<SpatialFilterKind>[src]

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

pub fn with_options(
    smooth_alpha: f32,
    smooth_delta: f32,
    magnitude: f32,
    hole_fill: f32
) -> Result<Self>
[src]

impl ProcessingBlock<TemporalFilterKind>[src]

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

pub fn with_options(
    smooth_alpha: f32,
    smooth_delta: f32,
    persistence_control: PersistenceControl
) -> Result<Self>
[src]

impl ProcessingBlock<DecimationFilterKind>[src]

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

pub fn with_options(magnitude: f32) -> Result<Self>[src]

impl ProcessingBlock<HoleFillingFilterKind>[src]

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

pub fn with_options(mode: HoleFillingMode) -> Result<Self>[src]

impl ProcessingBlock<DisparityFilterKind>[src]

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

pub fn with_options(transform_to_disparity: bool) -> Result<Self>[src]

impl ProcessingBlock<PointCloudKind>[src]

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

pub fn calculate(&mut self, depth_frame: DepthFrame) -> Result<PointsFrame>[src]

pub fn map_to(&mut self, color_frame: VideoFrame) -> Result<()>[src]

pub async fn calculate_async(
    &mut self,
    depth_frame: DepthFrame
) -> Result<PointsFrame>
[src]

pub async fn map_to_async(&mut self, color_frame: VideoFrame) -> Result<()>[src]

impl ProcessingBlock<YuyDecoderKind>[src]

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

impl ProcessingBlock<UnitsTransformKind>[src]

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

impl ProcessingBlock<SyncerKind>[src]

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

impl ProcessingBlock<AlignKind>[src]

pub fn create(align_to: StreamKind) -> Result<Self>[src]

impl ProcessingBlock<ColorizerKind>[src]

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

pub fn with_options(color_scheme: ColorScheme) -> Result<Self>[src]

pub fn colorize(&mut self, depth_frame: DepthFrame) -> Result<VideoFrame>[src]

impl ProcessingBlock<HuffmanDepthDecompressKind>[src]

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

impl ProcessingBlock<RatesPrinterKind>[src]

pub fn create() -> Result<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> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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>,