MarkerArtoolkit for using matrix markers similar with the ones used in ARToolkit. More...
#include <Marker.h>
Public Member Functions | |
bool | DecodeContent (int *orientation) |
DecodeContent should be called after UpdateContent to fill content_type, decode_error and data | |
unsigned long | GetId () const |
Get ID for recognizing this marker. | |
MarkerArtoolkit (double _edge_length=0, int _res=0, double _margin=0) | |
Constructor. | |
void | SetContent (unsigned long _id) |
Updates the marker_content by "encoding" the given parameters. | |
void | SetId (unsigned long _id) |
Public Attributes | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW unsigned long | id |
MarkerArtoolkit supports only 'id' as data type | |
Protected Member Functions | |
double | default_margin () |
int | default_res () |
MarkerArtoolkit for using matrix markers similar with the ones used in ARToolkit.
alvar::MarkerArtoolkit::MarkerArtoolkit | ( | double | _edge_length = 0 , |
int | _res = 0 , |
||
double | _margin = 0 |
||
) | [inline] |
bool alvar::MarkerArtoolkit::DecodeContent | ( | int * | orientation | ) | [virtual] |
DecodeContent should be called after UpdateContent to fill content_type, decode_error and data
Reimplemented from alvar::Marker.
Definition at line 558 of file Marker.cpp.
double alvar::MarkerArtoolkit::default_margin | ( | ) | [inline, protected] |
int alvar::MarkerArtoolkit::default_res | ( | ) | [inline, protected] |
unsigned long alvar::MarkerArtoolkit::GetId | ( | ) | const [inline, virtual] |
Get ID for recognizing this marker.
Reimplemented from alvar::Marker.
void alvar::MarkerArtoolkit::SetContent | ( | unsigned long | _id | ) |
Updates the marker_content by "encoding" the given parameters.
Definition at line 607 of file Marker.cpp.
void alvar::MarkerArtoolkit::SetId | ( | unsigned long | _id | ) | [inline, virtual] |
Reimplemented from alvar::Marker.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW unsigned long alvar::MarkerArtoolkit::id |
MarkerArtoolkit supports only 'id' as data type