Go to the documentation of this file.
31 #include "../scene3D/Scene.h"
53 SelectOperation(
const std::shared_ptr<memoryxcontroller::MemoryXController>& memoryXController,
const std::shared_ptr<scene3D::Scene>& scene,
const std::string& objectId);
SelectOperation(const std::shared_ptr< memoryxcontroller::MemoryXController > &memoryXController, const std::shared_ptr< scene3D::Scene > &scene, const std::string &objectId)
Creates a new operation, which selects a object.
void executeOnWorkingMemory() override
Because the WorkingMemory does not support selection, nothing is done on the WorkingMemory.
const OperationPtr createInverseOperation() const override
Returns a new operation, which deselects the object again.
A operation to select a object.
void executeOnScene() override
Selects the object.
std::shared_ptr< Operation > OperationPtr
An abstract class, which offers methods to run operations on the WorkingMemory and the Scene.