Trait flydra_mvg::FlydraCamera

source ·
pub trait FlydraCamera<R: RealField + Copy + Serialize> {
    // Required methods
    fn to_flydra(&self, name: &str) -> Result<SingleCameraCalibration<R>>;
    fn from_flydra(
        cam: &SingleCameraCalibration<R>
    ) -> Result<(String, Camera<R>)>;
}
Expand description

A helper trait to implement conversions to and from mvg::Camera

Required Methods§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<R: RealField + Copy + Serialize> FlydraCamera<R> for Camera<R>

Implementors§