Struct urdf_viz::Viewer [−][src]
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]
&mut self,
urdf_robot: &Robot,
base_dir: Option<&Path>
)
pub 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
)
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]
T: RealField + SubsetOf<f64> + SubsetOf<f32>,
pub fn draw_text(
&mut self,
text: &str,
size: f32,
pos: &Point2<f32>,
color: &Point3<f32>
)
[src]
&mut self,
text: &str,
size: f32,
pos: &Point2<f32>,
color: &Point3<f32>
)
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]
&mut self,
ground_height: f32,
panel_size: f32,
half_panel_num: i32,
ground_color1: (f32, f32, f32),
ground_color2: (f32, f32, f32)
) -> Vec<SceneNode>
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]
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,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
pub fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any(&self) -> &(dyn Any + 'static)
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,
pub fn to_subset(&self) -> Option<SS>
pub fn is_in_subset(&self) -> bool
pub fn to_subset_unchecked(&self) -> SS
pub fn from_subset(element: &SS) -> SP
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.
pub 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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,