ARToolKitPlus Namespace Reference

Namespaces

namespace  Matrix
namespace  Vector

Classes

struct  AR_EXPORT
struct  ARMat
struct  ARVec
class  BCH
class  Camera
struct  CornerPoint
struct  MarkerPoint
class  Tracker
class  TrackerMultiMarker
class  TrackerSingleMarker

Typedefs

typedef unsigned long long _64bits
typedef std::vector< CornerPointCornerPoints
typedef unsigned long long IDPATTERN

Enumerations

enum  {
  idPattWidth = 6, idPattHeight = 6, idBits = 9, idMask = (1 << idBits) - 1,
  idMax = (1 << idBits) - 1, pattBits = 4 * idBits
}
enum  ARTKP_VERSION { VERSION_MAJOR = ARTOOLKITPLUS_VERSION_MAJOR, VERSION_MINOR = ARTOOLKITPLUS_VERSION_MINOR }
enum  HULL_TRACKING_MODE { HULL_OFF, HULL_FOUR, HULL_FULL }
enum  IMAGE_PROC_MODE { IMAGE_HALF_RES, IMAGE_FULL_RES }
enum  MARKER_MODE { MARKER_TEMPLATE, MARKER_ID_SIMPLE, MARKER_ID_BCH }
enum  PIXEL_FORMAT {
  PIXEL_FORMAT_ABGR = 1, PIXEL_FORMAT_BGRA = 2, PIXEL_FORMAT_BGR = 3, PIXEL_FORMAT_RGBA = 4,
  PIXEL_FORMAT_RGB = 5, PIXEL_FORMAT_RGB565 = 6, PIXEL_FORMAT_LUM = 7
}
enum  POSE_ESTIMATOR { POSE_ESTIMATOR_ORIGINAL, POSE_ESTIMATOR_ORIGINAL_CONT, POSE_ESTIMATOR_RPP }
enum  UNDIST_MODE { UNDIST_NONE, UNDIST_STD, UNDIST_LUT }

Functions

AR_EXPORT void findFurthestAway (const MarkerPoint *nPoints, int nNumPoints, int nIdx0, int nIdx1, int &nIdxFarthest)
AR_EXPORT void findLongestDiameter (const MarkerPoint *nPoints, int nNumPoints, int &nIdx0, int &nIdx1)
void AR_EXPORT generatePatternBCH (int nID, IDPATTERN &nPattern)
void AR_EXPORT generatePatternSimple (int nID, IDPATTERN &nPattern)
int iabs (int nValue)
bool AR_EXPORT isBitSet (IDPATTERN pat, int which)
AR_EXPORT void maximizeArea (const MarkerPoint *nPoints, int nNumPoints, int nIdx0, int nIdx1, int nIdx2, int &nIdxMax)
AR_EXPORT int nearHull_2D (const MarkerPoint *P, int n, int k, MarkerPoint *H)
AR_EXPORT void sortInLastInteger (int &nIdx0, int &nIdx1, int &nIdx2, int &nIdx3)
AR_EXPORT void sortIntegers (int &nIdx0, int &nIdx1, int &nIdx2)

Variables

const unsigned int bchBits = 12
const IDPATTERN bchMask = 0x8f80b8750ll
const IDPATTERN fullMask
const unsigned int idMaxBCH = (1 << bchBits) - 1
const int MAX_HULL_POINTS = 64
const int posMask0 = 0
const int posMask1 = idBits
const int posMask2 = 2 * idBits
const int posMask3 = 3 * idBits
const int rotate90 []
const IDPATTERN xorMask0 = 0x0027
const IDPATTERN xorMask1 = 0x014e
const IDPATTERN xorMask2 = 0x0109
const IDPATTERN xorMask3 = 0x00db

Detailed Description

Copyright (C) 2010 ARToolkitPlus Authors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Authors: Daniel Wagner

Copyright (C) 2010 ARToolkitPlus Authors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Authors: Daniel Wagner Pavel Rojtberg

Copyright (C) 2010 ARToolkitPlus Authors

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Authors: Thomas Pintaric Pavel Rojtberg


Typedef Documentation

typedef unsigned long long ARToolKitPlus::_64bits

Definition at line 50 of file BCH.h.

Definition at line 80 of file ARToolKitPlus.h.

typedef unsigned long long ARToolKitPlus::IDPATTERN

Definition at line 47 of file arBitFieldPattern.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
idPattWidth 
idPattHeight 
idBits 
idMask 
idMax 
pattBits 

Definition at line 28 of file arBitFieldPattern.h.

Enumerator:
VERSION_MAJOR 
VERSION_MINOR 

Definition at line 54 of file ARToolKitPlus.h.

Enumerator:
HULL_OFF 
HULL_FOUR 
HULL_FULL 

Definition at line 49 of file ARToolKitPlus.h.

Enumerator:
IMAGE_HALF_RES 
IMAGE_FULL_RES 

Definition at line 45 of file ARToolKitPlus.h.

Enumerator:
MARKER_TEMPLATE 
MARKER_ID_SIMPLE 
MARKER_ID_BCH 

Definition at line 58 of file ARToolKitPlus.h.

Enumerator:
PIXEL_FORMAT_ABGR 
PIXEL_FORMAT_BGRA 
PIXEL_FORMAT_BGR 
PIXEL_FORMAT_RGBA 
PIXEL_FORMAT_RGB 
PIXEL_FORMAT_RGB565 
PIXEL_FORMAT_LUM 

Definition at line 31 of file ARToolKitPlus.h.

Enumerator:
POSE_ESTIMATOR_ORIGINAL 
POSE_ESTIMATOR_ORIGINAL_CONT 
POSE_ESTIMATOR_RPP 

Definition at line 62 of file ARToolKitPlus.h.

Enumerator:
UNDIST_NONE 
UNDIST_STD 
UNDIST_LUT 

Definition at line 41 of file ARToolKitPlus.h.


Function Documentation

AR_EXPORT void ARToolKitPlus::findFurthestAway ( const MarkerPoint *  nPoints,
int  nNumPoints,
int  nIdx0,
int  nIdx1,
int &  nIdxFarthest 
)
AR_EXPORT void ARToolKitPlus::findLongestDiameter ( const MarkerPoint *  nPoints,
int  nNumPoints,
int &  nIdx0,
int &  nIdx1 
)
void AR_EXPORT ARToolKitPlus::generatePatternBCH ( int  nID,
IDPATTERN &  nPattern 
)
void AR_EXPORT ARToolKitPlus::generatePatternSimple ( int  nID,
IDPATTERN &  nPattern 
)
int ARToolKitPlus::iabs ( int  nValue  )  [inline]

Definition at line 39 of file Hull.h.

bool AR_EXPORT ARToolKitPlus::isBitSet ( IDPATTERN  pat,
int  which 
)
AR_EXPORT void ARToolKitPlus::maximizeArea ( const MarkerPoint *  nPoints,
int  nNumPoints,
int  nIdx0,
int  nIdx1,
int  nIdx2,
int &  nIdxMax 
)
AR_EXPORT int ARToolKitPlus::nearHull_2D ( const MarkerPoint *  P,
int  n,
int  k,
MarkerPoint *  H 
)
AR_EXPORT void ARToolKitPlus::sortInLastInteger ( int &  nIdx0,
int &  nIdx1,
int &  nIdx2,
int &  nIdx3 
)
AR_EXPORT void ARToolKitPlus::sortIntegers ( int &  nIdx0,
int &  nIdx1,
int &  nIdx2 
)

Variable Documentation

const unsigned int ARToolKitPlus::bchBits = 12

Definition at line 65 of file arBitFieldPattern.h.

const IDPATTERN ARToolKitPlus::bchMask = 0x8f80b8750ll

Definition at line 48 of file arBitFieldPattern.h.

Initial value:

Definition at line 62 of file arBitFieldPattern.h.

const unsigned int ARToolKitPlus::idMaxBCH = (1 << bchBits) - 1

Definition at line 66 of file arBitFieldPattern.h.

Definition at line 29 of file Hull.h.

const int ARToolKitPlus::posMask0 = 0

Definition at line 56 of file arBitFieldPattern.h.

const int ARToolKitPlus::posMask1 = idBits

Definition at line 57 of file arBitFieldPattern.h.

const int ARToolKitPlus::posMask2 = 2 * idBits

Definition at line 58 of file arBitFieldPattern.h.

const int ARToolKitPlus::posMask3 = 3 * idBits

Definition at line 59 of file arBitFieldPattern.h.

Initial value:
 {
    30, 24, 18, 12,  6,  0,
    31, 25, 19, 13,  7,  1,
    32, 26, 20, 14,  8,  2,
    33, 27, 21, 15,  9,  3,
    34, 28, 22, 16, 10,  4,
    35, 29, 23, 17, 11,  5
}

Definition at line 69 of file arBitFieldPattern.h.

Definition at line 51 of file arBitFieldPattern.h.

Definition at line 52 of file arBitFieldPattern.h.

Definition at line 53 of file arBitFieldPattern.h.

Definition at line 54 of file arBitFieldPattern.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines


artoolkitplus
Author(s): Christian Bersch
autogenerated on Fri Jan 11 09:12:20 2013