Namespaces | Functions
Draw.cpp File Reference
#include "Draw.h"
#include <cassert>
Include dependency graph for Draw.cpp:

Go to the source code of this file.

Namespaces

namespace  alvar
 

Main ALVAR namespace.


Functions

void ALVAR_EXPORT alvar::BuildHideTexture (IplImage *image, IplImage *hide_texture, Camera *cam, double gl_modelview[16], PointDouble topleft, PointDouble botright)
 This function is used to construct a texture image which is needed to hide a marker from the original video frame. See SampleMarkerHide.cpp for example implementation.
void ALVAR_EXPORT alvar::DrawCircles (IplImage *image, const CvSeq *contour, int radius, CvScalar color=CV_RGB(255, 0, 0))
 Draws circles to the contour points that are obtained by Labeling class.
void ALVAR_EXPORT alvar::DrawCVEllipse (IplImage *image, CvBox2D &ellipse, CvScalar color, bool fill=false, double par=0)
 Draws OpenCV ellipse.
void ALVAR_EXPORT alvar::DrawLine (IplImage *image, const Line line, CvScalar color=CV_RGB(0, 255, 0))
 Draws a line.
void ALVAR_EXPORT alvar::DrawLines (IplImage *image, const CvSeq *contour, CvScalar color=CV_RGB(255, 0, 0))
 Draws lines between consecutive contour points.
void alvar::DrawPoints (IplImage *image, const vector< CvPoint > &points, CvScalar color)
void ALVAR_EXPORT alvar::DrawPoints (IplImage *image, const CvSeq *contour, CvScalar color=CV_RGB(255, 0, 0))
 Draws points of the contour that is obtained by Labeling class.
void ALVAR_EXPORT alvar::DrawTexture (IplImage *image, IplImage *texture, Camera *cam, double gl_modelview[16], PointDouble topleft, PointDouble botright)
 Draws the texture generated by BuildHideTexture to given video frame. For better performance, use OpenGL instead. See SampleMarkerHide.cpp for example implementation.


ar_track_alvar
Author(s): Scott Niekum
autogenerated on Sat Dec 28 2013 16:46:16