Main Page | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members

ARLib::Detection::ARMarkers Class Reference

The ARMarkers class contains all available markers and their definitions. More...

#include <armarkers.h>

List of all members.

Public Member Functions

void Clear ()
 Resets the current markers.
bool Init (Utility::ARConfiguration &config)
 Initialises the markers definitions from the configuration file.
bool MatchBoundingBox (ARBoundingBox *bbox, Graphics::ARImage *image)
 Attempts to find a match from the marker definitions.

Public Attributes

std::map< unsigned int, ARMarker * > markers
 A map of ARMarker pointers.


Detailed Description

The ARMarkers class contains all available markers and their definitions.


Member Function Documentation

bool ARMarkers::Init Utility::ARConfiguration config  ) 
 

Initialises the markers definitions from the configuration file.

Parameters:
config A loaded configuration file containing marker definitions.
Returns:
True if successfully initialised otherwise false is returned.

bool ARLib::Detection::ARMarkers::MatchBoundingBox ARBoundingBox bbox,
Graphics::ARImage image
 

Attempts to find a match from the marker definitions.

Parameters:
bbox Pointer to the bounding box to make the check against.
image Pointer to the current image containing the potential markers.


The documentation for this class was generated from the following files:
Generated on Wed Aug 31 18:01:39 2005 for ARLib by  doxygen 1.3.9.1