Public Member Functions | Static Public Member Functions | Protected Attributes
ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS > Class Template Reference

TrackerSingleMarkerImpl implements the TrackerSingleMarker interface. More...

#include <TrackerSingleMarkerImpl.h>

Inheritance diagram for ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void activateAutoThreshold (bool nEnable)
 Turns automatic threshold calculation on/off.
void activateBinaryMarker (int nThreshold)
 activates binary markers
void activateVignettingCompensation (bool nEnable, int nCorners=0, int nLeftRight=0, int nTopBottom=0)
 activates the complensation of brightness falloff in the corners of the camera image
virtual int addPattern (const char *nFileName)
 adds a pattern to ARToolKit
int arDetectMarker (ARUint8 *dataPtr, int thresh, ARMarkerInfo **marker_info, int *marker_num)
 marker detection using tracking history
int arDetectMarkerLite (ARUint8 *dataPtr, int thresh, ARMarkerInfo **marker_info, int *marker_num)
 marker detection without using tracking history
int arFreePatt (int patno)
 frees a pattern from memory
ARFloat arGetTransMat (ARMarkerInfo *marker_info, ARFloat center[2], ARFloat width, ARFloat conv[3][4])
 calculates the transformation matrix between camera and the given marker
ARFloat arGetTransMatCont (ARMarkerInfo *marker_info, ARFloat prev_conv[3][4], ARFloat center[2], ARFloat width, ARFloat conv[3][4])
int arLoadPatt (char *filename)
 loads a pattern from a file
int arMultiFreeConfig (ARMultiMarkerInfoT *config)
 frees a multimarker config from memory
ARFloat arMultiGetTransMat (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
 calculates the transformation matrix between camera and the given multi-marker config
ARMultiMarkerInfoTarMultiReadConfigFile (const char *filename)
 reads a standard artoolkit multimarker config file
virtual int calc (const unsigned char *nImage, int nPattern=-1, bool nUpdateMatrix=true, ARMarkerInfo **nMarker_info=NULL, int *nNumMarkers=NULL)
 calculates the transformation matrix
ARFloat calcOpenGLMatrixFromMarker (ARMarkerInfo *nMarkerInfo, ARFloat nPatternCenter[2], ARFloat nPatternSize, ARFloat *nOpenGLMatrix)
 Calculates the OpenGL transformation matrix for a specific marker info.
void changeCameraSize (int nWidth, int nHeight)
 Changes the resolution of the camera after the camerafile was already loaded.
void cleanup ()
 does final clean up (memory deallocation)
ARFloat executeMultiMarkerPoseEstimator (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
 Calls the pose estimator set with setPoseEstimator() for multi marker tracking.
ARFloat executeSingleMarkerPoseEstimator (ARMarkerInfo *marker_info, ARFloat center[2], ARFloat width, ARFloat conv[3][4])
 Calls the pose estimator set with setPoseEstimator() for single marker tracking.
virtual void getARMatrix (ARFloat nMatrix[3][4]) const
 Provides access to ARToolKit' patt_trans matrix.
int getBitsPerPixel () const
 Returns the numbber of bits per pixel for the compiled-in pixel format.
CameragetCamera ()
 Returns the current camera.
virtual ARFloat getConfidence () const
 Returns the confidence value of the currently best detected marker.
const char * getDescription ()
 Returns a short description with compiled-in settings.
const ARFloatgetModelViewMatrix () const
 Returns an opengl-style modelview transformation matrix.
int getNumLoadablePatterns () const
 Returns the maximum number of patterns that can be loaded.
PIXEL_FORMAT getPixelFormat () const
 Returns the compiled-in pixel format.
ProfilergetProfiler ()
 Returns the internal profiler object.
const ARFloatgetProjectionMatrix () const
 Returns an opengl-style projection transformation matrix.
int getThreshold () const
 Returns the current threshold value.
virtual bool init (const char *nCamParamFile, ARFloat nNearClip, ARFloat nFarClip, ARToolKitPlus::Logger *nLogger=NULL)
 initializes TrackerSingleMarker
virtual bool init (Camera *camera, ARFloat nNearClip, ARFloat nFarClip, ARToolKitPlus::Logger *nLogger=NULL)
bool isAutoThresholdActivated () const
 Returns true if automatic threshold detection is enabled.
bool loadCameraFile (const char *nCamParamFile, ARFloat nNearClip, ARFloat nFarClip)
 Loads a camera calibration file and stores data internally.
ARFloat rppGetTransMat (ARMarkerInfo *marker_info, ARFloat center[2], ARFloat width, ARFloat conv[3][4])
ARFloat rppMultiGetTransMat (ARMarkerInfo *marker_info, int marker_num, ARMultiMarkerInfoT *config)
void setBorderWidth (ARFloat nFraction)
 Sets a new relative border width. ARToolKit's default value is 0.25.
void setCamera (Camera *nCamera)
 Sets a new camera without specifying new near and far clip values.
void setCamera (Camera *nCamera, ARFloat nNearClip, ARFloat nFarClip)
 Sets a new camera including specifying new near and far clip values.
void setImageProcessingMode (IMAGE_PROC_MODE nMode)
 Sets an image processing mode (half or full resolution)
void setLoadUndistLUT (bool nSet)
 Set to true to try loading camera undistortion table from a cache file.
void setLogger (ARToolKitPlus::Logger *nLogger)
 sets an instance which implements the ARToolKit::Logger interface
void setMarkerMode (MARKER_MODE nMarkerMode)
 Activate the usage of id-based markers rather than template based markers.
void setNumAutoThresholdRetries (int nNumRetries)
 Sets the number of times the threshold is randomized in case no marker was visible (Minimum: 1, Default: 2)
virtual void setPatternWidth (ARFloat nWidth)
 Sets the width and height of the patterns.
bool setPixelFormat (PIXEL_FORMAT nFormat)
 Sets the pixel format of the camera image.
bool setPoseEstimator (POSE_ESTIMATOR nMethod)
 Changes the Pose Estimation Algorithm.
void setThreshold (int nValue)
 Sets the threshold value that is used for black/white conversion.
void setUndistortionMode (UNDIST_MODE nMode)
 Changes the undistortion mode.
 TrackerSingleMarkerImpl (int nWidth=DEF_CAMWIDTH, int nHeight=DEF_CAMHEIGHT)
 ~TrackerSingleMarkerImpl ()

Static Public Member Functions

static size_t getMemoryRequirements ()
static void operator delete (void *rawMemory)
static void * operator new (size_t size)

Protected Attributes

ARFloat confidence
ARFloat patt_center [2]
ARFloat patt_trans [3][4]
ARFloat patt_width

Detailed Description

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
class ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >

TrackerSingleMarkerImpl implements the TrackerSingleMarker interface.

__PATTERN_SIZE_X describes the pattern image width (16 by default). __PATTERN_SIZE_Y describes the pattern image height (16 by default). __PATTERN_SAMPLE_NUM describes the maximum resolution at which a pattern is sampled from the camera image (64 by default, must a a multiple of __PATTERN_SIZE_X and __PATTERN_SIZE_Y). __MAX_LOAD_PATTERNS describes the maximum number of pattern files that can be loaded. __MAX_IMAGE_PATTERNS describes the maximum number of patterns that can be analyzed in a camera image. Reduce __MAX_LOAD_PATTERNS and __MAX_IMAGE_PATTERNS to reduce memory footprint.

Definition at line 71 of file TrackerSingleMarkerImpl.h.


Constructor & Destructor Documentation

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::TrackerSingleMarkerImpl ( int  nWidth = DEF_CAMWIDTH,
int  nHeight = DEF_CAMHEIGHT 
)
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::~TrackerSingleMarkerImpl ( )

Member Function Documentation

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::activateAutoThreshold ( bool  nEnable) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::activateBinaryMarker ( int  nThreshold) [inline, virtual]

activates binary markers

markers are converted to pure black/white during loading

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 137 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::activateVignettingCompensation ( bool  nEnable,
int  nCorners = 0,
int  nLeftRight = 0,
int  nTopBottom = 0 
) [inline, virtual]

activates the complensation of brightness falloff in the corners of the camera image

some cameras have a falloff in brightness at the border of the image, which creates problems with thresholding the image. use this function to set a (linear) adapted threshold value. the threshold value will stay exactly the same at the center but will deviate near to the border. all values specify a difference, not absolute values! nCorners define the falloff a all four corners. nLeftRight defines the falloff at the half y-position at the left and right side of the image. nTopBottom defines the falloff at the half x-position at the top and bottom side of the image. all values between these 9 points (center, 4 corners, left, right, top, bottom) will be interpolated.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 139 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::addPattern ( const char *  nFileName) [virtual]

adds a pattern to ARToolKit

pass the patterns filename

Implements ARToolKitPlus::TrackerSingleMarker.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arDetectMarker ( ARUint8 dataPtr,
int  thresh,
ARMarkerInfo **  marker_info,
int *  marker_num 
) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arDetectMarkerLite ( ARUint8 dataPtr,
int  thresh,
ARMarkerInfo **  marker_info,
int *  marker_num 
) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arFreePatt ( int  patno) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arGetTransMat ( ARMarkerInfo marker_info,
ARFloat  center[2],
ARFloat  width,
ARFloat  conv[3][4] 
) [inline, virtual]

calculates the transformation matrix between camera and the given marker

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 129 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arGetTransMatCont ( ARMarkerInfo marker_info,
ARFloat  prev_conv[3][4],
ARFloat  center[2],
ARFloat  width,
ARFloat  conv[3][4] 
) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arLoadPatt ( char *  filename) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arMultiFreeConfig ( ARMultiMarkerInfoT config) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arMultiGetTransMat ( ARMarkerInfo marker_info,
int  marker_num,
ARMultiMarkerInfoT config 
) [inline, virtual]

calculates the transformation matrix between camera and the given multi-marker config

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 128 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARMultiMarkerInfoT* ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::arMultiReadConfigFile ( const char *  filename) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::calc ( const unsigned char *  nImage,
int  nPattern = -1,
bool  nUpdateMatrix = true,
ARMarkerInfo **  nMarker_info = NULL,
int *  nNumMarkers = NULL 
) [virtual]

calculates the transformation matrix

pass the image as RGBX (32-bits) in 320x240 pixels. if nPattern is not -1 then only this pattern is accepted otherwise any found pattern will be used.

Implements ARToolKitPlus::TrackerSingleMarker.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::calcOpenGLMatrixFromMarker ( ARMarkerInfo nMarkerInfo,
ARFloat  nPatternCenter[2],
ARFloat  nPatternSize,
ARFloat nOpenGLMatrix 
) [inline, virtual]

Calculates the OpenGL transformation matrix for a specific marker info.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 160 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::changeCameraSize ( int  nWidth,
int  nHeight 
) [inline, virtual]

Changes the resolution of the camera after the camerafile was already loaded.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 140 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::cleanup ( ) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::executeMultiMarkerPoseEstimator ( ARMarkerInfo marker_info,
int  marker_num,
ARMultiMarkerInfoT config 
) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::executeSingleMarkerPoseEstimator ( ARMarkerInfo marker_info,
ARFloat  center[2],
ARFloat  width,
ARFloat  conv[3][4] 
) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getARMatrix ( ARFloat  nMatrix[3][4]) const [virtual]

Provides access to ARToolKit' patt_trans matrix.

This method is primarily for compatibility issues with code previously using ARToolKit rather than ARToolKitPlus. patt_trans is the original transformation matrix ARToolKit calculates rather than the OpenGL style version of this matrix that can be retrieved via getModelViewMatrix().

Implements ARToolKitPlus::TrackerSingleMarker.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getBitsPerPixel ( ) const [inline, virtual]

Returns the numbber of bits per pixel for the compiled-in pixel format.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 153 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
Camera* ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getCamera ( ) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getConfidence ( ) const [inline, virtual]

Returns the confidence value of the currently best detected marker.

Implements ARToolKitPlus::TrackerSingleMarker.

Definition at line 113 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
const char* ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getDescription ( ) [inline, virtual]

Returns a short description with compiled-in settings.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 151 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
static size_t ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getMemoryRequirements ( ) [static]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
const ARFloat* ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getModelViewMatrix ( ) const [inline, virtual]

Returns an opengl-style modelview transformation matrix.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 149 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getNumLoadablePatterns ( ) const [inline, virtual]

Returns the maximum number of patterns that can be loaded.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 154 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
PIXEL_FORMAT ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getPixelFormat ( ) const [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
Profiler& ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getProfiler ( ) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
const ARFloat* ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getProjectionMatrix ( ) const [inline, virtual]

Returns an opengl-style projection transformation matrix.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 150 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
int ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::getThreshold ( ) const [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual bool ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::init ( const char *  nCamParamFile,
ARFloat  nNearClip,
ARFloat  nFarClip,
ARToolKitPlus::Logger nLogger = NULL 
) [virtual]

initializes TrackerSingleMarker

nCamParamFile is the name of the camera parameter file nLogger is an instance which implements the ARToolKit::Logger interface

Implements ARToolKitPlus::TrackerSingleMarker.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual bool ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::init ( Camera camera,
ARFloat  nNearClip,
ARFloat  nFarClip,
ARToolKitPlus::Logger nLogger = NULL 
) [virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
bool ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::isAutoThresholdActivated ( ) const [inline, virtual]

Returns true if automatic threshold detection is enabled.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 147 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
bool ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::loadCameraFile ( const char *  nCamParamFile,
ARFloat  nNearClip,
ARFloat  nFarClip 
) [inline, virtual]

Loads a camera calibration file and stores data internally.

To prevent memory leaks, this method internally deletes an existing camera. If you want to use more than one camera, retrieve the existing camera using getCamera() and call setCamera(NULL); before loading another camera file. On destruction, ARToolKitPlus will only destroy the currently set camera. All other cameras have to be destroyed manually.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 123 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
static void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::operator delete ( void *  rawMemory) [static]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
static void* ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::operator new ( size_t  size) [static]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::rppGetTransMat ( ARMarkerInfo marker_info,
ARFloat  center[2],
ARFloat  width,
ARFloat  conv[3][4] 
) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::rppMultiGetTransMat ( ARMarkerInfo marker_info,
int  marker_num,
ARMultiMarkerInfoT config 
) [inline, virtual]
template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setBorderWidth ( ARFloat  nFraction) [inline, virtual]

Sets a new relative border width. ARToolKit's default value is 0.25.

Take caution that the markers need of course really have thiner borders. Values other than 0.25 have not been tested for regular pattern-based matching, but only for id-encoded markers. It might be that the pattern creation process needs to be updated too.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 143 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setCamera ( Camera nCamera) [inline, virtual]

Sets a new camera without specifying new near and far clip values.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 158 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setCamera ( Camera nCamera,
ARFloat  nNearClip,
ARFloat  nFarClip 
) [inline, virtual]

Sets a new camera including specifying new near and far clip values.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 159 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setImageProcessingMode ( IMAGE_PROC_MODE  nMode) [inline, virtual]

Sets an image processing mode (half or full resolution)

Half resolution is faster but less accurate. When using full resolution smaller markers will be detected at a higher accuracy (or even detected at all).

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 155 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setLoadUndistLUT ( bool  nSet) [inline, virtual]

Set to true to try loading camera undistortion table from a cache file.

On slow platforms (e.g. Smartphone) creation of the undistortion lookup-table can take quite a while. Consequently caching will speedup the start phase. If set to true and no cache file could be found a new one will be created. The cache file will get the same name as the camera file with the added extension '.LUT'

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 124 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setLogger ( ARToolKitPlus::Logger nLogger) [inline, virtual]

sets an instance which implements the ARToolKit::Logger interface

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 125 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setMarkerMode ( MARKER_MODE  nMarkerMode) [inline, virtual]

Activate the usage of id-based markers rather than template based markers.

id-based markers directly encode the marker id in the image. see arBitFieldPattern.h for more information

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 138 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setNumAutoThresholdRetries ( int  nNumRetries) [inline, virtual]

Sets the number of times the threshold is randomized in case no marker was visible (Minimum: 1, Default: 2)

Autothreshold requires a visible marker to estime the optimal thresholding value. If no marker is visible ARToolKitPlus randomizes the thresholding value until a marker is found. This function sets the number of times ARToolKitPlus will randomize the threshold value and research for a marker per calc() invokation until it gives up. A value of 2 means that ARToolKitPlus will analyze the image a second time with an other treshold value if it does not find a marker the first time. Each unsuccessful try uses less processing power than a single full successful position estimation.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 148 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
virtual void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setPatternWidth ( ARFloat  nWidth) [inline, virtual]

Sets the width and height of the patterns.

Implements ARToolKitPlus::TrackerSingleMarker.

Definition at line 101 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
bool ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setPixelFormat ( PIXEL_FORMAT  nFormat) [inline, virtual]

Sets the pixel format of the camera image.

Default format is RGB888 (PIXEL_FORMAT_RGB)

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 122 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
bool ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setPoseEstimator ( POSE_ESTIMATOR  nMethod) [inline, virtual]

Changes the Pose Estimation Algorithm.

POSE_ESTIMATOR_ORIGINAL (default): arGetTransMat() POSE_ESTIMATOR_RPP: "Robust Pose Estimation from a Planar Target"

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 142 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setThreshold ( int  nValue) [inline, virtual]

Sets the threshold value that is used for black/white conversion.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 144 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
void ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::setUndistortionMode ( UNDIST_MODE  nMode) [inline, virtual]

Changes the undistortion mode.

Default value is UNDIST_STD which means that artoolkit's standard undistortion method is used.

Reimplemented from ARToolKitPlus::TrackerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >.

Definition at line 141 of file TrackerSingleMarkerImpl.h.


Member Data Documentation

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::confidence [protected]

Definition at line 172 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::patt_center[2] [protected]

Definition at line 174 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::patt_trans[3][4] [protected]

Definition at line 175 of file TrackerSingleMarkerImpl.h.

template<int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS = 32, int __MAX_IMAGE_PATTERNS = 32>
ARFloat ARToolKitPlus::TrackerSingleMarkerImpl< __PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS >::patt_width [protected]

Definition at line 173 of file TrackerSingleMarkerImpl.h.


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


v4r_artoolkitplus
Author(s): Markus Bader
autogenerated on Wed Aug 26 2015 16:41:53