<html> <head> <title>Cal3D: CalCoreModel Class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#ffffff"> <table width="100%" border="0" cellspacing="0" cellpadding="5" align="center"> <tr> <td class="md" align="center"> <small> <b>- Cal3D 0.11 API Reference -</b> </small> </td> </tr> </table> <br> <!-- Generated by Doxygen 1.7.3 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>CalCoreModel Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="CalCoreModel" --> <p><a href="classCalCoreModel-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a5433c41351018d245871175675b33b15">CalCoreModel</a> (const std::string &name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs the core model instance. <a href="#a5433c41351018d245871175675b33b15"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a9a4ee361a087ab2b5992c8fbdc564e14">~CalCoreModel</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructs the core model instance. <a href="#a9a4ee361a087ab2b5992c8fbdc564e14"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">Cal::UserData </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a5d9dac96e378a95a17433dac2d6f2e25">getUserData</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the user data. <a href="#a5d9dac96e378a95a17433dac2d6f2e25"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#af59528a4d0ffe996d9b9ee2cfc928e4f">setUserData</a> (Cal::UserData userData)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Stores user data. <a href="#af59528a4d0ffe996d9b9ee2cfc928e4f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a6869c4a0795629ded95481cc8b053ef0">scale</a> (float factor)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Scale the core model. <a href="#a6869c4a0795629ded95481cc8b053ef0"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a1a86bb807256ada4e5edf89e9b269cb7">addCoreAnimation</a> (<a class="el" href="classCalCoreAnimation.html">CalCoreAnimation</a> *pCoreAnimation)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a core animation. <a href="#a1a86bb807256ada4e5edf89e9b269cb7"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalCoreAnimation.html">CalCoreAnimation</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a078205bdce9740fa626692346ece85fc">getCoreAnimation</a> (int coreAnimationId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to a core animation. <a href="#a078205bdce9740fa626692346ece85fc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#ac7c5346ec621f692d6bb127e9c055049">getCoreAnimationCount</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of core animations. <a href="#ac7c5346ec621f692d6bb127e9c055049"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#af000c8b2b2ed70b1acede286b1eedae8">loadCoreAnimation</a> (const std::string &strFilename)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a core animation. <a href="#af000c8b2b2ed70b1acede286b1eedae8"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a673f1bfd0e4ae8fee9628b859aa02136">loadCoreAnimation</a> (const std::string &strFilename, const std::string &strAnimationName)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a core animation and bind it to a name. <a href="#a673f1bfd0e4ae8fee9628b859aa02136"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a2467373146bd442736570854fa3d954a">unloadCoreAnimation</a> (const std::string &name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete the resources used by the named core animation. <a href="#a2467373146bd442736570854fa3d954a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#ad4657a3d38ec538f5f4b4b7374b5ae2a">unloadCoreAnimation</a> (int coreAnimationId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete the resources used by a core animation. <a href="#ad4657a3d38ec538f5f4b4b7374b5ae2a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a6db5582f8b821b51cdccf40b2607920f">saveCoreAnimation</a> (const std::string &strFilename, int coreAnimationId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Saves a core animation. <a href="#a6db5582f8b821b51cdccf40b2607920f"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#ac6dfc8943bdb97d30bc27a1544d4be6a">addAnimationName</a> (const std::string &strAnimationName, int coreAnimationId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates or overwrites a string-to-animation ID mapping. <a href="#ac6dfc8943bdb97d30bc27a1544d4be6a"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#aaf72ebfc350bc88496e066d852bf2d13">getCoreAnimationId</a> (const std::string &strAnimationName)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the ID of the animation referenced by a string. <a href="#aaf72ebfc350bc88496e066d852bf2d13"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a320d8e06b45da78ca9d812edbdb54038">addCoreMorphAnimation</a> (<a class="el" href="classCalCoreMorphAnimation.html">CalCoreMorphAnimation</a> *pCoreMorphAnimation)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a core morph animation. <a href="#a320d8e06b45da78ca9d812edbdb54038"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalCoreMorphAnimation.html">CalCoreMorphAnimation</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a1c0d75da45a46149ba6ce46766cfce66">getCoreMorphAnimation</a> (int coreMorphAnimationId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to a core morph animation. <a href="#a1c0d75da45a46149ba6ce46766cfce66"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a7a1d67e5eab76556355994a0fee2910b">getCoreMorphAnimationCount</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of core morph animations. <a href="#a7a1d67e5eab76556355994a0fee2910b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#aac860655fd2789dbdf0a8fa3cde11f15">addCoreMaterial</a> (<a class="el" href="classCalCoreMaterial.html">CalCoreMaterial</a> *pCoreMaterial)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a core material. <a href="#aac860655fd2789dbdf0a8fa3cde11f15"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#ae6407634ba372972857fadd87cd1b38b">createCoreMaterialThread</a> (int coreMaterialThreadId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a core material thread. <a href="#ae6407634ba372972857fadd87cd1b38b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalCoreMaterial.html">CalCoreMaterial</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#ab21e40e69fbe68e8b83a4c2a9327d370">getCoreMaterial</a> (int coreMaterialId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to a core material. <a href="#ab21e40e69fbe68e8b83a4c2a9327d370"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#ab511c0b53a35268a8e1db4115f7a9aee">getCoreMaterialCount</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of core materials. <a href="#ab511c0b53a35268a8e1db4115f7a9aee"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a07f95e4fe60f3702e80bd7705c31f01d">getCoreMaterialId</a> (int coreMaterialThreadId, int coreMaterialSetId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns a specified core material ID. <a href="#a07f95e4fe60f3702e80bd7705c31f01d"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a764ebcaf99fbd2181d8f51eb74446cfb">loadCoreMaterial</a> (const std::string &strFilename)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a core material. <a href="#a764ebcaf99fbd2181d8f51eb74446cfb"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a70bff034a8962b5c7f389d6e38a98bbe">loadCoreMaterial</a> (const std::string &strFilename, const std::string &strMaterialName)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a core material and bind it to a name. <a href="#a70bff034a8962b5c7f389d6e38a98bbe"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a96b856be2a5579ad6561f42268bfff6c">unloadCoreMaterial</a> (const std::string &name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete the resources used by the named core material. <a href="#a96b856be2a5579ad6561f42268bfff6c"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a827c4e9fab6f3a1fea01441371824c8b">unloadCoreMaterial</a> (int coreMaterialId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete the resources used by a core material. <a href="#a827c4e9fab6f3a1fea01441371824c8b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a5c94e80ac6c8f4bb3d40e640f2e8deec">saveCoreMaterial</a> (const std::string &strFilename, int coreMaterialId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Saves a core material. <a href="#a5c94e80ac6c8f4bb3d40e640f2e8deec"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a27f1e9f7a4de5f5d7f7bd0bc94a869fb">setCoreMaterialId</a> (int coreMaterialThreadId, int coreMaterialSetId, int coreMaterialId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets a core material ID. <a href="#a27f1e9f7a4de5f5d7f7bd0bc94a869fb"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#aa0f1530b7fb294dbe1888512bf7bd638">addMaterialName</a> (const std::string &strMaterialName, int coreMaterialId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates or overwrites a string-to-core-material ID mapping. <a href="#aa0f1530b7fb294dbe1888512bf7bd638"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#aaed1213f4b6a82a6cbac012b21b0e1f1">getCoreMaterialId</a> (const std::string &strMaterialName)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the ID of the core material referenced by a string. <a href="#aaed1213f4b6a82a6cbac012b21b0e1f1"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#aff755e2f90632ca299cc0377622c3bee">addCoreMesh</a> (<a class="el" href="classCalCoreMesh.html">CalCoreMesh</a> *pCoreMesh)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Adds a core mesh. <a href="#aff755e2f90632ca299cc0377622c3bee"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalCoreMesh.html">CalCoreMesh</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a9dfde2ed0e8b9032ad74f12a1ae31800">getCoreMesh</a> (int coreMeshId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to a core mesh. <a href="#a9dfde2ed0e8b9032ad74f12a1ae31800"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a0624416eeafb807a005a35406f6117e6">getCoreMeshCount</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the number of core meshes. <a href="#a0624416eeafb807a005a35406f6117e6"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a7a53f90d2c9fff624b65f51f42208d37">loadCoreMesh</a> (const std::string &strFilename)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a core mesh. <a href="#a7a53f90d2c9fff624b65f51f42208d37"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#accb97ead9800514acfdf6b375973d666">loadCoreMesh</a> (const std::string &strFilename, const std::string &strMeshName)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads a core mesh and bind it to a name. <a href="#accb97ead9800514acfdf6b375973d666"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a1ae619d74891d23cfc3156eee038e7d9">unloadCoreMesh</a> (const std::string &name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete the resources used by the named core mesh. <a href="#a1ae619d74891d23cfc3156eee038e7d9"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a07473513820c0cc32ecbfbc08a5a1afa">unloadCoreMesh</a> (int coreMeshId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Delete the resources used by a core mesh. <a href="#a07473513820c0cc32ecbfbc08a5a1afa"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a42987eca32a529a8f76f77e6ad5b33bd">saveCoreMesh</a> (const std::string &strFilename, int coreMeshId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Saves a core mesh. <a href="#a42987eca32a529a8f76f77e6ad5b33bd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#af4648cb3ab558d7c248f4cef5f86032b">addMeshName</a> (const std::string &strMeshName, int coreMeshId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates or overwrites a string-to-core-mesh ID mapping. <a href="#af4648cb3ab558d7c248f4cef5f86032b"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#af08f550bd7018bcb14c2d438877c3f86">getCoreMeshId</a> (const std::string &strMeshName)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the ID of the core mesh referenced by a string. <a href="#af08f550bd7018bcb14c2d438877c3f86"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalCoreSkeleton.html">CalCoreSkeleton</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#ad343f540973280dd3ba3bd435b3602ed">getCoreSkeleton</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the core skeleton. <a href="#ad343f540973280dd3ba3bd435b3602ed"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a2cba320b07275078eb39895b3a5dd5bc">loadCoreSkeleton</a> (const std::string &strFilename)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Loads the core skeleton. <a href="#a2cba320b07275078eb39895b3a5dd5bc"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#aabfb96d368b87be3cbab9c7e75e1dc8e">saveCoreSkeleton</a> (const std::string &strFilename)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Saves the core skeleton. <a href="#aabfb96d368b87be3cbab9c7e75e1dc8e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a4e19d50be25d0ff090c7fcd6ffe95589">setCoreSkeleton</a> (<a class="el" href="classCalCoreSkeleton.html">CalCoreSkeleton</a> *pCoreSkeleton)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the core skeleton. <a href="#a4e19d50be25d0ff090c7fcd6ffe95589"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#a09f4325501cfc082c624e42376b56a3e">addBoneName</a> (const std::string &strBoneName, int boneId)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Creates or overwrites a string-to-boneId mapping. <a href="#a09f4325501cfc082c624e42376b56a3e"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalCoreModel.html#af02dbf937c3e524825e422eef59312ac">getBoneId</a> (const std::string &strBoneName)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the ID of the bone referenced by a string. <a href="#af02dbf937c3e524825e422eef59312ac"></a><br/></td></tr> </table> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a5433c41351018d245871175675b33b15"></a><!-- doxytag: member="CalCoreModel::CalCoreModel" ref="a5433c41351018d245871175675b33b15" args="(const std::string &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">CalCoreModel::CalCoreModel </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>name</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Constructs the core model instance. </p> <p>This function is the default constructor of the core model instance. </p> </div> </div> <a class="anchor" id="a9a4ee361a087ab2b5992c8fbdc564e14"></a><!-- doxytag: member="CalCoreModel::~CalCoreModel" ref="a9a4ee361a087ab2b5992c8fbdc564e14" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">CalCoreModel::~CalCoreModel </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Destructs the core model instance. </p> <p>This function is the destructor of the core model instance. </p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="ac6dfc8943bdb97d30bc27a1544d4be6a"></a><!-- doxytag: member="CalCoreModel::addAnimationName" ref="ac6dfc8943bdb97d30bc27a1544d4be6a" args="(const std::string &strAnimationName, int coreAnimationId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::addAnimationName </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strAnimationName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>coreAnimationId</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates or overwrites a string-to-animation ID mapping. </p> <p>This function makes an animation ID reference-able by a string name. Note that we don't verify that the ID is valid because the animation may be added later. Also, if there is already a helper with this name, it will be overwritten without warning.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strAnimationName</td><td>The string that will be associated with the ID. </td></tr> <tr><td class="paramname">coreAnimationId</td><td>The ID number of the animation to be referenced by the string. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a09f4325501cfc082c624e42376b56a3e"></a><!-- doxytag: member="CalCoreModel::addBoneName" ref="a09f4325501cfc082c624e42376b56a3e" args="(const std::string &strBoneName, int boneId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void CalCoreModel::addBoneName </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strBoneName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>boneId</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates or overwrites a string-to-boneId mapping. </p> <p>This function makes a bone ID reference-able by a string name.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strBoneName</td><td>The string that will be associated with the ID. </td></tr> <tr><td class="paramname">boneId</td><td>The ID number of the bone that will be referenced by the string. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a1a86bb807256ada4e5edf89e9b269cb7"></a><!-- doxytag: member="CalCoreModel::addCoreAnimation" ref="a1a86bb807256ada4e5edf89e9b269cb7" args="(CalCoreAnimation *pCoreAnimation)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::addCoreAnimation </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalCoreAnimation.html">CalCoreAnimation</a> * </td> <td class="paramname"><em>pCoreAnimation</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds a core animation. </p> <p>This function adds a core animation to the core model instance.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">pCoreAnimation</td><td>A pointer to the core animation that should be added.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd><ul> <li>the assigned animation <b>ID</b> of the added core animation </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="aac860655fd2789dbdf0a8fa3cde11f15"></a><!-- doxytag: member="CalCoreModel::addCoreMaterial" ref="aac860655fd2789dbdf0a8fa3cde11f15" args="(CalCoreMaterial *pCoreMaterial)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::addCoreMaterial </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalCoreMaterial.html">CalCoreMaterial</a> * </td> <td class="paramname"><em>pCoreMaterial</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds a core material. </p> <p>This function adds a core material to the core model instance.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">pCoreMaterial</td><td>A pointer to the core material that should be added.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the assigned material <b>ID</b> of the added core material </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="aff755e2f90632ca299cc0377622c3bee"></a><!-- doxytag: member="CalCoreModel::addCoreMesh" ref="aff755e2f90632ca299cc0377622c3bee" args="(CalCoreMesh *pCoreMesh)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::addCoreMesh </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalCoreMesh.html">CalCoreMesh</a> * </td> <td class="paramname"><em>pCoreMesh</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds a core mesh. </p> <p>This function adds a core mesh to the core model instance.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">pCoreMesh</td><td>A pointer to the core mesh that should be added.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the assigned mesh <b>ID</b> of the added core material </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a320d8e06b45da78ca9d812edbdb54038"></a><!-- doxytag: member="CalCoreModel::addCoreMorphAnimation" ref="a320d8e06b45da78ca9d812edbdb54038" args="(CalCoreMorphAnimation *pCoreMorphAnimation)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::addCoreMorphAnimation </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalCoreMorphAnimation.html">CalCoreMorphAnimation</a> * </td> <td class="paramname"><em>pCoreMorphAnimation</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Adds a core morph animation. </p> <p>This function adds a core morph animation to the core model instance.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">pCoreMorphAnimation</td><td>A pointer to the core morph animation that should be added.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the assigned morph animation <b>ID</b> of the added core morph animation </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="aa0f1530b7fb294dbe1888512bf7bd638"></a><!-- doxytag: member="CalCoreModel::addMaterialName" ref="aa0f1530b7fb294dbe1888512bf7bd638" args="(const std::string &strMaterialName, int coreMaterialId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::addMaterialName </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strMaterialName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialId</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates or overwrites a string-to-core-material ID mapping. </p> <p>This function makes a core material ID reference-able by a string name. Note that we don't verify that the ID is valid because the material may be added later. Also, if there is already a helper with this name, it will be overwritten without warning.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strMaterialName</td><td>The string that will be associated with the ID. </td></tr> <tr><td class="paramname">coreMaterialId</td><td>The core ID number of the material to be referenced by the string. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="af4648cb3ab558d7c248f4cef5f86032b"></a><!-- doxytag: member="CalCoreModel::addMeshName" ref="af4648cb3ab558d7c248f4cef5f86032b" args="(const std::string &strMeshName, int coreMeshId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::addMeshName </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strMeshName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>coreMeshId</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates or overwrites a string-to-core-mesh ID mapping. </p> <p>This function makes a core mesh ID reference-able by a string name. Note that we don't verify that the ID is valid because the mesh may be added later. Also, if there is already a helper with this name, it will be overwritten without warning.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strMeshName</td><td>The string that will be associated with the ID. </td></tr> <tr><td class="paramname">coreMeshId</td><td>The core ID number of the mesh to be referenced by the string. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="ae6407634ba372972857fadd87cd1b38b"></a><!-- doxytag: member="CalCoreModel::createCoreMaterialThread" ref="ae6407634ba372972857fadd87cd1b38b" args="(int coreMaterialThreadId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::createCoreMaterialThread </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialThreadId</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Creates a core material thread. </p> <p>This function creates a new core material thread with the given ID.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreMaterialThreadId</td><td>The ID of the core material thread that should be created.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li><b>true</b> if successful </li> <li><b>false</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="af02dbf937c3e524825e422eef59312ac"></a><!-- doxytag: member="CalCoreModel::getBoneId" ref="af02dbf937c3e524825e422eef59312ac" args="(const std::string &strBoneName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::getBoneId </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strBoneName</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the ID of the bone referenced by a string. </p> <p>This function returns a bone ID</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strBoneName</td><td>A string that is associated with a bone ID number. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns: <ul> <li><b>-1</b> if there is no bone ID associated with the input string </li> <li><b>the</b> ID number of the bone asssociated with the input string </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a078205bdce9740fa626692346ece85fc"></a><!-- doxytag: member="CalCoreModel::getCoreAnimation" ref="a078205bdce9740fa626692346ece85fc" args="(int coreAnimationId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classCalCoreAnimation.html">CalCoreAnimation</a> * CalCoreModel::getCoreAnimation </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreAnimationId</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to a core animation. </p> <p>This function returns the core animation with the given ID.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreAnimationId</td><td>The ID of the core animation that should be returned.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>a pointer to the core animation </li> <li><b>0</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="ac7c5346ec621f692d6bb127e9c055049"></a><!-- doxytag: member="CalCoreModel::getCoreAnimationCount" ref="ac7c5346ec621f692d6bb127e9c055049" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::getCoreAnimationCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the number of core animations. </p> <p>This function returns the number of core animations in the core model instance.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of core animations. </dd></dl> </div> </div> <a class="anchor" id="aaf72ebfc350bc88496e066d852bf2d13"></a><!-- doxytag: member="CalCoreModel::getCoreAnimationId" ref="aaf72ebfc350bc88496e066d852bf2d13" args="(const std::string &strAnimationName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::getCoreAnimationId </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strAnimationName</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the ID of the animation referenced by a string. </p> <p>This function returns an animation ID</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strAnimationName</td><td>A string that is associated with an anim ID number. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns: <ul> <li><b>-1</b> if there is no anim ID associated with the input string </li> <li><b>the</b> ID number of the anim asssociated with the input string </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="ab21e40e69fbe68e8b83a4c2a9327d370"></a><!-- doxytag: member="CalCoreModel::getCoreMaterial" ref="ab21e40e69fbe68e8b83a4c2a9327d370" args="(int coreMaterialId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classCalCoreMaterial.html">CalCoreMaterial</a> * CalCoreModel::getCoreMaterial </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialId</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to a core material. </p> <p>This function returns the core material with the given ID.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreMaterialId</td><td>The ID of the core material that should be returned.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>a pointer to the core material </li> <li><b>0</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="ab511c0b53a35268a8e1db4115f7a9aee"></a><!-- doxytag: member="CalCoreModel::getCoreMaterialCount" ref="ab511c0b53a35268a8e1db4115f7a9aee" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::getCoreMaterialCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the number of core materials. </p> <p>This function returns the number of core materials in the core model instance.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of core materials. </dd></dl> </div> </div> <a class="anchor" id="a07f95e4fe60f3702e80bd7705c31f01d"></a><!-- doxytag: member="CalCoreModel::getCoreMaterialId" ref="a07f95e4fe60f3702e80bd7705c31f01d" args="(int coreMaterialThreadId, int coreMaterialSetId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::getCoreMaterialId </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialThreadId</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialSetId</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns a specified core material ID. </p> <p>This function returns the core material ID for a specified core material thread / core material set pair.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreMaterialThreadId</td><td>The ID of the core material thread. </td></tr> <tr><td class="paramname">coreMaterialSetId</td><td>The ID of the core material set.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the <b>ID</b> of the core material </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="aaed1213f4b6a82a6cbac012b21b0e1f1"></a><!-- doxytag: member="CalCoreModel::getCoreMaterialId" ref="aaed1213f4b6a82a6cbac012b21b0e1f1" args="(const std::string &strMaterialName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::getCoreMaterialId </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strMaterialName</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the ID of the core material referenced by a string. </p> <p>This function returns a core material ID</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strMaterialName</td><td>A string that is associated with a core material ID number. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns: <ul> <li><b>-1</b> if there is no core material ID associated with the input string </li> <li><b>the</b> core ID number of the material asssociated with the input string </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a9dfde2ed0e8b9032ad74f12a1ae31800"></a><!-- doxytag: member="CalCoreModel::getCoreMesh" ref="a9dfde2ed0e8b9032ad74f12a1ae31800" args="(int coreMeshId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classCalCoreMesh.html">CalCoreMesh</a> * CalCoreModel::getCoreMesh </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreMeshId</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to a core mesh. </p> <p>This function returns the core mesh with the given ID.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreMeshId</td><td>The ID of the core mesh that should be returned.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>a pointer to the core mesh </li> <li><b>0</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a0624416eeafb807a005a35406f6117e6"></a><!-- doxytag: member="CalCoreModel::getCoreMeshCount" ref="a0624416eeafb807a005a35406f6117e6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::getCoreMeshCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the number of core meshes. </p> <p>This function returns the number of core meshes in the core model instance.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of core meshes. </dd></dl> </div> </div> <a class="anchor" id="af08f550bd7018bcb14c2d438877c3f86"></a><!-- doxytag: member="CalCoreModel::getCoreMeshId" ref="af08f550bd7018bcb14c2d438877c3f86" args="(const std::string &strMeshName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::getCoreMeshId </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strMeshName</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Retrieves the ID of the core mesh referenced by a string. </p> <p>This function returns a core mesh ID</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strMeshName</td><td>A string that is associated with a core mesh ID number. </td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>Returns: <ul> <li><b>-1</b> if there is no core mesh ID associated with the input string </li> <li><b>the</b> core ID number of the mesh asssociated with the input string </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a1c0d75da45a46149ba6ce46766cfce66"></a><!-- doxytag: member="CalCoreModel::getCoreMorphAnimation" ref="a1c0d75da45a46149ba6ce46766cfce66" args="(int coreMorphAnimationId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classCalCoreMorphAnimation.html">CalCoreMorphAnimation</a> * CalCoreModel::getCoreMorphAnimation </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreMorphAnimationId</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to a core morph animation. </p> <p>This function returns the core morph animation with the given ID.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreMorphAnimationId</td><td>The ID of the core morph animation that should be returned.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>a pointer to the core morph animation </li> <li><b>0</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a7a1d67e5eab76556355994a0fee2910b"></a><!-- doxytag: member="CalCoreModel::getCoreMorphAnimationCount" ref="a7a1d67e5eab76556355994a0fee2910b" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::getCoreMorphAnimationCount </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Returns the number of core morph animations. </p> <p>This function returns the number of core morph animations in the core model instance.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The number of core morph animations. </dd></dl> </div> </div> <a class="anchor" id="ad343f540973280dd3ba3bd435b3602ed"></a><!-- doxytag: member="CalCoreModel::getCoreSkeleton" ref="ad343f540973280dd3ba3bd435b3602ed" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classCalCoreSkeleton.html">CalCoreSkeleton</a> * CalCoreModel::getCoreSkeleton </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the core skeleton. </p> <p>This function returns the core skeleton.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>a pointer to the core skeleton </li> <li><b>0</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a5d9dac96e378a95a17433dac2d6f2e25"></a><!-- doxytag: member="CalCoreModel::getUserData" ref="a5d9dac96e378a95a17433dac2d6f2e25" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Cal::UserData CalCoreModel::getUserData </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Provides access to the user data. </p> <p>This function returns the user data stored in the core model instance.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>The user data stored in the core model instance. </dd></dl> </div> </div> <a class="anchor" id="a673f1bfd0e4ae8fee9628b859aa02136"></a><!-- doxytag: member="CalCoreModel::loadCoreAnimation" ref="a673f1bfd0e4ae8fee9628b859aa02136" args="(const std::string &strFilename, const std::string &strAnimationName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::loadCoreAnimation </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strAnimationName</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Loads a core animation and bind it to a name. </p> <p>This function loads a core animation from a file. It is equivalent to calling addAnimName(strAnimationName, loadCoreAnimation(strFilename)). If strAnimationName is already associated to a coreAnimationId because of a previous call to addAnimName, the same coreAnimationId will be used.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file from which the core animation should be loaded from. </td></tr> <tr><td class="paramname">strAnimationName</td><td>A string that is associated with an anim ID number.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the assigned <b>ID</b> of the loaded core animation </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="af000c8b2b2ed70b1acede286b1eedae8"></a><!-- doxytag: member="CalCoreModel::loadCoreAnimation" ref="af000c8b2b2ed70b1acede286b1eedae8" args="(const std::string &strFilename)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::loadCoreAnimation </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Loads a core animation. </p> <p>This function loads a core animation from a file.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file from which the core animation should be loaded from.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the assigned <b>ID</b> of the loaded core animation </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a764ebcaf99fbd2181d8f51eb74446cfb"></a><!-- doxytag: member="CalCoreModel::loadCoreMaterial" ref="a764ebcaf99fbd2181d8f51eb74446cfb" args="(const std::string &strFilename)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::loadCoreMaterial </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Loads a core material. </p> <p>This function loads a core material from a file.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file from which the core material should be loaded from.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the assigned <b>ID</b> of the loaded core material </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a70bff034a8962b5c7f389d6e38a98bbe"></a><!-- doxytag: member="CalCoreModel::loadCoreMaterial" ref="a70bff034a8962b5c7f389d6e38a98bbe" args="(const std::string &strFilename, const std::string &strMaterialName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::loadCoreMaterial </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strMaterialName</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Loads a core material and bind it to a name. </p> <p>This function loads a core material from a file. It is equivalent to calling addMaterialName(strMaterialName, loadCoreMaterial(strFilename)). If strMaterialName is already associated to a coreMaterialId because of a previous call to addMaterialName, the same coreMaterialId will be used.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file from which the core material should be loaded from. </td></tr> <tr><td class="paramname">strMaterialName</td><td>A string that is associated with an anim ID number.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the assigned <b>ID</b> of the loaded core material </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a7a53f90d2c9fff624b65f51f42208d37"></a><!-- doxytag: member="CalCoreModel::loadCoreMesh" ref="a7a53f90d2c9fff624b65f51f42208d37" args="(const std::string &strFilename)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::loadCoreMesh </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Loads a core mesh. </p> <p>This function loads a core mesh from a file.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file from which the core mesh should be loaded from.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the assigned <b>ID</b> of the loaded core mesh </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="accb97ead9800514acfdf6b375973d666"></a><!-- doxytag: member="CalCoreModel::loadCoreMesh" ref="accb97ead9800514acfdf6b375973d666" args="(const std::string &strFilename, const std::string &strMeshName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::loadCoreMesh </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strMeshName</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Loads a core mesh and bind it to a name. </p> <p>This function loads a core mesh from a file. It is equivalent to calling addMeshName(strMeshName, loadCoreMesh(strFilename)). If strMeshName is already associated to a coreMeshId because of a previous call to addMeshName, the same coreMeshId will be used.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file from which the core mesh should be loaded from. </td></tr> <tr><td class="paramname">strMeshName</td><td>A string that is associated with an anim ID number.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the assigned <b>ID</b> of the loaded core mesh </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a2cba320b07275078eb39895b3a5dd5bc"></a><!-- doxytag: member="CalCoreModel::loadCoreSkeleton" ref="a2cba320b07275078eb39895b3a5dd5bc" args="(const std::string &strFilename)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::loadCoreSkeleton </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Loads the core skeleton. </p> <p>This function loads the core skeleton from a file.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file from which the core skeleton should be loaded from.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li><b>true</b> if successful </li> <li><b>false</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a6db5582f8b821b51cdccf40b2607920f"></a><!-- doxytag: member="CalCoreModel::saveCoreAnimation" ref="a6db5582f8b821b51cdccf40b2607920f" args="(const std::string &strFilename, int coreAnimationId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::saveCoreAnimation </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>coreAnimationId</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Saves a core animation. </p> <p>This function saves a core animation to a file.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file to which the core animation should be saved to. </td></tr> <tr><td class="paramname">coreAnimationId</td><td>The ID of the core animation that should be saved.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li><b>true</b> if successful </li> <li><b>false</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a5c94e80ac6c8f4bb3d40e640f2e8deec"></a><!-- doxytag: member="CalCoreModel::saveCoreMaterial" ref="a5c94e80ac6c8f4bb3d40e640f2e8deec" args="(const std::string &strFilename, int coreMaterialId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::saveCoreMaterial </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialId</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Saves a core material. </p> <p>This function saves a core material to a file.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file to which the core material should be saved to. </td></tr> <tr><td class="paramname">coreMaterialId</td><td>The ID of the core material that should be saved.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li><b>true</b> if successful </li> <li><b>false</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a42987eca32a529a8f76f77e6ad5b33bd"></a><!-- doxytag: member="CalCoreModel::saveCoreMesh" ref="a42987eca32a529a8f76f77e6ad5b33bd" args="(const std::string &strFilename, int coreMeshId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::saveCoreMesh </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>coreMeshId</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Saves a core mesh. </p> <p>This function saves a core mesh to a file.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file to which the core mesh should be saved to. </td></tr> <tr><td class="paramname">coreMeshId</td><td>The ID of the core mesh that should be saved.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li><b>true</b> if successful </li> <li><b>false</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="aabfb96d368b87be3cbab9c7e75e1dc8e"></a><!-- doxytag: member="CalCoreModel::saveCoreSkeleton" ref="aabfb96d368b87be3cbab9c7e75e1dc8e" args="(const std::string &strFilename)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::saveCoreSkeleton </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>strFilename</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Saves the core skeleton. </p> <p>This function saves the core skeleton to a file.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">strFilename</td><td>The file to which the core skeleton should be saved to.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li><b>true</b> if successful </li> <li><b>false</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a6869c4a0795629ded95481cc8b053ef0"></a><!-- doxytag: member="CalCoreModel::scale" ref="a6869c4a0795629ded95481cc8b053ef0" args="(float factor)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void CalCoreModel::scale </td> <td>(</td> <td class="paramtype">float </td> <td class="paramname"><em>factor</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Scale the core model. </p> <p>This function rescale all data that are in the core model instance</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">factor</td><td>A float with the scale factor </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a27f1e9f7a4de5f5d7f7bd0bc94a869fb"></a><!-- doxytag: member="CalCoreModel::setCoreMaterialId" ref="a27f1e9f7a4de5f5d7f7bd0bc94a869fb" args="(int coreMaterialThreadId, int coreMaterialSetId, int coreMaterialId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool CalCoreModel::setCoreMaterialId </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialThreadId</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialSetId</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialId</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets a core material ID. </p> <p>This function sets a core material ID for a core material thread / core material set pair.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreMaterialThreadId</td><td>The ID of the core material thread. </td></tr> <tr><td class="paramname">coreMaterialSetId</td><td>The ID of the core maetrial set. </td></tr> <tr><td class="paramname">coreMaterialId</td><td>The ID of the core maetrial.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li><b>true</b> if successful </li> <li><b>false</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a4e19d50be25d0ff090c7fcd6ffe95589"></a><!-- doxytag: member="CalCoreModel::setCoreSkeleton" ref="a4e19d50be25d0ff090c7fcd6ffe95589" args="(CalCoreSkeleton *pCoreSkeleton)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void CalCoreModel::setCoreSkeleton </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalCoreSkeleton.html">CalCoreSkeleton</a> * </td> <td class="paramname"><em>pCoreSkeleton</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Sets the core skeleton. </p> <p>This function sets the core skeleton of the core model instance..</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">pCoreSkeleton</td><td>The core skeleton that should be set. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="af59528a4d0ffe996d9b9ee2cfc928e4f"></a><!-- doxytag: member="CalCoreModel::setUserData" ref="af59528a4d0ffe996d9b9ee2cfc928e4f" args="(Cal::UserData userData)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void CalCoreModel::setUserData </td> <td>(</td> <td class="paramtype">Cal::UserData </td> <td class="paramname"><em>userData</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Stores user data. </p> <p>This function stores user data in the core model instance.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">userData</td><td>The user data that should be stored. </td></tr> </table> </dd> </dl> </div> </div> <a class="anchor" id="a2467373146bd442736570854fa3d954a"></a><!-- doxytag: member="CalCoreModel::unloadCoreAnimation" ref="a2467373146bd442736570854fa3d954a" args="(const std::string &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::unloadCoreAnimation </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>name</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Delete the resources used by the named core animation. </p> <p>The name must be associated with a valid core animation Id with the function getAnimationId. The caller must ensure that the corresponding is not referenced anywhere otherwise unpredictable results will occur.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The symbolic name of the core animation to unload.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the core <b>ID</b> of the unloaded core animation </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="ad4657a3d38ec538f5f4b4b7374b5ae2a"></a><!-- doxytag: member="CalCoreModel::unloadCoreAnimation" ref="ad4657a3d38ec538f5f4b4b7374b5ae2a" args="(int coreAnimationId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::unloadCoreAnimation </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreAnimationId</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Delete the resources used by a core animation. </p> <p>The caller must ensure that the corresponding is not referenced anywhere otherwise unpredictable results will occur.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreAnimationId</td><td>The ID of the core animation that should be unloaded.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the core <b>ID</b> of the unloaded core animation </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a827c4e9fab6f3a1fea01441371824c8b"></a><!-- doxytag: member="CalCoreModel::unloadCoreMaterial" ref="a827c4e9fab6f3a1fea01441371824c8b" args="(int coreMaterialId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::unloadCoreMaterial </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreMaterialId</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Delete the resources used by a core material. </p> <p>The caller must ensure that the corresponding is not referenced anywhere otherwise unpredictable results will occur.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreMaterialId</td><td>The ID of the core material that should be unloaded.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the core <b>ID</b> of the unloaded core material </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a96b856be2a5579ad6561f42268bfff6c"></a><!-- doxytag: member="CalCoreModel::unloadCoreMaterial" ref="a96b856be2a5579ad6561f42268bfff6c" args="(const std::string &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::unloadCoreMaterial </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>name</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Delete the resources used by the named core material. </p> <p>The name must be associated with a valid core material Id with the function getMaterialId. The caller must ensure that the corresponding is not referenced anywhere otherwise unpredictable results will occur.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The symbolic name of the core material to unload.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the core <b>ID</b> of the unloaded core material </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a07473513820c0cc32ecbfbc08a5a1afa"></a><!-- doxytag: member="CalCoreModel::unloadCoreMesh" ref="a07473513820c0cc32ecbfbc08a5a1afa" args="(int coreMeshId)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::unloadCoreMesh </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>coreMeshId</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Delete the resources used by a core mesh. </p> <p>The caller must ensure that the corresponding is not referenced anywhere otherwise unpredictable results will occur.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">coreMeshId</td><td>The ID of the core mesh that should be unloaded.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the core <b>ID</b> of the unloaded core mesh </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <a class="anchor" id="a1ae619d74891d23cfc3156eee038e7d9"></a><!-- doxytag: member="CalCoreModel::unloadCoreMesh" ref="a1ae619d74891d23cfc3156eee038e7d9" args="(const std::string &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int CalCoreModel::unloadCoreMesh </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"><em>name</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Delete the resources used by the named core mesh. </p> <p>The name must be associated with a valid core mesh Id with the function getMeshId. The caller must ensure that the corresponding is not referenced anywhere otherwise unpredictable results will occur.</p> <dl><dt><b>Parameters:</b></dt><dd> <table class="params"> <tr><td class="paramname">name</td><td>The symbolic name of the core mesh to unload.</td></tr> </table> </dd> </dl> <dl class="return"><dt><b>Returns:</b></dt><dd>One of the following values: <ul> <li>the core <b>ID</b> of the unloaded core mesh </li> <li><b>-1</b> if an error happend </li> </ul> </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="coremodel_8h_source.html">coremodel.h</a></li> <li>coremodel.cpp</li> </ul> </div> <hr> <center> <small> Generated at Tue Feb 8 2011 08:51:45 by <a href="http://gna.org/projects/cal3d/">The Cal3D Team</a> with <a href="http://www.doxygen.org/index.html"> Doxygen 1.7.3 </a> </small> </center> </body> </html>