Workspace 6.21.5
|
A SceneInteraction that adds a new scene item to an existing transform.
#include <Rendering/SceneInteraction/addsceneitem.h>
Public Member Functions | |
AddSceneItem (const QString &parentIdPath, const SceneItemType &typeBeingAdded) | |
void | execute (DataExecution::Workspace &rootWorkspace, SceneInteractionWidget &widget) override |
bool | isSame (const SceneInteraction &otherInteraction) const override |
bool | operator== (const AddSceneItem &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 |
AddSceneItem | ( | const QString & | parentIdPath, |
const SceneItemType & | typeBeingAdded | ||
) |
parentIdPath | The parent operation this new scene item should be added under. |
typeBeingAdded | The SceneItemType we want to add. |
|
overridevirtual |
rootWorkspace | The root of the workspace hierarchy. |
widget | The scene interaction widget to which this item will be attached. |
Implements SceneInteraction.
|
overridevirtual |
Implements SceneInteraction.
bool operator== | ( | const AddSceneItem & | otherInteraction | ) | const |