Struct opencv::viz::WCloudNormals [−][src]
pub struct WCloudNormals { /* fields omitted */ }
Expand description
This 3D Widget represents normals of a point cloud. :
Implementations
pub fn new(
cloud: &dyn ToInputArray,
normals: &dyn ToInputArray,
level: i32,
scale: f64,
color: &Color
) -> Result<WCloudNormals>
pub fn new(
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
Performs the conversion.
Performs the conversion.