Public Member Functions | Public Attributes | List of all members
aruco::Board Class Reference

#include <board.h>

Inheritance diagram for aruco::Board:
Inheritance graph

Public Member Functions

 Board ()
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)

Public Attributes

BoardConfiguration conf
cv::Mat Rvec
cv::Mat Tvec

Detailed Description

Definition at line 123 of file board.h.

Constructor & Destructor Documentation

aruco::Board::Board ( )

Definition at line 132 of file board.h.

Member Function Documentation

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 155 of file board.cpp.

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 210 of file board.cpp.

void aruco::Board::readFromFile ( string  filePath)
throw (cv::Exception

Read this from a file

Definition at line 330 of file board.cpp.

void aruco::Board::saveToFile ( string  filePath)
throw (cv::Exception

Save this from a file

Definition at line 301 of file board.cpp.

Member Data Documentation

BoardConfiguration aruco::Board::conf

Definition at line 127 of file board.h.

cv::Mat aruco::Board::Rvec

Definition at line 129 of file board.h.

cv::Mat aruco::Board::Tvec

Definition at line 129 of file board.h.

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

Author(s): Rafael Muñoz Salinas , Bence Magyar
autogenerated on Wed Sep 2 2020 04:02:09