Skip to content
Snippets Groups Projects
Commit c985ace2 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

removed number_of_tracks_ from processor_tracker

parent fe08cf8f
No related branches found
No related tags found
1 merge request!274Resolve "Emplace API inconsistent with ProcessorTrackerFeature/Landmark functions"
......@@ -97,8 +97,6 @@ class ProcessorTracker : public ProcessorBase
FeatureBasePtrList new_features_last_; ///< List of new features in \b last for landmark initialization and new key-frame creation.
FeatureBasePtrList new_features_incoming_; ///< list of the new features of \b last successfully tracked in \b incoming
SizeStd number_of_tracks_;
public:
ProcessorTracker(const std::string& _type,
ProcessorParamsTrackerPtr _params_tracker);
......@@ -204,16 +202,6 @@ class ProcessorTracker : public ProcessorBase
FeatureBasePtrList& getNewFeaturesListLast();
const SizeStd& previousNumberOfTracks() const
{
return number_of_tracks_;
}
SizeStd& previousNumberOfTracks()
{
return number_of_tracks_;
}
protected:
void computeProcessingStep();
......
......@@ -21,8 +21,7 @@ ProcessorTracker::ProcessorTracker(const std::string& _type,
processing_step_(FIRST_TIME_WITHOUT_PACK),
origin_ptr_(nullptr),
last_ptr_(nullptr),
incoming_ptr_(nullptr),
number_of_tracks_(0)
incoming_ptr_(nullptr)
{
//
}
......@@ -251,7 +250,6 @@ void ProcessorTracker::process(CaptureBasePtr const _incoming_ptr)
break;
}
number_of_tracks_ = last_ptr_->getFeatureList().size();
postProcess();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment