Abstract class for undoable rotate command.
More...
#include <transform3dUndoableCommands.h>
Abstract class for undoable rotate command.
Definition at line 59 of file transform3dUndoableCommands.h.
◆ Ptr
◆ RotateUndoableCommand() [1/2]
Ufe::RotateUndoableCommand::RotateUndoableCommand |
( |
const SceneItem::Ptr & |
item | ) |
|
◆ RotateUndoableCommand() [2/2]
Default copy constructor.
◆ ~RotateUndoableCommand()
virtual Ufe::RotateUndoableCommand::~RotateUndoableCommand |
( |
| ) |
|
|
virtual |
◆ rotate()
virtual bool Ufe::RotateUndoableCommand::rotate |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
pure virtual |
Rotate the object by the given x, y, z values. The semantics of the rotation, whether absolute or relative, and the coordinate system in which it is done (object local, parent, world) is up to the rotator (Usually the DCC). !
- Parameters
-
x | value to rotate on the X-axis. ! |
y | value to rotate on the Y-axis. ! |
z | value to rotate on the Z-axis. |
The documentation for this class was generated from the following file: