Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > fc029b2aab74f54b9dea5cf185d0624a > files > 196

cal3d-devel-0.11.0-10.fc15.i686.rpm

<html>
  <head>
    <title>Cal3D: corebone.h Source File</title>
    <link href="doxygen.css" rel="stylesheet" type="text/css">
  </head>
<body bgcolor="#ffffff">
  <table width="100%" border="0" cellspacing="0" cellpadding="5" align="center">
    <tr>
      <td class="md" align="center">
        <small>
          <b>- Cal3D 0.11 API Reference -</b>
        </small>
      </td>
    </tr>
  </table>
  <br>

<!-- Generated by Doxygen 1.7.3 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<h1>corebone.h</h1>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//****************************************************************************//</span>
<a name="l00002"></a>00002 <span class="comment">// corebone.h                                                                 //</span>
<a name="l00003"></a>00003 <span class="comment">// Copyright (C) 2001, 2002 Bruno &#39;Beosil&#39; Heidelberger                       //</span>
<a name="l00004"></a>00004 <span class="comment">//****************************************************************************//</span>
<a name="l00005"></a>00005 <span class="comment">// This library is free software; you can redistribute it and/or modify it    //</span>
<a name="l00006"></a>00006 <span class="comment">// under the terms of the GNU Lesser General Public License as published by   //</span>
<a name="l00007"></a>00007 <span class="comment">// the Free Software Foundation; either version 2.1 of the License, or (at    //</span>
<a name="l00008"></a>00008 <span class="comment">// your option) any later version.                                            //</span>
<a name="l00009"></a>00009 <span class="comment">//****************************************************************************//</span>
<a name="l00010"></a>00010 
<a name="l00011"></a>00011 <span class="preprocessor">#ifndef CAL_COREBONE_H</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define CAL_COREBONE_H</span>
<a name="l00013"></a>00013 <span class="preprocessor"></span>
<a name="l00014"></a>00014 
<a name="l00015"></a>00015 <span class="preprocessor">#include &quot;cal3d/global.h&quot;</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include &quot;cal3d/matrix.h&quot;</span>
<a name="l00017"></a>00017 <span class="preprocessor">#include &quot;cal3d/vector.h&quot;</span>
<a name="l00018"></a>00018 <span class="preprocessor">#include &quot;cal3d/quaternion.h&quot;</span>
<a name="l00019"></a>00019 
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="keyword">class </span><a class="code" href="classCalCoreSkeleton.html">CalCoreSkeleton</a>;
<a name="l00022"></a>00022 <span class="keyword">class </span><a class="code" href="classCalCoreModel.html">CalCoreModel</a>;
<a name="l00023"></a>00023 
<a name="l00024"></a>00024 
<a name="l00025"></a><a class="code" href="classCalCoreBone.html">00025</a> <span class="keyword">class </span>CAL3D_API <a class="code" href="classCalCoreBone.html">CalCoreBone</a>
<a name="l00026"></a>00026 {
<a name="l00027"></a>00027 <span class="keyword">public</span>:
<a name="l00028"></a>00028   <a class="code" href="classCalCoreBone.html">CalCoreBone</a>(<span class="keyword">const</span> std::string&amp; name);
<a name="l00029"></a>00029   ~<a class="code" href="classCalCoreBone.html">CalCoreBone</a>() { }
<a name="l00030"></a>00030 
<a name="l00031"></a>00031   <span class="keywordtype">bool</span> addChildId(<span class="keywordtype">int</span> childId);
<a name="l00032"></a>00032   <span class="keywordtype">void</span> calculateState();
<a name="l00033"></a>00033   std::list&lt;int&gt;&amp; getListChildId();
<a name="l00034"></a>00034   <span class="keyword">const</span> std::string&amp; getName();
<a name="l00035"></a>00035   <span class="keywordtype">int</span> getParentId();
<a name="l00036"></a>00036   <a class="code" href="classCalCoreSkeleton.html">CalCoreSkeleton</a> *getCoreSkeleton();
<a name="l00037"></a>00037   <span class="keyword">const</span> <a class="code" href="classCalQuaternion.html" title="The quaternion class.">CalQuaternion</a>&amp; getRotation();
<a name="l00038"></a>00038   <span class="keyword">const</span> <a class="code" href="classCalQuaternion.html" title="The quaternion class.">CalQuaternion</a>&amp; getRotationAbsolute();
<a name="l00039"></a>00039   <span class="keyword">const</span> <a class="code" href="classCalQuaternion.html" title="The quaternion class.">CalQuaternion</a>&amp; getRotationBoneSpace();
<a name="l00040"></a>00040   <span class="keyword">const</span> <a class="code" href="classCalVector.html" title="The vector class.">CalVector</a>&amp; getTranslation();
<a name="l00041"></a>00041   <span class="keyword">const</span> <a class="code" href="classCalVector.html" title="The vector class.">CalVector</a>&amp; getTranslationAbsolute();
<a name="l00042"></a>00042   <span class="keyword">const</span> <a class="code" href="classCalVector.html" title="The vector class.">CalVector</a>&amp; getTranslationBoneSpace();
<a name="l00043"></a>00043   Cal::UserData getUserData();
<a name="l00044"></a>00044   <span class="keywordtype">void</span> setCoreSkeleton(<a class="code" href="classCalCoreSkeleton.html">CalCoreSkeleton</a> *pCoreSkeleton);
<a name="l00045"></a>00045   <span class="keywordtype">void</span> setParentId(<span class="keywordtype">int</span> parentId);
<a name="l00046"></a>00046   <span class="keywordtype">void</span> setRotation(<span class="keyword">const</span> <a class="code" href="classCalQuaternion.html" title="The quaternion class.">CalQuaternion</a>&amp; rotation);
<a name="l00047"></a>00047   <span class="keywordtype">void</span> setRotationBoneSpace(<span class="keyword">const</span> <a class="code" href="classCalQuaternion.html" title="The quaternion class.">CalQuaternion</a>&amp; rotation);
<a name="l00048"></a>00048   <span class="keywordtype">void</span> setTranslation(<span class="keyword">const</span> <a class="code" href="classCalVector.html" title="The vector class.">CalVector</a>&amp; translation);
<a name="l00049"></a>00049   <span class="keywordtype">void</span> setTranslationBoneSpace(<span class="keyword">const</span> <a class="code" href="classCalVector.html" title="The vector class.">CalVector</a>&amp; translation);
<a name="l00050"></a>00050   <span class="keywordtype">void</span> setUserData(Cal::UserData userData);
<a name="l00051"></a>00051 
<a name="l00052"></a>00052   <span class="keywordtype">void</span> calculateBoundingBox(<a class="code" href="classCalCoreModel.html">CalCoreModel</a> * pCoreModel);
<a name="l00053"></a>00053   <a class="code" href="classCalBoundingBox.html" title="The bounding box class.">CalBoundingBox</a> &amp; getBoundingBox();
<a name="l00054"></a>00054   <span class="keywordtype">void</span> getBoundingData(<span class="keywordtype">int</span> planeId,<a class="code" href="classCalVector.html" title="The vector class.">CalVector</a> &amp; position); 
<a name="l00055"></a>00055   <span class="keywordtype">bool</span> isBoundingBoxPrecomputed();
<a name="l00056"></a>00056   <span class="keywordtype">void</span> scale(<span class="keywordtype">float</span> factor);
<a name="l00057"></a>00057   
<a name="l00058"></a>00058 <span class="keyword">private</span>:
<a name="l00059"></a>00059   std::string m_strName;
<a name="l00060"></a>00060   <a class="code" href="classCalCoreSkeleton.html">CalCoreSkeleton</a> *m_pCoreSkeleton;
<a name="l00061"></a>00061   <span class="keywordtype">int</span> m_parentId;
<a name="l00062"></a>00062   std::list&lt;int&gt; m_listChildId;
<a name="l00063"></a>00063   <a class="code" href="classCalVector.html" title="The vector class.">CalVector</a> m_translation;
<a name="l00064"></a>00064   <a class="code" href="classCalQuaternion.html" title="The quaternion class.">CalQuaternion</a> m_rotation;
<a name="l00065"></a>00065   <a class="code" href="classCalVector.html" title="The vector class.">CalVector</a> m_translationAbsolute;
<a name="l00066"></a>00066   <a class="code" href="classCalQuaternion.html" title="The quaternion class.">CalQuaternion</a> m_rotationAbsolute;
<a name="l00067"></a>00067   <a class="code" href="classCalVector.html" title="The vector class.">CalVector</a> m_translationBoneSpace;
<a name="l00068"></a>00068   <a class="code" href="classCalQuaternion.html" title="The quaternion class.">CalQuaternion</a> m_rotationBoneSpace;
<a name="l00069"></a>00069   Cal::UserData m_userData;
<a name="l00070"></a>00070 
<a name="l00071"></a>00071   <a class="code" href="classCalBoundingBox.html" title="The bounding box class.">CalBoundingBox</a> m_boundingBox;
<a name="l00072"></a>00072   <a class="code" href="classCalVector.html" title="The vector class.">CalVector</a> m_boundingPosition[6];
<a name="l00073"></a>00073   <span class="keywordtype">bool</span> m_boundingBoxPrecomputed;
<a name="l00074"></a>00074 };
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 <span class="preprocessor">#endif</span>
<a name="l00077"></a>00077 <span class="preprocessor"></span>
<a name="l00078"></a>00078 <span class="comment">//****************************************************************************//</span>
</pre></div></div>
</div>
  <hr>
  <center>
    <small>
      Generated at Tue Feb 8 2011 08:51:44 by
      <a href="http://gna.org/projects/cal3d/">The Cal3D Team</a>
      with
      <a href="http://www.doxygen.org/index.html">
      Doxygen 1.7.3
      </a>
    </small>
  </center>
</body>
</html>