<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>Irrlicht Engine: IAnimatedMesh.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table class="irrlicht" > <tr valign="middle"> <td><font size="2"><a class="qindex" href="index.html"><font color="#FFFFFF">Home</font></a> | <a class="qindex" href="namespaces.html"><font color="#FFFFFF">Namespaces</font></a> | <a class="qindex" href="hierarchy.html"><font color="#FFFFFF">Hierarchy</font></a> | <a class="qindex" href="classes.html"><font color="#FFFFFF">Alphabetical List</font></a> | <a class="qindex" href="annotated.html"><font color="#FFFFFF"> Class list</font></a> | <a class="qindex" href="files.html"><font color="#FFFFFF">Files</font></a> | <a class="qindex" href="namespacemembers.html"><font color="#FFFFFF"> Namespace Members</font></a> | <a class="qindex" href="functions.html"><font color="#FFFFFF">Class members</font></a> | <a class="qindex" href="globals.html"><font color="#FFFFFF">File members</font></a> | <a class="qindex" href="pages.html"><font color="#FFFFFF">Tutorials</font></a></font> </td> </tr> </table> <!-- Generated by Doxygen 1.5.6 --> <h1>IAnimatedMesh.h</h1><a href="_i_animated_mesh_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// Copyright (C) 2002-2009 Nikolaus Gebhardt</span> <a name="l00002"></a>00002 <span class="comment">// This file is part of the "Irrlicht Engine".</span> <a name="l00003"></a>00003 <span class="comment">// For conditions of distribution and use, see copyright notice in irrlicht.h</span> <a name="l00004"></a>00004 <a name="l00005"></a>00005 <span class="preprocessor">#ifndef __I_ANIMATED_MESH_H_INCLUDED__</span> <a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define __I_ANIMATED_MESH_H_INCLUDED__</span> <a name="l00007"></a>00007 <span class="preprocessor"></span> <a name="l00008"></a>00008 <span class="preprocessor">#include "<a class="code" href="aabbox3d_8h.html">aabbox3d.h</a>"</span> <a name="l00009"></a>00009 <span class="preprocessor">#include "<a class="code" href="_i_mesh_8h.html">IMesh.h</a>"</span> <a name="l00010"></a>00010 <a name="l00011"></a>00011 <span class="keyword">namespace </span>irr <a name="l00012"></a>00012 { <a name="l00013"></a>00013 <span class="keyword">namespace </span>scene <a name="l00014"></a>00014 { <a name="l00016"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c61">00016</a> <span class="keyword">enum</span> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c61" title="Possible types of (animated) meshes.">E_ANIMATED_MESH_TYPE</a> <a name="l00017"></a>00017 { <a name="l00019"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c616f44a8730987c53332017ff74048acd0">00019</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c616f44a8730987c53332017ff74048acd0" title="Unknown animated mesh type.">EAMT_UNKNOWN</a> = 0, <a name="l00020"></a>00020 <a name="l00022"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c613b87f459cd5f287626c4fd9aaf729284">00022</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c613b87f459cd5f287626c4fd9aaf729284" title="Quake 2 MD2 model file.">EAMT_MD2</a>, <a name="l00023"></a>00023 <a name="l00025"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c6158cbe2b4f04ce4cb05bd209259a88e49">00025</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c6158cbe2b4f04ce4cb05bd209259a88e49" title="Quake 3 MD3 model file.">EAMT_MD3</a>, <a name="l00026"></a>00026 <a name="l00028"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c61a5e0b4b1881d9e999cf7a7a1906e82f3">00028</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c61a5e0b4b1881d9e999cf7a7a1906e82f3" title="Maya .obj static model.">EAMT_OBJ</a>, <a name="l00029"></a>00029 <a name="l00031"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c612f02513e0a6ac2b377bf3a047c2a002d">00031</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c612f02513e0a6ac2b377bf3a047c2a002d" title="Quake 3 .bsp static Map.">EAMT_BSP</a>, <a name="l00032"></a>00032 <a name="l00034"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c610ffa679fb212ad86cfce62c25feb2643">00034</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c610ffa679fb212ad86cfce62c25feb2643" title="3D Studio .3ds file">EAMT_3DS</a>, <a name="l00035"></a>00035 <a name="l00037"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c615d30dfa5853b572ca852a57009ac5a39">00037</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c615d30dfa5853b572ca852a57009ac5a39" title="My3D Mesh, the file format by Zhuck Dimitry.">EAMT_MY3D</a>, <a name="l00038"></a>00038 <a name="l00040"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c6197f8157a0c61e552ca83c93445895ec1">00040</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c6197f8157a0c61e552ca83c93445895ec1" title="Pulsar LMTools .lmts file. This Irrlicht loader was written by Jonas Petersen.">EAMT_LMTS</a>, <a name="l00041"></a>00041 <a name="l00043"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c612525eebcc0c30bffe5378c0e81a88fb6">00043</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c612525eebcc0c30bffe5378c0e81a88fb6" title="Cartography Shop .csm file. This loader was created by Saurav Mohapatra.">EAMT_CSM</a>, <a name="l00044"></a>00044 <a name="l00046"></a>00046 <a name="l00048"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c61ea718c6b9b8485a394a5ea9118584d35">00048</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c61ea718c6b9b8485a394a5ea9118584d35" title=".oct file for Paul Nette&#39;s FSRad or from Murphy McCauley&#39;s Blender .oct exporter...">EAMT_OCT</a>, <a name="l00049"></a>00049 <a name="l00051"></a><a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c61633362dee1f292db6e26ae9a029dbebc">00051</a> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c61633362dee1f292db6e26ae9a029dbebc" title="generic skinned mesh">EAMT_SKINNED</a> <a name="l00052"></a>00052 }; <a name="l00053"></a>00053 <a name="l00055"></a>00055 <a name="l00059"></a><a class="code" href="classirr_1_1scene_1_1_i_animated_mesh.html">00059</a> <span class="keyword">class </span><a class="code" href="classirr_1_1scene_1_1_i_animated_mesh.html" title="Interface for an animated mesh.">IAnimatedMesh</a> : <span class="keyword">public</span> <a class="code" href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object.">IMesh</a> <a name="l00060"></a>00060 { <a name="l00061"></a>00061 <span class="keyword">public</span>: <a name="l00062"></a>00062 <a name="l00064"></a>00064 <a name="l00066"></a>00066 <span class="keyword">virtual</span> <a class="code" href="namespaceirr.html#0416a53257075833e7002efd0a18e804" title="32 bit unsigned variable.">u32</a> <a class="code" href="classirr_1_1scene_1_1_i_animated_mesh.html#2ec99aba081e9f37802e8ea9cd65629b" title="Gets the frame count of the animated mesh.">getFrameCount</a>() <span class="keyword">const</span> = 0; <a name="l00067"></a>00067 <a name="l00069"></a>00069 <a name="l00081"></a>00081 <span class="keyword">virtual</span> <a class="code" href="classirr_1_1scene_1_1_i_mesh.html" title="Class which holds the geometry of an object.">IMesh</a>* <a class="code" href="classirr_1_1scene_1_1_i_animated_mesh.html#dccb39fee83bed36a464cf7b96f3a0ca" title="Returns the IMesh interface for a frame.">getMesh</a>(<a class="code" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> frame, <a class="code" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> detailLevel=255, <a class="code" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> startFrameLoop=-1, <a class="code" href="namespaceirr.html#c66849b7a6ed16e30ebede579f9b47c6" title="32 bit signed variable.">s32</a> endFrameLoop=-1) = 0; <a name="l00082"></a>00082 <a name="l00084"></a>00084 <a name="l00089"></a><a class="code" href="classirr_1_1scene_1_1_i_animated_mesh.html#227b7899a59ff22b73b953d54c8b17b7">00089</a> <span class="keyword">virtual</span> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c61" title="Possible types of (animated) meshes.">E_ANIMATED_MESH_TYPE</a> <a class="code" href="classirr_1_1scene_1_1_i_animated_mesh.html#227b7899a59ff22b73b953d54c8b17b7" title="Returns the type of the animated mesh.">getMeshType</a>()<span class="keyword"> const</span> <a name="l00090"></a>00090 <span class="keyword"> </span>{ <a name="l00091"></a>00091 <span class="keywordflow">return</span> <a class="code" href="namespaceirr_1_1scene.html#2fc85a64604521ca063f1881b5dd1c616f44a8730987c53332017ff74048acd0" title="Unknown animated mesh type.">EAMT_UNKNOWN</a>; <a name="l00092"></a>00092 } <a name="l00093"></a>00093 }; <a name="l00094"></a>00094 <a name="l00095"></a>00095 } <span class="comment">// end namespace scene</span> <a name="l00096"></a>00096 } <span class="comment">// end namespace irr</span> <a name="l00097"></a>00097 <a name="l00098"></a>00098 <span class="preprocessor">#endif</span> <a name="l00099"></a>00099 <span class="preprocessor"></span> </pre></div></div> <hr size="1"> <address style="align: right;"> <small> </small> </address> <table width="100%" border="0" cellspacing="0" cellpadding="2"> <tr> <td width="0"> <div align="left"><small><a href="http://irrlicht.sourceforge.net" target="_blank"><img src="irrlicht.png" alt="The Irrlicht Engine" align="middle" border=0 width=88 height=31></a></small></div></td> <td> <div align="left"><small><em><font size="2">The <a href="http://irrlicht.sourceforge.net" target="_blank">Irrlicht Engine</a> Documentation © 2003-2009 by Nikolaus Gebhardt. Generated on Sun Jan 10 09:24:03 2010 by <a href="http://www.doxygen.org" target="_blank">Doxygen</a> (1.5.6)</font></em></small></div></td> </tr> </table> <address style="align: right;"> </address> </body> </html>