Struct urdf_viz::Viewer[][src]

pub struct Viewer {
    pub window: Window,
    // some fields omitted
}

Fields

window: Window

Implementations

impl Viewer[src]

pub fn new(title: &str) -> Viewer[src]

pub fn with_background_color(title: &str, color: (f32, f32, f32)) -> Viewer[src]

pub fn disable_texture(&mut self)[src]

pub fn enable_texture(&mut self)[src]

pub fn add_robot(&mut self, urdf_robot: &Robot)[src]

pub fn add_robot_with_base_dir(
    &mut self,
    urdf_robot: &Robot,
    base_dir: Option<&Path>
)
[src]

pub fn add_robot_with_base_dir_and_collision_flag(
    &mut self,
    urdf_robot: &Robot,
    base_dir: Option<&Path>,
    is_collision: bool
)
[src]

pub fn remove_robot(&mut self, urdf_robot: &Robot)[src]

pub fn add_axis_cylinders(&mut self, name: &str, size: f32)[src]

pub fn scene_node(&mut self, name: &str) -> Option<&SceneNode>[src]

pub fn scene_node_mut(&mut self, name: &str) -> Option<&mut SceneNode>[src]

pub fn render(&mut self) -> bool[src]

pub fn update<T>(&mut self, robot: &Chain<T>) where
    T: RealField + SubsetOf<f64> + SubsetOf<f32>, 
[src]

pub fn draw_text(
    &mut self,
    text: &str,
    size: f32,
    pos: &Point2<f32>,
    color: &Point3<f32>
)
[src]

pub fn events(&self) -> EventManager[src]

pub fn set_temporal_color(&mut self, link_name: &str, r: f32, g: f32, b: f32)[src]

pub fn reset_temporal_color(&mut self, link_name: &str)[src]

pub fn add_ground(
    &mut self,
    ground_height: f32,
    panel_size: f32,
    half_panel_num: i32,
    ground_color1: (f32, f32, f32),
    ground_color2: (f32, f32, f32)
) -> Vec<SceneNode>
[src]

Auto Trait Implementations

impl !RefUnwindSafe for Viewer

impl !Send for Viewer

impl !Sync for Viewer

impl Unpin for Viewer

impl !UnwindSafe for Viewer

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Downcast for T where
    T: Any

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,