Trait opencv::hub_prelude::WCloudCollectionTrait[][src]

pub trait WCloudCollectionTrait: Widget3DTrait {
    fn as_raw_WCloudCollection(&self) -> *const c_void;
fn as_raw_mut_WCloudCollection(&mut self) -> *mut c_void; fn add_cloud(
        &mut self,
        cloud: &dyn ToInputArray,
        colors: &dyn ToInputArray,
        pose: Affine3d
    ) -> Result<()> { ... }
fn add_cloud_1(
        &mut self,
        cloud: &dyn ToInputArray,
        color: &Color,
        pose: Affine3d
    ) -> Result<()> { ... }
fn finalize(&mut self) -> Result<()> { ... } }
Expand description

This 3D Widget defines a collection of clouds. :

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

Required methods

Provided methods

Adds a cloud to the collection.

Parameters

  • cloud: Point set which can be of type: CV_32FC3, CV_32FC4, CV_64FC3, CV_64FC4.
  • colors: Set of colors. It has to be of the same size with cloud.
  • pose: Pose of the cloud. Points in the cloud belong to mask when they are set to (NaN, NaN, NaN).

C++ default parameters

  • pose: Affine3d::Identity()

Adds a cloud to the collection.

Parameters

  • cloud: Point set which can be of type: CV_32FC3, CV_32FC4, CV_64FC3, CV_64FC4.
  • color: A single Color for the whole cloud.
  • pose: Pose of the cloud. Points in the cloud belong to mask when they are set to (NaN, NaN, NaN).

C++ default parameters

  • color: Color::white()
  • pose: Affine3d::Identity()

Finalizes cloud data by repacking to single cloud.

Useful for large cloud collections to reduce memory usage

Implementors