[][src]Trait opencv::surface_matching::prelude::Pose3DTrait

pub trait Pose3DTrait {
    pub fn as_raw_Pose3D(&self) -> *const c_void;
pub fn as_raw_mut_Pose3D(&mut self) -> *mut c_void; pub fn alpha(&self) -> f64 { ... }
pub fn set_alpha(&mut self, val: f64) { ... }
pub fn residual(&self) -> f64 { ... }
pub fn set_residual(&mut self, val: f64) { ... }
pub fn model_index(&self) -> size_t { ... }
pub fn set_model_index(&mut self, val: size_t) { ... }
pub fn num_votes(&self) -> size_t { ... }
pub fn set_num_votes(&mut self, val: size_t) { ... }
pub fn pose(&self) -> Matx44d { ... }
pub fn set_pose(&mut self, val: Matx44d) { ... }
pub fn angle(&self) -> f64 { ... }
pub fn set_angle(&mut self, val: f64) { ... }
pub fn t(&self) -> Vec3d { ... }
pub fn set_t(&mut self, val: Vec3d) { ... }
pub fn q(&self) -> Vec4d { ... }
pub fn set_q(&mut self, val: Vec4d) { ... }
pub fn update_pose(&mut self, new_pose: &mut Matx44d) -> Result<()> { ... }
pub fn update_pose_1(
        &mut self,
        new_r: &mut Matx33d,
        new_t: &mut Vec3d
    ) -> Result<()> { ... }
pub fn update_pose_quat(
        &mut self,
        q: &mut Vec4d,
        new_t: &mut Vec3d
    ) -> Result<()> { ... }
pub fn append_pose(&mut self, incremental_pose: &mut Matx44d) -> Result<()> { ... }
pub fn print_pose(&mut self) -> Result<()> { ... }
pub fn clone(&mut self) -> Result<Ptr<Pose3D>> { ... }
pub fn write_pose(&mut self, file_name: &str) -> Result<i32> { ... }
pub fn read_pose(&mut self, file_name: &str) -> Result<i32> { ... } }

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

Required methods

Loading content...

Provided methods

pub fn alpha(&self) -> f64[src]

pub fn set_alpha(&mut self, val: f64)[src]

pub fn residual(&self) -> f64[src]

pub fn set_residual(&mut self, val: f64)[src]

pub fn model_index(&self) -> size_t[src]

pub fn set_model_index(&mut self, val: size_t)[src]

pub fn num_votes(&self) -> size_t[src]

pub fn set_num_votes(&mut self, val: size_t)[src]

pub fn pose(&self) -> Matx44d[src]

pub fn set_pose(&mut self, val: Matx44d)[src]

pub fn angle(&self) -> f64[src]

pub fn set_angle(&mut self, val: f64)[src]

pub fn t(&self) -> Vec3d[src]

pub fn set_t(&mut self, val: Vec3d)[src]

pub fn q(&self) -> Vec4d[src]

pub fn set_q(&mut self, val: Vec4d)[src]

pub fn update_pose(&mut self, new_pose: &mut Matx44d) -> Result<()>[src]

\brief Updates the pose with the new one \param [in] NewPose New pose to overwrite

pub fn update_pose_1(
    &mut self,
    new_r: &mut Matx33d,
    new_t: &mut Vec3d
) -> Result<()>
[src]

\brief Updates the pose with the new one

pub fn update_pose_quat(
    &mut self,
    q: &mut Vec4d,
    new_t: &mut Vec3d
) -> Result<()>
[src]

\brief Updates the pose with the new one, but this time using quaternions to represent rotation

pub fn append_pose(&mut self, incremental_pose: &mut Matx44d) -> Result<()>[src]

\brief Left multiplies the existing pose in order to update the transformation \param [in] IncrementalPose New pose to apply

pub fn print_pose(&mut self) -> Result<()>[src]

pub fn clone(&mut self) -> Result<Ptr<Pose3D>>[src]

pub fn write_pose(&mut self, file_name: &str) -> Result<i32>[src]

pub fn read_pose(&mut self, file_name: &str) -> Result<i32>[src]

Loading content...

Implementors

impl Pose3DTrait for Pose3D[src]

impl Pose3DTrait for PtrOfPose3D[src]

Loading content...