diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/class_NLMISC__CQuatT.html | 1957 |
1 files changed, 1957 insertions, 0 deletions
diff --git a/docs/doxygen/nel/class_NLMISC__CQuatT.html b/docs/doxygen/nel/class_NLMISC__CQuatT.html new file mode 100644 index 00000000..ab61a243 --- /dev/null +++ b/docs/doxygen/nel/class_NLMISC__CQuatT.html @@ -0,0 +1,1957 @@ +<!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.2 on Thu May 24 22:34:40 2001 --> +<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 Template Class Reference</h1>A Template quaternion. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="quat_h-source.html">quat.h</a>></code> +<p> +Inheritance diagram for NLMISC::CQuatT<p><center><img src="class_NLMISC__CQuatT_inherit_graph.gif" border="0" usemap="#NLMISC::CQuatT_inherit_map" alt="Inheritance graph"></center> +<map name="NLMISC::CQuatT_inherit_map"> +<area href="class_NLMISC__CQuat.html" shape="rect" coords="0,67,107,86"> +<area href="class_NLMISC__CQuatD.html" shape="rect" coords="131,67,245,86"> +</map> +<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_NLMISC__CQuatT-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 nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a0">CQuatT</a> ()</td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a1">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="class_NLMISC__CQuatT.html#a2">CQuatT</a> (const <a class="el" href="class_NLMISC__CVector.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="#a2">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top> </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a3">CQuatT</a> (const <a class="el" href="class_NLMISC__CAngleAxis.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="#a3">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="class_NLMISC__CQuatT.html#a4">set</a> (T X, T Y, T Z, T W)</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a5">operator==</a> (const CQuatT& a) const</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a6">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="class_NLMISC__CQuatT.html#a7">identity</a> ()</td></tr> +<tr><td nowrap align=right valign=top>bool </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a8">isIdentity</a> () const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT& </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a9">operator+=</a> (const CQuatT&o)</td></tr> +<tr><td nowrap align=right valign=top>CQuatT& </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a10">operator-=</a> (const CQuatT&o)</td></tr> +<tr><td nowrap align=right valign=top>CQuatT& </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a11">operator *=</a> (T f)</td></tr> +<tr><td nowrap align=right valign=top>CQuatT& </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a12">operator/=</a> (T f)</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a13">operator+</a> (const CQuatT&o) const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a14">operator-</a> (const CQuatT&o) const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a15">operator *</a> (T f) const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a16">operator/</a> (T f) const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a17">operator-</a> () const</td></tr> +<tr><td nowrap align=right valign=top>CQuatT </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a18">operator+</a> () const</td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a19">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="#a19">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="class_NLMISC__CQuatT.html#a20">norm</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return the norm of the 4D vector.</em> <a href="#a20">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="class_NLMISC__CQuatT.html#a21">normalize</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>Normalize the quaternion.</em> <a href="#a21">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="class_NLMISC__CQuatT.html#a22">normed</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the quaternion normalized.</em> <a href="#a22">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="class_NLMISC__CQuatT.html#a23">operator *</a> (const CQuatT&) const</td></tr> +<tr><td> </td><td><font size=-1><em>Quaternion multiplication/composition.</em> <a href="#a23">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="class_NLMISC__CQuatT.html#a24">operator *=</a> (const CQuatT&)</td></tr> +<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a25">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="#a25">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="class_NLMISC__CQuatT.html#a26">inverted</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return the quaternion inverted.</em> <a href="#a26">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="class_NLMISC__CQuatT.html#a27">conjugate</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>return the conjugate of this quaternion.</em> <a href="#a27">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NLMISC__CVector.html">CVector</a> </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a28">getAxis</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the equivalent Unit axis of this quaternion.</em> <a href="#a28">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="class_NLMISC__CQuatT.html#a29">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="#a29">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="class_NLMISC__CAngleAxis.html">CAngleAxis</a> </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#a30">getAngleAxis</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>Return the equivalent Unit AngleAxis of this quaternion.</em> <a href="#a30">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="class_NLMISC__CQuatT.html#a31">setAngleAxis</a> (const <a class="el" href="class_NLMISC__CVector.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="#a31">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="class_NLMISC__CQuatT.html#a32">setAngleAxis</a> (const <a class="el" href="class_NLMISC__CAngleAxis.html">CAngleAxis</a> &angAxis)</td></tr> +<tr><td> </td><td><font size=-1><em>Build a UNIT quaternion from an AngleAxis.</em> <a href="#a32">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="class_NLMISC__CQuatT.html#a33">log</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>compute logn quaternion.</em> <a href="#a33">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="class_NLMISC__CQuatT.html#a34">exp</a> ()</td></tr> +<tr><td> </td><td><font size=-1><em>compute quaternion exponent.</em> <a href="#a34">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="class_NLMISC__CQuatT.html#a35">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="#a35">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="class_NLMISC__CQuatT.html#a36">serial</a> (<a class="el" href="class_NLMISC__IStream.html">IStream</a> &f)</td></tr> +<tr><td> </td><td><font size=-1><em>serial.</em> <a href="#a36">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="class_NLMISC__CQuatT.html#m0">x</a></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#m1">y</a></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#m2">z</a></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#m3">w</a></td></tr> +<tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr> +<tr><td nowrap align=right valign=top>T </td><td valign=bottom><a class="el" href="class_NLMISC__CQuatT.html#d0">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="#d0">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="class_NLMISC__CQuatT.html#d1">slerp</a> (const CQuatT<T>& q0, const CQuatT<T>& q1, float t)</td></tr> +<tr><td> </td><td><font size=-1><em>Quaternion spherical linear interpolation.</em> <a href="#d1">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="class_NLMISC__CQuatT.html#d2">squad</a> (const CQuatT<T>& q0, const CQuatT<T>& tgtQ0, const CQuatT<T>& tgtQ1, const CQuatT<T>& q1, float t)</td></tr> +<tr><td> </td><td><font size=-1><em>Quaternion Quadratic spherical linear interpolation.</em> <a href="#d2">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="class_NLMISC__CQuatT.html#d3">squadrev</a> (const <a class="el" href="class_NLMISC__CAngleAxis.html">CAngleAxis</a> &rot, const CQuatT<T>& q0, const CQuatT<T>& tgtQ0, const CQuatT<T>& tgtQ1, const CQuatT<T>& q1, float t)</td></tr> +<tr><td> </td><td><font size=-1><em>Quaternion Quadratic spherical linear interpolation, with multi revision support.</em> <a href="#d3">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="class_NLMISC__CQuatT.html#d4">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="#d4">More...</a><em></em></font><br><br></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h3>template<class T> template class NLMISC::CQuatT</h3> + +A Template quaternion. +<p> +Use <a class="el" href="class_NLMISC__CQuat.html">CQuat</a> and <a class="el" href="class_NLMISC__CQuatD.html">CQuatD</a>. <dl compact><dt> +<b>Author(s): </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_h-source.html#l00074">74</a> of file <a class="el" href="quat_h-source.html">quat.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +NLMISC::CQuatT<T>::CQuatT<T> ( + </b></td> + <td valign="bottom"><b> +)<code> [inline]</code> + </b></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_h-source.html#l00084">84</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a1" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +NLMISC::CQuatT<T>::CQuatT<T> ( + </b></td> + <td valign="bottom"><b> +T <em>X</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +T <em>Y</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +T <em>Z</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +T <em>W</em> )<code> [inline]</code> + </b></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_h-source.html#l00085">85</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a2" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +NLMISC::CQuatT<T>::CQuatT<T> ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="class_NLMISC__CVector.html">CVector</a> & <em>axis</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>angle</em> )<code> [inline]</code> + </b></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_h-source.html#l00087">87</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a3" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +NLMISC::CQuatT<T>::CQuatT<T> ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="class_NLMISC__CAngleAxis.html">CAngleAxis</a> & <em>aa</em> )<code> [inline]</code> + </b></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_h-source.html#l00089">89</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a27" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> NLMISC::CQuatT<T>::conjugate ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00139">139</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="d0" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +T NLMISC::CQuatT< T >::dotProduct ( + </b></td> + <td valign="bottom"><b> +const CQuatT< T >& <em>q0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT< T >& <em>q1</em> )<code> [static]</code> + </b></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_h-source.html#l00309">309</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a6" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +bool NLMISC::CQuatT< T >::equal ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>a</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>epsilon</em> = 1E-6f ) const<code> [inline]</code> + </b></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_h-source.html#l00227">227</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a34" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT< T > NLMISC::CQuatT< T >::exp ( + </b></td> + <td valign="bottom"><b> +) + </b></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_h-source.html#l00445">445</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a29" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +float NLMISC::CQuatT<T>::getAngle ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00148">148</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a30" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NLMISC__CAngleAxis.html">CAngleAxis</a> NLMISC::CQuatT<T>::getAngleAxis ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00150">150</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a28" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +<a class="el" href="class_NLMISC__CVector.html">CVector</a> NLMISC::CQuatT<T>::getAxis ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00146">146</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a7" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CQuatT<T>::identity ( + </b></td> + <td valign="bottom"><b> +)<code> [inline]</code> + </b></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_h-source.html#l00102">102</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a25" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CQuatT< T >::invert ( + </b></td> + <td valign="bottom"><b> +)<code> [inline]</code> + </b></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_h-source.html#l00265">265</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a26" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> NLMISC::CQuatT<T>::inverted ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00137">137</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a8" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +bool NLMISC::CQuatT<T>::isIdentity ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00103">103</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="d4" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT< T > NLMISC::CQuatT< T >::lnDif ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>q0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT<T> & <em>q1</em> )<code> [static]</code> + </b></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_h-source.html#l00462">462</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a33" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT< T > NLMISC::CQuatT< T >::log ( + </b></td> + <td valign="bottom"><b> +) + </b></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_h-source.html#l00427">427</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a35" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CQuatT< T >::makeClosest ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>o</em> ) + </b></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_h-source.html#l00473">473</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a20" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +T NLMISC::CQuatT<T>::norm ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00121">121</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a21" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CQuatT< T >::normalize ( + </b></td> + <td valign="bottom"><b> +)<code> [inline]</code> + </b></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_h-source.html#l00280">280</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a22" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> NLMISC::CQuatT<T>::normed ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00125">125</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a23" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT< T > NLMISC::CQuatT< T >::operator * ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>o</em> ) const<code> [inline]</code> + </b></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_h-source.html#l00242">242</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a15" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> NLMISC::CQuatT<T>::operator * ( + </b></td> + <td valign="bottom"><b> +T <em>f</em> ) const<code> [inline]</code> + </b></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_h-source.html#l00114">114</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a24" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT< T >& NLMISC::CQuatT< T >::operator *= ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>o</em> )<code> [inline]</code> + </b></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_h-source.html#l00256">256</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a11" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> & NLMISC::CQuatT<T>::operator *= ( + </b></td> + <td valign="bottom"><b> +T <em>f</em> )<code> [inline]</code> + </b></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_h-source.html#l00110">110</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a18" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> NLMISC::CQuatT<T>::operator+ ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00117">117</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a13" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> NLMISC::CQuatT<T>::operator+ ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>o</em> ) const<code> [inline]</code> + </b></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_h-source.html#l00112">112</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a9" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> & NLMISC::CQuatT<T>::operator+= ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>o</em> )<code> [inline]</code> + </b></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_h-source.html#l00108">108</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a17" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> NLMISC::CQuatT<T>::operator- ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00116">116</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a14" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> NLMISC::CQuatT<T>::operator- ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>o</em> ) const<code> [inline]</code> + </b></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_h-source.html#l00113">113</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a10" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> & NLMISC::CQuatT<T>::operator-= ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>o</em> )<code> [inline]</code> + </b></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_h-source.html#l00109">109</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a16" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> NLMISC::CQuatT<T>::operator/ ( + </b></td> + <td valign="bottom"><b> +T <em>f</em> ) const<code> [inline]</code> + </b></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_h-source.html#l00115">115</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a12" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT<T> & NLMISC::CQuatT<T>::operator/= ( + </b></td> + <td valign="bottom"><b> +T <em>f</em> )<code> [inline]</code> + </b></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_h-source.html#l00111">111</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a5" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +bool NLMISC::CQuatT<T>::operator== ( + </b></td> + <td valign="bottom"><b> +const CQuatT<T> & <em>a</em> ) const<code> [inline]</code> + </b></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_h-source.html#l00100">100</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a36" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CQuatT<T>::serial ( + </b></td> + <td valign="bottom"><b> +<a class="el" href="class_NLMISC__IStream.html">IStream</a> & <em>f</em> )<code> [inline]</code> + </b></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_h-source.html#l00168">168</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a4" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CQuatT<T>::set ( + </b></td> + <td valign="bottom"><b> +T <em>X</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +T <em>Y</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +T <em>Z</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +T <em>W</em> )<code> [inline]</code> + </b></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_h-source.html#l00095">95</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a32" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CQuatT<T>::setAngleAxis ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="class_NLMISC__CAngleAxis.html">CAngleAxis</a> & <em>angAxis</em> )<code> [inline]</code> + </b></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_h-source.html#l00155">155</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="a31" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +void NLMISC::CQuatT< T >::setAngleAxis ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="class_NLMISC__CVector.html">CVector</a> & <em>axis</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>angle</em> )<code> [inline]</code> + </b></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_h-source.html#l00294">294</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="d1" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT< T > NLMISC::CQuatT< T >::slerp ( + </b></td> + <td valign="bottom"><b> +const CQuatT< T >& <em>q0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT< T >& <em>q1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>t</em> )<code> [static]</code> + </b></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_h-source.html#l00317">317</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. +<p> +Referenced by <a class="el" href="animated_value_h-source.html#l00128">NL3D::CAnimatedValueBlendable< NLMISC::CQuat >::blend</a>(). </td> + </tr> +</table> +<a name="a19" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +T NLMISC::CQuatT<T>::sqrnorm ( + </b></td> + <td valign="bottom"><b> +) const<code> [inline]</code> + </b></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_h-source.html#l00119">119</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="d2" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT< T > NLMISC::CQuatT< T >::squad ( + </b></td> + <td valign="bottom"><b> +const CQuatT< T >& <em>q0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT< T >& <em>tgtQ0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT< T >& <em>tgtQ1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT< T >& <em>q1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>t</em> )<code> [static]</code> + </b></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_h-source.html#l00355">355</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<a name="d3" 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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +CQuatT< T > NLMISC::CQuatT< T >::squadrev ( + </b></td> + <td valign="bottom"><b> +const <a class="el" href="class_NLMISC__CAngleAxis.html">CAngleAxis</a> & <em>rot</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT< T >& <em>q0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT< T >& <em>tgtQ0</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT< T >& <em>tgtQ1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +const CQuatT< T >& <em>q1</em>, + </b></td> + </tr> + <tr> + <td></td> + <td><b> +float <em>t</em> )<code> [static]</code> + </b></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_h-source.html#l00366">366</a> of file <a class="el" href="quat_h-source.html">quat.h</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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +T NLMISC::CQuatT<T>::w + </b></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_h-source.html#l00077">77</a> of file <a class="el" href="quat_h-source.html">quat.h</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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +T NLMISC::CQuatT<T>::x + </b></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_h-source.html#l00077">77</a> of file <a class="el" href="quat_h-source.html">quat.h</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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +T NLMISC::CQuatT<T>::y + </b></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_h-source.html#l00077">77</a> of file <a class="el" href="quat_h-source.html">quat.h</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 colspan="2"><b> +template<classT> </b></td> + </tr> + <tr> + <td nowrap valign="top"><b> +T NLMISC::CQuatT<T>::z + </b></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_h-source.html#l00077">77</a> of file <a class="el" href="quat_h-source.html">quat.h</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following file:<ul> +<li><a class="el" href="quat_h-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> |