|
|
A operation to deselect a object. More...
#include <MemoryX/gui-plugins/SceneEditor/controller/DeselectOperation.h>
Inheritance diagram for DeselectOperation:Public Member Functions | |
| const OperationPtr | createInverseOperation () const override |
| Returns a new operation, which selects the object again. | |
| DeselectOperation (const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId) | |
| Creates a new operation, which deselects a object. | |
Public Member Functions inherited from Operation | |
| std::string | getObjectId () const |
| Returns the ID of the object, this Operation is working on. | |
| virtual bool | isExecuteable () |
| Return wehether the operation can be executed currently. | |
| 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. | |
Protected Member Functions | |
| void | executeOnScene () override |
| Deselects the object. | |
| void | executeOnWorkingMemory () override |
| Because the WorkingMemory does not support selection, nothing is done on the WorkingMemory. | |
Protected Member Functions inherited from Operation | |
| const std::shared_ptr< memoryxcontroller::MemoryXController > | getMemoryXController () const |
| Returns the the MemoryXController to execute the Operation at. | |
| const std::shared_ptr< scene3D::Scene > | getScene () const |
| Returns the the Scene to execute the Operation at. | |
| void | setObjectId (const std::string &objectId) |
| Sets the ID, this operation is working on. | |
A operation to deselect a object.
Definition at line 41 of file DeselectOperation.h.
| DeselectOperation | ( | const std::shared_ptr< memoryxcontroller::MemoryXController > & | memoryXController, |
| const std::shared_ptr< scene3D::Scene > & | scene, | ||
| const std::string & | objectId ) |
Creates a new operation, which deselects a object.
| memoryXController | The MemoryXController to deselect the object at. (This is currently not used.) |
| scene | The scene to deselect the object at. |
| objectId | The ID of the object to deselect. |
Definition at line 33 of file DeselectOperation.cpp.
Here is the call graph for this function:
|
overridevirtual |
Returns a new operation, which selects the object again.
Implements Operation.
Definition at line 42 of file DeselectOperation.cpp.
Here is the call graph for this function:
|
overrideprotectedvirtual |
Deselects the object.
Implements Operation.
Definition at line 65 of file DeselectOperation.cpp.
Here is the call graph for this function:
|
overrideprotectedvirtual |
Because the WorkingMemory does not support selection, nothing is done on the WorkingMemory.
Implements Operation.
Definition at line 59 of file DeselectOperation.cpp.