[][src]Struct opencv::viz::WGrid

pub struct WGrid { /* fields omitted */ }

This 3D Widget defines a grid. :

Implementations

impl WGrid[src]

impl WGrid[src]

pub fn new(cells: Vec2i, cells_spacing: Vec2d, color: &Color) -> Result<WGrid>[src]

Constructs a WGrid.

Parameters

  • cells: Number of cell columns and rows, respectively.
  • cells_spacing: Size of each cell, respectively.
  • color: Color of the grid.

C++ default parameters

  • cells: Vec2i::all(10)
  • cells_spacing: Vec2d::all(1.0)
  • color: Color::white()

pub fn new_1(
    center: Point3d,
    normal: Vec3d,
    new_yaxis: Vec3d,
    cells: Vec2i,
    cells_spacing: Vec2d,
    color: &Color
) -> Result<WGrid>
[src]

Creates repositioned grid

C++ default parameters

  • cells: Vec2i::all(10)
  • cells_spacing: Vec2d::all(1.0)
  • color: Color::white()

Trait Implementations

impl Boxed for WGrid[src]

impl Drop for WGrid[src]

impl Send for WGrid[src]

impl WGridTrait for WGrid[src]

impl Widget3DTrait for WGrid[src]

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