QUndoCommand that performs addition of a canvas to entity::UserScene.
More...
#include <AddEntityCommand.h>
|
| | AddCanvasCommand (entity::UserScene *scene, const osg::Matrix &R, const osg::Matrix &T, const std::string &name, QUndoCommand *parent=0) |
| |
| | AddCanvasCommand (entity::UserScene *scene, const entity::Canvas ©, QUndoCommand *parent=0) |
| |
| | AddCanvasCommand (entity::UserScene *scene, const osg::Vec3f &normal, const osg::Vec3f ¢er, const std::string &name, QUndoCommand *parent=0) |
| |
|
void | undo () Q_DECL_OVERRIDE |
| |
|
void | redo () Q_DECL_OVERRIDE |
| |
QUndoCommand that performs addition of a canvas to entity::UserScene.
§ AddCanvasCommand() [1/3]
| fur::AddCanvasCommand::AddCanvasCommand |
( |
entity::UserScene * |
scene, |
|
|
const osg::Matrix & |
R, |
|
|
const osg::Matrix & |
T, |
|
|
const std::string & |
name, |
|
|
QUndoCommand * |
parent = 0 |
|
) |
| |
- Parameters
-
| scene | is the scene graph to add to, |
| R | is the rotation matrix of the canvas, |
| T | is translation matrix of the canvas, |
| name | is the Canvas name, |
| parent | is normally 0. |
§ AddCanvasCommand() [2/3]
- Parameters
-
| scene | is the scene graph to add to, |
| copy | is Canvas to copy from, |
| parent | is normally 0. |
§ AddCanvasCommand() [3/3]
| fur::AddCanvasCommand::AddCanvasCommand |
( |
entity::UserScene * |
scene, |
|
|
const osg::Vec3f & |
normal, |
|
|
const osg::Vec3f & |
center, |
|
|
const std::string & |
name, |
|
|
QUndoCommand * |
parent = 0 |
|
) |
| |
- Parameters
-
| scene | is the scene graph to add to, |
| normal | is a 3D normal of the canvas to create, |
| center | is the 3D center point of canvas to create, |
| name | is the canvas name, |
| parent | is normally 0. |
The documentation for this class was generated from the following files: