Struct urdf_viz::Viewer
[−]
[src]
pub struct Viewer { pub window: Window, pub scenes: HashMap<String, SceneNodeAndTransform>, pub arc_ball: ArcBall, // some fields omitted }
Fields
window: Window
scenes: HashMap<String, SceneNodeAndTransform>
arc_ball: ArcBall
Methods
impl Viewer
[src]
fn new(title: &str) -> Viewer
[src]
fn add_robot(&mut self, urdf_robot: &Robot)
[src]
fn add_robot_with_base_dir(
&mut self,
urdf_robot: &Robot,
base_dir: Option<&Path>
)
[src]
&mut self,
urdf_robot: &Robot,
base_dir: Option<&Path>
)
fn add_robot_with_base_dir_and_collision_flag(
&mut self,
urdf_robot: &Robot,
base_dir: Option<&Path>,
is_collision: bool
)
[src]
&mut self,
urdf_robot: &Robot,
base_dir: Option<&Path>,
is_collision: bool
)
fn remove_robot(&mut self, urdf_robot: &Robot)
[src]
fn add_axis_cylinders(&mut self, name: &str, size: f32)
[src]
fn render(&mut self) -> bool
[src]
fn update<R, T>(&mut self, robot: &R) where
R: LinkContainer<T>,
T: Real + SubsetOf<f32>,
[src]
R: LinkContainer<T>,
T: Real + SubsetOf<f32>,
fn draw_text(
&mut self,
text: &str,
size: i32,
pos: &Point2<f32>,
color: &Point3<f32>
)
[src]
&mut self,
text: &str,
size: i32,
pos: &Point2<f32>,
color: &Point3<f32>
)