AutoWeightInterface Class Reference

#include <autoweight.h>

Inheritance diagram for AutoWeightInterface:

公共成员函数

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")
-  Private Member Functions inherited from DataDescriptionObjectInterface
MAXON_METHOD Result < DataDescription >  GetObjectDescription (const Id &category, const LanguageRef &language, const DataDictionaryObjectRef &objectData) const

Additional Inherited Members

-  Static Private Member Functions inherited from DataDescriptionObjectInterface
static MAXON_METHOD Result < String GetObjectName (const Id &classId, const LanguageRef &language)

成员函数文档编制

◆  MAXON_INTERFACE()

MAXON_INTERFACE ( AutoWeightInterface   ,
MAXON_REFERENCE_NORMAL   ,
"net.maxon.animation.interface.autoweight"   
)
private

◆  RunAutoWeight()

MAXON_FUNCTION Result <void> RunAutoWeight ( BaseArray < BaseArray < Float >> &  weights ,
BaseArray < BaseArray < Float >> &  oldWeights ,
AutoWeightPointJointSelections autoWeightPointJointSelections ,
const BaseArray < Bone > &  bones ,
BaseDocument doc ,
PolygonObject op  
)

◆  CalculateWeights()

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
返回
Error code if fail else OK.

◆  NormalizeWeights()

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
返回
Error code if fail else OK.

◆  SmoothWeights()

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.
返回
Error code if fail else OK.