opencv::prelude

Trait Pose3DTrait

source
pub trait Pose3DTrait: Pose3DTraitConst {
Show 17 methods // Required method fn as_raw_mut_Pose3D(&mut self) -> *mut c_void; // Provided methods fn set_alpha(&mut self, val: f64) { ... } fn set_residual(&mut self, val: f64) { ... } fn set_model_index(&mut self, val: size_t) { ... } fn set_num_votes(&mut self, val: size_t) { ... } fn set_pose(&mut self, val: Matx44d) { ... } fn set_angle(&mut self, val: f64) { ... } fn set_t(&mut self, val: Vec3d) { ... } fn set_q(&mut self, val: Vec4d) { ... } fn update_pose(&mut self, new_pose: &mut Matx44d) -> Result<()> { ... } fn update_pose_1( &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<()> { ... } fn append_pose(&mut self, incremental_pose: &mut Matx44d) -> Result<()> { ... } fn print_pose(&mut self) -> Result<()> { ... } fn clone(&mut self) -> Result<Pose3DPtr> { ... } fn write_pose(&mut self, file_name: &str) -> Result<i32> { ... } fn read_pose(&mut self, file_name: &str) -> Result<i32> { ... }
}
Expand description

Mutable methods for crate::surface_matching::Pose3D

Required Methods§

Provided Methods§

source

fn set_alpha(&mut self, val: f64)

source

fn set_residual(&mut self, val: f64)

source

fn set_model_index(&mut self, val: size_t)

source

fn set_num_votes(&mut self, val: size_t)

source

fn set_pose(&mut self, val: Matx44d)

source

fn set_angle(&mut self, val: f64)

source

fn set_t(&mut self, val: Vec3d)

source

fn set_q(&mut self, val: Vec4d)

source

fn update_pose(&mut self, new_pose: &mut Matx44d) -> Result<()>

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

source

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

\brief Updates the pose with the new one

source

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

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

source

fn append_pose(&mut self, incremental_pose: &mut Matx44d) -> Result<()>

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

source

fn print_pose(&mut self) -> Result<()>

source

fn clone(&mut self) -> Result<Pose3DPtr>

source

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

source

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

Implementors§