1#line 1 "D:/Jenkins/workspace/EMS/ECG/ufe/full/ufe-full-python3.13-windows/ufe/include/selectionUndoableCommands.h"
2#ifndef UFE_SELECTIONUNDOABLECOMMANDS_H
3#define UFE_SELECTIONUNDOABLECOMMANDS_H
Identify an object or 3D path in the scene.
std::shared_ptr< SceneItem > Ptr
Append an item to the argument selection.
void redo() override
Redo the append.
void undo() override
Undo the append (i.e. remove).
std::string commandString() const override
Get a user friendly string representation of the command.
const GlobalSelection::Ptr fSn
SelectionAppendItem(const GlobalSelection::Ptr &sn, const SceneItem::Ptr &item)
Constructor.
static Ptr createAndExecute(const GlobalSelection::Ptr &sn, const SceneItem::Ptr &item)
Clear the argument selection.
const std::list< Path > fPaths
std::string commandString() const override
Get a user friendly string representation of the command.
void undo() override
Undo the clear.
static Ptr createAndExecute(const GlobalSelection::Ptr &sn)
SelectionClear(const GlobalSelection::Ptr &sn)
Constructor.
void redo() override
Redo the clear.
const GlobalSelection::Ptr fSn
Selection list for objects in the scene.
Remove an item from the argument selection.
void undo() override
Undo the remove (i.e. append).
static Ptr createAndExecute(const GlobalSelection::Ptr &sn, const SceneItem::Ptr &item)
std::string commandString() const override
Get a user friendly string representation of the command.
SelectionRemoveItem(const GlobalSelection::Ptr &sn, const SceneItem::Ptr &item)
Constructor.
const GlobalSelection::Ptr fSn
void redo() override
Redo the remove.
Replace the argument selection.
void undo() override
Undo the replace.
const GlobalSelection::Ptr fSn
std::string commandString() const override
Get a user friendly string representation of the command.
static Ptr createAndExecute(const GlobalSelection::Ptr &sn, const Selection &replacementSn)
const std::list< Path > fSnPaths
const std::list< Path > fReplacementSnPaths
void redo() override
Redo the replace.
SelectionReplaceWith(const GlobalSelection::Ptr &sn, const Selection &replacementSn)
Constructor.
Abstract base class for undoable commands.
std::shared_ptr< UndoableCommand > Ptr
std::shared_ptr< ObservableSelection > Ptr
std::string string(const Path &path)