13class DNACalibDNAReader;
22 std::uint32_t vertexIndex,
Command is an abstract class whose implementations are expected to modify the DNA provided in the run...
Definition: Command.h:15
Definition: DNACalibDNAReader.h:12
Definition: SetSkinWeightsCommand.cpp:12
SetSkinWeightsCommand is used to set new skin weights for a vertex in a mesh.
Definition: SetSkinWeightsCommand.h:18
DNACAPI void setMeshIndex(std::uint16_t meshIndex)
Method for setting the index of the targeted mesh.
Definition: SetSkinWeightsCommand.cpp:75
DNACAPI void run(DNACalibDNAReader *output) override
Definition: SetSkinWeightsCommand.cpp:91
SetSkinWeightsCommand(const SetSkinWeightsCommand &)=delete
DNACAPI void setJointIndices(ConstArrayView< std::uint16_t > jointIndices)
Method for setting the joint indices of joints that influence the vertex in question.
Definition: SetSkinWeightsCommand.cpp:87
DNACAPI SetSkinWeightsCommand(SetSkinWeightsCommand &&)
DNACAPI SetSkinWeightsCommand & operator=(SetSkinWeightsCommand &&)
SetSkinWeightsCommand & operator=(const SetSkinWeightsCommand &)=delete
DNACAPI void setVertexIndex(std::uint32_t vertexIndex)
Method for setting the index of the vertex to change.
Definition: SetSkinWeightsCommand.cpp:79
DNACAPI ~SetSkinWeightsCommand()
DNACAPI void setWeights(ConstArrayView< float > weights)
Method for setting the weights with which joints influence the vertex in question.
Definition: SetSkinWeightsCommand.cpp:83
ScopedPtr< Impl > pImpl
Definition: SetSkinWeightsCommand.h:66
DNACAPI SetSkinWeightsCommand(MemoryResource *memRes=nullptr)
Definition: SetSkinWeightsCommand.cpp:55
MemoryResource is an abstract class that allows the implementation of polymorphic allocators.
Definition: MemoryResource.h:17
Takes ownership over the given pointer and handles it's lifetime.
Definition: ScopedPtr.h:116
A view over a continuous sequence of objects.
Definition: ArrayView.h:55
#define DNACAPI
Definition: dnacalib/Defs.h:26