Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 82b5b9ff85e9905e91f8803dc47bf339 > files > 195

cal3d-devel-0.11.0-9.fc12.i686.rpm

<html>
  <head>
    <title>Cal3D: model.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.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;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 class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    </ul>
  </div>
<h1>model.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">//****************************************************************************//</span>
<a name="l00002"></a>00002 <span class="comment">// model.h                                                                    //</span>
<a name="l00003"></a>00003 <span class="comment">// Copyright (C) 2001, 2002 Bruno 'Beosil' 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_MODEL_H</span>
<a name="l00012"></a>00012 <span class="preprocessor"></span><span class="preprocessor">#define CAL_MODEL_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 "cal3d/global.h"</span>
<a name="l00016"></a>00016 <span class="preprocessor">#include "cal3d/vector.h"</span>
<a name="l00017"></a>00017 
<a name="l00018"></a>00018 
<a name="l00019"></a>00019 <span class="keyword">class </span>CalCoreModel;
<a name="l00020"></a>00020 <span class="keyword">class </span>CalSkeleton;
<a name="l00021"></a>00021 <span class="keyword">class </span><a class="code" href="classCalAbstractMixer.html" title="CalAbstractMixer defines the API that CalModel relies on for blending and scheduling...">CalAbstractMixer</a>;
<a name="l00022"></a>00022 <span class="keyword">class </span>CalMixer;
<a name="l00023"></a>00023 <span class="keyword">class </span>CalMorphTargetMixer;
<a name="l00024"></a>00024 <span class="keyword">class </span>CalPhysique;
<a name="l00025"></a>00025 <span class="keyword">class </span><a class="code" href="classCalSpringSystem.html" title="The spring system class.">CalSpringSystem</a>;
<a name="l00026"></a>00026 <span class="keyword">class </span>CalRenderer;
<a name="l00027"></a>00027 <span class="keyword">class </span>CalMesh;
<a name="l00028"></a>00028 
<a name="l00029"></a>00029 
<a name="l00030"></a>00030 <span class="keyword">class </span>CAL3D_API CalModel : cal3d::noncopyable
<a name="l00031"></a>00031 {
<a name="l00032"></a>00032 <span class="keyword">public</span>: 
<a name="l00033"></a>00033   CalModel(CalCoreModel* pCoreModel);
<a name="l00034"></a>00034   ~CalModel();
<a name="l00035"></a>00035 
<a name="l00036"></a>00036   <span class="keywordtype">bool</span> attachMesh(<span class="keywordtype">int</span> coreMeshId);
<a name="l00037"></a>00037   <span class="keywordtype">bool</span> detachMesh(<span class="keywordtype">int</span> coreMeshId);
<a name="l00038"></a>00038   CalCoreModel *getCoreModel() <span class="keyword">const</span>;
<a name="l00039"></a>00039   CalMesh *getMesh(<span class="keywordtype">int</span> coreMeshId) <span class="keyword">const</span>;
<a name="l00040"></a>00040   CalMixer *getMixer() <span class="keyword">const</span>;
<a name="l00041"></a>00041   <a class="code" href="classCalAbstractMixer.html" title="CalAbstractMixer defines the API that CalModel relies on for blending and scheduling...">CalAbstractMixer</a> *getAbstractMixer() <span class="keyword">const</span>;
<a name="l00042"></a>00042   <span class="keywordtype">void</span> setAbstractMixer(<a class="code" href="classCalAbstractMixer.html" title="CalAbstractMixer defines the API that CalModel relies on for blending and scheduling...">CalAbstractMixer</a>* pMixer);
<a name="l00043"></a>00043   CalMorphTargetMixer *getMorphTargetMixer() <span class="keyword">const</span>;
<a name="l00044"></a>00044   CalPhysique *getPhysique() <span class="keyword">const</span>;
<a name="l00045"></a>00045   CalRenderer *getRenderer() <span class="keyword">const</span>;
<a name="l00046"></a>00046   CalSkeleton *getSkeleton() <span class="keyword">const</span>;
<a name="l00047"></a>00047   <a class="code" href="classCalSpringSystem.html" title="The spring system class.">CalSpringSystem</a> *getSpringSystem() <span class="keyword">const</span>;
<a name="l00048"></a>00048   <a class="code" href="classCalBoundingBox.html" title="The bounding box class.">CalBoundingBox</a> &amp; getBoundingBox(<span class="keywordtype">bool</span> precision = <span class="keyword">false</span>);
<a name="l00049"></a>00049   Cal::UserData getUserData() <span class="keyword">const</span>;
<a name="l00050"></a>00050   std::vector&lt;CalMesh *&gt;&amp; getVectorMesh();
<a name="l00051"></a>00051   <span class="keywordtype">void</span> setLodLevel(<span class="keywordtype">float</span> lodLevel);
<a name="l00052"></a>00052   <span class="keywordtype">void</span> setMaterialSet(<span class="keywordtype">int</span> setId);
<a name="l00053"></a>00053   <span class="keywordtype">void</span> setUserData(Cal::UserData userData);
<a name="l00054"></a>00054   <span class="keywordtype">void</span> update(<span class="keywordtype">float</span> deltaTime);
<a name="l00055"></a>00055   <span class="keywordtype">void</span> disableInternalData();
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <span class="keyword">private</span>:
<a name="l00058"></a>00058   CalCoreModel *m_pCoreModel;
<a name="l00059"></a>00059   CalSkeleton *m_pSkeleton;
<a name="l00060"></a>00060   <a class="code" href="classCalAbstractMixer.html" title="CalAbstractMixer defines the API that CalModel relies on for blending and scheduling...">CalAbstractMixer</a> *m_pMixer;
<a name="l00061"></a>00061   CalMorphTargetMixer *m_pMorphTargetMixer;
<a name="l00062"></a>00062   CalPhysique *m_pPhysique;
<a name="l00063"></a>00063   <a class="code" href="classCalSpringSystem.html" title="The spring system class.">CalSpringSystem</a> *m_pSpringSystem;
<a name="l00064"></a>00064   CalRenderer *m_pRenderer;
<a name="l00065"></a>00065   Cal::UserData m_userData;
<a name="l00066"></a>00066   std::vector&lt;CalMesh *&gt; m_vectorMesh;
<a name="l00067"></a>00067   <a class="code" href="classCalBoundingBox.html" title="The bounding box class.">CalBoundingBox</a> m_boundingBox;
<a name="l00068"></a>00068 };
<a name="l00069"></a>00069 
<a name="l00070"></a>00070 <span class="preprocessor">#endif</span>
<a name="l00071"></a>00071 <span class="preprocessor"></span>
<a name="l00072"></a>00072 <span class="comment">//****************************************************************************//</span>
</pre></div></div>
  <hr>
  <center>
    <small>
      Generated at Fri Jul 24 21:14:57 2009 by
      <a href="http://gna.org/projects/cal3d/">The Cal3D Team</a>
      with
      <a href="http://www.doxygen.org/index.html">
      Doxygen 1.5.9
      </a>
    </small>
  </center>
</body>
</html>