[][src]Struct opencv::viz::WArrow

pub struct WArrow { /* fields omitted */ }

This 3D Widget defines an arrow.

Implementations

impl WArrow[src]

impl WArrow[src]

pub fn new(
    pt1: Point3d,
    pt2: Point3d,
    thickness: f64,
    color: &Color
) -> Result<WArrow>
[src]

Constructs an WArrow.

Parameters

  • pt1: Start point of the arrow.
  • pt2: End point of the arrow.
  • thickness: Thickness of the arrow. Thickness of arrow head is also adjusted accordingly.
  • color: Color of the arrow.

Arrow head is located at the end point of the arrow.

C++ default parameters

  • thickness: 0.03
  • color: Color::white()

Trait Implementations

impl Boxed for WArrow[src]

impl Drop for WArrow[src]

impl Send for WArrow[src]

impl WArrowTrait for WArrow[src]

impl Widget3DTrait for WArrow[src]

impl WidgetTrait for WArrow[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.