#include <blort/GLWindow/GLWindow.h>
#include <blort/Tracker/Tracker.h>
#include <blort/TomGine/tgCamera.h>
#include <blort/TomGine/tgMathlib.h>
#include <blort/Recognizer3D/Recognizer3D.h>
#include <blort/Tracker/CDataFile.h>
#include <stdexcept>
#include <string>
#include <blort/blort/pal_util.h>
Go to the source code of this file.
Functions | |
void | ConvertCam2World (const TomGine::tgPose &pC, const TomGine::tgPose &camPose, TomGine::tgPose &pW) |
void | ConvertCv2tgPoseWorld (const cv::Mat_< double > &R, const cv::Mat_< double > &T, const TomGine::tgPose &camPose, TomGine::tgPose &pose) |
void | GetCameraParameter (TomGine::tgCamera::Parameter &camPar, const char *cam_cal_file, const char *pose_cal_file) |
void | GetCameraParameterCV (TomGine::tgCamera::Parameter &camPar, CvMat *pImgSize, CvMat *pIntrinsicDistort, CvMat *pDistortions, const cv::Mat &R, const cv::Mat &T) |
void | getCamPose (const char *pose_cal_file, TomGine::tgPose &camPose) |
void | getCamPoseCvCheckerboard (const cv::Mat_< double > &R, const cv::Mat_< double > &T, TomGine::tgPose &camPose) |
void | GetPlySiftFilenames (const char *ini_file, std::vector< std::string > &ply_files, std::vector< std::string > &sift_files, std::vector< std::string > &model_names) |
void | GetRecognizerParameter (blortRecognizer::CameraParameter ¶ms, const TomGine::tgCamera::Parameter &camPar) |
void | GetRecognizerParameter (blortRecognizer::CameraParameter ¶ms, const char *cam_cal_file) |
void | GetTrackingParameter (Tracking::Tracker::Parameter ¶ms, const char *ini_file, std::string config_root=".") |
bool | InputControl (Tracking::Tracker *tracker, blortGLWindow::Event &event, std::string config_root="") |
CvMat * | load_xml (const char *filename) |
void | setCameraPose (TomGine::tgCamera::Parameter &camPar, const char *pose_cal_file) |
void ConvertCam2World | ( | const TomGine::tgPose & | pC, |
const TomGine::tgPose & | camPose, | ||
TomGine::tgPose & | pW | ||
) |
Definition at line 17 of file utilities.hpp.
void ConvertCv2tgPoseWorld | ( | const cv::Mat_< double > & | R, |
const cv::Mat_< double > & | T, | ||
const TomGine::tgPose & | camPose, | ||
TomGine::tgPose & | pose | ||
) |
Definition at line 22 of file utilities.hpp.
void GetCameraParameter | ( | TomGine::tgCamera::Parameter & | camPar, |
const char * | cam_cal_file, | ||
const char * | pose_cal_file | ||
) |
Definition at line 210 of file utilities.hpp.
void GetCameraParameterCV | ( | TomGine::tgCamera::Parameter & | camPar, |
CvMat * | pImgSize, | ||
CvMat * | pIntrinsicDistort, | ||
CvMat * | pDistortions, | ||
const cv::Mat & | R, | ||
const cv::Mat & | T | ||
) |
Definition at line 128 of file utilities.hpp.
void getCamPose | ( | const char * | pose_cal_file, |
TomGine::tgPose & | camPose | ||
) |
Definition at line 108 of file utilities.hpp.
void getCamPoseCvCheckerboard | ( | const cv::Mat_< double > & | R, |
const cv::Mat_< double > & | T, | ||
TomGine::tgPose & | camPose | ||
) |
Definition at line 85 of file utilities.hpp.
void GetPlySiftFilenames | ( | const char * | ini_file, |
std::vector< std::string > & | ply_files, | ||
std::vector< std::string > & | sift_files, | ||
std::vector< std::string > & | model_names | ||
) |
Definition at line 304 of file utilities.hpp.
void GetRecognizerParameter | ( | blortRecognizer::CameraParameter & | params, |
const TomGine::tgCamera::Parameter & | camPar | ||
) |
Definition at line 44 of file utilities.hpp.
void GetRecognizerParameter | ( | blortRecognizer::CameraParameter & | params, |
const char * | cam_cal_file | ||
) |
Definition at line 60 of file utilities.hpp.
void GetTrackingParameter | ( | Tracking::Tracker::Parameter & | params, |
const char * | ini_file, | ||
std::string | config_root = "." |
||
) |
Definition at line 254 of file utilities.hpp.
bool InputControl | ( | Tracking::Tracker * | tracker, |
blortGLWindow::Event & | event, | ||
std::string | config_root = "" |
||
) |
Definition at line 344 of file utilities.hpp.
CvMat* load_xml | ( | const char * | filename | ) |
Definition at line 418 of file utilities.hpp.
void setCameraPose | ( | TomGine::tgCamera::Parameter & | camPar, |
const char * | pose_cal_file | ||
) |
Definition at line 189 of file utilities.hpp.