HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GT_DeformUtils.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GT_DeformUtil.h ( GT Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GT_DeformUtils__
12 #define __GT_DeformUtils__
13 
14 #include "GT_API.h"
15 
16 #include <UT/UT_Array.h>
17 #include <UT/UT_Vector4.h>
18 
19 class GT_DataArray;
20 
21 namespace GT_DeformUtils
22 {
23 GT_API void buildBoneIndexAndWeights(const GT_DataArray &bone_capture,
24  UT_Vector4iArray *bone_index,
25  UT_Vector4FArray *bone_weight,
26  int bone_limit,
27  int *max_bones_per_point = nullptr,
28  const UT_Array<int> *bone_index_remap = nullptr);
29 }
30 
31 #endif
GT_API void buildBoneIndexAndWeights(const GT_DataArray &bone_capture, UT_Vector4iArray *bone_index, UT_Vector4FArray *bone_weight, int bone_limit, int *max_bones_per_point=nullptr, const UT_Array< int > *bone_index_remap=nullptr)
#define GT_API
Definition: GT_API.h:13
Abstract data class for an array of float, int or string data.
Definition: GT_DataArray.h:40