diff options
author | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2018-08-11 20:21:34 +0200 |
commit | 0ea5fc66924303d1bf73ba283a383e2aadee02f2 (patch) | |
tree | 2568e71a7ccc44ec23b8bb3f0ff97fb6bf2ed709 /docs/doxygen/nel/classNLMISC_1_1CQuatT.html | |
download | nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.tar.xz nevrax-website-self-hostable-0ea5fc66924303d1bf73ba283a383e2aadee02f2.zip |
Initial commit
Diffstat (limited to 'docs/doxygen/nel/classNLMISC_1_1CQuatT.html')
-rw-r--r-- | docs/doxygen/nel/classNLMISC_1_1CQuatT.html | 2002 |
1 files changed, 2002 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNLMISC_1_1CQuatT.html b/docs/doxygen/nel/classNLMISC_1_1CQuatT.html new file mode 100644 index 00000000..445c6423 --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1CQuatT.html @@ -0,0 +1,2002 @@ +<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd"> +<HTML> +<HEAD> + <TITLE>nevrax.org : docs</TITLE> + <LINK REL=stylesheet TYPE="text/css" HREF="http://www.nevrax.org/inc/css/nevrax.css"> + <link href="doxygen.css" rel="stylesheet" type="text/css"> +</HEAD> +<BODY MARGINHEIGHT="0" MARGINWIDTH="0"> + +<!-- uplinks --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.org><b>Home</B></FONT></A> </TD> + <TD><IMG width=6 height=14 SRC="http://www.nevrax.org/inc/img/reddots.gif" ALT="#" VSPACE=2 HSPACE=2 BORDER=0 ></TD><TD VALIGN=middle> <A CLASS=uplinks HREF=http://www.nevrax.com><b>nevrax.com</B></FONT></A> </TD> + </TR> +</TABLE> + +<!-- banner Nevrax --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 WIDTH=100%> + <TR><TD BGCOLOR="#000000" BACKGROUND="http://www.nevrax.org/inc/img/black_banner.jpg"><A HREF="http://www.nevrax.org"><IMG SRC="http://www.nevrax.org/inc/img/nevrax.gif" WIDTH="170" HEIGHT="45" BORDER=0 ALT="Nevrax" ></A></TD></TR> +</TABLE> + +<!-- main table --> +<TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0 height=100%> + <TR> + <TD WIDTH=16><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="10" BORDER=0 ALT=""></TD> + <TD WIDTH=140 BGCOLOR=#dddddd VALIGN=TOP ALIGN=middle><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + + <!------ Begin Box ------> + <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0 BGCOLOR=black><TR><TD><TABLE border=0 cellspacing=2 cellpadding=0 width=120><tr><TD ALIGN=middle bgcolor=black> + <FONT COLOR=white FACE="sans-serif"><B>Nevrax.org</B></FONT></TD></TR><tr><td colspan=2 bgcolor=#FFFFFF> + <TABLE cellspacing=0 cellpadding=1 border=0> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="Rubrique news"><img width=13 height=15 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-news.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/news/" TITLE="News">News</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Rubrique mail"><img width=15 height=11 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-mail.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/mail/" TITLE="Mailing list archive">Mailing-list</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Rubrique docs"><img width=14 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-docs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/docs/" TITLE="Documentation">Documentation</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="Rubrique cvs"><img width=13 height=17 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-cvs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/cvs/" TITLE="CVS Web">CVS</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Rubrique bugs"><img width=20 height=16 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-bugs.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/bugs/" TITLE="Bugtracking">Bugs</a></td></tr> + <tr><td ALIGN=middle><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="Rubrique license"><img width=18 height=12 hspace=5 border=0 src=http://www.nevrax.org/inc/img/picto-gpl.gif ALT=#></A></td><td><a class='linkbox' href="http://www.nevrax.org/GPL.php3" TITLE="License">License</a></td></tr> + </TABLE> + </TD></TR></TABLE></TD></TR></TABLE> + <!------ End Box ------> + + </TD> + <TD WIDTH=15><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="16" HEIGHT="16" BORDER=0 ALT=""></TD> + <TD ALIGN=left valign=top><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="140" HEIGHT="10" BORDER=0 ALT=""> + +<!-- title --> +<TABLE background="http://www.nevrax.org/inc/img/redline.gif" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td> +<A HREF="http://www.nevrax.org/docs/"><img src="http://www.nevrax.org/inc/img/t_docs.gif" ALT="Docs" HEIGHT=20 BORDER=0></A> +</td><td><IMG SRC="http://www.nevrax.org/inc/img/pixel.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""> +</td></tr></table> + + +<!-- block --> +<TABLE bgcolor="#dddddd" CELLSPACING=0 CELLPADDING=0 BORDER=0 width=100%><tr><td width=1% valign=middle><img width=6 height=14 hspace=2 vspace=2 src="http://www.nevrax.org/inc/img/reddots.gif"></TD> + <TD><B>Documentation</B></TD> + <TD ALIGN=RIGHT> </td> +</tr></table> +<!-- Generated by Doxygen 1.2.14 --> +<center> +<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindexRef" doxygen="_cgi:http://www.nevrax.org/cgi-bin/nel-search.cgi" href="http://www.nevrax.org/cgi-bin/nel-search.cgi">Search</a> </center> +<hr><h1>NLMISC::CQuatT Class Template Reference</h1>A Template quaternion. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="quat_8h-source.html">quat.h</a>></code> +<p> +<a href="classNLMISC_1_1CQuatT-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0> +<tr><td colspan=2><br><h2>Public Methods</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Object</div></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z310_0">CQuatT</a> ()</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z310_1">CQuatT</a> (T X, T Y, T Z, T W)</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z310_2">CQuatT</a> (const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &axis, float angle)</td></tr> +<tr><td> </td><td><font size=-1><em>ctor of a UNIT quaternion, from an angle axis.</em> <a href="#z310_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z310_3">CQuatT</a> (const <a class="el" href="structNLMISC_1_1CAngleAxis.html">CAngleAxis</a> &aa)</td></tr> +<tr><td> </td><td><font size=-1><em>ctor of a UNIT quaternion, from an angle axis.</em> <a href="#z310_3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Sets.</div></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z311_0">set</a> (T X, T Y, T Z, T W)</td></tr> +<tr><td colspan="2"><div class="groupHeader">Comparison</div></td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z312_0">operator==</a> (const CQuatT &a) const</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z312_1">equal</a> (const CQuatT &a, float epsilon=1E-6f) const</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z312_2">identity</a> ()</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z312_3">isIdentity</a> () const</td></tr> +<tr><td colspan="2"><div class="groupHeader">4D vector operations.</div></td></tr> +<tr><td nowrap align=right valign=top>CQuatT & </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_0">operator+=</a> (const CQuatT &o)</td></tr> +<tr><td nowrap align=right valign=top>CQuatT & </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_1">operator-=</a> (const CQuatT &o)</td></tr> +<tr><td nowrap align=right valign=top>CQuatT & </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_2">operator *=</a> (T f)</td></tr> +<tr><td nowrap align=right valign=top>CQuatT & </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_3">operator/=</a> (T f)</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_4">operator+</a> (const CQuatT &o) const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_5">operator-</a> (const CQuatT &o) const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_6">operator *</a> (T f) const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_7">operator/</a> (T f) const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_8">operator-</a> () const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_9">operator+</a> () const</td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_10">sqrnorm</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return the square of the norm of the 4D vector.</em> <a href="#z313_10">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_11">norm</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return the norm of the 4D vector.</em> <a href="#z313_11">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_12">normalize</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Normalize the quaternion.</em> <a href="#z313_12">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z313_13">normed</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the quaternion normalized.</em> <a href="#z313_13">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Basic Quaternions operations.</div></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z314_0">operator *</a> (const CQuatT &) const</td></tr> +<tr><td> </td><td><font size=-1><em>Quaternion multiplication/composition.</em> <a href="#z314_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CQuatT & </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z314_1">operator *=</a> (const CQuatT &)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z314_2">invert</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Invert this quaternion. If normalized, conjugate is faster and does same thing.</em> <a href="#z314_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z314_3">inverted</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return the quaternion inverted.</em> <a href="#z314_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z314_4">conjugate</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return the conjugate of this quaternion.</em> <a href="#z314_4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">To/From other orientation.</div></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CVector.html">CVector</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z315_0">getAxis</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the equivalent Unit axis of this quaternion.</em> <a href="#z315_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>float </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z315_1">getAngle</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the equivalent angle of this quaternion. (in radian).</em> <a href="#z315_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="structNLMISC_1_1CAngleAxis.html">CAngleAxis</a> </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z315_2">getAngleAxis</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the equivalent Unit AngleAxis of this quaternion.</em> <a href="#z315_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z315_3">setAngleAxis</a> (const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> &axis, float angle)</td></tr> +<tr><td> </td><td><font size=-1><em>Build a UNIT quaternion from an AngleAxis.</em> <a href="#z315_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z315_4">setAngleAxis</a> (const <a class="el" href="structNLMISC_1_1CAngleAxis.html">CAngleAxis</a> &angAxis)</td></tr> +<tr><td> </td><td><font size=-1><em>Build a UNIT quaternion from an AngleAxis.</em> <a href="#z315_4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Misc.</div></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z316_0">log</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>compute logn quaternion.</em> <a href="#z316_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z316_1">exp</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>compute quaternion exponent.</em> <a href="#z316_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z316_2">makeClosest</a> (const CQuatT &o)</td></tr> +<tr><td> </td><td><font size=-1><em>ensure that *this and q are on same side of hypersphere, ie dotProduct(*this,q) is >0, modifying this if necessary.</em> <a href="#z316_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z316_3">serial</a> (<a class="el" href="classNLMISC_1_1IStream.html">IStream</a> &f)</td></tr> +<tr><td> </td><td><font size=-1><em>serial.</em> <a href="#z316_3">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td colspan="2"><div class="groupHeader">Quaternions static functions.</div></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z317_0">dotProduct</a> (const CQuatT< T > &q0, const CQuatT< T > &q1)</td></tr> +<tr><td> </td><td><font size=-1><em>Return the dotProduct of 2 quaternions.</em> <a href="#z317_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z317_1">slerp</a> (const CQuatT< T > &q0, const CQuatT< T > &q1, float <a class="el" href="driver__opengl__extension__def_8h.html#a384">t</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Quaternion spherical linear interpolation.</em> <a href="#z317_1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z317_2">squad</a> (const CQuatT< T > &q0, const CQuatT< T > &tgtQ0, const CQuatT< T > &tgtQ1, const CQuatT< T > &q1, float <a class="el" href="driver__opengl__extension__def_8h.html#a384">t</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Quaternion Quadratic spherical linear interpolation.</em> <a href="#z317_2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z317_3">squadrev</a> (const <a class="el" href="structNLMISC_1_1CAngleAxis.html">CAngleAxis</a> &rot, const CQuatT< T > &q0, const CQuatT< T > &tgtQ0, const CQuatT< T > &tgtQ1, const CQuatT< T > &q1, float <a class="el" href="driver__opengl__extension__def_8h.html#a384">t</a>)</td></tr> +<tr><td> </td><td><font size=-1><em>Quaternion Quadratic spherical linear interpolation, with multi revision support.</em> <a href="#z317_3">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#z317_4">lnDif</a> (const CQuatT &q0, const CQuatT &q1)</td></tr> +<tr><td> </td><td><font size=-1><em>compute lnDiff of q0.inverted()*q1.</em> <a href="#z317_4">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#m0">x</a></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#m1">y</a></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#m2">z</a></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="classNLMISC_1_1CQuatT.html#m3">w</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h3>template<class T><br> + class NLMISC::CQuatT< T ></h3> + +A Template quaternion. +<p> +Use <a class="el" href="classNLMISC_1_1CQuat.html">CQuat</a> and <a class="el" href="classNLMISC_1_1CQuatD.html">CQuatD</a>. <dl compact><dt><b> +Author: </b><dd> +Antoine Viau. , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2000 </dl> +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00074">74</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="z310_0" doxytag="NLMISC::CQuatT::CQuatT"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CQuatT< T >::CQuatT </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00084">84</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00139">NLMISC::CQuatT< float >::conjugate</a>, <a class="el" href="quat_8h-source.html#l00137">NLMISC::CQuatT< float >::inverted</a>, <a class="el" href="quat_8h-source.html#l00125">NLMISC::CQuatT< float >::normed</a>, <a class="el" href="quat_8h-source.html#l00114">NLMISC::CQuatT< float >::operator *</a>, <a class="el" href="quat_8h-source.html#l00110">NLMISC::CQuatT< float >::operator *=</a>, <a class="el" href="quat_8h-source.html#l00112">NLMISC::CQuatT< float >::operator+</a>, <a class="el" href="quat_8h-source.html#l00108">NLMISC::CQuatT< float >::operator+=</a>, <a class="el" href="quat_8h-source.html#l00113">NLMISC::CQuatT< float >::operator-</a>, <a class="el" href="quat_8h-source.html#l00109">NLMISC::CQuatT< float >::operator-=</a>, <a class="el" href="quat_8h-source.html#l00115">NLMISC::CQuatT< float >::operator/</a>, <a class="el" href="quat_8h-source.html#l00111">NLMISC::CQuatT< float >::operator/=</a>, and <a class="el" href="quat_8h-source.html#l00100">NLMISC::CQuatT< float >::operator==</a>. </td> + </tr> +</table> +<a name="z310_1" doxytag="NLMISC::CQuatT::CQuatT"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CQuatT< T >::CQuatT </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T </td> + <td class="mdname" nowrap> <em>X</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>T </td> + <td class="mdname" nowrap> <em>Y</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>T </td> + <td class="mdname" nowrap> <em>Z</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>T </td> + <td class="mdname" nowrap> <em>W</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00085">85</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z310_2" doxytag="NLMISC::CQuatT::CQuatT"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CQuatT< T >::CQuatT </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> & </td> + <td class="mdname" nowrap> <em>axis</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>angle</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +ctor of a UNIT quaternion, from an angle axis. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00087">87</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z310_3" doxytag="NLMISC::CQuatT::CQuatT"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> NLMISC::CQuatT< T >::CQuatT </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="structNLMISC_1_1CAngleAxis.html">CAngleAxis</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>aa</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +ctor of a UNIT quaternion, from an angle axis. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00089">89</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="z314_4" doxytag="NLMISC::CQuatT::conjugate"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT NLMISC::CQuatT< T >::conjugate </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return the conjugate of this quaternion. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00139">139</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00265">invert</a>. </td> + </tr> +</table> +<a name="z317_0" doxytag="NLMISC::CQuatT::dotProduct"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T NLMISC::CQuatT< T >::dotProduct </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q0</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q1</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the dotProduct of 2 quaternions. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00309">309</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00473">makeClosest</a>. </td> + </tr> +</table> +<a name="z312_1" doxytag="NLMISC::CQuatT::equal"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CQuatT< T >::equal </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>a</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>epsilon</em> = 1E-6f</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00227">227</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="quat_8h-source.html#l00077">w</a>, <a class="el" href="quat_8h-source.html#l00077">x</a>, <a class="el" href="quat_8h-source.html#l00077">y</a>, and <a class="el" href="quat_8h-source.html#l00077">z</a>. </td> + </tr> +</table> +<a name="z316_1" doxytag="NLMISC::CQuatT::exp"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT< T > NLMISC::CQuatT< T >::exp </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute quaternion exponent. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00445">445</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="quat_8h-source.html#l00039">NLMISC::QuatEpsilon</a>, <a class="el" href="quat_8h-source.html#l00077">x</a>, <a class="el" href="quat_8h-source.html#l00077">y</a>, and <a class="el" href="quat_8h-source.html#l00077">z</a>. </td> + </tr> +</table> +<a name="z315_1" doxytag="NLMISC::CQuatT::getAngle"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> float NLMISC::CQuatT< T >::getAngle </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the equivalent angle of this quaternion. (in radian). +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00148">148</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z315_2" doxytag="NLMISC::CQuatT::getAngleAxis"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="structNLMISC_1_1CAngleAxis.html">CAngleAxis</a> NLMISC::CQuatT< T >::getAngleAxis </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the equivalent Unit AngleAxis of this quaternion. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00150">150</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z315_0" doxytag="NLMISC::CQuatT::getAxis"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> NLMISC::CQuatT< T >::getAxis </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the equivalent Unit axis of this quaternion. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00146">146</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z312_2" doxytag="NLMISC::CQuatT::identity"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CQuatT< T >::identity </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00102">102</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00280">normalize</a>. </td> + </tr> +</table> +<a name="z314_2" doxytag="NLMISC::CQuatT::invert"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CQuatT< T >::invert </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Invert this quaternion. If normalized, conjugate is faster and does same thing. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00265">265</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="quat_8h-source.html#l00139">conjugate</a>, and <a class="el" href="quat_8h-source.html#l00119">sqrnorm</a>. </td> + </tr> +</table> +<a name="z314_3" doxytag="NLMISC::CQuatT::inverted"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT NLMISC::CQuatT< T >::inverted </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return the quaternion inverted. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00137">137</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z312_3" doxytag="NLMISC::CQuatT::isIdentity"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CQuatT< T >::isIdentity </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00103">103</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z317_4" doxytag="NLMISC::CQuatT::lnDif"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT< T > NLMISC::CQuatT< T >::lnDif </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q0</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q1</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute lnDiff of q0.inverted()*q1. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00462">462</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z316_0" doxytag="NLMISC::CQuatT::log"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT< T > NLMISC::CQuatT< T >::log </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +compute logn quaternion. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00427">427</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="quat_8h-source.html#l00039">NLMISC::QuatEpsilon</a>, <a class="el" href="quat_8h-source.html#l00077">w</a>, <a class="el" href="quat_8h-source.html#l00077">x</a>, <a class="el" href="quat_8h-source.html#l00077">y</a>, and <a class="el" href="quat_8h-source.html#l00077">z</a>. </td> + </tr> +</table> +<a name="z316_2" doxytag="NLMISC::CQuatT::makeClosest"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CQuatT< T >::makeClosest </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>o</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +ensure that *this and q are on same side of hypersphere, ie dotProduct(*this,q) is >0, modifying this if necessary. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00473">473</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="quat_8h-source.html#l00309">dotProduct</a>. </td> + </tr> +</table> +<a name="z313_11" doxytag="NLMISC::CQuatT::norm"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T NLMISC::CQuatT< T >::norm </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return the norm of the 4D vector. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00121">121</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00280">normalize</a>. </td> + </tr> +</table> +<a name="z313_12" doxytag="NLMISC::CQuatT::normalize"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CQuatT< T >::normalize </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Normalize the quaternion. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00280">280</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="quat_8h-source.html#l00102">identity</a>, and <a class="el" href="quat_8h-source.html#l00121">norm</a>. </td> + </tr> +</table> +<a name="z313_13" doxytag="NLMISC::CQuatT::normed"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT NLMISC::CQuatT< T >::normed </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Return the quaternion normalized. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00125">125</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z314_0" doxytag="NLMISC::CQuatT::operator *"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT< T > NLMISC::CQuatT< T >::operator * </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Quaternion multiplication/composition. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00242">242</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="quat_8h-source.html#l00077">w</a>, <a class="el" href="quat_8h-source.html#l00077">x</a>, <a class="el" href="quat_8h-source.html#l00077">y</a>, and <a class="el" href="quat_8h-source.html#l00077">z</a>. </td> + </tr> +</table> +<a name="z313_6" doxytag="NLMISC::CQuatT::operator *"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT NLMISC::CQuatT< T >::operator * </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00114">114</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z314_1" doxytag="NLMISC::CQuatT::operator *="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT< T > & NLMISC::CQuatT< T >::operator *= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00256">256</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z313_2" doxytag="NLMISC::CQuatT::operator *="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT& NLMISC::CQuatT< T >::operator *= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00110">110</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z313_9" doxytag="NLMISC::CQuatT::operator+"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT NLMISC::CQuatT< T >::operator+ </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00117">117</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z313_4" doxytag="NLMISC::CQuatT::operator+"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT NLMISC::CQuatT< T >::operator+ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>o</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00112">112</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z313_0" doxytag="NLMISC::CQuatT::operator+="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT& NLMISC::CQuatT< T >::operator+= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>o</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00108">108</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z313_8" doxytag="NLMISC::CQuatT::operator-"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT NLMISC::CQuatT< T >::operator- </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00116">116</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z313_5" doxytag="NLMISC::CQuatT::operator-"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT NLMISC::CQuatT< T >::operator- </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>o</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00113">113</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z313_1" doxytag="NLMISC::CQuatT::operator-="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT& NLMISC::CQuatT< T >::operator-= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>o</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00109">109</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z313_7" doxytag="NLMISC::CQuatT::operator/"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT NLMISC::CQuatT< T >::operator/ </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00115">115</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z313_3" doxytag="NLMISC::CQuatT::operator/="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT& NLMISC::CQuatT< T >::operator/= </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00111">111</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z312_0" doxytag="NLMISC::CQuatT::operator=="></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> bool NLMISC::CQuatT< T >::operator== </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname1" valign="top" nowrap> <em>a</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00100">100</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z316_3" doxytag="NLMISC::CQuatT::serial"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CQuatT< T >::serial </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNLMISC_1_1IStream.html">IStream</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>f</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +serial. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00168">168</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z311_0" doxytag="NLMISC::CQuatT::set"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CQuatT< T >::set </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">T </td> + <td class="mdname" nowrap> <em>X</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>T </td> + <td class="mdname" nowrap> <em>Y</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>T </td> + <td class="mdname" nowrap> <em>Z</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>T </td> + <td class="mdname" nowrap> <em>W</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00095">95</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z315_4" doxytag="NLMISC::CQuatT::setAngleAxis"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CQuatT< T >::setAngleAxis </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="structNLMISC_1_1CAngleAxis.html">CAngleAxis</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>angAxis</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build a UNIT quaternion from an AngleAxis. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00155">155</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="z315_3" doxytag="NLMISC::CQuatT::setAngleAxis"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> void NLMISC::CQuatT< T >::setAngleAxis </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="classNLMISC_1_1CVector.html">CVector</a> & </td> + <td class="mdname" nowrap> <em>axis</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>angle</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Build a UNIT quaternion from an AngleAxis. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00294">294</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>, <a class="el" href="quat_8h-source.html#l00077">w</a>, <a class="el" href="quat_8h-source.html#l00077">x</a>, <a class="el" href="quat_8h-source.html#l00077">y</a>, and <a class="el" href="quat_8h-source.html#l00077">z</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00087">NLMISC::CQuatT< float >::CQuatT</a>, and <a class="el" href="quat_8h-source.html#l00155">NLMISC::CQuatT< float >::setAngleAxis</a>. </td> + </tr> +</table> +<a name="z317_1" doxytag="NLMISC::CQuatT::slerp"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT< T > NLMISC::CQuatT< T >::slerp </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q0</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>t</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Quaternion spherical linear interpolation. +<p> +when t==0, ret==q0, when t==1, ret==q1. No hemisphere correction is made. +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00317">317</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00355">squad</a>. </td> + </tr> +</table> +<a name="z313_10" doxytag="NLMISC::CQuatT::sqrnorm"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T NLMISC::CQuatT< T >::sqrnorm </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap> const<code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +return the square of the norm of the 4D vector. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00119">119</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00265">invert</a>, and <a class="el" href="quat_8h-source.html#l00121">NLMISC::CQuatT< float >::norm</a>. </td> + </tr> +</table> +<a name="z317_2" doxytag="NLMISC::CQuatT::squad"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT< T > NLMISC::CQuatT< T >::squad </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q0</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>tgtQ0</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>tgtQ1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>t</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Quaternion Quadratic spherical linear interpolation. +<p> +when t==0, ret==q0, when t==1, ret==q1. No hemisphere correction is made. +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00355">355</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="quat_8h-source.html#l00317">slerp</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>. </td> + </tr> +</table> +<a name="z317_3" doxytag="NLMISC::CQuatT::squadrev"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> CQuatT< T > NLMISC::CQuatT< T >::squadrev </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="structNLMISC_1_1CAngleAxis.html">CAngleAxis</a> & </td> + <td class="mdname" nowrap> <em>rot</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q0</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>tgtQ0</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>tgtQ1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CQuatT< T > & </td> + <td class="mdname" nowrap> <em>q1</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>t</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Quaternion Quadratic spherical linear interpolation, with multi revision support. +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00366">366</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +References <a class="el" href="common_8h-source.html#l00071">NLMISC::Pi</a>, <a class="el" href="quat_8h-source.html#l00039">NLMISC::QuatEpsilon</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00673">s</a>, <a class="el" href="driver__opengl__extension__def_8h-source.html#l00681">t</a>, and <a class="el" href="driver__opengl__extension__def_8h-source.html#l00234">v</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="m3" doxytag="NLMISC::CQuatT::w"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T NLMISC::CQuatT::w + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00077">77</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00139">NLMISC::CQuatT< float >::conjugate</a>, <a class="el" href="quat_8h-source.html#l00084">NLMISC::CQuatT< float >::CQuatT</a>, <a class="el" href="quat_8h-source.html#l00227">equal</a>, <a class="el" href="quat_8h-source.html#l00102">NLMISC::CQuatT< float >::identity</a>, <a class="el" href="quat_8h-source.html#l00103">NLMISC::CQuatT< float >::isIdentity</a>, <a class="el" href="quat_8h-source.html#l00427">log</a>, <a class="el" href="quat_8h-source.html#l00242">operator *</a>, <a class="el" href="quat_8h-source.html#l00114">NLMISC::CQuatT< float >::operator *</a>, <a class="el" href="quat_8h-source.html#l00110">NLMISC::CQuatT< float >::operator *=</a>, <a class="el" href="quat_8h-source.html#l00112">NLMISC::CQuatT< float >::operator+</a>, <a class="el" href="quat_8h-source.html#l00108">NLMISC::CQuatT< float >::operator+=</a>, <a class="el" href="quat_8h-source.html#l00113">NLMISC::CQuatT< float >::operator-</a>, <a class="el" href="quat_8h-source.html#l00109">NLMISC::CQuatT< float >::operator-=</a>, <a class="el" href="quat_8h-source.html#l00115">NLMISC::CQuatT< float >::operator/</a>, <a class="el" href="quat_8h-source.html#l00111">NLMISC::CQuatT< float >::operator/=</a>, <a class="el" href="quat_8h-source.html#l00100">NLMISC::CQuatT< float >::operator==</a>, <a class="el" href="quat_8h-source.html#l00168">NLMISC::CQuatT< float >::serial</a>, <a class="el" href="quat_8h-source.html#l00095">NLMISC::CQuatT< float >::set</a>, <a class="el" href="quat_8h-source.html#l00294">setAngleAxis</a>, and <a class="el" href="quat_8h-source.html#l00119">NLMISC::CQuatT< float >::sqrnorm</a>. </td> + </tr> +</table> +<a name="m0" doxytag="NLMISC::CQuatT::x"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T NLMISC::CQuatT::x + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00077">77</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00139">NLMISC::CQuatT< float >::conjugate</a>, <a class="el" href="quat_8h-source.html#l00084">NLMISC::CQuatT< float >::CQuatT</a>, <a class="el" href="quat_8h-source.html#l00227">equal</a>, <a class="el" href="quat_8h-source.html#l00445">exp</a>, <a class="el" href="quat_8h-source.html#l00102">NLMISC::CQuatT< float >::identity</a>, <a class="el" href="quat_8h-source.html#l00103">NLMISC::CQuatT< float >::isIdentity</a>, <a class="el" href="quat_8h-source.html#l00427">log</a>, <a class="el" href="quat_8h-source.html#l00242">operator *</a>, <a class="el" href="quat_8h-source.html#l00114">NLMISC::CQuatT< float >::operator *</a>, <a class="el" href="quat_8h-source.html#l00110">NLMISC::CQuatT< float >::operator *=</a>, <a class="el" href="quat_8h-source.html#l00112">NLMISC::CQuatT< float >::operator+</a>, <a class="el" href="quat_8h-source.html#l00108">NLMISC::CQuatT< float >::operator+=</a>, <a class="el" href="quat_8h-source.html#l00113">NLMISC::CQuatT< float >::operator-</a>, <a class="el" href="quat_8h-source.html#l00109">NLMISC::CQuatT< float >::operator-=</a>, <a class="el" href="quat_8h-source.html#l00115">NLMISC::CQuatT< float >::operator/</a>, <a class="el" href="quat_8h-source.html#l00111">NLMISC::CQuatT< float >::operator/=</a>, <a class="el" href="quat_8h-source.html#l00100">NLMISC::CQuatT< float >::operator==</a>, <a class="el" href="quat_8h-source.html#l00168">NLMISC::CQuatT< float >::serial</a>, <a class="el" href="quat_8h-source.html#l00095">NLMISC::CQuatT< float >::set</a>, <a class="el" href="quat_8h-source.html#l00294">setAngleAxis</a>, and <a class="el" href="quat_8h-source.html#l00119">NLMISC::CQuatT< float >::sqrnorm</a>. </td> + </tr> +</table> +<a name="m1" doxytag="NLMISC::CQuatT::y"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T NLMISC::CQuatT::y + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00077">77</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00139">NLMISC::CQuatT< float >::conjugate</a>, <a class="el" href="quat_8h-source.html#l00084">NLMISC::CQuatT< float >::CQuatT</a>, <a class="el" href="quat_8h-source.html#l00227">equal</a>, <a class="el" href="quat_8h-source.html#l00445">exp</a>, <a class="el" href="quat_8h-source.html#l00102">NLMISC::CQuatT< float >::identity</a>, <a class="el" href="quat_8h-source.html#l00103">NLMISC::CQuatT< float >::isIdentity</a>, <a class="el" href="quat_8h-source.html#l00427">log</a>, <a class="el" href="quat_8h-source.html#l00242">operator *</a>, <a class="el" href="quat_8h-source.html#l00114">NLMISC::CQuatT< float >::operator *</a>, <a class="el" href="quat_8h-source.html#l00110">NLMISC::CQuatT< float >::operator *=</a>, <a class="el" href="quat_8h-source.html#l00112">NLMISC::CQuatT< float >::operator+</a>, <a class="el" href="quat_8h-source.html#l00108">NLMISC::CQuatT< float >::operator+=</a>, <a class="el" href="quat_8h-source.html#l00113">NLMISC::CQuatT< float >::operator-</a>, <a class="el" href="quat_8h-source.html#l00109">NLMISC::CQuatT< float >::operator-=</a>, <a class="el" href="quat_8h-source.html#l00115">NLMISC::CQuatT< float >::operator/</a>, <a class="el" href="quat_8h-source.html#l00111">NLMISC::CQuatT< float >::operator/=</a>, <a class="el" href="quat_8h-source.html#l00100">NLMISC::CQuatT< float >::operator==</a>, <a class="el" href="quat_8h-source.html#l00168">NLMISC::CQuatT< float >::serial</a>, <a class="el" href="quat_8h-source.html#l00095">NLMISC::CQuatT< float >::set</a>, <a class="el" href="quat_8h-source.html#l00294">setAngleAxis</a>, and <a class="el" href="quat_8h-source.html#l00119">NLMISC::CQuatT< float >::sqrnorm</a>. </td> + </tr> +</table> +<a name="m2" doxytag="NLMISC::CQuatT::z"></a><p> +<table width="100%" cellpadding="2" cellspacing="0" border="0"> + <tr> + <td class="md"> + <table cellpadding="0" cellspacing="0" border="0"> + <tr> + <td class="md" colspan="4"> +template<class T> </td> + </tr> + <tr> + <td class="md" nowrap valign="top"> T NLMISC::CQuatT::z + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="quat_8h-source.html#l00077">77</a> of file <a class="el" href="quat_8h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="quat_8h-source.html#l00139">NLMISC::CQuatT< float >::conjugate</a>, <a class="el" href="quat_8h-source.html#l00084">NLMISC::CQuatT< float >::CQuatT</a>, <a class="el" href="quat_8h-source.html#l00227">equal</a>, <a class="el" href="quat_8h-source.html#l00445">exp</a>, <a class="el" href="quat_8h-source.html#l00102">NLMISC::CQuatT< float >::identity</a>, <a class="el" href="quat_8h-source.html#l00103">NLMISC::CQuatT< float >::isIdentity</a>, <a class="el" href="quat_8h-source.html#l00427">log</a>, <a class="el" href="quat_8h-source.html#l00242">operator *</a>, <a class="el" href="quat_8h-source.html#l00114">NLMISC::CQuatT< float >::operator *</a>, <a class="el" href="quat_8h-source.html#l00110">NLMISC::CQuatT< float >::operator *=</a>, <a class="el" href="quat_8h-source.html#l00112">NLMISC::CQuatT< float >::operator+</a>, <a class="el" href="quat_8h-source.html#l00108">NLMISC::CQuatT< float >::operator+=</a>, <a class="el" href="quat_8h-source.html#l00113">NLMISC::CQuatT< float >::operator-</a>, <a class="el" href="quat_8h-source.html#l00109">NLMISC::CQuatT< float >::operator-=</a>, <a class="el" href="quat_8h-source.html#l00115">NLMISC::CQuatT< float >::operator/</a>, <a class="el" href="quat_8h-source.html#l00111">NLMISC::CQuatT< float >::operator/=</a>, <a class="el" href="quat_8h-source.html#l00100">NLMISC::CQuatT< float >::operator==</a>, <a class="el" href="quat_8h-source.html#l00168">NLMISC::CQuatT< float >::serial</a>, <a class="el" href="quat_8h-source.html#l00095">NLMISC::CQuatT< float >::set</a>, <a class="el" href="quat_8h-source.html#l00294">setAngleAxis</a>, and <a class="el" href="quat_8h-source.html#l00119">NLMISC::CQuatT< float >::sqrnorm</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="quat_8h-source.html">quat.h</a></ul> + + +<!-- footer --> +<BR><FONT Size=+5> </FONT> +</TD> +<TD WIDTH=15><IMG SRC=http://www.nevrax.org/inc/img/pixel.gif WIDTH=15 HEIGHT=15 BORDER=0 ALT=""></TD> +</TR> +</TABLE> +</BODY> +</HTML> |