Open Search
    AutoWeightInterface Class Reference

    #include <autoweight.h>

    Inheritance diagram for AutoWeightInterface:

    Public Member Functions

    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)
     

    Private Member Functions

     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< StringGetObjectName (const Id &classId, const LanguageRef &language)
     

    Member Function Documentation

    ◆ 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.

    Parameters
    [out]weightsThe resulting autoweight array.
    [in]docThe base document.
    [in]opThe polygon object.
    [in]bonesA array of bone structure.
    [in]autoWeightPointJointSelectionsThe point joint lock selection
    Returns
    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.

    Parameters
    [out]weightsThe resulting autoweight array.
    [in]oldWeightsThe previous weight array.
    [in]autoWeightPointJointSelectionsThe point joint lock selection
    Returns
    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.

    Parameters
    [out]weightsThe resulting autoweight array.
    [in]opThe polygon object.
    [in]oldWeightsThe previous weight array.
    [in]autoWeightPointJointSelectionsThe point joint lock selection.
    Returns
    Error code if fail else OK.