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

Method PrintPointDistribution

include/KeyFrame.h:527–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

525 Eigen::Vector3f GetRightTranslation();
526
527 void PrintPointDistribution(){
528 int left = 0, right = 0;
529 int Nlim = (NLeft != -1) ? NLeft : N;
530 for(int i = 0; i < N; i++){
531 if(mvpMapPoints[i]){
532 if(i < Nlim) left++;
533 else right++;
534 }
535 }
536 cout << "Point distribution in KeyFrame: left-> " << left << " --- right-> " << right << endl;
537 }
538
539
540};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected