mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Fixed some size_t/int warnings.
Fixed compilation error on Windows for ExtractObject tool (include pcl_ros/transform.h missing). git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1295 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -38,7 +38,7 @@ public:
|
||||
|
||||
const float * data() const {return data_.data();}
|
||||
float * data() {return data_.data();}
|
||||
int size() const {return data_.size();}
|
||||
int size() const {return (int)data_.size();}
|
||||
|
||||
float & x() {return data_[3];}
|
||||
float & y() {return data_[7];}
|
||||
|
||||
@@ -71,7 +71,7 @@ public:
|
||||
void setNndrUsed(bool used) {_nndrUsed = used;}
|
||||
bool isNndrUsed() const {return _nndrUsed;}
|
||||
float getNndrRatio() {return _nndrRatio;}
|
||||
unsigned int getNotIndexedWordsCount() const {return _notIndexedWords.size();}
|
||||
unsigned int getNotIndexedWordsCount() const {return (int)_notIndexedWords.size();}
|
||||
int getLastIndexedWordId() const;
|
||||
int getTotalActiveReferences() const {return _totalActiveReferences;}
|
||||
void setNNStrategy(NNStrategy strategy, const ParametersMap & parameters = ParametersMap());
|
||||
@@ -83,7 +83,7 @@ public:
|
||||
|
||||
void clear();
|
||||
std::vector<VisualWord *> getUnusedWords() const;
|
||||
unsigned int getUnusedWordsSize() const {return _unusedWords.size();}
|
||||
unsigned int getUnusedWordsSize() const {return (int)_unusedWords.size();}
|
||||
void removeWords(const std::vector<VisualWord*> & words); // caller must delete the words
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user