DNA Calib 1.1
Project brief
|
RotateCommand is used to rotate neutral joints and vertex positions around given origin. More...
#include <RotateCommand.h>
Classes | |
class | Impl |
Public Member Functions | |
DNACAPI | RotateCommand (MemoryResource *memRes=nullptr) |
DNACAPI | RotateCommand (Vector3 degrees, Vector3 origin, MemoryResource *memRes=nullptr) |
DNACAPI | ~RotateCommand () |
RotateCommand (const RotateCommand &)=delete | |
RotateCommand & | operator= (const RotateCommand &)=delete |
DNACAPI | RotateCommand (RotateCommand &&) |
DNACAPI RotateCommand & | operator= (RotateCommand &&) |
DNACAPI void | setRotation (Vector3 degrees) |
Method for setting the rotation angles. More... | |
DNACAPI void | setOrigin (Vector3 origin) |
Method for setting the rotation origin. More... | |
DNACAPI void | run (DNACalibDNAReader *output) override |
![]() | |
virtual | ~Command () |
virtual void | run (DNACalibDNAReader *output)=0 |
Private Attributes | |
ScopedPtr< Impl > | pImpl |
RotateCommand is used to rotate neutral joints and vertex positions around given origin.
|
explicit |
dnac::RotateCommand::RotateCommand | ( | Vector3 | degrees, |
Vector3 | origin, | ||
MemoryResource * | memRes = nullptr |
||
) |
References tdm::degrees(), and pImpl.
|
default |
|
delete |
|
default |
|
delete |
|
default |
|
overridevirtual |
Implements dnac::Command.
References pImpl.
void dnac::RotateCommand::setOrigin | ( | Vector3 | origin | ) |
void dnac::RotateCommand::setRotation | ( | Vector3 | degrees | ) |
Method for setting the rotation angles.
degrees | Rotation angles in degrees. |
References tdm::degrees(), and pImpl.
Referenced by RotateCommand(), run(), setOrigin(), and setRotation().