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

Loading...
Searching...
No Matches
Public Attributes | List of all members
ARPattRectInfo Struct Reference

Defines a pattern rectangle as a sub-portion of a marker image. More...

`#include <ar.h>`

## Public Attributes
float | topLeftX
| Horizontal coordinate of the top left corner of the pattern space, in range 0.0f-1.0f.
float | topLeftY
| Vertical coordinate of the top left corner of the pattern space, in range 0.0f-1.0f.
float | bottomRightX
| Horizontal coordinate of the bottom right corner of the pattern space, in range 0.0f-1.0f.
float | bottomRightY
| Vertical coordinate of the bottom right corner of the pattern space, in range 0.0f-1.0f.

## Detailed Description

Defines a pattern rectangle as a sub-portion of a marker image.

A complete marker image has coordinates {0.0f, 0.0f, 1.0f, 1.0f}. A standard artoolkitX marker with a pattern ratio of 0.5 has coordinates {0.25f, 0.25f, 0.75f, 0.75f}.

## Member Data Documentation

## ◆ bottomRightX

float ARPattRectInfo::bottomRightX

Horizontal coordinate of the bottom right corner of the pattern space, in range 0.0f-1.0f.

## ◆ bottomRightY

float ARPattRectInfo::bottomRightY

Vertical coordinate of the bottom right corner of the pattern space, in range 0.0f-1.0f.

## ◆ topLeftX

float ARPattRectInfo::topLeftX

Horizontal coordinate of the top left corner of the pattern space, in range 0.0f-1.0f.

## ◆ topLeftY

float ARPattRectInfo::topLeftY

Vertical coordinate of the top left corner of the pattern space, in range 0.0f-1.0f.

The documentation for this struct was generated from the following file:

- Source/ARX/AR/include/ARX/AR/ar.h