[][src]Struct opencv::viz::WCloudNormals

pub struct WCloudNormals { /* fields omitted */ }

This 3D Widget represents normals of a point cloud. :

Methods

impl WCloudNormals[src]

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

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

impl WCloudNormals[src]

pub fn new(
    cloud: &dyn ToInputArray,
    normals: &dyn ToInputArray,
    level: i32,
    scale: f64,
    color: &Color
) -> Result<WCloudNormals>
[src]

Constructs a WCloudNormals.

Parameters

  • cloud: Point set which can be of type: CV_32FC3, CV_32FC4, CV_64FC3, CV_64FC4.
  • normals: A set of normals that has to be of same type with cloud.
  • level: Display only every level th normal.
  • scale: Scale of the arrows that represent normals.
  • color: Color of the arrows that represent normals.

Note: In case there are four channels in the cloud, fourth channel is ignored.

C++ default parameters

  • level: 64
  • scale: 0.1
  • color: Color::white()

Trait Implementations

impl Drop for WCloudNormals[src]

impl Send for WCloudNormals[src]

impl Widget3DTrait for WCloudNormals[src]

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