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