[][src]Struct opencv::viz::WTrajectoryFrustums

pub struct WTrajectoryFrustums { /* fields omitted */ }

This 3D Widget represents a trajectory. :

Implementations

impl WTrajectoryFrustums[src]

impl WTrajectoryFrustums[src]

pub fn new(
    path: &dyn ToInputArray,
    k: Matx33d,
    scale: f64,
    color: &Color
) -> Result<WTrajectoryFrustums>
[src]

Constructs a WTrajectoryFrustums.

Parameters

  • path: List of poses on a trajectory. Takes std::vector<Affine<T>> with T == [float | double]
  • K: Intrinsic matrix of the camera.
  • scale: Scale of the frustums.
  • color: Color of the frustums.

Displays frustums at each pose of the trajectory.

C++ default parameters

  • scale: 1.
  • color: Color::white()

pub fn new_1(
    path: &dyn ToInputArray,
    fov: Vec2d,
    scale: f64,
    color: &Color
) -> Result<WTrajectoryFrustums>
[src]

Constructs a WTrajectoryFrustums.

Parameters

  • path: List of poses on a trajectory. Takes std::vector<Affine<T>> with T == [float | double]
  • fov: Field of view of the camera (horizontal, vertical).
  • scale: Scale of the frustums.
  • color: Color of the frustums.

Displays frustums at each pose of the trajectory.

C++ default parameters

  • scale: 1.
  • color: Color::white()

Trait Implementations

impl Boxed for WTrajectoryFrustums[src]

impl Drop for WTrajectoryFrustums[src]

impl Send for WTrajectoryFrustums[src]

impl WTrajectoryFrustumsTrait for WTrajectoryFrustums[src]

impl Widget3DTrait for WTrajectoryFrustums[src]

impl WidgetTrait for WTrajectoryFrustums[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.