OpenCV  3.0.0
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
cv::ppf_match_3d::PoseCluster3D Class Reference

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. More...

#include "pose_3d.hpp"

Public Member Functions

 PoseCluster3D ()
 
 PoseCluster3D (Pose3DPtr newPose)
 
 PoseCluster3D (Pose3DPtr newPose, int newId)
 
virtual ~PoseCluster3D ()
 
void 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. More...
 
int readPoseCluster (FILE *f)
 
int readPoseCluster (const std::string &FileName)
 
int writePoseCluster (FILE *f)
 
int writePoseCluster (const std::string &FileName)
 

Public Attributes

int id
 
int numVotes
 
std::vector< Pose3DPtrposeList
 

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

cv::ppf_match_3d::PoseCluster3D::PoseCluster3D ( )
inline
cv::ppf_match_3d::PoseCluster3D::PoseCluster3D ( Pose3DPtr  newPose)
inline
cv::ppf_match_3d::PoseCluster3D::PoseCluster3D ( Pose3DPtr  newPose,
int  newId 
)
inline
virtual cv::ppf_match_3d::PoseCluster3D::~PoseCluster3D ( )
inlinevirtual

Member Function Documentation

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
[in]newPosePose to add to the cluster
int cv::ppf_match_3d::PoseCluster3D::readPoseCluster ( FILE *  f)
int cv::ppf_match_3d::PoseCluster3D::readPoseCluster ( const std::string &  FileName)
int cv::ppf_match_3d::PoseCluster3D::writePoseCluster ( FILE *  f)
int cv::ppf_match_3d::PoseCluster3D::writePoseCluster ( const std::string &  FileName)

Member Data Documentation

int cv::ppf_match_3d::PoseCluster3D::id
int cv::ppf_match_3d::PoseCluster3D::numVotes
std::vector<Pose3DPtr> cv::ppf_match_3d::PoseCluster3D::poseList

The documentation for this class was generated from the following file: