pub struct RgbdFrame { /* private fields */ }
Expand description
Object that contains a frame data.
Implementations§
source§impl RgbdFrame
impl RgbdFrame
pub fn default() -> Result<RgbdFrame>
sourcepub fn new(
image: &Mat,
depth: &Mat,
mask: &Mat,
normals: &Mat,
id: i32
) -> Result<RgbdFrame>
pub fn new( image: &Mat, depth: &Mat, mask: &Mat, normals: &Mat, id: i32 ) -> Result<RgbdFrame>
C++ default parameters
- mask: Mat()
- normals: Mat()
- id: -1
sourcepub fn new_def(image: &Mat, depth: &Mat) -> Result<RgbdFrame>
pub fn new_def(image: &Mat, depth: &Mat) -> Result<RgbdFrame>
Note
This alternative version of [new] function uses the following default values for its arguments:
- mask: Mat()
- normals: Mat()
- id: -1
sourcepub fn create(
image: &Mat,
depth: &Mat,
mask: &Mat,
normals: &Mat,
id: i32
) -> Result<Ptr<RgbdFrame>>
pub fn create( image: &Mat, depth: &Mat, mask: &Mat, normals: &Mat, id: i32 ) -> Result<Ptr<RgbdFrame>>
C++ default parameters
- image: Mat()
- depth: Mat()
- mask: Mat()
- normals: Mat()
- id: -1
sourcepub fn create_def() -> Result<Ptr<RgbdFrame>>
pub fn create_def() -> Result<Ptr<RgbdFrame>>
Note
This alternative version of RgbdFrame::create function uses the following default values for its arguments:
- image: Mat()
- depth: Mat()
- mask: Mat()
- normals: Mat()
- id: -1
Trait Implementations§
source§impl Boxed for RgbdFrame
impl Boxed for RgbdFrame
source§impl From<OdometryFrame> for RgbdFrame
impl From<OdometryFrame> for RgbdFrame
source§fn from(s: OdometryFrame) -> Self
fn from(s: OdometryFrame) -> Self
Converts to this type from the input type.
source§impl RgbdFrameTrait for RgbdFrame
impl RgbdFrameTrait for RgbdFrame
source§impl RgbdFrameTraitConst for RgbdFrame
impl RgbdFrameTraitConst for RgbdFrame
source§impl TryFrom<RgbdFrame> for OdometryFrame
impl TryFrom<RgbdFrame> for OdometryFrame
impl Send for RgbdFrame
Auto Trait Implementations§
impl RefUnwindSafe for RgbdFrame
impl !Sync for RgbdFrame
impl Unpin for RgbdFrame
impl UnwindSafe for RgbdFrame
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
Mutably borrows from an owned value. Read more