Workspace 6.21.5
|
#include <Rendering/SceneInteraction/sceneinteraction.h>
Public Member Functions | |
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 |
An abstract base class for interactions with the scene generated by the user interacting with the SceneInteractionWidget. These interactions may occur while the workspace is executing so one of these objects is created at the time the interaction occurs. Then at a later time when it's safe to make changes to the workspace hierarchy this interaction can be executed at which point it can perform the desired change.
|
virtualdefault |
|
pure virtual |
rootWorkspace | The root of the workspace hierarchy. |
widget | The scene interaction widget which this interaction originated from. |
Implemented in AddSceneItem, FocusOnSceneItem, RemoveSceneItem, and SceneItemLabelChanged.
|
pure virtual |
Implemented in AddSceneItem, FocusOnSceneItem, RemoveSceneItem, and SceneItemLabelChanged.
|
inline |