pub struct WMesh { /* private fields */ }
Expand description
Constructs a WMesh.
Parameters
- mesh: Mesh object that will be displayed.
- cloud: Points of the mesh object.
- polygons: Points of the mesh object.
- colors: Point colors.
- normals: Point normals.
Implementations§
source§impl WMesh
impl WMesh
pub fn new(mesh: &Mesh) -> Result<WMesh>
sourcepub fn new_1(
cloud: &impl ToInputArray,
polygons: &impl ToInputArray,
colors: &impl ToInputArray,
normals: &impl ToInputArray
) -> Result<WMesh>
pub fn new_1( cloud: &impl ToInputArray, polygons: &impl ToInputArray, colors: &impl ToInputArray, normals: &impl ToInputArray ) -> Result<WMesh>
C++ default parameters
- colors: noArray()
- normals: noArray()
sourcepub fn new_def(
cloud: &impl ToInputArray,
polygons: &impl ToInputArray
) -> Result<WMesh>
pub fn new_def( cloud: &impl ToInputArray, polygons: &impl ToInputArray ) -> Result<WMesh>
Note
This alternative version of [new] function uses the following default values for its arguments:
- colors: noArray()
- normals: noArray()
Trait Implementations§
source§impl Boxed for WMesh
impl Boxed for WMesh
source§impl WMeshTrait for WMesh
impl WMeshTrait for WMesh
fn as_raw_mut_WMesh(&mut self) -> *mut c_void
source§impl WMeshTraitConst for WMesh
impl WMeshTraitConst for WMesh
fn as_raw_WMesh(&self) -> *const c_void
source§impl Widget3DTrait for WMesh
impl Widget3DTrait for WMesh
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 WMesh
impl Widget3DTraitConst for WMesh
source§impl WidgetTrait for WMesh
impl WidgetTrait for WMesh
source§impl WidgetTraitConst for WMesh
impl WidgetTraitConst for WMesh
impl Send for WMesh
Auto Trait Implementations§
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