<divclass="line"><aid="l00005"name="l00005"></a><spanclass="lineno"> 5</span><spanclass="comment">Redistribution and use in source and binary forms, with or without</span></div>
<divclass="line"><aid="l00006"name="l00006"></a><spanclass="lineno"> 6</span><spanclass="comment">modification, are permitted provided that the following conditions are met:</span></div>
<divclass="line"><aid="l00007"name="l00007"></a><spanclass="lineno"> 7</span><spanclass="comment"> * Redistributions of source code must retain the above copyright</span></div>
<divclass="line"><aid="l00008"name="l00008"></a><spanclass="lineno"> 8</span><spanclass="comment"> notice, this list of conditions and the following disclaimer.</span></div>
<divclass="line"><aid="l00009"name="l00009"></a><spanclass="lineno"> 9</span><spanclass="comment"> * Redistributions in binary form must reproduce the above copyright</span></div>
<divclass="line"><aid="l00010"name="l00010"></a><spanclass="lineno"> 10</span><spanclass="comment"> notice, this list of conditions and the following disclaimer in the</span></div>
<divclass="line"><aid="l00011"name="l00011"></a><spanclass="lineno"> 11</span><spanclass="comment"> documentation and/or other materials provided with the distribution.</span></div>
<divclass="line"><aid="l00012"name="l00012"></a><spanclass="lineno"> 12</span><spanclass="comment"> * Neither the name of the Universite de Sherbrooke nor the</span></div>
<divclass="line"><aid="l00013"name="l00013"></a><spanclass="lineno"> 13</span><spanclass="comment"> names of its contributors may be used to endorse or promote products</span></div>
<divclass="line"><aid="l00014"name="l00014"></a><spanclass="lineno"> 14</span><spanclass="comment"> derived from this software without specific prior written permission.</span></div>
<divclass="line"><aid="l00016"name="l00016"></a><spanclass="lineno"> 16</span><spanclass="comment">THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND</span></div>
<divclass="line"><aid="l00017"name="l00017"></a><spanclass="lineno"> 17</span><spanclass="comment">ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div>
<divclass="line"><aid="l00018"name="l00018"></a><spanclass="lineno"> 18</span><spanclass="comment">WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div>
<divclass="line"><aid="l00019"name="l00019"></a><spanclass="lineno"> 19</span><spanclass="comment">DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY</span></div>
<divclass="line"><aid="l00020"name="l00020"></a><spanclass="lineno"> 20</span><spanclass="comment">DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div>
<divclass="line"><aid="l00021"name="l00021"></a><spanclass="lineno"> 21</span><spanclass="comment">(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<divclass="line"><aid="l00022"name="l00022"></a><spanclass="lineno"> 22</span><spanclass="comment">LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</span></div>
<divclass="line"><aid="l00023"name="l00023"></a><spanclass="lineno"> 23</span><spanclass="comment">ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div>
<divclass="line"><aid="l00024"name="l00024"></a><spanclass="lineno"> 24</span><spanclass="comment">(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div>
<divclass="line"><aid="l00025"name="l00025"></a><spanclass="lineno"> 25</span><spanclass="comment">SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html">rtabmap::VisualWord</a></div><divclass="ttdoc">Represents a visual word (feature descriptor) used in the bag-of-words (BoW) model.</div><divclass="ttdef"><b>Definition</b><ahref="VisualWord_8h_source.html#l00049">VisualWord.h:50</a></div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_a2d20ce6234dc211335a926759e111bbb"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#a2d20ce6234dc211335a926759e111bbb">rtabmap::VisualWord::getDescriptor</a></div><divclass="ttdeci">const cv::Mat & getDescriptor() const</div><divclass="ttdoc">Returns the feature descriptor of this word.</div><divclass="ttdef"><b>Definition</b><ahref="VisualWord_8h_source.html#l00100">VisualWord.h:100</a></div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_a2eaf9703feb310a1038fcd6c8341a1d3"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#a2eaf9703feb310a1038fcd6c8341a1d3">rtabmap::VisualWord::getTotalReferences</a></div><divclass="ttdeci">int getTotalReferences() const</div><divclass="ttdoc">Returns the total number of references (across all signatures).</div><divclass="ttdef"><b>Definition</b><ahref="VisualWord_8h_source.html#l00088">VisualWord.h:88</a></div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_a4a4d316a18741c30c8d2d5db50f3c4e7"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#a4a4d316a18741c30c8d2d5db50f3c4e7">rtabmap::VisualWord::isSaved</a></div><divclass="ttdeci">bool isSaved() const</div><divclass="ttdoc">Checks if the word has been saved to the database.</div><divclass="ttdef"><b>Definition</b><ahref="VisualWord_8h_source.html#l00112">VisualWord.h:112</a></div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_a5826c6a57f9115e6766bb60e2628fe30"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#a5826c6a57f9115e6766bb60e2628fe30">rtabmap::VisualWord::addRef</a></div><divclass="ttdeci">void addRef(int signatureId)</div><divclass="ttdoc">Adds a reference to this word for the given signature ID.</div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_a58f7ff50ca24f1586bf3fdf5999d6184"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#a58f7ff50ca24f1586bf3fdf5999d6184">rtabmap::VisualWord::setSaved</a></div><divclass="ttdeci">void setSaved(bool saved)</div><divclass="ttdoc">Sets the saved flag for the word.</div><divclass="ttdef"><b>Definition</b><ahref="VisualWord_8h_source.html#l00118">VisualWord.h:118</a></div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_a63364292bdd9921668187b16c2e0457e"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#a63364292bdd9921668187b16c2e0457e">rtabmap::VisualWord::removeAllRef</a></div><divclass="ttdeci">int removeAllRef(int signatureId)</div><divclass="ttdoc">Removes all references to this word for the given signature ID.</div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_a64ce7c97214265e24e00e3888b85f967"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#a64ce7c97214265e24e00e3888b85f967">rtabmap::VisualWord::VisualWord</a></div><divclass="ttdeci">VisualWord(int id, const cv::Mat &descriptor, int signatureId=0)</div><divclass="ttdoc">Constructor.</div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_a988fd37d739297c9b04c7dc156de3c66"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#a988fd37d739297c9b04c7dc156de3c66">rtabmap::VisualWord::id</a></div><divclass="ttdeci">int id() const</div><divclass="ttdoc">Returns the ID of this visual word.</div><divclass="ttdef"><b>Definition</b><ahref="VisualWord_8h_source.html#l00094">VisualWord.h:94</a></div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_ad23c14c1c81848fb42573fd5ceac3a42"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#ad23c14c1c81848fb42573fd5ceac3a42">rtabmap::VisualWord::getMemoryUsed</a></div><divclass="ttdeci">unsigned long getMemoryUsed() const</div><divclass="ttdoc">Estimates the memory used by this visual word in bytes.</div></div>
<divclass="ttc"id="aclassrtabmap_1_1VisualWord_html_aef73a60eccd61a917f27bf277366a5bc"><divclass="ttname"><ahref="classrtabmap_1_1VisualWord.html#aef73a60eccd61a917f27bf277366a5bc">rtabmap::VisualWord::getReferences</a></div><divclass="ttdeci">const std::map< int, int >& getReferences() const</div><divclass="ttdoc">Returns the references of this word.</div><divclass="ttdef"><b>Definition</b><ahref="VisualWord_8h_source.html#l00106">VisualWord.h:106</a></div></div>
<liclass="footer">Generated by <ahref="https://www.doxygen.org/index.html"><imgclass="footer"src="doxygen.svg"width="104"height="31"alt="doxygen"/></a> 1.9.8 </li>