pub struct WCloudCollection { /* private fields */ }
Expand description
This 3D Widget defines a collection of clouds. :
Note: In case there are four channels in the cloud, fourth channel is ignored.
Implementations§
Source§impl WCloudCollection
impl WCloudCollection
pub fn default() -> Result<WCloudCollection>
Trait Implementations§
Source§impl Boxed for WCloudCollection
impl Boxed for WCloudCollection
Source§unsafe fn from_raw(
ptr: <WCloudCollection as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <WCloudCollection as OpenCVFromExtern>::ExternReceive, ) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(
self,
) -> <WCloudCollection as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self, ) -> <WCloudCollection as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(&self) -> <WCloudCollection as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <WCloudCollection as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <WCloudCollection as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <WCloudCollection as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Debug for WCloudCollection
impl Debug for WCloudCollection
Source§impl Drop for WCloudCollection
impl Drop for WCloudCollection
Source§impl From<WCloudCollection> for Widget
impl From<WCloudCollection> for Widget
Source§fn from(s: WCloudCollection) -> Self
fn from(s: WCloudCollection) -> Self
Converts to this type from the input type.
Source§impl From<WCloudCollection> for Widget3D
impl From<WCloudCollection> for Widget3D
Source§fn from(s: WCloudCollection) -> Self
fn from(s: WCloudCollection) -> Self
Converts to this type from the input type.
Source§impl WCloudCollectionTrait for WCloudCollection
impl WCloudCollectionTrait for WCloudCollection
fn as_raw_mut_WCloudCollection(&mut self) -> *mut c_void
Source§fn add_cloud(
&mut self,
cloud: &impl ToInputArray,
colors: &impl ToInputArray,
pose: Affine3d,
) -> Result<()>
fn add_cloud( &mut self, cloud: &impl ToInputArray, colors: &impl ToInputArray, pose: Affine3d, ) -> Result<()>
Adds a cloud to the collection. Read more
Source§fn add_cloud_def(
&mut self,
cloud: &impl ToInputArray,
colors: &impl ToInputArray,
) -> Result<()>
fn add_cloud_def( &mut self, cloud: &impl ToInputArray, colors: &impl ToInputArray, ) -> Result<()>
Adds a cloud to the collection. Read more
Source§fn add_cloud_1(
&mut self,
cloud: &impl ToInputArray,
color: &impl ColorTraitConst,
pose: Affine3d,
) -> Result<()>
fn add_cloud_1( &mut self, cloud: &impl ToInputArray, color: &impl ColorTraitConst, pose: Affine3d, ) -> Result<()>
Adds a cloud to the collection. Read more
Source§fn add_cloud_def_1(&mut self, cloud: &impl ToInputArray) -> Result<()>
fn add_cloud_def_1(&mut self, cloud: &impl ToInputArray) -> Result<()>
Adds a cloud to the collection. Read more
Source§impl WCloudCollectionTraitConst for WCloudCollection
impl WCloudCollectionTraitConst for WCloudCollection
fn as_raw_WCloudCollection(&self) -> *const c_void
Source§impl Widget3DTrait for WCloudCollection
impl Widget3DTrait for WCloudCollection
fn as_raw_mut_Widget3D(&mut self) -> *mut c_void
Source§fn update_pose(&mut self, pose: Affine3d) -> Result<()>
fn update_pose(&mut self, pose: Affine3d) -> Result<()>
Updates pose of the widget by pre-multiplying its current pose. Read more
Source§impl WidgetTrait for WCloudCollection
impl WidgetTrait for WCloudCollection
Source§impl WidgetTraitConst for WCloudCollection
impl WidgetTraitConst for WCloudCollection
impl Send for WCloudCollection
Auto Trait Implementations§
impl Freeze for WCloudCollection
impl RefUnwindSafe for WCloudCollection
impl !Sync for WCloudCollection
impl Unpin for WCloudCollection
impl UnwindSafe for WCloudCollection
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
Source§unsafe fn modify_inplace<Res>(
&mut self,
f: impl FnOnce(&Mat, &mut Mat) -> Res,
) -> Res
unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res, ) -> Res
Helper function to call OpenCV functions that allow in-place modification of a
Mat
or another similar object. By passing
a mutable reference to the Mat
to this function your closure will get called with the read reference and a write references
to the same Mat
. This is unsafe in a general case as it leads to having non-exclusive mutable access to the internal data,
but it can be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place
modification is imgproc::threshold
. Read more