#include <autoweight.h>
公共成员函数 |
|
MAXON_FUNCTION Result < void > | RunAutoWeight ( BaseArray < BaseArray < Float >> &weights, BaseArray < BaseArray < Float >> &oldWeights, AutoWeightPointJointSelections &autoWeightPointJointSelections, const BaseArray < Bone > &bones, BaseDocument *doc, PolygonObject *op) |
MAXON_METHOD Result < void > | CalculateWeights ( BaseArray < BaseArray < Float >> &weights, BaseDocument *doc, PolygonObject *op, const BaseArray < Bone > &bones, AutoWeightPointJointSelections &autoWeightPointJointSelections) |
MAXON_METHOD Result < void > | NormalizeWeights ( BaseArray < BaseArray < Float >> &weights, const BaseArray < BaseArray < Float >> &oldWeights, AutoWeightPointJointSelections &autoWeightPointJointSelections) |
MAXON_METHOD Result < void > | SmoothWeights ( BaseArray < BaseArray < Float >> &weights, PolygonObject *op, const BaseArray < BaseArray < Float >> &oldWeights, AutoWeightPointJointSelections &autoWeightPointJointSelections) |
私有成员函数 |
|
MAXON_INTERFACE ( AutoWeightInterface , MAXON_REFERENCE_NORMAL , "net.maxon.animation.interface.autoweight") | |
![]() |
|
MAXON_METHOD Result < DataDescription > | GetObjectDescription (const Id &category, const LanguageRef &language, const DataDictionaryObjectRef &objectData) const |
Additional Inherited Members |
|
![]() |
|
static MAXON_METHOD Result < String > | GetObjectName (const Id &classId, const LanguageRef &language) |
|
private |
MAXON_FUNCTION Result <void> RunAutoWeight | ( | BaseArray < BaseArray < Float >> & | weights , |
BaseArray < BaseArray < Float >> & | oldWeights , | ||
AutoWeightPointJointSelections & | autoWeightPointJointSelections , | ||
const BaseArray < Bone > & | bones , | ||
BaseDocument * | doc , | ||
PolygonObject * | op | ||
) |
MAXON_METHOD Result <void> CalculateWeights | ( | BaseArray < BaseArray < Float >> & | weights , |
BaseDocument * | doc , | ||
PolygonObject * | op , | ||
const BaseArray < Bone > & | bones , | ||
AutoWeightPointJointSelections & | autoWeightPointJointSelections | ||
) |
Give the raw weight of the weighting algo.
[out] | weights | The resulting autoweight array. |
[in] | doc | The base document. |
[in] | op | The polygon object. |
[in] | bones | A array of bone structure. |
[in] | autoWeightPointJointSelections | The point joint lock selection |
MAXON_METHOD Result <void> NormalizeWeights | ( | BaseArray < BaseArray < Float >> & | weights , |
const BaseArray < BaseArray < Float >> & | oldWeights , | ||
AutoWeightPointJointSelections & | autoWeightPointJointSelections | ||
) |
Normalize the weights.
[out] | weights | The resulting autoweight array. |
[in] | oldWeights | The previous weight array. |
[in] | autoWeightPointJointSelections | The point joint lock selection |
MAXON_METHOD Result <void> SmoothWeights | ( | BaseArray < BaseArray < Float >> & | weights , |
PolygonObject * | op , | ||
const BaseArray < BaseArray < Float >> & | oldWeights , | ||
AutoWeightPointJointSelections & | autoWeightPointJointSelections | ||
) |
Run the smooth algorithm on the weights.
[out] | weights | The resulting autoweight array. |
[in] | op | The polygon object. |
[in] | oldWeights | The previous weight array. |
[in] | autoWeightPointJointSelections | The point joint lock selection. |