#include <iostream>
#include <fstream>
#include <sstream>
#include <GL/gl.h>
#include <GL/glut.h>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/calib3d/calib3d.hpp>
#include "aruco.h"
#include "markermap.h"
Go to the source code of this file.
Functions | |
void | __glGetModelViewMatrix (double modelview_matrix[16], const cv::Mat &Rvec, const cv::Mat &Tvec) throw (cv::Exception) |
void | axis (float size) |
int | main (int argc, char **argv) |
void | vDrawScene () |
void | vIdle () |
void | vMouse (int b, int s, int x, int y) |
void | vResize (GLsizei iWidth, GLsizei iHeight) |
Variables | |
MarkerMapPoseTracker | MMPoseTracker |
bool | The3DInfoAvailable =false |
CameraParameters | TheCameraParams |
bool | TheCaptureFlag =true |
Size | TheGlWindowSize |
cv::Mat | TheInputImage |
MarkerDetector | TheMarkerDetector |
vector< Marker > | TheMarkers |
float | TheMarkerSize =-1 |
MarkerMap | TheMMConfig |
cv::Mat | TheResizedImage |
cv::Mat | TheUndInputImage |
VideoCapture | TheVideoCapturer |
void __glGetModelViewMatrix | ( | double | modelview_matrix[16], |
const cv::Mat & | Rvec, | ||
const cv::Mat & | Tvec | ||
) | |||
throw | ( | cv::Exception | |
) |
Definition at line 311 of file aruco_test_markermap_gl.cpp.
void axis | ( | float | size | ) |
Definition at line 167 of file aruco_test_markermap_gl.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 79 of file aruco_test_markermap_gl.cpp.
void vDrawScene | ( | ) |
clear
draw image in the buffer
Set the appropriate projection matrix so that rendering is done in a enrvironment
Definition at line 225 of file aruco_test_markermap_gl.cpp.
void vIdle | ( | ) |
Definition at line 198 of file aruco_test_markermap_gl.cpp.
void vMouse | ( | int | b, |
int | s, | ||
int | x, | ||
int | y | ||
) |
Definition at line 153 of file aruco_test_markermap_gl.cpp.
void vResize | ( | GLsizei | iWidth, |
GLsizei | iHeight | ||
) |
Definition at line 294 of file aruco_test_markermap_gl.cpp.
MarkerMapPoseTracker MMPoseTracker |
Definition at line 64 of file aruco_test_markermap_gl.cpp.
bool The3DInfoAvailable =false |
Definition at line 54 of file aruco_test_markermap_gl.cpp.
CameraParameters TheCameraParams |
Definition at line 60 of file aruco_test_markermap_gl.cpp.
bool TheCaptureFlag =true |
Definition at line 65 of file aruco_test_markermap_gl.cpp.
Size TheGlWindowSize |
Definition at line 61 of file aruco_test_markermap_gl.cpp.
cv::Mat TheInputImage |
Definition at line 59 of file aruco_test_markermap_gl.cpp.
MarkerDetector TheMarkerDetector |
Definition at line 63 of file aruco_test_markermap_gl.cpp.
vector<Marker> TheMarkers |
Definition at line 57 of file aruco_test_markermap_gl.cpp.
float TheMarkerSize =-1 |
Definition at line 55 of file aruco_test_markermap_gl.cpp.
MarkerMap TheMMConfig |
Definition at line 62 of file aruco_test_markermap_gl.cpp.
cv::Mat TheResizedImage |
Definition at line 59 of file aruco_test_markermap_gl.cpp.
cv::Mat TheUndInputImage |
Definition at line 59 of file aruco_test_markermap_gl.cpp.
VideoCapture TheVideoCapturer |
Definition at line 56 of file aruco_test_markermap_gl.cpp.