[][src]Struct opencv::viz::WLine

pub struct WLine { /* fields omitted */ }

This 3D Widget defines a finite line.

Methods

impl WLine[src]

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

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

impl WLine[src]

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

Constructs a WLine.

Parameters

  • pt1: Start point of the line.
  • pt2: End point of the line.
  • color: Color of the line.

C++ default parameters

  • color: Color::white()

Trait Implementations

impl Drop for WLine[src]

impl Send for WLine[src]

impl Widget3DTrait for WLine[src]

impl WidgetTrait for WLine[src]

Auto Trait Implementations

impl RefUnwindSafe for WLine

impl !Sync for WLine

impl Unpin for WLine

impl UnwindSafe for WLine

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.