Struct ringl::object::Object [−][src]
pub struct Object<G> { /* fields omitted */ }
Methods
impl<G> Object<G>
[src]
impl<G> Object<G>
Trait Implementations
impl<G> NodeT for Object<G>
[src]
impl<G> NodeT for Object<G>
fn node(&self) -> &Node
[src]
fn node(&self) -> &Node
fn node_mut(&mut self) -> &mut Node
[src]
fn node_mut(&mut self) -> &mut Node
fn update_with_parent_flags(
&mut self,
parent: Option<&Node>,
flags: Flags
) -> bool
[src]
fn update_with_parent_flags(
&mut self,
parent: Option<&Node>,
flags: Flags
) -> bool
fn set_position(&mut self, pos: &Point<f32, U3>)
[src]
fn set_position(&mut self, pos: &Point<f32, U3>)
fn position(&self) -> Point<f32, U3>
[src]
fn position(&self) -> Point<f32, U3>
fn set_angle_axis(
&mut self,
angle: f32,
axis: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
)
[src]
fn set_angle_axis(
&mut self,
angle: f32,
axis: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
)
fn set_orientation(&mut self, q: &Unit<Quaternion<f32>>)
[src]
fn set_orientation(&mut self, q: &Unit<Quaternion<f32>>)
fn orientation(&self) -> Unit<Quaternion<f32>>
[src]
fn orientation(&self) -> Unit<Quaternion<f32>>
fn rotation(&self) -> Rotation<f32, U3>
[src]
fn rotation(&self) -> Rotation<f32, U3>
fn look_at(
&mut self,
at: &Point<f32, U3>,
up: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
)
[src]
fn look_at(
&mut self,
at: &Point<f32, U3>,
up: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
)
fn rotate(
&mut self,
angle: Rad<f32>,
axis: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
)
[src]
fn rotate(
&mut self,
angle: Rad<f32>,
axis: &Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
)
fn append_rotation(&mut self, rot: &Unit<Quaternion<f32>>)
[src]
fn append_rotation(&mut self, rot: &Unit<Quaternion<f32>>)
fn translate(
&mut self,
t: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
)
[src]
fn translate(
&mut self,
t: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
)
fn scale(
&self
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]
fn scale(
&self
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
fn set_scale(
&mut self,
s: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
)
[src]
fn set_scale(
&mut self,
s: &Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
)
fn x_axis(
&self
) -> Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
[src]
fn x_axis(
&self
) -> Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
fn y_axis(
&self
) -> Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
[src]
fn y_axis(
&self
) -> Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
fn z_axis(
&self
) -> Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
[src]
fn z_axis(
&self
) -> Unit<Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>>
fn tilt(&mut self, angle: Rad<f32>)
[src]
fn tilt(&mut self, angle: Rad<f32>)
fn pan(&mut self, angle: Rad<f32>)
[src]
fn pan(&mut self, angle: Rad<f32>)
fn roll(&mut self, angle: Rad<f32>)
[src]
fn roll(&mut self, angle: Rad<f32>)
fn local_transformation(
&self
) -> Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
[src]
fn local_transformation(
&self
) -> Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
fn global_transformation(
&self
) -> Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
[src]
fn global_transformation(
&self
) -> Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
fn global_position(&self) -> Point<f32, U3>
[src]
fn global_position(&self) -> Point<f32, U3>
fn global_orientation(&self) -> Unit<Quaternion<f32>>
[src]
fn global_orientation(&self) -> Unit<Quaternion<f32>>
fn global_scale(
&self
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
[src]
fn global_scale(
&self
) -> Matrix<f32, U3, U1, <DefaultAllocator as Allocator<f32, U3, U1>>::Buffer>
fn inv_local_transformation(
&self
) -> Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
[src]
fn inv_local_transformation(
&self
) -> Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
fn inv_global_transformation(
&self
) -> Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
[src]
fn inv_global_transformation(
&self
) -> Matrix<f32, U4, U4, <DefaultAllocator as Allocator<f32, U4, U4>>::Buffer>
fn update_with_parent(&mut self, parent: Option<&Node>) -> bool
[src]
fn update_with_parent(&mut self, parent: Option<&Node>) -> bool