Trait opencv::surface_matching::Pose3DTrait [−][src]
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
fn as_raw_Pose3D(&self) -> *const c_void[src]
fn as_raw_mut_Pose3D(&mut self) -> *mut c_void[src]
Provided methods
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]
\brief Updates the pose with the new one \param [in] NewPose New pose to overwrite
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<()>
\brief Updates the pose with the new one
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
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