OpenCV  3.2.0
Open Source Computer Vision
Public Member Functions | Public Attributes | List of all members
cv::ppf_match_3d::Pose3D Class Reference

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

#include "pose_3d.hpp"

Public Member Functions

 Pose3D ()
 
 Pose3D (double Alpha, unsigned int ModelIndex=0, unsigned int NumVotes=0)
 
virtual ~Pose3D ()
 
void appendPose (double IncrementalPose[16])
 Left multiplies the existing pose in order to update the transformation. More...
 
Pose3DPtr clone ()
 
void printPose ()
 
int readPose (FILE *f)
 
int readPose (const std::string &FileName)
 
void updatePose (double NewPose[16])
 Updates the pose with the new one. More...
 
void updatePose (double NewR[9], double NewT[3])
 Updates the pose with the new one. More...
 
void updatePoseQuat (double Q[4], double NewT[3])
 Updates the pose with the new one, but this time using quaternions to represent rotation. More...
 
int writePose (FILE *f)
 
int writePose (const std::string &FileName)
 

Public Attributes

double alpha
 
double angle
 
unsigned int modelIndex
 
unsigned int numVotes
 
double pose [16]
 
double q [4]
 
double residual
 
double t [3]
 

Detailed Description

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.

Constructor & Destructor Documentation

§ Pose3D() [1/2]

cv::ppf_match_3d::Pose3D::Pose3D ( )

§ Pose3D() [2/2]

cv::ppf_match_3d::Pose3D::Pose3D ( double  Alpha,
unsigned int  ModelIndex = 0,
unsigned int  NumVotes = 0 
)

§ ~Pose3D()

virtual cv::ppf_match_3d::Pose3D::~Pose3D ( )
virtual

Member Function Documentation

§ appendPose()

void cv::ppf_match_3d::Pose3D::appendPose ( double  IncrementalPose[16])

Left multiplies the existing pose in order to update the transformation.

Parameters
[in]IncrementalPoseNew pose to apply

§ clone()

Pose3DPtr cv::ppf_match_3d::Pose3D::clone ( )

§ printPose()

void cv::ppf_match_3d::Pose3D::printPose ( )

§ readPose() [1/2]

int cv::ppf_match_3d::Pose3D::readPose ( FILE *  f)

§ readPose() [2/2]

int cv::ppf_match_3d::Pose3D::readPose ( const std::string &  FileName)

§ updatePose() [1/2]

void cv::ppf_match_3d::Pose3D::updatePose ( double  NewPose[16])

Updates the pose with the new one.

Parameters
[in]NewPoseNew pose to overwrite

§ updatePose() [2/2]

void cv::ppf_match_3d::Pose3D::updatePose ( double  NewR[9],
double  NewT[3] 
)

Updates the pose with the new one.

§ updatePoseQuat()

void cv::ppf_match_3d::Pose3D::updatePoseQuat ( double  Q[4],
double  NewT[3] 
)

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

§ writePose() [1/2]

int cv::ppf_match_3d::Pose3D::writePose ( FILE *  f)

§ writePose() [2/2]

int cv::ppf_match_3d::Pose3D::writePose ( const std::string &  FileName)

Member Data Documentation

§ alpha

double cv::ppf_match_3d::Pose3D::alpha

§ angle

double cv::ppf_match_3d::Pose3D::angle

§ modelIndex

unsigned int cv::ppf_match_3d::Pose3D::modelIndex

§ numVotes

unsigned int cv::ppf_match_3d::Pose3D::numVotes

§ pose

double cv::ppf_match_3d::Pose3D::pose[16]

§ q

double cv::ppf_match_3d::Pose3D::q[4]

§ residual

double cv::ppf_match_3d::Pose3D::residual

§ t

double cv::ppf_match_3d::Pose3D::t[3]

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