pub struct WPolyLine { /* private fields */ }
Expand description
This 3D Widget defines a poly line. :
Implementations§
source§impl 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§
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