dnac::SetVertexPositionsCommand dnac::Command SetVertexPositionsCommand.h dnac::SetVertexPositionsCommand::Impl DNACAPI const sc::StatusCode const sc::StatusCode dnac::SetVertexPositionsCommand::PositionsMasksCountMismatch PositionsMasksCountMismatch dnac::SetVertexPositionsCommand::PositionsMasksCountMismatch {3201, "%s"} dnac::SetVertexPositionsCommand::Impl::computeVertexPositions ScopedPtr< Impl > ScopedPtr<Impl> dnac::SetVertexPositionsCommand::pImpl pImpl dnac::SetVertexPositionsCommand::pImpl run setMasks setMeshIndex setOperation setPositions SetVertexPositionsCommand DNACAPI dnac::SetVertexPositionsCommand::SetVertexPositionsCommand (MemoryResource *memRes=nullptr) SetVertexPositionsCommand dnac::SetVertexPositionsCommand::SetVertexPositionsCommand MemoryResource * memRes nullptr DNACAPI dnac::SetVertexPositionsCommand::SetVertexPositionsCommand (std::uint16_t meshIndex, ConstArrayView< Vector3 > positions, VectorOperation operation, MemoryResource *memRes=nullptr) SetVertexPositionsCommand dnac::SetVertexPositionsCommand::SetVertexPositionsCommand std::uint16_t meshIndex ConstArrayView< Vector3 > positions VectorOperation operation MemoryResource * memRes nullptr pImpl DNACAPI dnac::SetVertexPositionsCommand::SetVertexPositionsCommand (std::uint16_t meshIndex, ConstArrayView< float > xs, ConstArrayView< float > ys, ConstArrayView< float > zs, VectorOperation operation, MemoryResource *memRes=nullptr) SetVertexPositionsCommand dnac::SetVertexPositionsCommand::SetVertexPositionsCommand std::uint16_t meshIndex ConstArrayView< float > xs ConstArrayView< float > ys ConstArrayView< float > zs VectorOperation operation MemoryResource * memRes nullptr pImpl DNACAPI dnac::SetVertexPositionsCommand::SetVertexPositionsCommand (std::uint16_t meshIndex, ConstArrayView< Vector3 > positions, ConstArrayView< float > masks, VectorOperation operation, MemoryResource *memRes=nullptr) SetVertexPositionsCommand dnac::SetVertexPositionsCommand::SetVertexPositionsCommand std::uint16_t meshIndex ConstArrayView< Vector3 > positions ConstArrayView< float > masks VectorOperation operation MemoryResource * memRes nullptr pImpl DNACAPI dnac::SetVertexPositionsCommand::SetVertexPositionsCommand (std::uint16_t meshIndex, ConstArrayView< float > xs, ConstArrayView< float > ys, ConstArrayView< float > zs, ConstArrayView< float > masks, VectorOperation operation, MemoryResource *memRes=nullptr) SetVertexPositionsCommand dnac::SetVertexPositionsCommand::SetVertexPositionsCommand std::uint16_t meshIndex ConstArrayView< float > xs ConstArrayView< float > ys ConstArrayView< float > zs ConstArrayView< float > masks VectorOperation operation MemoryResource * memRes nullptr pImpl DNACAPI dnac::SetVertexPositionsCommand::~SetVertexPositionsCommand () ~SetVertexPositionsCommand dnac::SetVertexPositionsCommand::~SetVertexPositionsCommand dnac::SetVertexPositionsCommand::SetVertexPositionsCommand (const SetVertexPositionsCommand &)=delete SetVertexPositionsCommand dnac::SetVertexPositionsCommand::SetVertexPositionsCommand const SetVertexPositionsCommand & SetVertexPositionsCommand & SetVertexPositionsCommand & dnac::SetVertexPositionsCommand::operator= (const SetVertexPositionsCommand &)=delete operator= dnac::SetVertexPositionsCommand::operator= const SetVertexPositionsCommand & DNACAPI dnac::SetVertexPositionsCommand::SetVertexPositionsCommand (SetVertexPositionsCommand &&) SetVertexPositionsCommand dnac::SetVertexPositionsCommand::SetVertexPositionsCommand SetVertexPositionsCommand && DNACAPI SetVertexPositionsCommand & SetVertexPositionsCommand & dnac::SetVertexPositionsCommand::operator= (SetVertexPositionsCommand &&) operator= dnac::SetVertexPositionsCommand::operator= SetVertexPositionsCommand && DNACAPI void void dnac::SetVertexPositionsCommand::setMeshIndex (std::uint16_t meshIndex) setMeshIndex dnac::SetVertexPositionsCommand::setMeshIndex std::uint16_t meshIndex Method for setting the index of the mesh to change. meshIndex The mesh index. pImpl DNACAPI void void dnac::SetVertexPositionsCommand::setPositions (ConstArrayView< Vector3 > positions) setPositions dnac::SetVertexPositionsCommand::setPositions ConstArrayView< Vector3 > positions Method for setting the vertex positions used to calculate new values. positions The vertex positions. pImpl DNACAPI void void dnac::SetVertexPositionsCommand::setPositions (ConstArrayView< float > xs, ConstArrayView< float > ys, ConstArrayView< float > zs) setPositions dnac::SetVertexPositionsCommand::setPositions ConstArrayView< float > xs ConstArrayView< float > ys ConstArrayView< float > zs Method for setting the vertex positions used to calculate new values. xs The X coordinates for each vertex. ys The Y coordinates for each vertex. zs The Z coordinates for each vertex. pImpl DNACAPI void void dnac::SetVertexPositionsCommand::setMasks (ConstArrayView< float > masks) setMasks dnac::SetVertexPositionsCommand::setMasks ConstArrayView< float > masks Method for setting vertex masks used to calculate new vertex position values. If no masks are set, default weight value of 1 is used for each vertex. masks The weights for each vertex. pImpl DNACAPI void void dnac::SetVertexPositionsCommand::setOperation (VectorOperation operation) setOperation dnac::SetVertexPositionsCommand::setOperation VectorOperation operation Method for setting the type of operation used to calculate new vertex position values. Available operations are: Interpolate, Add, Subtract and Multiply. Each position is calculated based on the provided operation type in the following way: Interpolate: $newValue = previousValue * (1 - weight) + setValue * weight$ Add: $newValue = previousValue + (setValue * weight)$ Subtract: $newValue = previousValue - (setValue * weight)$ Multiply: $newValue = previousValue * (setValue * weight)$ setValue is the value from new positions that were set, and weight is the value from masks array. operation The operation to use. pImpl DNACAPI void void dnac::SetVertexPositionsCommand::run (DNACalibDNAReader *output) override run dnac::SetVertexPositionsCommand::run run DNACalibDNAReader * output pImpl SetVertexPositionsCommand is used to change vertex positions values. -ptr < dnac::SetVertexPositionsCommand::Impl > +PositionsMasksCountMismatch -pImpl < T > < dnac::SetVertexPositionsCommand::Impl > -ptr dnac::SetVertexPositionsCommandoperator= dnac::SetVertexPositionsCommandoperator= dnac::SetVertexPositionsCommandpImpl dnac::SetVertexPositionsCommandPositionsMasksCountMismatch dnac::SetVertexPositionsCommandrun dnac::SetVertexPositionsCommandsetMasks dnac::SetVertexPositionsCommandsetMeshIndex dnac::SetVertexPositionsCommandsetOperation dnac::SetVertexPositionsCommandsetPositions dnac::SetVertexPositionsCommandsetPositions dnac::SetVertexPositionsCommandSetVertexPositionsCommand dnac::SetVertexPositionsCommandSetVertexPositionsCommand dnac::SetVertexPositionsCommandSetVertexPositionsCommand dnac::SetVertexPositionsCommandSetVertexPositionsCommand dnac::SetVertexPositionsCommandSetVertexPositionsCommand dnac::SetVertexPositionsCommandSetVertexPositionsCommand dnac::SetVertexPositionsCommandSetVertexPositionsCommand dnac::SetVertexPositionsCommand~Command dnac::SetVertexPositionsCommand~SetVertexPositionsCommand