ARWrapper
Provides a C++ wrapper around ARToolKit and exposes a C and JNI API
|
NFT marker type of ARMarker. More...
#include <ARMarkerNFT.h>
Public Member Functions | |
ARMarkerNFT () | |
~ARMarkerNFT () | |
bool | load (const char *dataSetPathname_in) |
bool | updateWithNFTResults (int detectedPage, float trackingTrans[3][4], ARdouble transL2R[3][4]=NULL) |
void | setNFTScale (const float scale) |
float | getNFTScale () |
![]() | |
ARMarker (MarkerType type) | |
Constructor takes the type of this marker. More... | |
virtual | ~ARMarker () |
void | setPositionScalefactor (ARdouble scale) |
ARdouble | positionScalefactor () |
virtual bool | update (const ARdouble transL2R[3][4]=NULL) |
Completes an update begun in the parent class, performing filtering, generating OpenGL view matrix and notifying listeners (just a log message at the moment). More... | |
ARPattern * | getPattern (int n) |
Returns the specified pattern within this marker. More... | |
void | setFiltered (bool flag) |
bool | isFiltered () |
ARdouble | filterSampleRate () |
void | setFilterSampleRate (ARdouble rate) |
ARdouble | filterCutoffFrequency () |
void | setFilterCutoffFrequency (ARdouble freq) |
Public Attributes | |
bool | robustFlag |
Flag specifying which pose estimation approach to use. More... | |
int | pageNo |
char * | datasetPathname |
AR2SurfaceSetT * | surfaceSet |
![]() | |
int | UID |
Internal unique ID (note: not the same as ARToolKit pattern ID) More... | |
MarkerType | type |
Type of marker: single, multi, ... More... | |
bool | visiblePrev |
Whether or not the marker was visible prior to last update. More... | |
bool | visible |
Whether or not the marker is visible at current time. More... | |
ARdouble | transformationMatrix [16] |
Transformation suitable for use in OpenGL. More... | |
ARdouble | transformationMatrixR [16] |
Transformation suitable for use in OpenGL. More... | |
int | patternCount |
Number of patterns in this marker (1 for single) More... | |
ARPattern ** | patterns |
Array of pointers to patterns. More... | |
Protected Member Functions | |
bool | unload () |
![]() | |
void | allocatePatterns (int count) |
Allocates space for patterns within this marker. More... | |
void | freePatterns () |
Frees allocated patterns and resets the pattern count to zero. More... | |
Additional Inherited Members | |
![]() | |
enum | MarkerType { SINGLE, MULTI, NFT } |
![]() | |
static std::vector< ARMarker * > | newFromConfigDataFile (const char *markersConfigDataFilePath, ARPattHandle *arPattHandle, int *patternDetectionMode_out) |
static ARMarker * | newWithConfig (const char *cfg, ARPattHandle *arPattHandle) |
![]() | |
ARdouble | trans [3][4] |
Transformation from camera to this marker. If stereo, transform from left camera to this marker. More... | |
ARdouble | m_positionScaleFactor |
NFT marker type of ARMarker.
ARMarkerNFT::ARMarkerNFT | ( | ) |
ARMarkerNFT::~ARMarkerNFT | ( | ) |
float ARMarkerNFT::getNFTScale | ( | ) |
bool ARMarkerNFT::load | ( | const char * | dataSetPathname_in | ) |
void ARMarkerNFT::setNFTScale | ( | const float | scale | ) |
|
protected |
bool ARMarkerNFT::updateWithNFTResults | ( | int | detectedPage, |
float | trackingTrans[3][4], | ||
ARdouble | transL2R[3][4] = NULL |
||
) |
char* ARMarkerNFT::datasetPathname |
int ARMarkerNFT::pageNo |
bool ARMarkerNFT::robustFlag |
Flag specifying which pose estimation approach to use.
AR2SurfaceSetT* ARMarkerNFT::surfaceSet |