|
cherish
|
QUndoCommand that performs offset of a canvas. More...
#include <EditEntityCommand.h>
Public Member Functions | |
| EditCanvasOffsetCommand (entity::UserScene *scene, const osg::Vec3f &translate, QUndoCommand *parent=0) | |
| void | undo () Q_DECL_OVERRIDE |
| void | redo () Q_DECL_OVERRIDE |
Protected Attributes | |
| osg::observer_ptr< entity::UserScene > | m_scene |
| osg::observer_ptr< entity::Canvas > | m_canvas |
| osg::Vec3f | m_translate |
QUndoCommand that performs offset of a canvas.
| fur::EditCanvasOffsetCommand::EditCanvasOffsetCommand | ( | entity::UserScene * | scene, |
| const osg::Vec3f & | translate, | ||
| QUndoCommand * | parent = 0 |
||
| ) |
| scene | is the scene graph to edit, |
| translate | is 3D translation vector, |
| parent | is normally 0. |
1.8.12