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_Vector4.h>
17 
18 class GT_DataArray;
19 
20 namespace GT_DeformUtils
21 {
22 GT_API void buildBoneIndexAndWeights(const GT_DataArray &bone_capture,
23  UT_Vector4iArray *bone_index,
24  UT_Vector4FArray *bone_weight,
25  int bone_limit,
26  int *max_bones_per_point = 0);
27 }
28 
29 #endif
#define GT_API
Definition: GT_API.h:11
Abstract data class for an array of float, int or string data.
Definition: GT_DataArray.h:38
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=0)