Workspace 6.21.5
|
A SceneInteraction that removes a scene item from the scene. More...
#include <Rendering/SceneInteraction/removesceneitem.h>
Public Member Functions | |
RemoveSceneItem (const QString &idPath, const SceneItemType &type, const SceneInteractionWidgetItem &treeItem) | |
void | execute (DataExecution::Workspace &rootWorkspace, SceneInteractionWidget &widget) override |
bool | isSame (const SceneInteraction &otherInteraction) const override |
bool | operator== (const RemoveSceneItem &otherInteraction) const |
Public Member Functions inherited from SceneInteraction | |
virtual | ~SceneInteraction ()=default |
virtual void | execute (DataExecution::Workspace &rootWorkspace, SceneInteractionWidget &widget)=0 |
Performs the changes to the workspace hierarchy associated with the interaction. | |
virtual bool | isSame (const SceneInteraction &otherInteraction) const =0 |
bool | operator== (const SceneInteraction &otherInteraction) const |
RemoveSceneItem | ( | const QString & | idPath, |
const SceneItemType & | type, | ||
const SceneInteractionWidgetItem & | treeItem | ||
) |
idPath | The workspace id path of the operation we want to remove. |
type | The type of scene item to remove. |
treeItem | The scene item widget to remove. |
|
overridevirtual |
rootWorkspace | The root of the workspace hierarchy. |
widget | The widget to which this scene item will be attached. |
Implements SceneInteraction.
|
overridevirtual |
Implements SceneInteraction.
bool operator== | ( | const RemoveSceneItem & | otherInteraction | ) | const |