Public Member Functions | Private Types | Private Attributes
pano::PriorTracker Class Reference

#include <CaptureEngine.h>

List of all members.

Public Member Functions

template<typename Function >
void addMatchesCallback (const Function &f)
 this is a function that will be called back when the match has occurred.
template<typename Function >
void addPriorUpdateCallback (const Function &f)
 PriorTracker (int max_fail_count=3)
Extrinsics track (ImageAtom &query, ModelFitter &fitter, FitterResult *result=NULL)
void updatePrior (const ImageAtom &prior)

Private Types

enum  { MATCHES_CALLBACK = 0, PRIOR_UPDATE_CB }

Private Attributes

CallbackEngine callbacks_
int fail_count_
int max_fail_count_
ImageAtom prior_

Detailed Description

Definition at line 21 of file CaptureEngine.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
MATCHES_CALLBACK 
PRIOR_UPDATE_CB 

Definition at line 49 of file CaptureEngine.h.


Constructor & Destructor Documentation

pano::PriorTracker::PriorTracker ( int  max_fail_count = 3)

Definition at line 32 of file CaptureEngine.cpp.


Member Function Documentation

template<typename Function >
void pano::PriorTracker::addMatchesCallback ( const Function &  f) [inline]

this is a function that will be called back when the match has occurred.

The function should be able to be called the following way: f(pair); where pair is a const AtomPair&

Definition at line 36 of file CaptureEngine.h.

template<typename Function >
void pano::PriorTracker::addPriorUpdateCallback ( const Function &  f) [inline]

function should take as an argument a cv::Ptr<ImageAtom>

Definition at line 44 of file CaptureEngine.h.

Extrinsics pano::PriorTracker::track ( ImageAtom query,
ModelFitter fitter,
FitterResult result = NULL 
)

Definition at line 37 of file CaptureEngine.cpp.

void pano::PriorTracker::updatePrior ( const ImageAtom prior)

Definition at line 80 of file CaptureEngine.cpp.


Member Data Documentation

Definition at line 56 of file CaptureEngine.h.

Definition at line 55 of file CaptureEngine.h.

Definition at line 54 of file CaptureEngine.h.

Definition at line 53 of file CaptureEngine.h.


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


pano_core
Author(s): Ethan Rublee
autogenerated on Wed Aug 26 2015 16:34:01