Struct opencv_ros_camera::NamedIntrinsicParameters [−][src]
A struct with RosOpenCvIntrinsics
, camera name and image sensor dimensions.
This is primarily used to read YAML files saved by ROS. Create this struct
with the from_ros_yaml
function.
To extract a RosOpenCvIntrinsics
structure from this struct, use the
intrinsics
field.
Fields
name: String
Name of the camera.
width: usize
The width of the image sensor (in pixels).
height: usize
The height of the image sensor (in pixels).
intrinsics: RosOpenCvIntrinsics<R>
The intrinsic parameters.
Trait Implementations
impl<R: RealField> From<NamedIntrinsicParameters<R>> for RosCameraInfo<R>
[src]
fn from(orig: NamedIntrinsicParameters<R>) -> Self
[src]
impl<R: RealField> TryFrom<RosCameraInfo<R>> for NamedIntrinsicParameters<R>
[src]
type Error = Error
The type returned in the event of a conversion error.
fn try_from(ros_camera: RosCameraInfo<R>) -> Result<NamedIntrinsicParameters<R>>
[src]
Auto Trait Implementations
impl<R> RefUnwindSafe for NamedIntrinsicParameters<R> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R> Send for NamedIntrinsicParameters<R>
impl<R> Sync for NamedIntrinsicParameters<R>
impl<R> Unpin for NamedIntrinsicParameters<R> where
R: Unpin,
R: Unpin,
impl<R> UnwindSafe for NamedIntrinsicParameters<R> where
R: UnwindSafe,
R: 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> 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>,