Struct realsense_rust::processing_block::ProcessingBlock [−][src]
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>) -> Result<AnyFrame> where
K: FrameKind,
[src]
K: FrameKind,
pub async fn process_async<K>(&mut self, input: Frame<K>) -> Result<AnyFrame> where
K: FrameKind,
[src]
K: FrameKind,
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]
ptr: *mut rs2_processing_block,
queue: FrameQueue
) -> Self
impl ProcessingBlock<Any>
[src]
pub fn is_extendable_to<Kind>(&self) -> Result<bool> where
Kind: ExtendableProcessingBlockKind,
[src]
Kind: ExtendableProcessingBlockKind,
pub fn try_extend_to<Kind>(self) -> Result<Result<ProcessingBlock<Kind>, Self>> where
Kind: ExtendableProcessingBlockKind,
[src]
Kind: ExtendableProcessingBlockKind,
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]
min_dist: impl Into<Option<f32>>,
max_dist: impl Into<Option<f32>>
) -> Result<Self>
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]
smooth_alpha: f32,
smooth_delta: f32,
magnitude: f32,
hole_fill: f32
) -> Result<Self>
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]
smooth_alpha: f32,
smooth_delta: f32,
persistence_control: PersistenceControl
) -> Result<Self>
impl ProcessingBlock<DecimationFilterKind>
[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]
&mut self,
depth_frame: DepthFrame
) -> Result<PointsFrame>
pub async fn map_to_async(&mut self, color_frame: VideoFrame) -> Result<()>
[src]
impl ProcessingBlock<YuyDecoderKind>
[src]
impl ProcessingBlock<UnitsTransformKind>
[src]
impl ProcessingBlock<SyncerKind>
[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]
impl ProcessingBlock<RatesPrinterKind>
[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) -> Result<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,
pub 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> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub 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.
pub 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.
pub 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>,