| ARX 1.0 The next-generation open source augmented reality toolkit.

Loading...
Searching...
No Matches
Functions
arPattAttach.c File Reference
`#include <ARX/AR/ar.h>`
Include dependency graph for arPattAttach.c:

## Functions
int | arPattAttach (ARHandle *arHandle, ARPattHandle *arPattHandle)
| Associate a set of patterns with an ARHandle.
int | arPattDetach (ARHandle *arHandle)
| Reset an ARHandle to no pattern association.

## Function Documentation

## ◆ arPattAttach()

int arPattAttach | ( | ARHandle * | arHandle,
|  | ARPattHandle * | pattHandle
| ) |  |

Associate a set of patterns with an ARHandle.

Associating a set of patterns with an ARHandle makes the patterns the set which will be searched when marker identification is performed on an image associated with the same ARHandle.

Parameters

  arHandle | (description)
  pattHandle | (description)

See also
  arPattDetach

Returns
  Returns 0 in the case of success, or -1 if the specified ARHandle already has an ARPattHandle attached, or if arHandle is NULL.

## ◆ arPattDetach()

int arPattDetach | ( | ARHandle * | arHandle | ) |

Reset an ARHandle to no pattern association.

See arPattAttach() for more information.

Parameters

  arHandle | (description)

See also
  arPattAttach

Returns
  Returns 0 in the case of success, or -1 if the specified ARHandle has no ARPattHandle attached, or if arHandle is NULL.