MCPcopy Create free account
hub / github.com/UZ-SLAMLab/ORB_SLAM3 / SetORBVocabulary

Method SetORBVocabulary

src/KeyFrameDatabase.cc:847–855  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845}
846
847void KeyFrameDatabase::SetORBVocabulary(ORBVocabulary* pORBVoc)
848{
849 ORBVocabulary** ptr;
850 ptr = (ORBVocabulary**)( &mpVoc );
851 *ptr = pORBVoc;
852
853 mvInvertedFile.clear();
854 mvInvertedFile.resize(mpVoc->size());
855}
856
857} //namespace ORB_SLAM

Callers

nothing calls this directly

Calls 3

clearMethod · 0.45
resizeMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected