<!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>Crystal Space 1.2.1: imesh/skeleton.h Source File (Crystal Space 1.2.1 Public API Reference)</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <table border="0" cellpadding="0" cellspacing="0" width="100%" class="head"> <tr height="59"> <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td> <td class="head"><h2>Public API Reference</h2></td> </tr> <tr height="11"> <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td> </tr> </table> <div class="content"> <!-- Generated by Doxygen 1.5.3 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="classes.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> </ul> </div> <h1>imesh/skeleton.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"> Copyright (C) 2005 by Hristo Hristov</span> <a name="l00003"></a>00003 <span class="comment"></span> <a name="l00004"></a>00004 <span class="comment"> This library is free software; you can redistribute it and/or</span> <a name="l00005"></a>00005 <span class="comment"> modify it under the terms of the GNU Library General Public</span> <a name="l00006"></a>00006 <span class="comment"> License as published by the Free Software Foundation; either</span> <a name="l00007"></a>00007 <span class="comment"> version 2 of the License, or (at your option) any later version.</span> <a name="l00008"></a>00008 <span class="comment"></span> <a name="l00009"></a>00009 <span class="comment"> This library is distributed in the hope that it will be useful,</span> <a name="l00010"></a>00010 <span class="comment"> but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00011"></a>00011 <span class="comment"> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU</span> <a name="l00012"></a>00012 <span class="comment"> Library General Public License for more details.</span> <a name="l00013"></a>00013 <span class="comment"></span> <a name="l00014"></a>00014 <span class="comment"> You should have received a copy of the GNU Library General Public</span> <a name="l00015"></a>00015 <span class="comment"> License along with this library; if not, write to the Free</span> <a name="l00016"></a>00016 <span class="comment"> Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.</span> <a name="l00017"></a>00017 <span class="comment">*/</span> <a name="l00018"></a>00018 <a name="l00019"></a>00019 <span class="preprocessor">#ifndef __CS_ISKELETON_H__</span> <a name="l00020"></a>00020 <span class="preprocessor"></span><span class="preprocessor">#define __CS_ISKELETON_H__</span> <a name="l00021"></a>00021 <span class="preprocessor"></span> <a name="l00022"></a>00022 <span class="preprocessor">#include "<a class="code" href="scf_8h.html" title="Crystal Space Shared Class Facility (SCF).">csutil/scf.h</a>"</span> <a name="l00023"></a>00023 <span class="preprocessor">#include "<a class="code" href="box_8h.html" title="Bounding boxes for 2D and 3D space.">csgeom/box.h</a>"</span> <a name="l00024"></a>00024 <a name="l00025"></a>00025 <span class="keyword">struct </span><a class="code" href="structiSkeleton.html" title="The skeleton interface provides needed functionality of a skeleton animation.">iSkeleton</a>; <a name="l00026"></a>00026 <span class="keyword">struct </span><a class="code" href="structiSkeletonGraveyard.html" title="iSkeletonGraveyard is the interface that cares for all skeleton factories.">iSkeletonGraveyard</a>; <a name="l00027"></a>00027 <span class="keyword">struct </span><a class="code" href="structiSkeletonFactory.html" title="The skeleton factory is class that is used to create skeleton objects in the scene...">iSkeletonFactory</a>; <a name="l00028"></a>00028 <span class="keyword">struct </span><a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a>; <a name="l00029"></a>00029 <span class="keyword">struct </span><a class="code" href="structiSkeletonBoneUpdateCallback.html" title="This callback fires every time when bone changes it&#39;s transform.">iSkeletonBoneUpdateCallback</a>; <a name="l00030"></a>00030 <span class="keyword">struct </span><a class="code" href="structiSkeletonSocket.html" title="The skeleton socket object wraps a relative transform of a bone.">iSkeletonSocket</a>; <a name="l00031"></a>00031 <span class="keyword">struct </span><a class="code" href="structiSkeletonSocketFactory.html" title="The skeleton socket factory is class that is used to create skeleton sockets of a...">iSkeletonSocketFactory</a>; <a name="l00032"></a>00032 <span class="keyword">struct </span><a class="code" href="structiSceneNode.html" title="This interface represents a node in the scene graph.">iSceneNode</a>; <a name="l00033"></a>00033 <span class="comment">//struct iSkeletonBoneRagdollInfo;</span> <a name="l00034"></a>00034 <a name="l00035"></a>00035 <span class="comment">/*</span> <a name="l00036"></a>00036 <span class="comment">struct iODEGeom;</span> <a name="l00037"></a>00037 <span class="comment">struct iODERigidBody;</span> <a name="l00038"></a>00038 <span class="comment">struct iODEJoint;</span> <a name="l00039"></a>00039 <span class="comment">struct iODEDynamicSystem;</span> <a name="l00040"></a>00040 <span class="comment">*/</span> <a name="l00041"></a>00041 <a name="l00042"></a>00042 <span class="keyword">enum</span> csBoneTransformType <a name="l00043"></a>00043 { <a name="l00044"></a>00044 CS_BTT_NONE = 0, <a name="l00045"></a>00045 CS_BTT_SCRIPT, <a name="l00046"></a>00046 CS_BTT_RIGID_BODY <a name="l00047"></a>00047 }; <a name="l00048"></a>00048 <a name="l00049"></a>00049 <span class="keyword">enum</span> csBoneGeomType <a name="l00050"></a>00050 { <a name="l00051"></a>00051 CS_BGT_NONE = 0, <a name="l00052"></a>00052 CS_BGT_BOX, <a name="l00053"></a>00053 CS_BGT_SPHERE, <a name="l00054"></a>00054 CS_BGT_CYLINDER <a name="l00055"></a>00055 }; <a name="l00056"></a>00056 <a name="l00057"></a>00057 <span class="keyword">class </span><a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a>; <a name="l00058"></a>00058 <a name="l00062"></a><a class="code" href="structiSkeletonBone.html">00062</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00063"></a>00063 { <a name="l00064"></a>00064 SCF_INTERFACE (<a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a>, 1, 0, 0); <a name="l00065"></a>00065 <a name="l00069"></a>00069 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structiSkeletonBone.html#843fc6777121ef653770ae3dccb79425" title="Get name of the bone.">GetName</a> () <span class="keyword">const</span> = 0; <a name="l00070"></a>00070 <a name="l00074"></a>00074 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBone.html#fba50bb58b344622ac3ea098bc4d9e0f" title="Set name of the bone.">SetName</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0; <a name="l00075"></a>00075 <a name="l00079"></a>00079 <span class="keyword">virtual</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &<a class="code" href="structiSkeletonBone.html#20cf1d6ca683ee39de622af6bd55bde1" title="Get transform of the bone.">GetTransform</a> () = 0; <a name="l00080"></a>00080 <a name="l00084"></a>00084 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBone.html#3399a83d3fad410db3ab8b1d7981de20" title="Set transform of the bone in parent&#39;s coordsys.">SetTransform</a> (<span class="keyword">const</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &transform) = 0; <a name="l00085"></a>00085 <a name="l00089"></a>00089 <span class="keyword">virtual</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &<a class="code" href="structiSkeletonBone.html#c06bec888a5d097d44848cbe70511ebc" title="Get full transform of the bone.">GetFullTransform</a> () = 0; <a name="l00090"></a>00090 <a name="l00094"></a>00094 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBone.html#82b09a468d365953554288d76e2114d4" title="Set parent bone.">SetParent</a> (<a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *parent) = 0; <a name="l00095"></a>00095 <a name="l00099"></a>00099 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *<a class="code" href="structiSkeletonBone.html#505e7bc774fc6136d542e3b79149670c" title="Get parent bone.">GetParent</a> () = 0; <a name="l00100"></a>00100 <a name="l00104"></a>00104 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonBone.html#46671396bf28ef816e0e3be14019cb62" title="Get number of children bones.">GetChildrenCount</a> () = 0; <a name="l00105"></a>00105 <a name="l00109"></a>00109 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *<a class="code" href="structiSkeletonBone.html#33112e06533cb648f7fa35c70ee2d680" title="Set child bone by index.">GetChild</a> (<span class="keywordtype">size_t</span> i) = 0; <a name="l00110"></a>00110 <a name="l00114"></a>00114 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *<a class="code" href="structiSkeletonBone.html#a571cd60755c7bbbff33e41e6dec23d3" title="Find child bone by name.">FindChild</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00115"></a>00115 <a name="l00119"></a>00119 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonBone.html#57f02796a55b89447201b28f59edcfa9" title="Find child bone index.">FindChildIndex</a> (<a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *child) = 0; <a name="l00120"></a>00120 <a name="l00124"></a>00124 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBone.html#41304270a269d79a44c20f5b1367b4b9" title="Set skin bbox (usefull for creating collider or ragdoll object).">SetSkinBox</a> (<a class="code" href="classcsBox3.html" title="A bounding box in 3D space.">csBox3</a> &box) = 0; <a name="l00125"></a>00125 <a name="l00129"></a>00129 <span class="keyword">virtual</span> <a class="code" href="classcsBox3.html" title="A bounding box in 3D space.">csBox3</a> &<a class="code" href="structiSkeletonBone.html#365775578740da1b74f98d3c1311bd34" title="Get skin bbox.">GetSkinBox</a> () = 0; <a name="l00130"></a>00130 <a name="l00135"></a>00135 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBone.html#df2e5311a58036cd69e1e637287cabbf" title="Set callback to the bone.">SetUpdateCallback</a> (<a class="code" href="structiSkeletonBoneUpdateCallback.html" title="This callback fires every time when bone changes it&#39;s transform.">iSkeletonBoneUpdateCallback</a> *callback) = 0; <a name="l00136"></a>00136 <a name="l00140"></a>00140 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneUpdateCallback.html" title="This callback fires every time when bone changes it&#39;s transform.">iSkeletonBoneUpdateCallback</a> *<a class="code" href="structiSkeletonBone.html#1fe41647e665b11ef0c00bda036f6766" title="Get update callback.">GetUpdateCallback</a> () = 0; <a name="l00141"></a>00141 <a name="l00145"></a>00145 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *<a class="code" href="structiSkeletonBone.html#4bf127eb7a524fc623c900f5e2b2bf00" title="Get skeleton factory.">GetFactory</a>() = 0; <a name="l00146"></a>00146 <a name="l00150"></a>00150 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBone.html#5c03cf2b034eeb210f8e5aac42d8c9b4" title="Set bone transform mode.">SetTransformMode</a>(csBoneTransformType mode) = 0; <a name="l00151"></a>00151 <a name="l00155"></a>00155 <span class="keyword">virtual</span> csBoneTransformType <a class="code" href="structiSkeletonBone.html#3b0e109fe97d04da1b7ddf595e55cf07" title="Get bone transform mode.">GetTransformMode</a>() = 0; <a name="l00156"></a>00156 <a name="l00157"></a>00157 <span class="comment">//virtual void SetRigidBody(iODERigidBody *rigid_body, const csReversibleTransform & offset_transform) = 0;</span> <a name="l00158"></a>00158 <span class="comment">//virtual iODERigidBody *GetRigidBody() = 0;</span> <a name="l00159"></a>00159 <span class="comment">//virtual void SetJoint(iODEJoint *joint) = 0;</span> <a name="l00160"></a>00160 <span class="comment">//virtual iODEJoint *GetJoint() = 0;</span> <a name="l00161"></a>00161 }; <a name="l00162"></a>00162 <a name="l00166"></a><a class="code" href="structiSkeletonBoneUpdateCallback.html">00166</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonBoneUpdateCallback.html" title="This callback fires every time when bone changes it&#39;s transform.">iSkeletonBoneUpdateCallback</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00167"></a>00167 { <a name="l00168"></a>00168 SCF_INTERFACE (<a class="code" href="structiSkeletonBoneUpdateCallback.html" title="This callback fires every time when bone changes it&#39;s transform.">iSkeletonBoneUpdateCallback</a>, 0, 0, 1); <a name="l00169"></a>00169 <a name="l00170"></a>00170 <span class="keyword">virtual</span> <span class="keywordtype">void</span> UpdateTransform(<a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *bone, <a name="l00171"></a>00171 <span class="keyword">const</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> & transform) = 0; <a name="l00172"></a>00172 }; <a name="l00173"></a>00173 <a name="l00174"></a>00174 <span class="keyword">class </span><a class="code" href="classcsQuaternion.html" title="Class for a quaternion.">csQuaternion</a>; <a name="l00175"></a>00175 <a name="l00180"></a><a class="code" href="structiSkeletonAnimationKeyFrame.html">00180</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonAnimationKeyFrame.html" title="The script key frame contains all bones that will be transformed in a specific time...">iSkeletonAnimationKeyFrame</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00181"></a>00181 { <a name="l00182"></a>00182 SCF_INTERFACE (<a class="code" href="structiSkeletonAnimationKeyFrame.html" title="The script key frame contains all bones that will be transformed in a specific time...">iSkeletonAnimationKeyFrame</a>, 1, 0, 0); <a name="l00183"></a>00183 <a name="l00187"></a>00187 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structiSkeletonAnimationKeyFrame.html#c96742ddcd3e9ff9302b36c3c91a0d21" title="Get name of the key frame.">GetName</a> () <span class="keyword">const</span> = 0; <a name="l00188"></a>00188 <a name="l00192"></a>00192 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonAnimationKeyFrame.html#d5c6d712c073435e6fdf96fcfec63f81" title="Set name of the key frame.">SetName</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0; <a name="l00193"></a>00193 <a name="l00197"></a>00197 <span class="keyword">virtual</span> <a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> <a class="code" href="structiSkeletonAnimationKeyFrame.html#a5d1569a342df301b2cd8c90f41b049f" title="Get key frame duration.">GetDuration</a> () = 0; <a name="l00198"></a>00198 <a name="l00202"></a>00202 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonAnimationKeyFrame.html#87b01f834677274c96bb39fda974ce12" title="Set key frame duration.">SetDuration</a> (<a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> time) = 0; <a name="l00203"></a>00203 <a name="l00207"></a>00207 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonAnimationKeyFrame.html#334fdee8f74d51fe688260c3b5f3b20e" title="Get number of key transforms.">GetTransformsCount</a>() = 0; <a name="l00208"></a>00208 <a name="l00212"></a>00212 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonAnimationKeyFrame.html#d0f82bcd56aca4a5e517f28adeea0da2" title="Add new bone transform to the key frame.">AddTransform</a> (<a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *bone, <a name="l00213"></a>00213 <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &transform, <span class="keywordtype">bool</span> relative = <span class="keyword">false</span>) = 0; <a name="l00214"></a>00214 <a name="l00220"></a>00220 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"GetTransform (iSkeletonBoneFactory *bone) is deprecated, use GetTransform"</span> <a name="l00221"></a>00221 <span class="stringliteral">"(iSkeletonBoneFactory *bone, csReversibleTransform &dst_trans) instead"</span>) <a name="l00222"></a>00222 <span class="keyword">virtual</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> & <a class="code" href="structiSkeletonAnimationKeyFrame.html#2625262209dd3797c3470a79bba038ab" title="Get the transform of a bone.">GetTransform</a> (<a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *bone) = 0; <a name="l00223"></a>00223 <a name="l00228"></a>00228 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="structiSkeletonAnimationKeyFrame.html#2625262209dd3797c3470a79bba038ab" title="Get the transform of a bone.">GetTransform</a> (<a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *bone, <a name="l00229"></a>00229 <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &dst_trans) = 0; <a name="l00230"></a>00230 <a name="l00234"></a>00234 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonAnimationKeyFrame.html#13471708adadd58027aa89e0f3c1db9b" title="Set the transform of a bone.">SetTransform</a>(<a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *bone, <a name="l00235"></a>00235 <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &transform) = 0; <a name="l00236"></a>00236 <a name="l00241"></a>00241 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="structiSkeletonAnimationKeyFrame.html#b1722e19aa706d0bc2575d06e20ea236" title="Get key frame specific data.">GetKeyFrameData</a> (<a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *bone_fact, <a name="l00242"></a>00242 <a class="code" href="classcsQuaternion.html" title="Class for a quaternion.">csQuaternion</a> & rot, <a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> & pos, <a class="code" href="classcsQuaternion.html" title="Class for a quaternion.">csQuaternion</a> & tangent, <a name="l00243"></a>00243 <span class="keywordtype">bool</span> & relative) = 0; <a name="l00244"></a>00244 }; <a name="l00245"></a>00245 <a name="l00246"></a>00246 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"iSkeletonScriptKeyFrame is deprecated, use iSkeletonAnimationKeyFrame instead"</span>) <a name="l00247"></a>00247 typedef <a class="code" href="structiSkeletonAnimationKeyFrame.html" title="The script key frame contains all bones that will be transformed in a specific time...">iSkeletonAnimationKeyFrame</a> <a class="code" href="structiSkeletonAnimationKeyFrame.html" title="The script key frame contains all bones that will be transformed in a specific time...">iSkeletonScriptKeyFrame</a>; <a name="l00248"></a>00248 <a name="l00252"></a><a class="code" href="structiSkeletonAnimation.html">00252</a> struct <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a> : public virtual <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00253"></a>00253 { <a name="l00254"></a>00254 <a class="code" href="group__scf.html#g711056cbf220f268640935926c404ba5" title="SCF_INTERFACE can be used to define an interface&#39;s version number; you should...">SCF_INTERFACE</a> (<a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a>, 1, 0, 0); <a name="l00255"></a>00255 <a name="l00259"></a>00259 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* GetName () <span class="keyword">const</span> = 0; <a name="l00260"></a>00260 <a name="l00264"></a>00264 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetName (<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0; <a name="l00265"></a>00265 <a name="l00269"></a>00269 <span class="keyword">virtual</span> <a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> GetTime () = 0; <a name="l00270"></a>00270 <a name="l00274"></a>00274 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetTime (<a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> time) = 0; <a name="l00275"></a>00275 <a name="l00279"></a>00279 <span class="keyword">virtual</span> <span class="keywordtype">float</span> GetSpeed () = 0; <a name="l00280"></a>00280 <a name="l00284"></a>00284 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetSpeed (<span class="keywordtype">float</span> speed) = 0; <a name="l00285"></a>00285 <a name="l00289"></a>00289 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetFactor (<span class="keywordtype">float</span> factor) = 0; <a name="l00290"></a>00290 <a name="l00294"></a>00294 <span class="keyword">virtual</span> <span class="keywordtype">float</span> GetFactor () = 0; <a name="l00295"></a>00295 <a name="l00299"></a>00299 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetLoop (<span class="keywordtype">bool</span> loop) = 0; <a name="l00300"></a>00300 <a name="l00304"></a>00304 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> GetLoop () = 0; <a name="l00305"></a>00305 <a name="l00309"></a>00309 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimationKeyFrame.html" title="The script key frame contains all bones that will be transformed in a specific time...">iSkeletonAnimationKeyFrame</a> *CreateFrame (<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0; <a name="l00310"></a>00310 <a name="l00314"></a>00314 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> GetFramesCount () = 0; <a name="l00315"></a>00315 <a name="l00319"></a>00319 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimationKeyFrame.html" title="The script key frame contains all bones that will be transformed in a specific time...">iSkeletonAnimationKeyFrame</a> *GetFrame (<span class="keywordtype">size_t</span> i) = 0; <a name="l00320"></a>00320 <a name="l00324"></a>00324 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> FindFrameIndex (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00325"></a>00325 <a name="l00329"></a>00329 <span class="keyword">virtual</span> <span class="keywordtype">void</span> RemoveFrame (<span class="keywordtype">size_t</span> i) = 0; <a name="l00330"></a>00330 <a name="l00334"></a>00334 <span class="keyword">virtual</span> <span class="keywordtype">void</span> RemoveAllFrames () = 0; <a name="l00335"></a>00335 <a name="l00341"></a>00341 <span class="keyword">virtual</span> <span class="keywordtype">void</span> RecalcSpline () = 0; <a name="l00342"></a>00342 }; <a name="l00343"></a>00343 <a name="l00344"></a>00344 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"iSkeletonScript is deprecated, use iSkeletonAnimation instead"</span>) <a name="l00345"></a>00345 typedef <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonScript</a>; <a name="l00346"></a>00346 <a name="l00351"></a><a class="code" href="structiSkeletonAnimationCallback.html">00351</a> struct <a class="code" href="structiSkeletonAnimationCallback.html" title="This is a callback function of an animation.">iSkeletonAnimationCallback</a> : public virtual <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00352"></a>00352 { <a name="l00353"></a>00353 <a class="code" href="group__scf.html#g711056cbf220f268640935926c404ba5" title="SCF_INTERFACE can be used to define an interface&#39;s version number; you should...">SCF_INTERFACE</a> (<a class="code" href="structiSkeletonAnimationCallback.html" title="This is a callback function of an animation.">iSkeletonAnimationCallback</a>, 1, 0, 0); <a name="l00354"></a>00354 <a name="l00358"></a>00358 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Execute(<a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a> *animation, <span class="keywordtype">size_t</span> frame_idx) = 0; <a name="l00359"></a>00359 <a name="l00363"></a>00363 <span class="keyword">virtual</span> <span class="keywordtype">void</span> OnFinish(<a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a> *animation) = 0; <a name="l00364"></a>00364 }; <a name="l00365"></a>00365 <a name="l00366"></a>00366 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"iSkeletonScriptCallback is deprecated, use iSkeletonAnimationCallback instead"</span>) <a name="l00367"></a>00367 typedef <a class="code" href="structiSkeletonAnimationCallback.html" title="This is a callback function of an animation.">iSkeletonAnimationCallback</a> <a class="code" href="structiSkeletonAnimationCallback.html" title="This is a callback function of an animation.">iSkeletonScriptCallback</a>; <a name="l00368"></a>00368 <a name="l00374"></a><a class="code" href="structiSkeletonUpdateCallback.html">00374</a> struct <a class="code" href="structiSkeletonUpdateCallback.html" title="This is a callback function of a skeleton.">iSkeletonUpdateCallback</a> : public virtual <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00375"></a>00375 { <a name="l00376"></a>00376 <a class="code" href="group__scf.html#g711056cbf220f268640935926c404ba5" title="SCF_INTERFACE can be used to define an interface&#39;s version number; you should...">SCF_INTERFACE</a> (<a class="code" href="structiSkeletonUpdateCallback.html" title="This is a callback function of a skeleton.">iSkeletonUpdateCallback</a>, 1, 0, 0); <a name="l00377"></a>00377 <a name="l00381"></a>00381 <span class="keyword">virtual</span> <span class="keywordtype">void</span> Execute(<a class="code" href="structiSkeleton.html" title="The skeleton interface provides needed functionality of a skeleton animation.">iSkeleton</a> *skeleton, <span class="keyword">const</span> <a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> & current_ticks) = 0; <a name="l00382"></a>00382 }; <a name="l00383"></a>00383 <a name="l00387"></a><a class="code" href="structiSkeletonAnimationInstance.html">00387</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonAnimationInstance.html" title="This interface provides played animation instance of a skeleton.">iSkeletonAnimationInstance</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00388"></a>00388 { <a name="l00389"></a>00389 SCF_INTERFACE (<a class="code" href="structiSkeletonAnimationInstance.html" title="This interface provides played animation instance of a skeleton.">iSkeletonAnimationInstance</a>, 1, 0, 0); <a name="l00390"></a>00390 <a name="l00394"></a>00394 <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code" href="structiSkeletonAnimationInstance.html#bfa296815379797821451f948978e651" title="Get animation speed.">GetSpeed</a> () = 0; <a name="l00395"></a>00395 <a name="l00399"></a>00399 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonAnimationInstance.html#687362f0e19117ea2fdec249de25664d" title="Set animation speed (default = 1.0).">SetSpeed</a> (<span class="keywordtype">float</span> speed) = 0; <a name="l00400"></a>00400 <a name="l00404"></a>00404 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonAnimationInstance.html#959c6c2d6626ceb84e5f88c6126d16b0" title="Set animation factor.">SetFactor</a> (<span class="keywordtype">float</span> factor) = 0; <a name="l00405"></a>00405 <a name="l00409"></a>00409 <span class="keyword">virtual</span> <span class="keywordtype">float</span> <a class="code" href="structiSkeletonAnimationInstance.html#38a15dcfc8cd6239f0e4592fa76dd4b7" title="Get animation factor.">GetFactor</a> () = 0; <a name="l00410"></a>00410 <a name="l00414"></a>00414 <span class="keyword">virtual</span> <a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> <a class="code" href="structiSkeletonAnimationInstance.html#9340f96b22fa9b43bd7c002768ba0ced" title="Get animation instance duration.">GetDuration</a> () = 0; <a name="l00415"></a>00415 <a name="l00419"></a>00419 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonAnimationInstance.html#aa12f7b01909f0cf6513e20acfa6cef0" title="Set animation instance duration.">SetDuration</a> (<a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> time) = 0; <a name="l00420"></a>00420 }; <a name="l00421"></a>00421 <a name="l00436"></a><a class="code" href="structiSkeleton.html">00436</a> <span class="keyword">struct </span><a class="code" href="structiSkeleton.html" title="The skeleton interface provides needed functionality of a skeleton animation.">iSkeleton</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00437"></a>00437 { <a name="l00438"></a>00438 SCF_INTERFACE (<a class="code" href="structiSkeleton.html" title="The skeleton interface provides needed functionality of a skeleton animation.">iSkeleton</a>, 1, 0, 0); <a name="l00439"></a>00439 <a name="l00443"></a>00443 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structiSkeleton.html#c08a7ce2fd56be9ae58cdec7339b334f" title="Get skeleton name.">GetName</a> () <span class="keyword">const</span> = 0; <a name="l00444"></a>00444 <a name="l00448"></a>00448 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#308edf9d3751d1517c62f14620ffccef" title="Set skeleton name.">SetName</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0; <a name="l00449"></a>00449 <a name="l00453"></a>00453 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeleton.html#eac9593c91b6060d50da3c76ac393598" title="Get number of bones in the skeleton.">GetBonesCount</a> () = 0; <a name="l00454"></a>00454 <a name="l00458"></a>00458 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *<a class="code" href="structiSkeleton.html#5b666915049fab223421b6a171a4fcdb" title="Get bone by index.">GetBone</a> (<span class="keywordtype">size_t</span> i) = 0; <a name="l00459"></a>00459 <a name="l00463"></a>00463 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *<a class="code" href="structiSkeleton.html#c614677f519f8dd350e4b70893fdf5cd" title="Find bone by name.">FindBone</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00464"></a>00464 <a name="l00468"></a>00468 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeleton.html#cb3de3b6341fba41639dfba2effa994a" title="Find bine index by name.">FindBoneIndex</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00469"></a>00469 <a name="l00473"></a>00473 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a>* <a class="code" href="structiSkeleton.html#f6a3f47f2ca3f6b4349eb97e2ef7f4da" title="Execute specific animation.">Execute</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *animation_name) = 0; <a name="l00474"></a>00474 <a name="l00478"></a>00478 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a>* <a class="code" href="structiSkeleton.html#1dfa70167bed272649b94300e9ca91d2" title="Append animation for execution.">Append</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *animation_name) = 0; <a name="l00479"></a>00479 <a name="l00483"></a>00483 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimationInstance.html" title="This interface provides played animation instance of a skeleton.">iSkeletonAnimationInstance</a> *<a class="code" href="structiSkeleton.html#c1a350981b3aa031bb9e7a2c0ef6bfdf" title="Play specific animation.">Play</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *animation_name) = 0; <a name="l00484"></a>00484 <a name="l00488"></a>00488 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#71358781581b1d2f29f6365a58390e4a" title="Stop animation.">Stop</a> (<a class="code" href="structiSkeletonAnimationInstance.html" title="This interface provides played animation instance of a skeleton.">iSkeletonAnimationInstance</a> *anim_instance) = 0; <a name="l00489"></a>00489 <a name="l00493"></a>00493 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#3ca296af4b641b363c9e503d187e770f" title="Clear animations for execution.">ClearPendingAnimations</a> () = 0; <a name="l00494"></a>00494 <a name="l00499"></a>00499 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"ClearPendingScripts is deprecated, use ClearPendingAnimations instead"</span>) <a name="l00500"></a>00500 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#b4f2be7e56dd4233f1ac0ef6fe431a8e" title="Clear animations for execution.">ClearPendingScripts</a> () = 0; <a name="l00501"></a>00501 <a name="l00505"></a>00505 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeleton.html#0fc2d643b85affe9e647ce3dc601a4ea" title="Get number of running animations.">GetAnimationsCount</a> () = 0; <a name="l00506"></a>00506 <a name="l00511"></a>00511 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"GetScriptsCount is deprecated, use GetAnimationsCount instead"</span>) <a name="l00512"></a>00512 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeleton.html#40a49d63e6a83501ae0963106e24b277" title="Get number of running animations.">GetScriptsCount</a> () = 0; <a name="l00513"></a>00513 <a name="l00517"></a>00517 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a>* <a class="code" href="structiSkeleton.html#1f4681a67f0a173ba6a2b02c09046dfb" title="Get animation by index.">GetAnimation</a> (<span class="keywordtype">size_t</span> i) = 0; <a name="l00518"></a>00518 <a name="l00523"></a>00523 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"GetScript is deprecated, use GetAnimation instead"</span>) <a name="l00524"></a>00524 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a>* <a class="code" href="structiSkeleton.html#acd2ed2a3d0e61fe92dafa1d0e3ade9c" title="Get animation by index.">GetScript</a> (<span class="keywordtype">size_t</span> i) = 0; <a name="l00525"></a>00525 <a name="l00529"></a>00529 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a>* <a class="code" href="structiSkeleton.html#efc9471e7ce74706aed9b908b3839a9c" title="Find animation by name.">FindAnimation</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *animation_name) = 0; <a name="l00530"></a>00530 <a name="l00535"></a>00535 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"FindScript is deprecated, use FindAnimation instead"</span>) <a name="l00536"></a>00536 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a>* <a class="code" href="structiSkeleton.html#1db9004790f40a7a3f377b838b745ae4" title="Find animation by name.">FindScript</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *animation_name) = 0; <a name="l00537"></a>00537 <a name="l00541"></a>00541 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonSocket.html" title="The skeleton socket object wraps a relative transform of a bone.">iSkeletonSocket</a>* <a class="code" href="structiSkeleton.html#fd6a00557798803bf9070c3cca7e738e" title="Find socket by name.">FindSocket</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *socketname) = 0; <a name="l00542"></a>00542 <a name="l00546"></a>00546 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#475697c78aafeb389482cbbceca193b9" title="Stop all executed animations.">StopAll</a> () = 0; <a name="l00547"></a>00547 <a name="l00551"></a>00551 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#71358781581b1d2f29f6365a58390e4a" title="Stop animation.">Stop</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* animation_name) = 0; <a name="l00552"></a>00552 <a name="l00556"></a>00556 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonFactory.html" title="The skeleton factory is class that is used to create skeleton objects in the scene...">iSkeletonFactory</a> *<a class="code" href="structiSkeleton.html#8955c8c1d6be1c8ad58151c0975c0038" title="Get skeleton factory.">GetFactory</a> () = 0; <a name="l00557"></a>00557 <a name="l00561"></a>00561 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#8590aa07aed0a2ab4ccb3896c795d208" title="Set animation callback.">SetScriptCallback</a> (<a class="code" href="structiSkeletonAnimationCallback.html" title="This is a callback function of an animation.">iSkeletonAnimationCallback</a> *cb) = 0; <a name="l00562"></a>00562 <a name="l00568"></a>00568 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"SetScriptCallback is deprecated, use SetAnimationCallback instead"</span>) <a name="l00569"></a>00569 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#35050aedf7d49957a35d633464ec2e64" title="Set animation callback.">SetAnimationCallback</a> (<a class="code" href="structiSkeletonAnimationCallback.html" title="This is a callback function of an animation.">iSkeletonAnimationCallback</a> *cb) = 0; <a name="l00570"></a>00570 <a name="l00571"></a>00571 <span class="comment">//virtual void CreateRagdoll(iODEDynamicSystem *dyn_sys, csReversibleTransform & transform) = 0;</span> <a name="l00572"></a>00572 <span class="comment">//virtual void DestroyRagdoll() = 0;</span> <a name="l00573"></a>00573 <a name="l00577"></a>00577 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeleton.html#6857e30634688753f22f6e05de689002" title="Adds skeleton update callback.">AddUpdateCallback</a> ( <a name="l00578"></a>00578 <a class="code" href="structiSkeletonUpdateCallback.html" title="This is a callback function of a skeleton.">iSkeletonUpdateCallback</a> *update_callback) = 0; <a name="l00579"></a>00579 <a name="l00583"></a>00583 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeleton.html#9490b596c373a21db7779f17ef4f8c0b" title="Get number of skeleton callbacks.">GetUpdateCallbacksCount</a> () = 0; <a name="l00584"></a>00584 <a name="l00588"></a>00588 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonUpdateCallback.html" title="This is a callback function of a skeleton.">iSkeletonUpdateCallback</a> *<a class="code" href="structiSkeleton.html#c162ed6ac197508bd570e3877508a041" title="Get callback by index.">GetUpdateCallback</a>(<span class="keywordtype">size_t</span> callback_idx) = 0; <a name="l00589"></a>00589 <a name="l00593"></a>00593 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#672ba3c3b1e2dc5ecf957df3867c07c2" title="Remove skelton callback by index.">RemoveUpdateCallback</a> (<span class="keywordtype">size_t</span> callback_idx) = 0; <a name="l00594"></a>00594 <a name="l00599"></a>00599 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="structiSkeleton.html#91e3864d4d3eba8d347b08bd64d7c4f1" title="Update animations state.">UpdateAnimation</a> (<a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> current_time) = 0; <a name="l00600"></a>00600 <a name="l00607"></a>00607 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeleton.html#f0b9e9a9cebd083c81d2f359ea8916f7" title="Update skeleton bones.">UpdateBones</a> () = 0; <a name="l00608"></a>00608 }; <a name="l00609"></a>00609 <a name="l00616"></a><a class="code" href="structiSkeletonSocket.html">00616</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonSocket.html" title="The skeleton socket object wraps a relative transform of a bone.">iSkeletonSocket</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00617"></a>00617 { <a name="l00618"></a>00618 SCF_INTERFACE (<a class="code" href="structiSkeletonSocket.html" title="The skeleton socket object wraps a relative transform of a bone.">iSkeletonSocket</a>, 1, 0, 0); <a name="l00619"></a>00619 <a name="l00623"></a>00623 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structiSkeletonSocket.html#48b676e44ecbe246c0d2677bcbe610ea" title="Get socket name.">GetName</a> () <span class="keyword">const</span> = 0; <a name="l00624"></a>00624 <a name="l00628"></a>00628 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonSocket.html#ebd6b4c7de93ba7ff2783e2836e0fd43" title="Set socket name.">SetName</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0; <a name="l00629"></a>00629 <a name="l00633"></a>00633 <span class="keyword">virtual</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &<a class="code" href="structiSkeletonSocket.html#d13a601a36a47041bda7d2c94a64e58a" title="Get socket transform in parent&#39;s coordsys.">GetTransform</a> () = 0; <a name="l00634"></a>00634 <a name="l00638"></a>00638 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonSocket.html#afba9adbda0222a083d537185c7e2383" title="Set socket transform in parent&#39;s coordsys.">SetTransform</a> (<span class="keyword">const</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &transform) = 0; <a name="l00639"></a>00639 <a name="l00643"></a>00643 <span class="keyword">virtual</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &<a class="code" href="structiSkeletonSocket.html#deed22c0c4d9c01d89d92293573d1ed3" title="Get full transform of the socket.">GetFullTransform</a> () = 0; <a name="l00644"></a>00644 <a name="l00648"></a>00648 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonSocket.html#decbd94b5acc4275ce4269a92d2da96e" title="Set parent bone.">SetBone</a> (<a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *bone) = 0; <a name="l00649"></a>00649 <a name="l00653"></a>00653 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBone.html" title="The skeleton bone class.">iSkeletonBone</a> *<a class="code" href="structiSkeletonSocket.html#1e008a308f9fabedc8d69e93ed666cc6" title="Get parent bone.">GetBone</a> () = 0; <a name="l00654"></a>00654 <a name="l00658"></a>00658 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonSocket.html#4d0d859a81c808a531cd2134ee23f576" title="Set scene node (mesh, camera or light).">SetSceneNode</a> (<a class="code" href="structiSceneNode.html" title="This interface represents a node in the scene graph.">iSceneNode</a> *node) = 0; <a name="l00659"></a>00659 <a name="l00663"></a>00663 <span class="keyword">virtual</span> <a class="code" href="structiSceneNode.html" title="This interface represents a node in the scene graph.">iSceneNode</a> *<a class="code" href="structiSkeletonSocket.html#155675b1f49d56ed4e32d15e6354d595" title="Get scene node.">GetSceneNode</a> () = 0; <a name="l00664"></a>00664 <a name="l00668"></a>00668 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonSocketFactory.html" title="The skeleton socket factory is class that is used to create skeleton sockets of a...">iSkeletonSocketFactory</a> *<a class="code" href="structiSkeletonSocket.html#6a9a6f091c6869e120db4729589156f9" title="Get factory of the socket.">GetFactory</a> () = 0; <a name="l00669"></a>00669 }; <a name="l00670"></a>00670 <a name="l00671"></a><a class="code" href="structiSkeletonBoneRagdollInfo.html">00671</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonBoneRagdollInfo.html">iSkeletonBoneRagdollInfo</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00672"></a>00672 { <a name="l00673"></a>00673 SCF_INTERFACE (<a class="code" href="structiSkeletonBoneRagdollInfo.html">iSkeletonBoneRagdollInfo</a>, 1, 0, 0); <a name="l00674"></a>00674 <a name="l00675"></a>00675 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetEnabled(<span class="keywordtype">bool</span> enabled) = 0; <a name="l00676"></a>00676 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> GetEnabled() = 0; <a name="l00677"></a>00677 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetAttachToParent(<span class="keywordtype">bool</span> attach) = 0; <a name="l00678"></a>00678 <span class="keyword">virtual</span> <span class="keywordtype">bool</span> GetAttachToParent() = 0; <a name="l00679"></a>00679 <a name="l00680"></a>00680 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetGeomName(<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00681"></a>00681 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *GetGeomName() = 0; <a name="l00682"></a>00682 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetGeomType(<span class="keywordtype">int</span> geom_type) = 0; <a name="l00683"></a>00683 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetGeomType() = 0; <a name="l00684"></a>00684 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetGeomDimensions(<a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> &size) = 0; <a name="l00685"></a>00685 <span class="keyword">virtual</span> <a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> &GetGeomDimensions() = 0; <a name="l00686"></a>00686 <a name="l00687"></a>00687 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetFriction(<span class="keywordtype">float</span> friction) = 0; <a name="l00688"></a>00688 <span class="keyword">virtual</span> <span class="keywordtype">float</span> GetFriction() = 0; <a name="l00689"></a>00689 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetElasticity(<span class="keywordtype">float</span> elasticity) = 0; <a name="l00690"></a>00690 <span class="keyword">virtual</span> <span class="keywordtype">float</span> GetElasticity() = 0; <a name="l00691"></a>00691 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetSoftness(<span class="keywordtype">float</span> softness) = 0; <a name="l00692"></a>00692 <span class="keyword">virtual</span> <span class="keywordtype">float</span> GetSoftness() = 0; <a name="l00693"></a>00693 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetSlip(<span class="keywordtype">float</span> slip) = 0; <a name="l00694"></a>00694 <span class="keyword">virtual</span> <span class="keywordtype">float</span> GetSlip() = 0; <a name="l00695"></a>00695 <a name="l00696"></a>00696 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetBodyName(<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00697"></a>00697 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *GetBodyName() = 0; <a name="l00698"></a>00698 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetBodyMass(<span class="keywordtype">float</span> mass) = 0; <a name="l00699"></a>00699 <span class="keyword">virtual</span> <span class="keywordtype">float</span> GetBodyMass() = 0; <a name="l00700"></a>00700 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetBodyGravmode(<span class="keywordtype">int</span> gravmode) = 0; <a name="l00701"></a>00701 <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetBodyGravmode() = 0; <a name="l00702"></a>00702 <a name="l00703"></a>00703 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetJointName(<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00704"></a>00704 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span> *GetJointName() = 0; <a name="l00705"></a>00705 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetJointMinRotContraints(<a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> & constraints) = 0; <a name="l00706"></a>00706 <span class="keyword">virtual</span> <a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> & GetJointMinRotContraints() = 0; <a name="l00707"></a>00707 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetJointMaxRotContraints(<a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> & constraints) = 0; <a name="l00708"></a>00708 <span class="keyword">virtual</span> <a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> & GetJointMaxRotContraints() = 0; <a name="l00709"></a>00709 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetJointMinTransContraints(<a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> & constraints) = 0; <a name="l00710"></a>00710 <span class="keyword">virtual</span> <a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> & GetJointMinTransContraints() = 0; <a name="l00711"></a>00711 <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetJointMaxTransContraints(<a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> & constraints) = 0; <a name="l00712"></a>00712 <span class="keyword">virtual</span> <a class="code" href="classcsVector3.html" title="A 3D vector.">csVector3</a> & GetJointMaxTransContraints() = 0; <a name="l00713"></a>00713 }; <a name="l00714"></a>00714 <a name="l00719"></a><a class="code" href="structiSkeletonBoneFactory.html">00719</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00720"></a>00720 { <a name="l00721"></a>00721 SCF_INTERFACE (<a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a>, 1, 0, 0); <a name="l00722"></a>00722 <a name="l00726"></a>00726 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structiSkeletonBoneFactory.html#a703ec59725ed6eb4992ed4b8ddeb8a1" title="Get bone factory name.">GetName</a> () <span class="keyword">const</span> = 0; <a name="l00727"></a>00727 <a name="l00731"></a>00731 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBoneFactory.html#e79f409e941c0aefaf451bea3a9ce428" title="Set bone factory of name.">SetName</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0; <a name="l00732"></a>00732 <a name="l00736"></a>00736 <span class="keyword">virtual</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &<a class="code" href="structiSkeletonBoneFactory.html#efc1a15a6df412f1a858790142d2db57" title="Get bone factory transform in parent&#39;s coordsys.">GetTransform</a> () = 0; <a name="l00737"></a>00737 <a name="l00741"></a>00741 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBoneFactory.html#3eb580471224a3bb764a0bb1d697fe58" title="Set bone factory transform in parent&#39;s coordsys.">SetTransform</a> (<span class="keyword">const</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &transform) = 0; <a name="l00742"></a>00742 <a name="l00746"></a>00746 <span class="keyword">virtual</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &<a class="code" href="structiSkeletonBoneFactory.html#b14eb5ba39539e7c9352730725cc0aaf" title="Get bone factory full transform.">GetFullTransform</a> () = 0; <a name="l00747"></a>00747 <a name="l00751"></a>00751 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBoneFactory.html#e2194792a8835dfa2ca1c6e7db67a977" title="Set parent bone factory .">SetParent</a> (<a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *parent) = 0; <a name="l00752"></a>00752 <a name="l00756"></a>00756 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *<a class="code" href="structiSkeletonBoneFactory.html#fac18fcbee4c2ecfa5c0c6487d724efd" title="Get parent bone factory .">GetParent</a> () = 0; <a name="l00757"></a>00757 <a name="l00761"></a>00761 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonBoneFactory.html#30c0f688f2966b56ec0d5076b5644f14" title="Get number of children factories.">GetChildrenCount</a> () = 0; <a name="l00762"></a>00762 <a name="l00766"></a>00766 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *<a class="code" href="structiSkeletonBoneFactory.html#4f451aeb9e0b5011b018540975db2f08" title="Get factory child by index.">GetChild</a> (<span class="keywordtype">size_t</span> i) = 0; <a name="l00767"></a>00767 <a name="l00771"></a>00771 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *<a class="code" href="structiSkeletonBoneFactory.html#a2b03a618388564b4e39976d06a83d3e" title="Find child by name.">FindChild</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00772"></a>00772 <a name="l00776"></a>00776 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonBoneFactory.html#78b58350bfcfde0ac3476978c635a6af" title="Find child index.">FindChildIndex</a> (<a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *child) = 0; <a name="l00777"></a>00777 <a name="l00781"></a>00781 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonBoneFactory.html#ad4edcbc9b71402f94a4723ce0b56580" title="Set skin bbox.">SetSkinBox</a> (<a class="code" href="classcsBox3.html" title="A bounding box in 3D space.">csBox3</a> & box) = 0; <a name="l00782"></a>00782 <a name="l00786"></a>00786 <span class="keyword">virtual</span> <a class="code" href="classcsBox3.html" title="A bounding box in 3D space.">csBox3</a> & <a class="code" href="structiSkeletonBoneFactory.html#268cdc6b303dd2a9bae782a6d167d688" title="Get skin bbox.">GetSkinBox</a> () = 0; <a name="l00787"></a>00787 <a name="l00791"></a>00791 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneRagdollInfo.html">iSkeletonBoneRagdollInfo</a> *<a class="code" href="structiSkeletonBoneFactory.html#74c5c52e6ee0e3568f425d5d6de89f01" title="Get ragdoll data.">GetRagdollInfo</a>() = 0; <a name="l00792"></a>00792 }; <a name="l00793"></a>00793 <a name="l00798"></a><a class="code" href="structiSkeletonSocketFactory.html">00798</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonSocketFactory.html" title="The skeleton socket factory is class that is used to create skeleton sockets of a...">iSkeletonSocketFactory</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00799"></a>00799 { <a name="l00800"></a>00800 SCF_INTERFACE (<a class="code" href="structiSkeletonSocketFactory.html" title="The skeleton socket factory is class that is used to create skeleton sockets of a...">iSkeletonSocketFactory</a>, 1, 0, 0); <a name="l00801"></a>00801 <a name="l00805"></a>00805 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structiSkeletonSocketFactory.html#3a6df303c1a2897196dd52b0c9119701" title="Get name of the socket factory.">GetName</a> () <span class="keyword">const</span> = 0; <a name="l00806"></a>00806 <a name="l00810"></a>00810 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonSocketFactory.html#079a1b2d5e2b7aaf12e9a49633bc1d5e" title="Set name.">SetName</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0; <a name="l00811"></a>00811 <a name="l00815"></a>00815 <span class="keyword">virtual</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &<a class="code" href="structiSkeletonSocketFactory.html#eb67ac12586746fedc2d6b11b06c2b0e" title="Get transform in parent&#39;s coordsys.">GetTransform</a> () = 0; <a name="l00816"></a>00816 <a name="l00820"></a>00820 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonSocketFactory.html#c5e103d080f89bee38783720f63bc2eb" title="Set transform in parent&#39;s coordsys.">SetTransform</a> (<span class="keyword">const</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &transform) = 0; <a name="l00821"></a>00821 <a name="l00825"></a>00825 <span class="keyword">virtual</span> <a class="code" href="classcsReversibleTransform.html" title="A class which defines a reversible transformation from one coordinate system to another...">csReversibleTransform</a> &<a class="code" href="structiSkeletonSocketFactory.html#5a3f6e4591ef19dc5c6d26e0349c2d40" title="Get full transform.">GetFullTransform</a> () = 0; <a name="l00826"></a>00826 <a name="l00830"></a>00830 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonSocketFactory.html#f52dec138c6bc7944de6401fa6fccb38" title="Set parent bone factory.">SetBone</a> (<a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *bone) = 0; <a name="l00831"></a>00831 <a name="l00835"></a>00835 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *<a class="code" href="structiSkeletonSocketFactory.html#556e21ff423ceefe7e783db085fdb122" title="Get parent bone factory.">GetBone</a> () = 0; <a name="l00836"></a>00836 }; <a name="l00837"></a>00837 <a name="l00842"></a><a class="code" href="structiSkeletonFactory.html">00842</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonFactory.html" title="The skeleton factory is class that is used to create skeleton objects in the scene...">iSkeletonFactory</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00843"></a>00843 { <a name="l00844"></a>00844 SCF_INTERFACE (<a class="code" href="structiSkeletonFactory.html" title="The skeleton factory is class that is used to create skeleton objects in the scene...">iSkeletonFactory</a>, 1, 0, 0); <a name="l00845"></a>00845 <a name="l00849"></a>00849 <span class="keyword">virtual</span> <span class="keyword">const</span> <span class="keywordtype">char</span>* <a class="code" href="structiSkeletonFactory.html#9d0f6b5892c6e24b0a5bee7a5f306128" title="Get name of the skeleton factory.">GetName</a> () <span class="keyword">const</span> = 0; <a name="l00850"></a>00850 <a name="l00854"></a>00854 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonFactory.html#04d00f257c53cf691f8d3f2a19e2bc6e" title="Get name.">SetName</a> (<span class="keyword">const</span> <span class="keywordtype">char</span>* name) = 0; <a name="l00855"></a>00855 <a name="l00859"></a>00859 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *<a class="code" href="structiSkeletonFactory.html#7fa6b8b686161cc82704ad8840a4b01d" title="Create new bone factory.">CreateBone</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00860"></a>00860 <a name="l00864"></a>00864 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a> *<a class="code" href="structiSkeletonFactory.html#d39c9c1bef20f9cf8629db5098c69bac" title="Create new animation.">CreateAnimation</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00865"></a>00865 <a name="l00870"></a>00870 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"CreateScript is deprecated, use CreateAnimation instead"</span>) <a name="l00871"></a>00871 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a> *<a class="code" href="structiSkeletonFactory.html#102734a4a8a255faab77999f597df76f" title="Create new animation.">CreateScript</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00872"></a>00872 <a name="l00876"></a>00876 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a> *<a class="code" href="structiSkeletonFactory.html#d18bd35482b337fc435e22109a2d0c02" title="Find animation by name.">FindAnimation</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00877"></a>00877 <a name="l00881"></a>00881 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonFactory.html#ed4327e235a15e562e1179c7c799836a" title="Get number of available animations.">GetAnimationsCount</a> () = 0; <a name="l00882"></a>00882 <a name="l00886"></a>00886 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a> *<a class="code" href="structiSkeletonFactory.html#55f7b6ea07264fbaf1795e5371e65fd7" title="Get animation by index.">GetAnimation</a> (<span class="keywordtype">size_t</span> idx) = 0; <a name="l00887"></a>00887 <a name="l00892"></a>00892 <a class="code" href="cssysdef_8h.html#69b27a22db26f4a2bb7a26a85d2ab06b" title="A variant of CS_DEPRECATED_METHOD that also emits the message msg on compilers that...">CS_DEPRECATED_METHOD_MSG</a>(<span class="stringliteral">"FindScript is deprecated, use FindAnimation instead"</span>) <a name="l00893"></a>00893 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonAnimation.html" title="This interface provides animation of a skeleton.">iSkeletonAnimation</a> *<a class="code" href="structiSkeletonFactory.html#f85c8f2908f8ec8db0aa5f50db007a2f" title="Find script by name.">FindScript</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00894"></a>00894 <a name="l00898"></a>00898 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *<a class="code" href="structiSkeletonFactory.html#fe9bcfb7b41f4b3d1a97257268f8cb00" title="Find bone factory by name.">FindBone</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00899"></a>00899 <a name="l00903"></a>00903 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonFactory.html#97fabdde44d4d01bc52ac60b2be3c54c" title="Find bone facotry index by name.">FindBoneIndex</a> (<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00904"></a>00904 <a name="l00908"></a>00908 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonFactory.html#ce8e0f86219fe302f8433c4134215e5a" title="Get number of bones factories.">GetBonesCount</a> () <span class="keyword">const</span> = 0; <a name="l00909"></a>00909 <a name="l00913"></a>00913 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *<a class="code" href="structiSkeletonFactory.html#83ac70be42d0cd47236854cbe4f393a7" title="Get bone factory by index.">GetBone</a>(<span class="keywordtype">size_t</span> i) = 0; <a name="l00914"></a>00914 <a name="l00918"></a>00918 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonGraveyard.html" title="iSkeletonGraveyard is the interface that cares for all skeleton factories.">iSkeletonGraveyard</a> *<a class="code" href="structiSkeletonFactory.html#f44f686cf346baa5022b95499aebf1b0" title="Get the Graveyard.">GetGraveyard</a> () = 0; <a name="l00919"></a>00919 <a name="l00923"></a>00923 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonSocketFactory.html" title="The skeleton socket factory is class that is used to create skeleton sockets of a...">iSkeletonSocketFactory</a> *<a class="code" href="structiSkeletonFactory.html#95dfd4a35533604a3353914aea0a254f" title="Create new socket factory.">CreateSocket</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name, <a name="l00924"></a>00924 <a class="code" href="structiSkeletonBoneFactory.html" title="The skeleton bone factory is class that is used to create skeleton bones of a iSkeleton...">iSkeletonBoneFactory</a> *bone) = 0; <a name="l00925"></a>00925 <a name="l00929"></a>00929 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonSocketFactory.html" title="The skeleton socket factory is class that is used to create skeleton sockets of a...">iSkeletonSocketFactory</a> *<a class="code" href="structiSkeletonFactory.html#c17c47cd249ce9023b82dbeed4c44036" title="Find socket factory by name.">FindSocket</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00930"></a>00930 <a name="l00934"></a>00934 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonSocketFactory.html" title="The skeleton socket factory is class that is used to create skeleton sockets of a...">iSkeletonSocketFactory</a> *<a class="code" href="structiSkeletonFactory.html#87cf1f81b054679a2d18396906802831" title="Get socket factory by name.">GetSocket</a> (<span class="keywordtype">int</span> i) = 0; <a name="l00935"></a>00935 <a name="l00939"></a>00939 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonFactory.html#5fbd2cd1b663ff918482096c1be344fd" title="Remove socket facotry by index.">RemoveSocket</a> (<span class="keywordtype">int</span> i) = 0; <a name="l00940"></a>00940 <a name="l00944"></a>00944 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonFactory.html#b0a83ef59620ede36ea1d9ae0bb3d3f9" title="Get number of socket factories.">GetSocketsCount</a>() = 0; <a name="l00945"></a>00945 }; <a name="l00946"></a>00946 <a name="l00947"></a>00947 <a name="l00953"></a><a class="code" href="structiSkeletonGraveyard.html">00953</a> <span class="keyword">struct </span><a class="code" href="structiSkeletonGraveyard.html" title="iSkeletonGraveyard is the interface that cares for all skeleton factories.">iSkeletonGraveyard</a> : <span class="keyword">public</span> <span class="keyword">virtual</span> <a class="code" href="structiBase.html" title="This is the basic interface: all other interfaces should be derived from this one...">iBase</a> <a name="l00954"></a>00954 { <a name="l00955"></a>00955 SCF_INTERFACE (<a class="code" href="structiSkeletonGraveyard.html" title="iSkeletonGraveyard is the interface that cares for all skeleton factories.">iSkeletonGraveyard</a>, 1, 0, 0); <a name="l00956"></a>00956 <a name="l00960"></a>00960 <span class="keyword">virtual</span> <span class="keywordtype">size_t</span> <a class="code" href="structiSkeletonGraveyard.html#d3813bc5ca9d1478cf70ef2d066c8d21" title="Get number of skeleton factories.">GetFactoriesCount</a>() = 0; <a name="l00961"></a>00961 <a name="l00965"></a>00965 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonFactory.html" title="The skeleton factory is class that is used to create skeleton objects in the scene...">iSkeletonFactory</a> *<a class="code" href="structiSkeletonGraveyard.html#682989727e372b287485bedee5958969" title="Get skeleton factory by name.">CreateFactory</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00966"></a>00966 <a name="l00970"></a>00970 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonFactory.html" title="The skeleton factory is class that is used to create skeleton objects in the scene...">iSkeletonFactory</a> *<a class="code" href="structiSkeletonGraveyard.html#d57e89cf38537b191e935aeaab94ec6f" title="Load skeleton factory from file.">LoadFactory</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *file_name) = 0; <a name="l00971"></a>00971 <a name="l00975"></a>00975 <span class="keyword">virtual</span> <a class="code" href="structiSkeletonFactory.html" title="The skeleton factory is class that is used to create skeleton objects in the scene...">iSkeletonFactory</a> *<a class="code" href="structiSkeletonGraveyard.html#bcacad66ec0f17e4165bf62acfc1b653" title="Find skeleton factory by name.">FindFactory</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name) = 0; <a name="l00976"></a>00976 <a name="l00980"></a>00980 <span class="keyword">virtual</span> <a class="code" href="structiSkeleton.html" title="The skeleton interface provides needed functionality of a skeleton animation.">iSkeleton</a> *<a class="code" href="structiSkeletonGraveyard.html#8ab2ba415f4c236e58d90deae4e343b0" title="Create skeleton from specific factory.">CreateSkeleton</a>(<a class="code" href="structiSkeletonFactory.html" title="The skeleton factory is class that is used to create skeleton objects in the scene...">iSkeletonFactory</a> *fact, <a name="l00981"></a>00981 <span class="keyword">const</span> <span class="keywordtype">char</span> *name = 0) = 0; <a name="l00982"></a>00982 <a name="l00986"></a>00986 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonGraveyard.html#7a4992a07625fab3a4ebad1127d1b181" title="Set manual updates handling mode.">SetManualUpdates</a> (<span class="keywordtype">bool</span> man_updates) = 0; <a name="l00987"></a>00987 <a name="l00991"></a>00991 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonGraveyard.html#21f0ec07ff07f81e0fb364ca02220832" title="Set manual updates handling mode.">Update</a> (<a class="code" href="group__util.html#g28e82998c4c2d1197a1d412bba7da793" title="A time value measured in milliseconds (1/1000 of a second).">csTicks</a> time) = 0; <a name="l00992"></a>00992 <a name="l00996"></a>00996 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonGraveyard.html#34ade22d1b5bc150ae027843db5c06f2" title="Add skeleton that will be updated by this graveyard.">AddSkeleton</a> (<a class="code" href="structiSkeleton.html" title="The skeleton interface provides needed functionality of a skeleton animation.">iSkeleton</a> *skeleton) = 0; <a name="l00997"></a>00997 <a name="l01001"></a>01001 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="structiSkeletonGraveyard.html#65c83c790bfbcbbffb73d8e9900d2011" title="Remove a skeleton again.">RemoveSkeleton</a> (<a class="code" href="structiSkeleton.html" title="The skeleton interface provides needed functionality of a skeleton animation.">iSkeleton</a>* skeleton) = 0; <a name="l01002"></a>01002 }; <a name="l01003"></a>01003 <a name="l01004"></a>01004 <span class="preprocessor">#endif //__CS_ISKELETON_H__</span> </pre></div><hr size="1"><address><small>Generated for Crystal Space 1.2.1 by <a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 </small></address> </div></body> </html>