34 Operation(memoryXController, scene, objectId),
43 std::shared_ptr <controller::Operation> inverseOperation(
new controller::EmptyOperation(getMemoryXController(), getScene(), getObjectId()));
44 return inverseOperation;
48 std::shared_ptr <controller::Operation> inverseOperation(
new controller::SelectOperation(getMemoryXController(), getScene(), getObjectId()));
49 return inverseOperation;
60 std::shared_ptr<scene3D::Scene> scene = getScene();
65 throw std::logic_error(
"Object does not exist");
68 if (scene->getSelectionManager()->isSelected(
object))
71 scene->getSelectionManager()->removeFromSelection(
object);