#include <board.h>
|
| Board () |
|
void | draw (cv::Mat &im, cv::Scalar color, int lineWidth=1, bool writeId=true) |
|
void | glGetModelViewMatrix (double modelview_matrix[16]) throw (cv::Exception) |
|
void | OgreGetPoseParameters (double position[3], double orientation[4]) throw (cv::Exception) |
|
void | readFromFile (string filePath) throw (cv::Exception) |
|
void | saveToFile (string filePath) throw (cv::Exception) |
|
Definition at line 128 of file board.h.
◆ Board()
◆ draw()
void aruco::Board::draw |
( |
cv::Mat & |
im, |
|
|
cv::Scalar |
color, |
|
|
int |
lineWidth = 1 , |
|
|
bool |
writeId = true |
|
) |
| |
Draws the detected markers
Definition at line 299 of file board.cpp.
◆ glGetModelViewMatrix()
void aruco::Board::glGetModelViewMatrix |
( |
double |
modelview_matrix[16] | ) |
|
throw | ( | cv::Exception |
| ) | | |
Given the extrinsic camera parameters returns the GL_MODELVIEW matrix for opengl. Setting this matrix, the reference corrdinate system will be set in this board
Definition at line 159 of file board.cpp.
◆ OgreGetPoseParameters()
void aruco::Board::OgreGetPoseParameters |
( |
double |
position[3], |
|
|
double |
orientation[4] |
|
) |
| |
throw | ( | cv::Exception |
| ) | | |
Returns position vector and orientation quaternion for an Ogre scene node or entity. Use: ... Ogre::Vector3 ogrePos (position[0], position[1], position[2]); Ogre::Quaternion ogreOrient (orientation[0], orientation[1], orientation[2], orientation[3]); mySceneNode->setPosition( ogrePos ); mySceneNode->setOrientation( ogreOrient ); ...
Definition at line 213 of file board.cpp.
◆ readFromFile()
void aruco::Board::readFromFile |
( |
string |
filePath | ) |
|
throw | ( | cv::Exception |
| ) | | |
Read this from a file
Definition at line 336 of file board.cpp.
◆ saveToFile()
void aruco::Board::saveToFile |
( |
string |
filePath | ) |
|
throw | ( | cv::Exception |
| ) | | |
Save this from a file
Definition at line 307 of file board.cpp.
◆ conf
◆ Rvec
cv::Mat aruco::Board::Rvec |
◆ Tvec
cv::Mat aruco::Board::Tvec |
The documentation for this class was generated from the following files: