ecco l'inizio del file:
codice:#ifndef __ARTOOLKITPLUS_TRACKERSINGLEMARKERIMPL_HEADERFILE__ #define __ARTOOLKITPLUS_TRACKERSINGLEMARKERIMPL_HEADERFILE__ #pragma message ( "Compiling TrackerSingleMarkerImpl.h" ) #include <ARToolKitPlus/TrackerSingleMarker.h> #include <ARToolKitPlus/TrackerImpl.h> #include <ARToolKitPlus/Logger.h> #define ARSM_TEMPL_FUNC template <int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS, int __MAX_IMAGE_PATTERNS> #define ARSM_TEMPL_TRACKER TrackerSingleMarkerImpl<__PATTERN_SIZE_X, __PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS> namespace ARToolKitPlus { /// 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. */ template <int __PATTERN_SIZE_X, int __PATTERN_SIZE_Y, int __PATTERN_SAMPLE_NUM, int __MAX_LOAD_PATTERNS=32, int __MAX_IMAGE_PATTERNS=32> class TrackerSingleMarkerImpl : public TrackerSingleMarker, protected TrackerImpl<__PATTERN_SIZE_X,__PATTERN_SIZE_Y, __PATTERN_SAMPLE_NUM, __MAX_LOAD_PATTERNS, __MAX_IMAGE_PATTERNS> { public: TrackerSingleMarkerImpl(int nWidth=DEF_CAMWIDTH, int nHeight=DEF_CAMHEIGHT); ~TrackerSingleMarkerImpl(); /// initializes TrackerSingleMarker /** * nCamParamFile is the name of the camera parameter file * nLogger is an instance which implements the ARToolKit::Logger interface */ virtual bool init(const char* nCamParamFile, ARFloat nNearClip, ARFloat nFarClip, ARToolKitPlus::Logger* nLogger=NULL); /// adds a pattern to ARToolKit /** * pass the patterns filename */ virtual int addPattern(const char* nFileName); /// 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. */ virtual int calc(const unsigned char* nImage, int nPattern=-1, bool nUpdateMatrix=true, ARMarkerInfo** nMarker_info=NULL, int* nNumMarkers=NULL); /// Sets the width and height of the patterns. virtual void setPatternWidth(ARFloat nWidth) { patt_width = nWidth; } /// 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(). */ virtual void getARMatrix(ARFloat nMatrix[3][4]) const; /// Returns the confidence value of the currently best detected marker. virtual ARFloat getConfidence() const { return confidence; }

Rispondi quotando
bserv2Ideal(float,float,float *,float *)" (?observ2Ideal@CameraImpl@ARToolKitPlus@@UAEXMMPAM 0@Z) already defined in Model.obj
