diff options
Diffstat (limited to 'docs/doxygen/nel/classNL3D_1_1CBone.html')
-rw-r--r-- | docs/doxygen/nel/classNL3D_1_1CBone.html | 804 |
1 files changed, 804 insertions, 0 deletions
diff --git a/docs/doxygen/nel/classNL3D_1_1CBone.html b/docs/doxygen/nel/classNL3D_1_1CBone.html new file mode 100644 index 00000000..f1c89061 --- /dev/null +++ b/docs/doxygen/nel/classNL3D_1_1CBone.html @@ -0,0 +1,804 @@ +<!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>NL3D::CBone Class Reference</h1>This is a bone, for skeleton animation, with information for result WorldMatrix. +<a href="#_details">More...</a> +<p> +<code>#include <<a class="el" href="bone_8h-source.html">bone.h</a>></code> +<p> +<p>Inheritance diagram for NL3D::CBone: +<p><center><img src="classNL3D_1_1CBone.gif" usemap="#NL3D::CBone_map" border="0"></center> +<map name="NL3D::CBone_map"> +<area href="classNL3D_1_1ITransformable.html" alt="NL3D::ITransformable" shape="rect" coords="0,56,134,80"> +<area href="classNL3D_1_1IAnimatable.html" alt="NL3D::IAnimatable" shape="rect" coords="0,0,134,24"> +</map> +<a href="classNL3D_1_1CBone-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="classNL3D_1_1CBone.html#a0">CBone</a> (<a class="el" href="classNL3D_1_1CBoneBase.html">CBoneBase</a> *boneBase)</td></tr> +<tr><td> </td><td><font size=-1><em>Constructor.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const std::string & </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#a1">getBoneName</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>retrieve the boneName from BoneBase.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a10">sint32</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#a2">getFatherId</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>retrieve the fatherId from BoneBase.</em> <a href="#a2">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="classNL3D_1_1CBone.html#a3">compute</a> (CBone *parent, const CMatrix &rootMatrix)</td></tr> +<tr><td> </td><td><font size=-1><em>Compute the LocalSkeletonMatrix, the WorldMatrix, and the BoneSkinMatrix (for skinning).</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="classNL3D_1_1CBone.html#a4">interpolateBoneSkinMatrix</a> (const CMatrix &otherMatrix, float interp)</td></tr> +<tr><td> </td><td><font size=-1><em>Interpolate the current result of _BoneSkinMatrix fith otherMatrix.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const CMatrix & </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#a5">getLocalSkeletonMatrix</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>retrieve the matrix local to the skeleton, computed in <a class="el" href="classNL3D_1_1CBone.html#a3">compute</a>().</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const CMatrix & </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#a6">getWorldMatrix</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>retrieve the WorldMatrix computed in <a class="el" href="classNL3D_1_1CBone.html#a3">compute</a>().</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>const CMatrix & </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#a7">getBoneSkinMatrix</a> () const</td></tr> +<tr><td> </td><td><font size=-1><em>retrieve the BoneSkinMatrix computed in <a class="el" href="classNL3D_1_1CBone.html#a3">compute</a>().</em> <a href="#a7">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="classNL3D_1_1CBone.html#a8">lodEnableChannels</a> (<a class="el" href="classNL3D_1_1CChannelMixer.html">CChannelMixer</a> *chanMixer, bool enable)</td></tr> +<tr><td> </td><td><font size=-1><em>enable the channels (lodEnable) associated to this bone in the channelMixer.</em> <a href="#a8">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan="2"><div class="groupHeader">Herited from ITransformable</div></td></tr> +<tr><td nowrap align=right valign=top>virtual <a class="el" href="classNL3D_1_1ITrack.html">ITrack</a> * </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#z387_0">getDefaultTrack</a> (<a class="el" href="memory__common_8h.html#a15">uint</a> valueId)</td></tr> +<tr><td> </td><td><font size=-1><em>retrive the default trak from skeleton shape.</em> <a href="#z387_0">More...</a><em></em></font><br><br></td></tr> +<tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#z387_1">registerToChannelMixer</a> (<a class="el" href="classNL3D_1_1CChannelMixer.html">CChannelMixer</a> *chanMixer, const std::string &prefix)</td></tr> +<tr><td> </td><td><font size=-1><em>register the <a class="el" href="classNL3D_1_1ITransformable.html">ITransformable</a> channels as detailled channels.</em> <a href="#z387_1">More...</a><em></em></font><br><br></td></tr> +<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="classNLMISC_1_1CRefPtr.html">NLMISC::CRefPtr</a>< <a class="el" href="classNL3D_1_1CBoneBase.html">CBoneBase</a> > </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#o0">_BoneBase</a></td></tr> +<tr><td nowrap align=right valign=top>CMatrix </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#o1">_LocalSkeletonMatrix</a></td></tr> +<tr><td nowrap align=right valign=top>CMatrix </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#o2">_WorldMatrix</a></td></tr> +<tr><td nowrap align=right valign=top>CMatrix </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#o3">_BoneSkinMatrix</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#o4">_PosChannelId</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#o5">_RotEulerChannelId</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#o6">_RotQuatChannelId</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#o7">_ScaleChannelId</a></td></tr> +<tr><td nowrap align=right valign=top><a class="el" href="memory__common_8h.html#a14">sint</a> </td><td valign=bottom><a class="el" href="classNL3D_1_1CBone.html#o8">_PivotChannelId</a></td></tr> +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +This is a bone, for skeleton animation, with information for result WorldMatrix. +<p> +<dl compact><dt><b> +Author: </b><dd> +Lionel Berenguier , Nevrax France </dl><dl compact><dt><b> +Date: </b><dd> +2001 </dl> +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00089">89</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>.<hr><h2>Constructor & Destructor Documentation</h2> +<a name="a0" doxytag="NL3D::CBone::CBone"></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" nowrap valign="top"> NL3D::CBone::CBone </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CBoneBase.html">CBoneBase</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>boneBase</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> +Constructor. +<p> +build a bone from a <a class="el" href="classNL3D_1_1CBoneBase.html">CBoneBase</a>*. By defautl, a bone is in RotQuat transform mode. This ctor:<ul> +<li>store a RefPtr on the bonebase (for getDefaultTracks() method). the refptr is just for nlassert.<li>copy the bonebase default track value into Animated Values Pos/Rot etc.... </ul> + +<p> +Definition at line <a class="el" href="bone_8cpp-source.html#l00091">91</a> of file <a class="el" href="bone_8cpp-source.html">bone.cpp</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00150">_BoneBase</a>, <a class="el" href="bone_8h-source.html#l00164">_PivotChannelId</a>, <a class="el" href="bone_8h-source.html#l00160">_PosChannelId</a>, <a class="el" href="bone_8h-source.html#l00161">_RotEulerChannelId</a>, <a class="el" href="bone_8h-source.html#l00162">_RotQuatChannelId</a>, <a class="el" href="bone_8h-source.html#l00163">_ScaleChannelId</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s10">NL3D::ITransformable::AnimValueLast</a>, <a class="el" href="animated__value_8h-source.html#l00263">NL3D::CAnimatedValueQuat</a>, <a class="el" href="animated__value_8h-source.html#l00261">NL3D::CAnimatedValueVector</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a name="a3" doxytag="NL3D::CBone::compute"></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" nowrap valign="top"> void NL3D::CBone::compute </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">CBone * </td> + <td class="mdname" nowrap> <em>parent</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const CMatrix & </td> + <td class="mdname" nowrap> <em>rootMatrix</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Compute the LocalSkeletonMatrix, the WorldMatrix, and the BoneSkinMatrix (for skinning). +<p> +NB: the result localSkeletonMatrix depends on BoneBase::UnheritScale. <br> + NB: the result worldMatrix depends on BoneBase::UnheritScale. <br> + NB: the result boneSkinMatrix depends on BoneBase::InvBindPos. <br> + <dl compact><dt><b> +Parameters: </b><dd> +<table border=0 cellspacing=2 cellpadding=0> +<tr><td valign=top><em>parent</em> </td><td> +the parent of this bone (maybe NULL if root). his WorldMatrix is used, so it should be computed before. </td></tr> +<tr><td valign=top><em>rootMatrix</em> </td><td> +is used as father worldmatrix if parent==NULL. Usefull for computing WorldMatrix. </td></tr> +</table> +</dl> +<p> +Definition at line <a class="el" href="bone_8cpp-source.html#l00150">150</a> of file <a class="el" href="bone_8cpp-source.html">bone.cpp</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00150">_BoneBase</a>, <a class="el" href="bone_8h-source.html#l00157">_BoneSkinMatrix</a>, <a class="el" href="bone_8h-source.html#l00153">_LocalSkeletonMatrix</a>, <a class="el" href="bone_8h-source.html#l00155">_WorldMatrix</a>, <a class="el" href="transformable_8h-source.html#l00076">NL3D::ITransformable::getMatrix</a>, <a class="el" href="transformable_8h-source.html#l00231">NL3D::ITransformable::getPos</a>, <a class="el" href="transformable_8h-source.html#l00189">NL3D::ITransformable::getTransformMode</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a1" doxytag="NL3D::CBone::getBoneName"></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" nowrap valign="top"> const std::string& NL3D::CBone::getBoneName </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> +retrieve the boneName from BoneBase. +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00103">103</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00150">_BoneBase</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a7" doxytag="NL3D::CBone::getBoneSkinMatrix"></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" nowrap valign="top"> const CMatrix& NL3D::CBone::getBoneSkinMatrix </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> +retrieve the BoneSkinMatrix computed in <a class="el" href="classNL3D_1_1CBone.html#a3">compute</a>(). +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00140">140</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00157">_BoneSkinMatrix</a>. </td> + </tr> +</table> +<a name="z387_0" doxytag="NL3D::CBone::getDefaultTrack"></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" nowrap valign="top"> <a class="el" href="classNL3D_1_1ITrack.html">ITrack</a> * NL3D::CBone::getDefaultTrack </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="memory__common_8h.html#a15">uint</a> </td> + <td class="mdname1" valign="top" nowrap> <em>valueId</em> </td> + <td class="md" valign="top">) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +retrive the default trak from skeleton shape. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ITransformable.html#z872_3">NL3D::ITransformable</a>. +<p> +Definition at line <a class="el" href="bone_8cpp-source.html#l00114">114</a> of file <a class="el" href="bone_8cpp-source.html">bone.cpp</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00150">_BoneBase</a>, <a class="el" href="debug_8h-source.html#l00254">nlassert</a>, <a class="el" href="debug_8h-source.html#l00374">nlstop</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s9">NL3D::ITransformable::PivotValue</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s5">NL3D::ITransformable::PosValue</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s6">NL3D::ITransformable::RotEulerValue</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s7">NL3D::ITransformable::RotQuatValue</a>, and <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s8">NL3D::ITransformable::ScaleValue</a>. </td> + </tr> +</table> +<a name="a2" doxytag="NL3D::CBone::getFatherId"></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" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a10">sint32</a> NL3D::CBone::getFatherId </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> +retrieve the fatherId from BoneBase. +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00105">105</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00150">_BoneBase</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="a5" doxytag="NL3D::CBone::getLocalSkeletonMatrix"></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" nowrap valign="top"> const CMatrix& NL3D::CBone::getLocalSkeletonMatrix </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> +retrieve the matrix local to the skeleton, computed in <a class="el" href="classNL3D_1_1CBone.html#a3">compute</a>(). +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00134">134</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00153">_LocalSkeletonMatrix</a>. </td> + </tr> +</table> +<a name="a6" doxytag="NL3D::CBone::getWorldMatrix"></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" nowrap valign="top"> const CMatrix& NL3D::CBone::getWorldMatrix </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> +retrieve the WorldMatrix computed in <a class="el" href="classNL3D_1_1CBone.html#a3">compute</a>(). +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00137">137</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00155">_WorldMatrix</a>. </td> + </tr> +</table> +<a name="a4" doxytag="NL3D::CBone::interpolateBoneSkinMatrix"></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" nowrap valign="top"> void NL3D::CBone::interpolateBoneSkinMatrix </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const CMatrix & </td> + <td class="mdname" nowrap> <em>otherMatrix</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>float </td> + <td class="mdname" nowrap> <em>interp</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Interpolate the current result of _BoneSkinMatrix fith otherMatrix. +<p> +when interp==0.f, _BoneSkinMatrix= otherMatrix. NB: the interpolation is made on per-vector basis => bad matrix interpolation. +<p> +Definition at line <a class="el" href="bone_8cpp-source.html#l00218">218</a> of file <a class="el" href="bone_8cpp-source.html">bone.cpp</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00157">_BoneSkinMatrix</a>. </td> + </tr> +</table> +<a name="a8" doxytag="NL3D::CBone::lodEnableChannels"></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" nowrap valign="top"> void NL3D::CBone::lodEnableChannels </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CChannelMixer.html">CChannelMixer</a> * </td> + <td class="mdname" nowrap> <em>chanMixer</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>enable</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +enable the channels (lodEnable) associated to this bone in the channelMixer. +<p> + +<p> +Definition at line <a class="el" href="bone_8cpp-source.html#l00244">244</a> of file <a class="el" href="bone_8cpp-source.html">bone.cpp</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00164">_PivotChannelId</a>, <a class="el" href="bone_8h-source.html#l00160">_PosChannelId</a>, <a class="el" href="bone_8h-source.html#l00161">_RotEulerChannelId</a>, <a class="el" href="bone_8h-source.html#l00162">_RotQuatChannelId</a>, <a class="el" href="bone_8h-source.html#l00163">_ScaleChannelId</a>, and <a class="el" href="debug_8h-source.html#l00254">nlassert</a>. </td> + </tr> +</table> +<a name="z387_1" doxytag="NL3D::CBone::registerToChannelMixer"></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" nowrap valign="top"> void NL3D::CBone::registerToChannelMixer </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="classNL3D_1_1CChannelMixer.html">CChannelMixer</a> * </td> + <td class="mdname" nowrap> <em>chanMixer</em>, </td> + </tr> + <tr> + <td></td> + <td></td> + <td class="md" nowrap>const std::string & </td> + <td class="mdname" nowrap> <em>prefix</em></td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +register the <a class="el" href="classNL3D_1_1ITransformable.html">ITransformable</a> channels as detailled channels. +<p> + +<p> +Implements <a class="el" href="classNL3D_1_1ITransformable.html#z872_4">NL3D::ITransformable</a>. +<p> +Definition at line <a class="el" href="bone_8cpp-source.html#l00136">136</a> of file <a class="el" href="bone_8cpp-source.html">bone.cpp</a>. +<p> +References <a class="el" href="bone_8h-source.html#l00164">_PivotChannelId</a>, <a class="el" href="bone_8h-source.html#l00160">_PosChannelId</a>, <a class="el" href="bone_8h-source.html#l00161">_RotEulerChannelId</a>, <a class="el" href="bone_8h-source.html#l00162">_RotQuatChannelId</a>, <a class="el" href="bone_8h-source.html#l00163">_ScaleChannelId</a>, <a class="el" href="animatable_8cpp-source.html#l00037">NL3D::IAnimatable::addValue</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s4">NL3D::ITransformable::OwnerBit</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s9">NL3D::ITransformable::PivotValue</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s5">NL3D::ITransformable::PosValue</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s6">NL3D::ITransformable::RotEulerValue</a>, <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s7">NL3D::ITransformable::RotQuatValue</a>, and <a class="el" href="classNL3D_1_1ITransformable.html#z872_0s8">NL3D::ITransformable::ScaleValue</a>. </td> + </tr> +</table> +<hr><h2>Member Data Documentation</h2> +<a name="o0" doxytag="NL3D::CBone::_BoneBase"></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" nowrap valign="top"> <a class="el" href="classNLMISC_1_1CRefPtr.html">NLMISC::CRefPtr</a><<a class="el" href="classNL3D_1_1CBoneBase.html">CBoneBase</a>> NL3D::CBone::_BoneBase<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00150">150</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +Referenced by <a class="el" href="bone_8cpp-source.html#l00091">CBone</a>, <a class="el" href="bone_8cpp-source.html#l00150">compute</a>, <a class="el" href="bone_8h-source.html#l00103">getBoneName</a>, <a class="el" href="bone_8cpp-source.html#l00114">getDefaultTrack</a>, and <a class="el" href="bone_8h-source.html#l00105">getFatherId</a>. </td> + </tr> +</table> +<a name="o3" doxytag="NL3D::CBone::_BoneSkinMatrix"></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" nowrap valign="top"> CMatrix NL3D::CBone::_BoneSkinMatrix<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00157">157</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +Referenced by <a class="el" href="bone_8cpp-source.html#l00150">compute</a>, <a class="el" href="bone_8h-source.html#l00140">getBoneSkinMatrix</a>, and <a class="el" href="bone_8cpp-source.html#l00218">interpolateBoneSkinMatrix</a>. </td> + </tr> +</table> +<a name="o1" doxytag="NL3D::CBone::_LocalSkeletonMatrix"></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" nowrap valign="top"> CMatrix NL3D::CBone::_LocalSkeletonMatrix<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00153">153</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +Referenced by <a class="el" href="bone_8cpp-source.html#l00150">compute</a>, and <a class="el" href="bone_8h-source.html#l00134">getLocalSkeletonMatrix</a>. </td> + </tr> +</table> +<a name="o8" doxytag="NL3D::CBone::_PivotChannelId"></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" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NL3D::CBone::_PivotChannelId<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00164">164</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +Referenced by <a class="el" href="bone_8cpp-source.html#l00091">CBone</a>, <a class="el" href="bone_8cpp-source.html#l00244">lodEnableChannels</a>, and <a class="el" href="bone_8cpp-source.html#l00136">registerToChannelMixer</a>. </td> + </tr> +</table> +<a name="o4" doxytag="NL3D::CBone::_PosChannelId"></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" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NL3D::CBone::_PosChannelId<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00160">160</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +Referenced by <a class="el" href="bone_8cpp-source.html#l00091">CBone</a>, <a class="el" href="bone_8cpp-source.html#l00244">lodEnableChannels</a>, and <a class="el" href="bone_8cpp-source.html#l00136">registerToChannelMixer</a>. </td> + </tr> +</table> +<a name="o5" doxytag="NL3D::CBone::_RotEulerChannelId"></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" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NL3D::CBone::_RotEulerChannelId<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00161">161</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +Referenced by <a class="el" href="bone_8cpp-source.html#l00091">CBone</a>, <a class="el" href="bone_8cpp-source.html#l00244">lodEnableChannels</a>, and <a class="el" href="bone_8cpp-source.html#l00136">registerToChannelMixer</a>. </td> + </tr> +</table> +<a name="o6" doxytag="NL3D::CBone::_RotQuatChannelId"></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" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NL3D::CBone::_RotQuatChannelId<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00162">162</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +Referenced by <a class="el" href="bone_8cpp-source.html#l00091">CBone</a>, <a class="el" href="bone_8cpp-source.html#l00244">lodEnableChannels</a>, and <a class="el" href="bone_8cpp-source.html#l00136">registerToChannelMixer</a>. </td> + </tr> +</table> +<a name="o7" doxytag="NL3D::CBone::_ScaleChannelId"></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" nowrap valign="top"> <a class="el" href="memory__common_8h.html#a14">sint</a> NL3D::CBone::_ScaleChannelId<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00163">163</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +Referenced by <a class="el" href="bone_8cpp-source.html#l00091">CBone</a>, <a class="el" href="bone_8cpp-source.html#l00244">lodEnableChannels</a>, and <a class="el" href="bone_8cpp-source.html#l00136">registerToChannelMixer</a>. </td> + </tr> +</table> +<a name="o2" doxytag="NL3D::CBone::_WorldMatrix"></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" nowrap valign="top"> CMatrix NL3D::CBone::_WorldMatrix<code> [private]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="bone_8h-source.html#l00155">155</a> of file <a class="el" href="bone_8h-source.html">bone.h</a>. +<p> +Referenced by <a class="el" href="bone_8cpp-source.html#l00150">compute</a>, and <a class="el" href="bone_8h-source.html#l00137">getWorldMatrix</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="bone_8h-source.html">bone.h</a><li><a class="el" href="bone_8cpp-source.html">bone.cpp</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> |