28 #ifndef _Aruco_board_h 29 #define _Aruco_board_h 30 #include <opencv2/core/core.hpp> 45 vector< cv::Point3f >::operator=(MI);
97 void saveToFile(
string sfile)
throw(cv::Exception);
100 void readFromFile(
string sfile)
throw(cv::Exception);
109 int getIndexOfMarkerId(
int id)
const;
112 const MarkerInfo &getMarkerInfo(
int id)
const throw(cv::Exception);
115 void getIdList(vector< int > &ids,
bool append =
true)
const;
120 void saveToFile(cv::FileStorage &fs)
throw(cv::Exception);
123 void readFromFile(cv::FileStorage &fs)
throw(cv::Exception);
137 Rvec.create(3, 1, CV_32FC1);
138 Tvec.create(3, 1, CV_32FC1);
139 for (
int i = 0; i < 3; i++)
140 Tvec.at<
float >(i, 0) = Rvec.at<
float >(i, 0) = -999999;
146 void glGetModelViewMatrix(
double modelview_matrix[16])
throw(cv::Exception);
158 void OgreGetPoseParameters(
double position[3],
double orientation[4])
throw(cv::Exception);
163 void saveToFile(
string filePath)
throw(cv::Exception);
166 void readFromFile(
string filePath)
throw(cv::Exception);
170 void draw(cv::Mat &im, cv::Scalar color,
int lineWidth = 1,
bool writeId =
true);
MarkerInfo & operator=(const MarkerInfo &MI)
bool isExpressedInPixels() const
This class defines a board with several markers. A Board contains several markers so that they are mo...
bool isExpressedInMeters() const
ROSCPP_DECL std::string append(const std::string &left, const std::string &right)
MarkerInfo(const MarkerInfo &MI)