14class DNACalibDNAReader;
29 std::uint16_t blendShapeTargetIndex,
35 std::uint16_t blendShapeTargetIndex,
43 std::uint16_t blendShapeTargetIndex,
50 std::uint16_t blendShapeTargetIndex,
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: SetBlendShapeTargetDeltasCommand.cpp:18
SetBlendShapeTargetDeltasCommand is used to change blend shape target deltas.
Definition: SetBlendShapeTargetDeltasCommand.h:19
static DNACAPI const sc::StatusCode DeltasMasksCountMismatch
Definition: SetBlendShapeTargetDeltasCommand.h:24
DNACAPI SetBlendShapeTargetDeltasCommand(SetBlendShapeTargetDeltasCommand &&)
DNACAPI void setMasks(ConstArrayView< float > masks)
Method for setting masks used to calculate new deltas for blend shape target.
Definition: SetBlendShapeTargetDeltasCommand.cpp:305
DNACAPI ~SetBlendShapeTargetDeltasCommand()
DNACAPI void setOperation(VectorOperation operation)
Method for setting the type of operation used to calculate new deltas for blend shape target.
Definition: SetBlendShapeTargetDeltasCommand.cpp:309
DNACAPI SetBlendShapeTargetDeltasCommand(MemoryResource *memRes=nullptr)
Definition: SetBlendShapeTargetDeltasCommand.cpp:210
ScopedPtr< Impl > pImpl
Definition: SetBlendShapeTargetDeltasCommand.h:133
DNACAPI void setMeshIndex(std::uint16_t meshIndex)
Method for setting the index of the mesh whose blend shape target to change.
Definition: SetBlendShapeTargetDeltasCommand.cpp:285
DNACAPI void setVertexIndices(ConstArrayView< std::uint32_t > vertexIndices)
Method for setting the vertex indices that correspond to new deltas.
Definition: SetBlendShapeTargetDeltasCommand.cpp:301
DNACAPI void run(DNACalibDNAReader *output) override
Definition: SetBlendShapeTargetDeltasCommand.cpp:313
DNACAPI void setDeltas(ConstArrayView< Vector3 > deltas)
Method for setting the values used to calculate new deltas for blend shape target.
Definition: SetBlendShapeTargetDeltasCommand.cpp:293
SetBlendShapeTargetDeltasCommand & operator=(const SetBlendShapeTargetDeltasCommand &)=delete
DNACAPI SetBlendShapeTargetDeltasCommand & operator=(SetBlendShapeTargetDeltasCommand &&)
static DNACAPI const sc::StatusCode NoVertexIndicesSetError
Definition: SetBlendShapeTargetDeltasCommand.h:22
SetBlendShapeTargetDeltasCommand(const SetBlendShapeTargetDeltasCommand &)=delete
DNACAPI void setBlendShapeTargetIndex(std::uint16_t blendShapeTargetIndex)
Method for setting the index of the blend shape target to change.
Definition: SetBlendShapeTargetDeltasCommand.cpp:289
static DNACAPI const sc::StatusCode VertexIndicesOutOfBoundsError
Definition: SetBlendShapeTargetDeltasCommand.h:21
static DNACAPI const sc::StatusCode DeltasVertexIndicesCountMismatch
Definition: SetBlendShapeTargetDeltasCommand.h:23
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
VectorOperation
Definition: VectorOperations.h:7
Definition: StatusCode.h:11