00001 /* 00002 Copyright (C) 2005-2007 Feeling Software Inc. 00003 Portions of the code are: 00004 Copyright (C) 2005-2007 Sony Computer Entertainment America 00005 00006 MIT License: http://www.opensource.org/licenses/mit-license.php 00007 */ 00008 00014 #ifndef _FCD_CONTROLLER_TOOLS_H_ 00015 #define _FCD_CONTROLLER_TOOLS_H_ 00016 00017 #include "FCDocument/FCDocument.h" 00018 00019 class FCDSkinController; 00020 class FCDSkinControllerVertex; 00021 00024 typedef fm::map<uint32, UInt32List> FCDGeometryIndexTranslationMap; 00025 00027 namespace FCDControllerTools 00028 { 00038 void FCOLLADA_EXPORT ApplyTranslationMap(const FCDSkinController* controller, const FCDGeometryIndexTranslationMap& translationMap, 00039 const UInt16List& packingMap, fm::pvector<const FCDSkinControllerVertex>& skinInfluences); 00040 } 00041 00042 #endif // _FCD_CONTROLLER_TOOLS_H_