[−][src]Struct opencv::surface_matching::Pose3D
Class, allowing the storage of a pose. The data structure stores both the quaternions and the matrix forms. It supports IO functionality together with various helper methods to work with poses
Implementations
impl Pose3D
[src]
pub fn as_raw_Pose3D(&self) -> *const c_void
[src]
pub fn as_raw_mut_Pose3D(&mut self) -> *mut c_void
[src]
impl Pose3D
[src]
pub fn default() -> Result<Pose3D>
[src]
pub fn new(alpha: f64, model_index: size_t, num_votes: size_t) -> Result<Pose3D>
[src]
C++ default parameters
- model_index: 0
- num_votes: 0
Trait Implementations
impl Boxed for Pose3D
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for Pose3D
[src]
impl Pose3DTrait for Pose3D
[src]
fn as_raw_Pose3D(&self) -> *const c_void
[src]
fn as_raw_mut_Pose3D(&mut self) -> *mut c_void
[src]
fn alpha(&self) -> f64
[src]
fn set_alpha(&mut self, val: f64)
[src]
fn residual(&self) -> f64
[src]
fn set_residual(&mut self, val: f64)
[src]
fn model_index(&self) -> size_t
[src]
fn set_model_index(&mut self, val: size_t)
[src]
fn num_votes(&self) -> size_t
[src]
fn set_num_votes(&mut self, val: size_t)
[src]
fn pose(&self) -> Matx44d
[src]
fn set_pose(&mut self, val: Matx44d)
[src]
fn angle(&self) -> f64
[src]
fn set_angle(&mut self, val: f64)
[src]
fn t(&self) -> Vec3d
[src]
fn set_t(&mut self, val: Vec3d)
[src]
fn q(&self) -> Vec4d
[src]
fn set_q(&mut self, val: Vec4d)
[src]
fn update_pose(&mut self, new_pose: &mut Matx44d) -> Result<()>
[src]
fn update_pose_1(
&mut self,
new_r: &mut Matx33d,
new_t: &mut Vec3d
) -> Result<()>
[src]
&mut self,
new_r: &mut Matx33d,
new_t: &mut Vec3d
) -> Result<()>
fn update_pose_quat(&mut self, q: &mut Vec4d, new_t: &mut Vec3d) -> Result<()>
[src]
fn append_pose(&mut self, incremental_pose: &mut Matx44d) -> Result<()>
[src]
fn print_pose(&mut self) -> Result<()>
[src]
fn clone(&mut self) -> Result<Ptr<Pose3D>>
[src]
fn write_pose(&mut self, file_name: &str) -> Result<i32>
[src]
fn read_pose(&mut self, file_name: &str) -> Result<i32>
[src]
impl Send for Pose3D
[src]
Auto Trait Implementations
impl RefUnwindSafe for Pose3D
[src]
impl !Sync for Pose3D
[src]
impl Unpin for Pose3D
[src]
impl UnwindSafe for Pose3D
[src]
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> 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.
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>,