45#include <ARX/AR/config.h>
62 std::vector<std::string> trackableConfigurations()
const override {
63 std::vector<std::string> sv;
68 bool initialize()
override;
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;
75 bool isRunning()
override;
76 bool wantsUpdate()
override;
77 bool update(AR2VideoBufferT *buff)
override;
78 bool update(AR2VideoBufferT *buff0, AR2VideoBufferT *buff1)
override;
80 void terminate()
override;
82 int newTrackable(std::vector<std::string> config)
override;
83 unsigned int countTrackables()
override;
84 std::shared_ptr<ARTrackable> getTrackable(
int UID)
override;
85 std::vector<std::shared_ptr<ARTrackable>> getAllTrackables()
override;
86 bool deleteTrackable(
int UID)
override;
87 void deleteAllTrackables()
override;
89 bool loadImageDatabase(std::string filename);
90 bool saveImageDatabase(std::string filename);
94 void setMinRequiredDetectedFeatures(
int num);
95 int getMinRequiredDetectedFeatures(
void);
96 void setHomographyEstimationRANSACThreshold(
double thresh);
97 double getHomographyEstimationRANSACThreshold(
void);
99 bool threaded(
void)
const;
108 void setThreaded(
bool threaded);
110 void setTrackerVisualizationActive(
bool active);
111 void *getTrackerVisualization(
void);
115 AR_PIXEL_FORMAT m_pixelFormat;
119 std::vector<std::shared_ptr<ARTrackable>> m_trackables;
120 bool m_videoSourceIsStereo;
121 bool m_2DTrackerDataLoaded;
122 int m_2DTrackerDetectedImageCount;
123 std::shared_ptr<PlanarTracker> m_2DTracker;
128 bool unloadTwoDData();
130 void updateTrackablesFromTracker();
ARTrackerType
Definition ARTracker.h:51
@ TEXTURE2D_FIDUCIAL
Definition ARTracker.h:53
unsigned char ARUint8
Definition ar.h:92
double ARdouble
Definition ar.h:99
Definition ARTrackerVideo.h:49
FeatureDetectorType
Defaults to defaultDetectorType.
Definition PlanarTracker.h:96
struct _THREAD_HANDLE_T THREAD_HANDLE_T
Definition thread_sub.h:56