<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/> <title>OMPL: ompl::control::ODEStateSpace::StateType Class Reference</title> <meta name="author" content="Ioan A. Șucan, Mark Moll, Lydia E. Kavraki"> <link rel="stylesheet" href="../css/screen.css" type="text/css" media="screen, projection"> <link rel="stylesheet" href="../css/print.css" type="text/css" media="print"> <!--[if lt IE 7]> <script type="text/javascript" src="../js/jquery/jquery.js"></script> <script type="text/javascript" src="../js/jquery/jquery.dropdown.js"></script> <![endif]--> <script type="text/javaScript" src="search/search.js"></script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-9156598-2']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </head> <body onload='searchBox.OnSelectItem(0);'> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search API'); --></script> <div class="navigation" id="top"> <div class="tabs" id="ompltitle"> <ul class="tablist"> <li>The Open Motion Planning Library</li> <li id="searchli"> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search API" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </li> </ul> </div> <ul id="nav" class="dropdown"> <li class="first"><a href="index.html">Home</a></li> <li><a href="download.html">Download</a></li> <li><a href="documentation.html">Documentation</a></li> <li><span class="dir">Code API</span> <ul> <li><a href="api_overview.html">API Overview</a></li> <li><a href="namespaces.html">Namespaces</a></li> <li><a href="annotated.html">Classes</a></li> <li><a href="files.html">Files</a></li> <li><a href="dirs.html">Directories</a></li> </ul> </li> <li><span class="dir">Community</span> <ul> <li><a href="developers.html">Developers</a></li> <li><a href="thirdparty.html">Contributions</a></li> <li><a href="education.html">Education</a></li> <li><a href="gallery.html">Gallery</a></li> </ul> </li> <li><span class="dir">About</span> <ul> <li><a href="license.html">License</a></li> <li><a href="citations.html">Citations</a></li> <li><a href="acknowledgements.html">Acknowledgments</a></li> <li><a href="contact.html">Contact Us</a></li> </ul> </li> </ul> </div> <!--- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="" frameborder="0"name="MSearchResults" id="MSearchResults"></iframe> </div> <div class="container"> <div class="span-22 push-2 first last"> <div> <!-- Generated by Doxygen 1.7.4 --> <script type="text/javascript"><!-- var searchBox = new SearchBox("searchBox", "search",false,'Search'); --></script> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceompl.html">ompl</a> </li> <li class="navelem"><a class="el" href="namespaceompl_1_1control.html">control</a> </li> <li class="navelem"><a class="el" href="classompl_1_1control_1_1ODEStateSpace.html">ODEStateSpace</a> </li> <li class="navelem"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html">StateType</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-attribs">Public Attributes</a> </div> <div class="headertitle"> <div class="title">ompl::control::ODEStateSpace::StateType Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="ompl::control::ODEStateSpace::StateType" --><!-- doxytag: inherits="ompl::base::CompoundState" --> <p>ODE State. This is a compound state that allows accessing the properties of the bodies the state space is constructed for. <a href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#details">More...</a></p> <p><code>#include <<a class="el" href="ODEStateSpace_8h_source.html">ODEStateSpace.h</a>></code></p> <div class="dynheader"> Inheritance diagram for ompl::control::ODEStateSpace::StateType:</div> <div class="dyncontent"> <div class="center"><img src="classompl_1_1control_1_1ODEStateSpace_1_1StateType__inherit__graph.png" border="0" usemap="#ompl_1_1control_1_1ODEStateSpace_1_1StateType_inherit__map" alt="Inheritance graph"/></div> <map name="ompl_1_1control_1_1ODEStateSpace_1_1StateType_inherit__map" id="ompl_1_1control_1_1ODEStateSpace_1_1StateType_inherit__map"> <area shape="rect" id="node2" href="classompl_1_1base_1_1CompoundState.html" title="Definition of a compound state." alt="" coords="12,83,268,112"/><area shape="rect" id="node4" href="classompl_1_1base_1_1State.html" title="Definition of an abstract state." alt="" coords="77,5,203,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classompl_1_1control_1_1ODEStateSpace_1_1StateType-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a97add6d9f4c4a303e1382ace5c55e521"></a><!-- doxytag: member="ompl::control::ODEStateSpace::StateType::getBodyPosition" ref="a97add6d9f4c4a303e1382ace5c55e521" args="(unsigned int body) const " --> const double * </td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a97add6d9f4c4a303e1382ace5c55e521">getBodyPosition</a> (unsigned int body) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the position (x, y, z) of the body at index <em>body</em>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7d4c2a0af078ebf427c3c12f51eba2b1"></a><!-- doxytag: member="ompl::control::ODEStateSpace::StateType::getBodyPosition" ref="a7d4c2a0af078ebf427c3c12f51eba2b1" args="(unsigned int body)" --> double * </td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a7d4c2a0af078ebf427c3c12f51eba2b1">getBodyPosition</a> (unsigned int body)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the position (x, y, z) of the body at index <em>body</em>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4aa3bab17e549b9cfa90959ac2ab98b4"></a><!-- doxytag: member="ompl::control::ODEStateSpace::StateType::getBodyRotation" ref="a4aa3bab17e549b9cfa90959ac2ab98b4" args="(unsigned int body) const " --> const <br class="typebreak"/> <a class="el" href="classompl_1_1base_1_1SO3StateSpace_1_1StateType.html">base::SO3StateSpace::StateType</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a4aa3bab17e549b9cfa90959ac2ab98b4">getBodyRotation</a> (unsigned int body) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the quaternion of the body at index <em>body</em>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a950c0639913a2ded35005700bb6add5b"></a><!-- doxytag: member="ompl::control::ODEStateSpace::StateType::getBodyRotation" ref="a950c0639913a2ded35005700bb6add5b" args="(unsigned int body)" --> <a class="el" href="classompl_1_1base_1_1SO3StateSpace_1_1StateType.html">base::SO3StateSpace::StateType</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a950c0639913a2ded35005700bb6add5b">getBodyRotation</a> (unsigned int body)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the quaternion of the body at index <em>body</em>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1d3af71b81cdd0c88793ae5c17f5ef04"></a><!-- doxytag: member="ompl::control::ODEStateSpace::StateType::getBodyLinearVelocity" ref="a1d3af71b81cdd0c88793ae5c17f5ef04" args="(unsigned int body) const " --> const double * </td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a1d3af71b81cdd0c88793ae5c17f5ef04">getBodyLinearVelocity</a> (unsigned int body) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the linear velocity (x, y, z) of the body at index <em>body</em>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a698bd2928b2c590965f2d0616b61d50d"></a><!-- doxytag: member="ompl::control::ODEStateSpace::StateType::getBodyLinearVelocity" ref="a698bd2928b2c590965f2d0616b61d50d" args="(unsigned int body)" --> double * </td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a698bd2928b2c590965f2d0616b61d50d">getBodyLinearVelocity</a> (unsigned int body)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the linear velocity (x, y, z) of the body at index <em>body</em>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a85a649919c39e95887ee5b1e94116ed9"></a><!-- doxytag: member="ompl::control::ODEStateSpace::StateType::getBodyAngularVelocity" ref="a85a649919c39e95887ee5b1e94116ed9" args="(unsigned int body) const " --> const double * </td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a85a649919c39e95887ee5b1e94116ed9">getBodyAngularVelocity</a> (unsigned int body) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the angular velocity (x, y, z) of the body at index <em>body</em>. <br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a92df615db19607d639eae6848bdc1b24"></a><!-- doxytag: member="ompl::control::ODEStateSpace::StateType::getBodyAngularVelocity" ref="a92df615db19607d639eae6848bdc1b24" args="(unsigned int body)" --> double * </td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a92df615db19607d639eae6848bdc1b24">getBodyAngularVelocity</a> (unsigned int body)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the angular velocity (x, y, z) of the body at index <em>body</em>. <br/></td></tr> <tr><td colspan="2"><h2><a name="pub-attribs"></a> Public Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a1ba5dfafa14052fd4a9ee317cddcd596">collision</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Flag containing information about state validity. <a href="#a1ba5dfafa14052fd4a9ee317cddcd596"></a><br/></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>ODE State. This is a compound state that allows accessing the properties of the bodies the state space is constructed for. </p> <p>Definition at line <a class="el" href="ODEStateSpace_8h_source.html#l00068">68</a> of file <a class="el" href="ODEStateSpace_8h_source.html">ODEStateSpace.h</a>.</p> </div><hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a1ba5dfafa14052fd4a9ee317cddcd596"></a><!-- doxytag: member="ompl::control::ODEStateSpace::StateType::collision" ref="a1ba5dfafa14052fd4a9ee317cddcd596" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int <a class="el" href="classompl_1_1control_1_1ODEStateSpace_1_1StateType.html#a1ba5dfafa14052fd4a9ee317cddcd596">ompl::control::ODEStateSpace::StateType::collision</a><code> [mutable]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Flag containing information about state validity. </p> <ul> <li>BIT 0: (<a class="el" href="classompl_1_1control_1_1ODEStateSpace.html#ab075415388f31633522d44a5418029fdaed833e9de7ff11ae0e1913a2c23222f4" title="Index of bit in StateType::collision indicating whether it is known if a state is in collision or not...">ODEStateSpace::STATE_COLLISION_KNOWN_BIT</a>)</li> <li>BIT 1: (<a class="el" href="classompl_1_1control_1_1ODEStateSpace.html#ab075415388f31633522d44a5418029fdaa73ce13533ae4274372087653cc91c99" title="Index of bit in StateType::collision indicating whether a state is in collision or not...">ODEStateSpace::STATE_COLLISION_VALUE_BIT</a>)</li> <li>BIT 2: (<a class="el" href="classompl_1_1control_1_1ODEStateSpace.html#ab075415388f31633522d44a5418029fda10f9959c7abdf3c6c80c7e0190a0c7fb" title="Index of bit in StateType::collision indicating whether it is known if a state is in valid or not...">ODEStateSpace::STATE_VALIDITY_KNOWN_BIT</a>)</li> <li>BIT 3: (<a class="el" href="classompl_1_1control_1_1ODEStateSpace.html#ab075415388f31633522d44a5418029fda2b1ca7a8e59afc00ad7aa945589d4607" title="Index of bit in StateType::collision indicating whether a state is valid or not. Initially the value ...">ODEStateSpace::STATE_VALIDITY_VALUE_BIT</a>) </li> </ul> <p>Definition at line <a class="el" href="ODEStateSpace_8h_source.html#l00129">129</a> of file <a class="el" href="ODEStateSpace_8h_source.html">ODEStateSpace.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>src/ompl/extensions/ode/<a class="el" href="ODEStateSpace_8h_source.html">ODEStateSpace.h</a></li> </ul> </div> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> </div> <div class="footer span-22 push-2 last"> <a href="http://www.kavrakilab.org">Physical and Biological Computing Group</a> • <a href="http://www.cs.rice.edu">Department of Computer Science</a> • <a href="http://www.rice.edu">Rice University</a><br> <div class="gray">Generated on Sun Oct 9 2011 23:04:43 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.7.4</div> </div> </div> </body> </html>