#include <lib_hair.h>
Public Member Functions | |
| HairInterpolationMap () | |
| ~HairInterpolationMap () | |
| void | Free () | 
| HairGuideWeight * | GetMap () | 
| HairGuideWeight * | GetGuides (Int32 index) | 
| Int32 | GetHairCount () | 
| Int32 | GetGuideCount () | 
| Int32 | GetWeightCount () | 
| Float64 | GetTotalWeight (Int32 index) | 
| Float64 | GetTotalInvWeight (Int32 index) | 
| Float32 | GetInterpolateReal (Int32 index, Float32 *v) | 
| Float64 | GetInterpolateReal (Int32 index, Float64 *v) | 
| Vector32 | GetInterpolatedVector (Int32 index, Vector32 *v) | 
| Vector64 | GetInterpolatedVector (Int32 index, Vector64 *v) | 
Private Attributes | |
| HairGuideWeight * | m_pMap | 
| Int32 | m_WeightCount | 
| Int32 | m_GuideCount | 
| Int32 | m_Count | 
Friends | |
| class | ::ChainBase | 
| class | ::HairManager | 
Constructor.
| ~HairInterpolationMap | ( | ) | 
Destructor.
| void Free | ( | ) | 
Frees the allocated memory. Called by the destructor.
| HairGuideWeight* GetMap | ( | ) | 
Gets the hair interpolation map with GetWeightCount() instances of HairGuideWeight for each of the GetHairCount() hairs.
| HairGuideWeight* GetGuides | ( | Int32 | index | ) | 
Retrieves a pointer into the hair interpolation map at the offset for the specified hair index.
| [in] | index | A hair index: 0 <= index < GetHairCount() | 
| Int32 GetHairCount | ( | ) | 
Gets the number of hairs.
| Int32 GetGuideCount | ( | ) | 
Gets the number of guides.
| Int32 GetWeightCount | ( | ) | 
Gets the maximum number of weights per hair in the interpolation map array, not necessarily used all of them.
Gets the total weight for the specified hair index.
| [in] | index | A hair index: 0 <= index < GetHairCount() | 
Gets the total inverse weight for the specified hair index.
| [in] | index | A hair index: 0 <= index < GetHairCount() | 
Interpolates Float32 values for the specified hair index using the information in the hair interpolation map.
| [in] | index | A hair index: 0 <= index < GetHairCount() | 
| [in] | v | An array with GetWeightCount() elements for each of the possible guides of the specified hair. | 
Interpolates Float64 values for the specified hair index using the information in the hair interpolation map.
| [in] | index | A hair index: 0 <= index < GetHairCount() | 
| [in] | v | An array with GetWeightCount() elements for each of the possible guides of the specified hair. | 
Interpolates Vector32 values for the specified hair index using the information in the hair interpolation map.
| [in] | index | A hair index: 0 <= index < GetHairCount() | 
| [in] | v | An array with GetWeightCount() elements for each of the possible guides of the specified hair. | 
Interpolates Vector64 values for the specified hair index using the information in the hair interpolation map.
| [in] | index | A hair index: 0 <= index < GetHairCount() | 
| [in] | v | An array with GetWeightCount() elements for each of the possible guides of the specified hair. | 
      
  | 
  friend | 
      
  | 
  friend | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private |