#include <pose_estimator.h>
Public Member Functions | |
| bool | getPlanar () const |
| const cv::Mat_< cv::Vec3f > & | objectModel () const |
| PoseEstimator () | |
| PoseEstimator (const cv::Mat &object_points) | |
| void | setObjectModel (const cv::Mat &object_points) |
| void | setPlanar (bool is_planar) |
| tf::Pose | solve (const std::vector< cv::Point2f > &image_points, const image_geometry::PinholeCameraModel &model) const |
| tf::Pose | solveWithPrior (const std::vector< cv::Point2f > &image_points, const image_geometry::PinholeCameraModel &model, const tf::Pose &prior) const |
Protected Member Functions | |
| void | solveImpl (const std::vector< cv::Point2f > &image_points, const image_geometry::PinholeCameraModel &model, tf::Pose &pose, bool have_prior) const |
Protected Attributes | |
| cv::Mat_< cv::Vec3f > | object_points_ |
| bool | use_planar_solve_ |
Definition at line 10 of file pose_estimator.h.
Definition at line 6 of file pose_estimator.cpp.
| visual_pose_estimation::PoseEstimator::PoseEstimator | ( | const cv::Mat & | object_points | ) |
Definition at line 11 of file pose_estimator.cpp.
| bool visual_pose_estimation::PoseEstimator::getPlanar | ( | ) | const [inline] |
Definition at line 48 of file pose_estimator.h.
| const cv::Mat_< cv::Vec3f > & visual_pose_estimation::PoseEstimator::objectModel | ( | ) | const [inline] |
Definition at line 43 of file pose_estimator.h.
| void visual_pose_estimation::PoseEstimator::setObjectModel | ( | const cv::Mat & | object_points | ) |
Definition at line 17 of file pose_estimator.cpp.
| void visual_pose_estimation::PoseEstimator::setPlanar | ( | bool | is_planar | ) | [inline] |
Definition at line 49 of file pose_estimator.h.
| tf::Pose visual_pose_estimation::PoseEstimator::solve | ( | const std::vector< cv::Point2f > & | image_points, |
| const image_geometry::PinholeCameraModel & | model | ||
| ) | const |
Definition at line 22 of file pose_estimator.cpp.
| void visual_pose_estimation::PoseEstimator::solveImpl | ( | const std::vector< cv::Point2f > & | image_points, |
| const image_geometry::PinholeCameraModel & | model, | ||
| tf::Pose & | pose, | ||
| bool | have_prior | ||
| ) | const [protected] |
Definition at line 39 of file pose_estimator.cpp.
| tf::Pose visual_pose_estimation::PoseEstimator::solveWithPrior | ( | const std::vector< cv::Point2f > & | image_points, |
| const image_geometry::PinholeCameraModel & | model, | ||
| const tf::Pose & | prior | ||
| ) | const |
Definition at line 30 of file pose_estimator.cpp.
cv::Mat_<cv::Vec3f> visual_pose_estimation::PoseEstimator::object_points_ [protected] |
Definition at line 34 of file pose_estimator.h.
bool visual_pose_estimation::PoseEstimator::use_planar_solve_ [protected] |
Definition at line 35 of file pose_estimator.h.