A operation to rotate and translate a object.
More...
#include <MemoryX/gui-plugins/SceneEditor/controller/RotateTranslateOperation.h>
|
| const OperationPtr | createInverseOperation () const override |
| | Returns a new operation, which reverts the rotation and translatioon of the object.
|
| |
| bool | isExecuteable () override |
| | Returns true, if the SceneObject is mutable.
|
| |
| | RotateTranslateOperation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId, const SbRotation &oldRotation, const SbRotation &newRotation, const SbVec3f &oldPosition, const SbVec3f &newPosition) |
| | Creates a new operation, which rotates and translates a object.
|
| |
| std::string | getObjectId () const |
| | Returns the ID of the object, this Operation is working on.
|
| |
| | Operation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene) |
| | A constructor.
|
| |
| | Operation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId) |
| | A constructor.
|
| |
A operation to rotate and translate a object.
- See also
- controller::Operation
◆ RotateTranslateOperation()
Creates a new operation, which rotates and translates a object.
- Parameters
-
| memoryXController | The MemoryXController to rotate and translate the object on. |
| scene | The scene to rotate and translate the object on. |
| objectId | The object to rotate and translate. |
| oldRotation | The old rotation of the object. |
| newRotation | The new rotation of the object. |
| oldPosition | The old position of the object. |
| newPosition | The new position of the object. |
- See also
- controller::Operation::Operation
◆ createInverseOperation()
◆ executeOnScene()
◆ executeOnWorkingMemory()
| void executeOnWorkingMemory |
( |
| ) |
|
|
overrideprotectedvirtual |
◆ isExecuteable()
Returns true, if the SceneObject is mutable.
- Returns
- true, if the SceneObject is mutable; false otherwise.
Reimplemented from Operation.
The documentation for this class was generated from the following files: