pub struct WPolyLine { /* private fields */ }Expand description
This 3D Widget defines a poly line. :
Implementations§
source§impl WPolyLine
impl WPolyLine
pub fn new( points: &impl ToInputArray, colors: &impl ToInputArray ) -> Result<WPolyLine>
sourcepub fn new_1(points: &impl ToInputArray, color: &Color) -> Result<WPolyLine>
pub fn new_1(points: &impl ToInputArray, color: &Color) -> Result<WPolyLine>
Constructs a WPolyLine.
Parameters
- points: Point set.
- color: Color of the poly line.
C++ default parameters
- color: Color::white()
sourcepub fn new_def(points: &impl ToInputArray) -> Result<WPolyLine>
pub fn new_def(points: &impl ToInputArray) -> Result<WPolyLine>
Constructs a WPolyLine.
Parameters
- points: Point set.
- color: Color of the poly line.
Note
This alternative version of [new] function uses the following default values for its arguments:
- color: Color::white()
Trait Implementations§
source§impl Boxed for WPolyLine
impl Boxed for WPolyLine
source§impl WPolyLineTrait for WPolyLine
impl WPolyLineTrait for WPolyLine
fn as_raw_mut_WPolyLine(&mut self) -> *mut c_void
source§impl WPolyLineTraitConst for WPolyLine
impl WPolyLineTraitConst for WPolyLine
fn as_raw_WPolyLine(&self) -> *const c_void
source§impl Widget3DTrait for WPolyLine
impl Widget3DTrait for WPolyLine
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 WPolyLine
impl Widget3DTraitConst for WPolyLine
source§impl WidgetTrait for WPolyLine
impl WidgetTrait for WPolyLine
source§impl WidgetTraitConst for WPolyLine
impl WidgetTraitConst for WPolyLine
impl Send for WPolyLine
Auto Trait Implementations§
impl RefUnwindSafe for WPolyLine
impl !Sync for WPolyLine
impl Unpin for WPolyLine
impl UnwindSafe for WPolyLine
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