<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>mrpt::opengl::CAngularObservationMesh::TDoubleRange Struct Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <div align="left"><a href="http://www.mrpt.org/">Main MRPT website</a> > <b>C++ reference</b> </div> <div align="right"> <a href="index.html"><img border="0" src="mrpt_logo.png" alt="MRPT logo"></a> </div> <!-- Generated by Doxygen 1.7.5 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <div class="left"> <form id="FSearchBox" action="search.php" method="get"> <img id="MSearchSelect" src="search/mag.png" alt=""/> <input type="text" id="MSearchField" name="query" value="Search" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)"/> </form> </div><div class="right"></div> </div> </li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacemrpt.html">mrpt</a> </li> <li class="navelem"><a class="el" href="namespacemrpt_1_1opengl.html">opengl</a> </li> <li class="navelem"><a class="el" href="classmrpt_1_1opengl_1_1_c_angular_observation_mesh.html">CAngularObservationMesh</a> </li> <li class="navelem"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html">TDoubleRange</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#nested-classes">Classes</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pri-methods">Private Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> </div> <div class="headertitle"> <div class="title">mrpt::opengl::CAngularObservationMesh::TDoubleRange Struct Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="mrpt::opengl::CAngularObservationMesh::TDoubleRange" --><hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Range specification type, with several uses. </p> </div> <p><code>#include <<a class="el" href="_c_angular_observation_mesh_8h_source.html">mrpt/opengl/CAngularObservationMesh.h</a>></code></p> <p><a href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="nested-classes"></a> Classes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">union  </td><td class="memItemRight" valign="bottom"><a class="el" href="unionmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range_1_1rd.html">rd</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Union type with the actual data. <a href="unionmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range_1_1rd.html#details">More...</a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#a5b71c6c681d8536dc3daa619652c643c">aperture</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the total aperture of the range. <a href="#a5b71c6c681d8536dc3daa619652c643c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#a4855b9322116206df4a12fc05d486621">initialValue</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the first value of the range. <a href="#a4855b9322116206df4a12fc05d486621"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#aa691b4d262560ea77564c862b18afc56">finalValue</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the last value of the range. <a href="#aa691b4d262560ea77564c862b18afc56"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#a15a6c9ab9ea3686ec9f8309c630bd758">increment</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the increment between two consecutive values of the range. <a href="#a15a6c9ab9ea3686ec9f8309c630bd758"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">size_t </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#af9537b556c5873fa5f7acde1dafd9c3e">amount</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the total amount of values in this range. <a href="#af9537b556c5873fa5f7acde1dafd9c3e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#a2342d6c151a5778a907c3a48290701b5">values</a> (<a class="el" href="classstd_1_1vector.html">std::vector</a>< double > &vals) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Gets a vector with every value in the range. <a href="#a2342d6c151a5778a907c3a48290701b5"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#a44b4206e4fcf88d55fb293d043eb96c9">negToPos</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the direction of the scan. <a href="#a44b4206e4fcf88d55fb293d043eb96c9"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html">TDoubleRange</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#a9a9148966433b1e31be5a538a0e79cde">CreateFromIncrement</a> (double initial, double final, double increment)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a range of values from the initial value, the final value and the increment. <a href="#a9a9148966433b1e31be5a538a0e79cde"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html">TDoubleRange</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#af5a876b32a010d47abf9bfdda740dee2">CreateFromAmount</a> (double initial, double final, size_t amount)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a range of values from the initial value, the final value and a desired amount of samples. <a href="#af5a876b32a010d47abf9bfdda740dee2"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html">TDoubleRange</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#a52f94f1da5c4dcdcd3c104e02ccfe542">CreateFromAperture</a> (double aperture, size_t amount, bool negToPos=true)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a zero-centered range of values from an aperture, an amount of samples and a direction. <a href="#a52f94f1da5c4dcdcd3c104e02ccfe542"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pri-methods"></a> Private Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#a5f9f5fc6fd70ed5a96c5d54c59dee5cd">TDoubleRange</a> (double a, double b, double c)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor from initial value, final value and range. <a href="#a5f9f5fc6fd70ed5a96c5d54c59dee5cd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#af720fd3520ed591acdd0472c9d350e34">TDoubleRange</a> (double a, double b, size_t c)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor from initial value, final value and amount of samples. <a href="#af720fd3520ed591acdd0472c9d350e34"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#a150a9b1102273a48fe596e14ae92246d">TDoubleRange</a> (double a, size_t b, bool c)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor from aperture, amount of samples and scan direction. <a href="#a150a9b1102273a48fe596e14ae92246d"></a><br/></td></tr> <tr><td colspan="2"><h2><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#ab7b22acc2b2c0acd8528e6604b4a42f3">rangeType</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Range type. <a href="#ab7b22acc2b2c0acd8528e6604b4a42f3"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">union <br class="typebreak"/> <a class="el" href="unionmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range_1_1rd.html">mrpt::opengl::CAngularObservationMesh::TDoubleRange::rd</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#ad30beabcf6fc8d6ae0d6a67072686e32">rangeData</a></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a5f9f5fc6fd70ed5a96c5d54c59dee5cd"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::TDoubleRange" ref="a5f9f5fc6fd70ed5a96c5d54c59dee5cd" args="(double a, double b, double c)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::opengl::CAngularObservationMesh::TDoubleRange::TDoubleRange </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>a</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>b</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>c</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor from initial value, final value and range. </p> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00096">96</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> </div> </div> <a class="anchor" id="af720fd3520ed591acdd0472c9d350e34"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::TDoubleRange" ref="af720fd3520ed591acdd0472c9d350e34" args="(double a, double b, size_t c)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::opengl::CAngularObservationMesh::TDoubleRange::TDoubleRange </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>a</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>b</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"><em>c</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor from initial value, final value and amount of samples. </p> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00104">104</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> </div> </div> <a class="anchor" id="a150a9b1102273a48fe596e14ae92246d"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::TDoubleRange" ref="a150a9b1102273a48fe596e14ae92246d" args="(double a, size_t b, bool c)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">mrpt::opengl::CAngularObservationMesh::TDoubleRange::TDoubleRange </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>a</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"><em>b</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>c</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Constructor from aperture, amount of samples and scan direction. </p> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00112">112</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="af9537b556c5873fa5f7acde1dafd9c3e"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::amount" ref="af9537b556c5873fa5f7acde1dafd9c3e" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">size_t mrpt::opengl::CAngularObservationMesh::TDoubleRange::amount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the total amount of values in this range. </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1logic__error.html" title="STL class.">std::logic_error</a></td><td>on invalid range type. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00190">190</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> <p>References <a class="el" href="bits_8h_source.html#l00105">mrpt::utils::sign()</a>.</p> <p>Referenced by <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00438">mrpt::opengl::CAngularObservationMesh::trace1DSetOfRays()</a>.</p> </div> </div> <a class="anchor" id="a5b71c6c681d8536dc3daa619652c643c"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::aperture" ref="a5b71c6c681d8536dc3daa619652c643c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double mrpt::opengl::CAngularObservationMesh::TDoubleRange::aperture </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the total aperture of the range. </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1logic__error.html" title="STL class.">std::logic_error</a></td><td>on invalid range type. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00142">142</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> <p>References <a class="el" href="bits_8h_source.html#l00105">mrpt::utils::sign()</a>.</p> <p>Referenced by <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00438">mrpt::opengl::CAngularObservationMesh::trace1DSetOfRays()</a>.</p> </div> </div> <a class="anchor" id="af5a876b32a010d47abf9bfdda740dee2"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::CreateFromAmount" ref="af5a876b32a010d47abf9bfdda740dee2" args="(double initial, double final, size_t amount)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html">TDoubleRange</a> mrpt::opengl::CAngularObservationMesh::TDoubleRange::CreateFromAmount </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>initial</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>final</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"><em>amount</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a range of values from the initial value, the final value and a desired amount of samples. </p> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00129">129</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> </div> </div> <a class="anchor" id="a52f94f1da5c4dcdcd3c104e02ccfe542"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::CreateFromAperture" ref="a52f94f1da5c4dcdcd3c104e02ccfe542" args="(double aperture, size_t amount, bool negToPos=true)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html">TDoubleRange</a> mrpt::opengl::CAngularObservationMesh::TDoubleRange::CreateFromAperture </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>aperture</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t </td> <td class="paramname"><em>amount</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>negToPos</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a zero-centered range of values from an aperture, an amount of samples and a direction. </p> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00135">135</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> </div> </div> <a class="anchor" id="a9a9148966433b1e31be5a538a0e79cde"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::CreateFromIncrement" ref="a9a9148966433b1e31be5a538a0e79cde" args="(double initial, double final, double increment)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html">TDoubleRange</a> mrpt::opengl::CAngularObservationMesh::TDoubleRange::CreateFromIncrement </td> <td>(</td> <td class="paramtype">double </td> <td class="paramname"><em>initial</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>final</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">double </td> <td class="paramname"><em>increment</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, static]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a range of values from the initial value, the final value and the increment. </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1logic__error.html" title="STL class.">std::logic_error</a></td><td>if the increment is zero. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00122">122</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> </div> </div> <a class="anchor" id="aa691b4d262560ea77564c862b18afc56"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::finalValue" ref="aa691b4d262560ea77564c862b18afc56" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double mrpt::opengl::CAngularObservationMesh::TDoubleRange::finalValue </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the last value of the range. </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1logic__error.html" title="STL class.">std::logic_error</a></td><td>on invalid range type. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00166">166</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> <p>References <a class="el" href="bits_8h_source.html#l00105">mrpt::utils::sign()</a>.</p> </div> </div> <a class="anchor" id="a15a6c9ab9ea3686ec9f8309c630bd758"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::increment" ref="a15a6c9ab9ea3686ec9f8309c630bd758" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double mrpt::opengl::CAngularObservationMesh::TDoubleRange::increment </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the increment between two consecutive values of the range. </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1logic__error.html" title="STL class.">std::logic_error</a></td><td>on invalid range type. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00178">178</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> </div> </div> <a class="anchor" id="a4855b9322116206df4a12fc05d486621"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::initialValue" ref="a4855b9322116206df4a12fc05d486621" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">double mrpt::opengl::CAngularObservationMesh::TDoubleRange::initialValue </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the first value of the range. </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1logic__error.html" title="STL class.">std::logic_error</a></td><td>on invalid range type. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00154">154</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> </div> </div> <a class="anchor" id="a44b4206e4fcf88d55fb293d043eb96c9"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::negToPos" ref="a44b4206e4fcf88d55fb293d043eb96c9" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool mrpt::opengl::CAngularObservationMesh::TDoubleRange::negToPos </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the direction of the scan. </p> <p>True if the increment is positive, false otherwise. </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1logic__error.html" title="STL class.">std::logic_error</a></td><td>on invalid range type. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00207">207</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> <p>References <a class="el" href="bits_8h_source.html#l00105">mrpt::utils::sign()</a>.</p> <p>Referenced by <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00438">mrpt::opengl::CAngularObservationMesh::trace1DSetOfRays()</a>.</p> </div> </div> <a class="anchor" id="a2342d6c151a5778a907c3a48290701b5"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::values" ref="a2342d6c151a5778a907c3a48290701b5" args="(std::vector< double > &vals) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void mrpt::opengl::CAngularObservationMesh::TDoubleRange::values </td> <td>(</td> <td class="paramtype"><a class="el" href="classstd_1_1vector.html">std::vector</a>< double > & </td> <td class="paramname"><em>vals</em></td><td>)</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Gets a vector with every value in the range. </p> <dl><dt><b>Exceptions:</b></dt><dd> <table class="exception"> <tr><td class="paramname"><a class="el" href="classstd_1_1logic__error.html" title="STL class.">std::logic_error</a></td><td>on invalid range type. </td></tr> </table> </dd> </dl> <p>Referenced by <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00422">mrpt::opengl::CAngularObservationMesh::trace2DSetOfRays()</a>, and <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00438">mrpt::opengl::CAngularObservationMesh::trace1DSetOfRays()</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="ad30beabcf6fc8d6ae0d6a67072686e32"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::rangeData" ref="ad30beabcf6fc8d6ae0d6a67072686e32" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">union <a class="el" href="unionmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range_1_1rd.html">mrpt::opengl::CAngularObservationMesh::TDoubleRange::rd</a> <a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#ad30beabcf6fc8d6ae0d6a67072686e32">mrpt::opengl::CAngularObservationMesh::TDoubleRange::rangeData</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ab7b22acc2b2c0acd8528e6604b4a42f3"></a><!-- doxytag: member="mrpt::opengl::CAngularObservationMesh::TDoubleRange::rangeType" ref="ab7b22acc2b2c0acd8528e6604b4a42f3" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char <a class="el" href="structmrpt_1_1opengl_1_1_c_angular_observation_mesh_1_1_t_double_range.html#ab7b22acc2b2c0acd8528e6604b4a42f3">mrpt::opengl::CAngularObservationMesh::TDoubleRange::rangeType</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Range type. </p> <p>If 0, it's specified by an initial and a final value, and an increment. If 1, it's specified by an initial and a final value, and a fixed size of samples. If 2, it's specified by an aperture, a fixed size of samples and a boolean variable controlling direction. This type is always zero-centered. </p> <p>Definition at line <a class="el" href="_c_angular_observation_mesh_8h_source.html#l00071">71</a> of file <a class="el" href="_c_angular_observation_mesh_8h_source.html">CAngularObservationMesh.h</a>.</p> </div> </div> </div> <br><hr><br> <table border="0" width="100%"> <tr> <td> Page generated by <a href="http://www.doxygen.org" target="_blank">Doxygen 1.7.5</a> for MRPT 0.9.5 SVN: at Sun Sep 25 17:20:18 UTC 2011</td><td></td> <td width="100"> </td> <td width="150"> </td></tr> </table> </body></html>