Class cv::ppf_match_3d::PoseCluster3D#
When multiple poses (see Pose3D) are grouped together (contribute to the same transformation) pose clusters occur. This class is a general container for such groups of poses. It is possible to store, load and perform IO on these poses.
#include <opencv2/surface_matching/pose_3d.hpp>Collaboration diagram for cv::ppf_match_3d::PoseCluster3D:
Detailed Description#
When multiple poses (see Pose3D) are grouped together (contribute to the same transformation) pose clusters occur. This class is a general container for such groups of poses. It is possible to store, load and perform IO on these poses.
Constructor & Destructor Documentation#
PoseCluster3D()#
cv::ppf_match_3d::PoseCluster3D::PoseCluster3D()
PoseCluster3D()#
cv::ppf_match_3d::PoseCluster3D::PoseCluster3D(Pose3DPtr newPose)
PoseCluster3D()#
cv::ppf_match_3d::PoseCluster3D::PoseCluster3D(
Pose3DPtr newPose,
int newId )
~PoseCluster3D()#
cv::ppf_match_3d::PoseCluster3D::~PoseCluster3D()
Member Function Documentation#
addPose()#
void cv::ppf_match_3d::PoseCluster3D::addPose(Pose3DPtr newPose)
Adds a new pose to the cluster. The pose should be “close” to the mean poses in order to preserve the consistency.
Parameters
newPose— Pose to add to the cluster
readPoseCluster()#
int cv::ppf_match_3d::PoseCluster3D::readPoseCluster(const std::string & FileName)
readPoseCluster()#
int cv::ppf_match_3d::PoseCluster3D::readPoseCluster(FILE * f)
writePoseCluster()#
int cv::ppf_match_3d::PoseCluster3D::writePoseCluster(const std::string & FileName)
writePoseCluster()#
int cv::ppf_match_3d::PoseCluster3D::writePoseCluster(FILE * f)
Member Data Documentation#
id#
int cv::ppf_match_3d::PoseCluster3D::id
numVotes#
size_t cv::ppf_match_3d::PoseCluster3D::numVotes
poseList#
std::vector< Pose3DPtr > cv::ppf_match_3d::PoseCluster3D::poseList
Source file#
The documentation for this class was generated from the following file:
opencv2/surface_matching/pose_3d.hpp