34 Operation(memoryXController, scene, objectId),
44 std::shared_ptr <controller::Operation> inverseOperation(
new controller::EmptyOperation(getMemoryXController(), getScene(), getObjectId()));
45 return inverseOperation;
49 std::shared_ptr<controller::Operation> inverseOperation(
new controller::AddToGroupOperation(getMemoryXController(), getScene(), groupName, getObjectId()));
50 return inverseOperation;
61 std::shared_ptr<scene3D::Scene> scene = getScene();
67 throw std::logic_error(
"Group does not exist");
72 throw std::logic_error(
"Object does not exist");
75 if (group->contains(sceneObject))
78 group->removeObject(sceneObject);