[−][src]Struct opencv::viz::WTrajectory
This 3D Widget represents a trajectory. :
Methods
impl WTrajectory[src]
pub fn as_raw_WTrajectory(&self) -> *mut c_void[src]
pub unsafe fn from_raw_ptr(ptr: *mut c_void) -> Self[src]
impl WTrajectory[src]
pub fn new(
path: &dyn ToInputArray,
display_mode: i32,
scale: f64,
color: &Color
) -> Result<WTrajectory>[src]
path: &dyn ToInputArray,
display_mode: i32,
scale: f64,
color: &Color
) -> Result<WTrajectory>
Constructs a WTrajectory.
Parameters
- path: List of poses on a trajectory. Takes std::vector<Affine<T>> with T == [float | double]
- display_mode: Display mode. This can be PATH, FRAMES, and BOTH.
- scale: Scale of the frames. Polyline is not affected.
- color: Color of the polyline that represents path.
Frames are not affected. Displays trajectory of the given path as follows:
- PATH : Displays a poly line that represents the path.
- FRAMES : Displays coordinate frames at each pose.
- PATH & FRAMES : Displays both poly line and coordinate frames.
C++ default parameters
- display_mode: WTrajectory::PATH
- scale: 1.0
- color: Color::white()
Trait Implementations
impl Drop for WTrajectory[src]
impl Send for WTrajectory[src]
impl WTrajectoryTrait for WTrajectory[src]
fn as_raw_WTrajectory(&self) -> *mut c_void[src]
impl Widget3DTrait for WTrajectory[src]
fn as_raw_Widget3D(&self) -> *mut c_void[src]
fn set_color(&mut self, color: &Color) -> Result<()>[src]
impl WidgetTrait for WTrajectory[src]
fn as_raw_Widget(&self) -> *mut c_void[src]
fn set_rendering_property(&mut self, property: i32, value: f64) -> Result<()>[src]
fn get_rendering_property(&self, property: i32) -> Result<f64>[src]
Auto Trait Implementations
impl RefUnwindSafe for WTrajectory
impl !Sync for WTrajectory
impl Unpin for WTrajectory
impl UnwindSafe for WTrajectory
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,