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

pub struct WTrajectoryFrustums { /* fields omitted */ }

This 3D Widget represents a trajectory. :

Methods

impl WTrajectoryFrustums[src]

pub fn as_raw_WTrajectoryFrustums(&self) -> *mut c_void[src]

pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]

impl WTrajectoryFrustums[src]

pub fn new(
    path: &Mat,
    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 Widget for WTrajectoryFrustums[src]

fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>[src]

Sets rendering property of the widget. Read more

fn get_rendering_property(&self, property: i32) -> Result<f64>[src]

Returns rendering property of the widget. Read more

impl Widget3D for WTrajectoryFrustums[src]

fn set_color(&mut self, color: &Color) -> Result<()>[src]

Sets the color of the widget. Read more

impl Send for WTrajectoryFrustums[src]

impl Drop for WTrajectoryFrustums[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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