MCPcopy Create free account
hub / github.com/AutonomousFieldRoboticsLab/SVIn / clear

Method clear

pose_graph/ThirdParty/DBoW/TemplatedDatabase.h:478–485  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476
477template <class TDescriptor, class F>
478inline void TemplatedDatabase<TDescriptor, F>::clear() {
479 // resize vectors
480 m_ifile.resize(0);
481 m_ifile.resize(m_voc->size());
482 m_dfile.resize(0);
483 m_dBowfile.resize(0);
484 m_nentries = 0;
485}
486
487// --------------------------------------------------------------------------
488

Callers 15

mainFunction · 0.45
doSetupMethod · 0.45
redoPreintegrationMethod · 0.45
clearCamerasMethod · 0.45
clearImusMethod · 0.45
getLandmarksMethod · 0.45
detectMethod · 0.45
reserveMatchesMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 1

reserveMatchesMethod · 0.36