Trait CameraExt

Source
pub trait CameraExt<R: RealField> {
    // Required method
    fn world_to_undistorted_pixel<NPTS, InStorage>(
        &self,
        world: &Points<WorldFrame, R, NPTS, InStorage>,
    ) -> UndistortedPixels<R, NPTS, Owned<R, NPTS, U2>>
       where NPTS: Dim,
             InStorage: Storage<R, NPTS, U3>,
             DefaultAllocator: Allocator<NPTS, U3> + Allocator<NPTS, U2>;
}
Expand description

Extension trait to add world_to_undistorted_pixel() method.

Required Methods§

Source

fn world_to_undistorted_pixel<NPTS, InStorage>( &self, world: &Points<WorldFrame, R, NPTS, InStorage>, ) -> UndistortedPixels<R, NPTS, Owned<R, NPTS, U2>>
where NPTS: Dim, InStorage: Storage<R, NPTS, U3>, DefaultAllocator: Allocator<NPTS, U3> + Allocator<NPTS, U2>,

Convert 3D coordinates in the WorldFrame to undistorted pixel coordinates.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<R: RealField> CameraExt<R> for Camera<R, RosOpenCvIntrinsics<R>>

Source§

fn world_to_undistorted_pixel<NPTS, InStorage>( &self, world: &Points<WorldFrame, R, NPTS, InStorage>, ) -> UndistortedPixels<R, NPTS, Owned<R, NPTS, U2>>
where NPTS: Dim, InStorage: Storage<R, NPTS, U3>, DefaultAllocator: Allocator<NPTS, U3> + Allocator<NPTS, U2>,

Implementors§