[][src]Struct opencv::viz::WPlane

pub struct WPlane { /* fields omitted */ }

This 3D Widget defines a finite plane.

Methods

impl WPlane[src]

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

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

impl WPlane[src]

pub fn new(size: Size2d, color: &Color) -> Result<WPlane>[src]

Constructs a default plane with center point at origin and normal oriented along z-axis.

Parameters

  • size: Size of the plane
  • color: Color of the plane.

C++ default parameters

  • size: Size2d(1.0, 1.0)
  • color: Color::white()

pub fn new_1(
    center: Point3d,
    normal: Vec3d,
    new_yaxis: Vec3d,
    size: Size2d,
    color: &Color
) -> Result<WPlane>
[src]

Constructs a repositioned plane

Parameters

  • center: Center of the plane
  • normal: Plane normal orientation
  • new_yaxis: Up-vector. New orientation of plane y-axis.
  • size:
  • color: Color of the plane.

C++ default parameters

  • size: Size2d(1.0, 1.0)
  • color: Color::white()

Trait Implementations

impl Drop for WPlane[src]

impl Send for WPlane[src]

impl Widget3DTrait for WPlane[src]

impl WidgetTrait for WPlane[src]

Auto Trait Implementations

impl RefUnwindSafe for WPlane

impl !Sync for WPlane

impl Unpin for WPlane

impl UnwindSafe for WPlane

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.