Abstract class for undoable scale command.
More...
#include <transform3dUndoableCommands.h>
Abstract class for undoable scale command.
Definition at line 85 of file transform3dUndoableCommands.h.
◆ Ptr
◆ ScaleUndoableCommand() [1/2]
Ufe::ScaleUndoableCommand::ScaleUndoableCommand |
( |
const SceneItem::Ptr & |
item | ) |
|
◆ ScaleUndoableCommand() [2/2]
Default copy constructor.
◆ ~ScaleUndoableCommand()
virtual Ufe::ScaleUndoableCommand::~ScaleUndoableCommand |
( |
| ) |
|
|
virtual |
◆ scale()
virtual bool Ufe::ScaleUndoableCommand::scale |
( |
double |
x, |
|
|
double |
y, |
|
|
double |
z |
|
) |
| |
|
pure virtual |
Scale the object by the given x, y, z values. The semantics of the scale, 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 scale on the X-axis. ! |
y | value to scale on the Y-axis. ! |
z | value to scale on the Z-axis. |
The documentation for this class was generated from the following file: