pub struct Widget3D { /* private fields */ }
Expand description
Base class of all 3D widgets.
Implementations§
Trait Implementations§
Source§impl Boxed for Widget3D
impl Boxed for Widget3D
Source§unsafe fn from_raw(ptr: <Widget3D as OpenCVFromExtern>::ExternReceive) -> Self
unsafe fn from_raw(ptr: <Widget3D as OpenCVFromExtern>::ExternReceive) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(self) -> <Widget3D as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw(self) -> <Widget3D as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(&self) -> <Widget3D as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <Widget3D as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <Widget3D as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <Widget3D as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl From<WCameraPosition> for Widget3D
impl From<WCameraPosition> for Widget3D
Source§fn from(s: WCameraPosition) -> Self
fn from(s: WCameraPosition) -> 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 From<WCloudNormals> for Widget3D
impl From<WCloudNormals> for Widget3D
Source§fn from(s: WCloudNormals) -> Self
fn from(s: WCloudNormals) -> Self
Converts to this type from the input type.
Source§impl From<WCoordinateSystem> for Widget3D
impl From<WCoordinateSystem> for Widget3D
Source§fn from(s: WCoordinateSystem) -> Self
fn from(s: WCoordinateSystem) -> Self
Converts to this type from the input type.
Source§impl From<WPaintedCloud> for Widget3D
impl From<WPaintedCloud> for Widget3D
Source§fn from(s: WPaintedCloud) -> Self
fn from(s: WPaintedCloud) -> Self
Converts to this type from the input type.
Source§impl From<WTrajectory> for Widget3D
impl From<WTrajectory> for Widget3D
Source§fn from(s: WTrajectory) -> Self
fn from(s: WTrajectory) -> Self
Converts to this type from the input type.
Source§impl From<WTrajectoryFrustums> for Widget3D
impl From<WTrajectoryFrustums> for Widget3D
Source§fn from(s: WTrajectoryFrustums) -> Self
fn from(s: WTrajectoryFrustums) -> Self
Converts to this type from the input type.
Source§impl From<WTrajectorySpheres> for Widget3D
impl From<WTrajectorySpheres> for Widget3D
Source§fn from(s: WTrajectorySpheres) -> Self
fn from(s: WTrajectorySpheres) -> Self
Converts to this type from the input type.
Source§impl From<WWidgetMerger> for Widget3D
impl From<WWidgetMerger> for Widget3D
Source§fn from(s: WWidgetMerger) -> Self
fn from(s: WWidgetMerger) -> Self
Converts to this type from the input type.
Source§impl Widget3DTrait for Widget3D
impl Widget3DTrait for Widget3D
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 Widget3DTraitConst for Widget3D
impl Widget3DTraitConst for Widget3D
Source§impl WidgetTrait for Widget3D
impl WidgetTrait for Widget3D
Source§impl WidgetTraitConst for Widget3D
impl WidgetTraitConst for Widget3D
impl Send for Widget3D
Auto Trait Implementations§
impl Freeze for Widget3D
impl RefUnwindSafe for Widget3D
impl !Sync for Widget3D
impl Unpin for Widget3D
impl UnwindSafe for Widget3D
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