DNA Calib 1.1
Project brief
|
ScaleCommand is used to scale neutral joints, vertex positions and joint and blendshape deltas by a factor. More...
#include <ScaleCommand.h>
Classes | |
class | Impl |
Public Member Functions | |
DNACAPI | ScaleCommand (MemoryResource *memRes=nullptr) |
DNACAPI | ScaleCommand (float scale, Vector3 origin, MemoryResource *memRes=nullptr) |
DNACAPI | ~ScaleCommand () |
ScaleCommand (const ScaleCommand &)=delete | |
ScaleCommand & | operator= (const ScaleCommand &)=delete |
DNACAPI | ScaleCommand (ScaleCommand &&) |
DNACAPI ScaleCommand & | operator= (ScaleCommand &&) |
DNACAPI void | setScale (float scale) |
Method for setting the scale factor to multiply with. More... | |
DNACAPI void | setOrigin (Vector3 origin) |
Method for setting the origin. More... | |
DNACAPI void | run (DNACalibDNAReader *output) override |
![]() | |
virtual | ~Command () |
virtual void | run (DNACalibDNAReader *output)=0 |
Private Attributes | |
ScopedPtr< Impl > | pImpl |
ScaleCommand is used to scale neutral joints, vertex positions and joint and blendshape deltas by a factor.
|
explicit |
dnac::ScaleCommand::ScaleCommand | ( | float | scale, |
Vector3 | origin, | ||
MemoryResource * | memRes = nullptr |
||
) |
References pImpl, and tdm::affine::scale().
|
default |
|
delete |
|
default |
|
delete |
|
default |
|
overridevirtual |
Implements dnac::Command.
References pImpl.
void dnac::ScaleCommand::setOrigin | ( | Vector3 | origin | ) |
void dnac::ScaleCommand::setScale | ( | float | scale | ) |
Method for setting the scale factor to multiply with.
scale | Scale factor. |
References pImpl, and tdm::affine::scale().
Referenced by run(), ScaleCommand(), setOrigin(), and setScale().