pub struct WPolyLine { /* private fields */ }Expand description
This 3D Widget defines a poly line. :
Implementations
sourceimpl WPolyLine
impl WPolyLine
pub fn new(
points: &dyn ToInputArray,
colors: &dyn ToInputArray
) -> Result<WPolyLine>
sourcepub fn new_1(points: &dyn ToInputArray, color: &Color) -> Result<WPolyLine>
pub fn new_1(points: &dyn ToInputArray, color: &Color) -> Result<WPolyLine>
Constructs a WPolyLine.
Parameters
- points: Point set.
- color: Color of the poly line.
C++ default parameters
- color: Color::white()
Trait Implementations
sourceimpl Boxed for WPolyLine
impl Boxed for WPolyLine
sourceimpl WPolyLineTrait for WPolyLine
impl WPolyLineTrait for WPolyLine
fn as_raw_mut_WPolyLine(&mut self) -> *mut c_void
sourceimpl WPolyLineTraitConst for WPolyLine
impl WPolyLineTraitConst for WPolyLine
fn as_raw_WPolyLine(&self) -> *const c_void
sourceimpl Widget3DTrait for WPolyLine
impl Widget3DTrait for WPolyLine
fn as_raw_mut_Widget3D(&mut self) -> *mut c_void
sourcefn 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
sourceimpl Widget3DTraitConst for WPolyLine
impl Widget3DTraitConst for WPolyLine
sourceimpl WidgetTrait for WPolyLine
impl WidgetTrait for WPolyLine
sourceimpl WidgetTraitConst for WPolyLine
impl WidgetTraitConst for WPolyLine
fn as_raw_Widget(&self) -> *const c_void
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more