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§
Sourcefn world_to_undistorted_pixel<NPTS, InStorage>(
&self,
world: &Points<WorldFrame, R, NPTS, InStorage>,
) -> UndistortedPixels<R, NPTS, Owned<R, NPTS, U2>>
fn world_to_undistorted_pixel<NPTS, InStorage>( &self, world: &Points<WorldFrame, R, NPTS, InStorage>, ) -> UndistortedPixels<R, NPTS, Owned<R, 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.