45#include <ARX/AR/config.h>
59 return ARTrackerType::TEXTURE2D_FIDUCIAL;
63 std::vector<std::string> sv;
70 void setMaxMarkersToTrack(
int maximumNumberOfMarkersToTrack);
71 int getMaxMarkersToTrack()
const;
73 bool start(
ARParamLT *paramLT, AR_PIXEL_FORMAT pixelFormat)
override;
74 bool start(
ARParamLT *paramLT0, AR_PIXEL_FORMAT pixelFormat0,
ARParamLT *paramLT1, AR_PIXEL_FORMAT pixelFormat1,
const ARdouble transL2R[3][4])
override;
82 int newTrackable(std::vector<std::string> config)
override;
84 std::shared_ptr<ARTrackable>
getTrackable(
int UID)
override;
89 bool loadImageDatabase(std::string filename);
90 bool saveImageDatabase(std::string filename);
92 void setDetectorType(
int detectorType);
93 int getDetectorType(
void);
95 bool threaded(
void)
const;
96 void setThreaded(
bool threaded);
100 AR_PIXEL_FORMAT m_pixelFormat;
104 std::vector<std::shared_ptr<ARTrackable>> m_trackables;
105 bool m_videoSourceIsStereo;
106 bool m_2DTrackerDataLoaded;
107 int m_2DTrackerDetectedImageCount;
108 std::shared_ptr<PlanarTracker> m_2DTracker;
113 bool unloadTwoDData();
115 void updateTrackablesFromTracker();
ARTrackerType
Definition: ARTracker.h:51
unsigned char ARUint8
Definition: ar.h:92
double ARdouble
Definition: ar.h:99
virtual bool wantsUpdate()=0
virtual int newTrackable(std::vector< std::string > config)=0
ARTrackable factory method.
virtual bool isRunning()=0
virtual void deleteAllTrackables()=0
virtual std::vector< std::string > trackableConfigurations() const =0
virtual std::vector< std::shared_ptr< ARTrackable > > getAllTrackables()=0
virtual bool deleteTrackable(int UID)=0
Removes the trackable with UID uid, if held by this tracker.
virtual std::shared_ptr< ARTrackable > getTrackable(int UID)=0
virtual void terminate()=0
virtual unsigned int countTrackables()=0
virtual ARTrackerType type() const =0
virtual bool initialize()=0
Definition: ARTrackerVideo.h:49
Definition: thread_sub.c:78
A structure which carries information about a video frame retrieved by the video library.
Definition: ar.h:148
Structure holding camera parameters, in lookup table form.
Definition: param.h:151