[−][src]Struct opencv::viz::WCloudNormals
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]
cloud: &dyn ToInputArray,
normals: &dyn ToInputArray,
level: i32,
scale: f64,
color: &Color
) -> Result<WCloudNormals>
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]
fn as_raw_Widget3D(&self) -> *mut c_void
[src]
fn set_color(&mut self, color: &Color) -> Result<()>
[src]
impl WidgetTrait for WCloudNormals
[src]
fn as_raw_Widget(&self) -> *mut c_void
[src]
fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>
[src]
fn get_rendering_property(&self, property: i32) -> Result<f64>
[src]
Auto Trait Implementations
impl RefUnwindSafe for WCloudNormals
impl !Sync for WCloudNormals
impl Unpin for WCloudNormals
impl UnwindSafe for WCloudNormals
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,