Workspace 6.21.5
Public Member Functions | Static Public Member Functions | List of all members
ManipulatorInteractionsFactory Class Reference

#include <Rendering/SceneComponents/Interaction/manipulatorinteractionsfactory.h>

Public Member Functions

virtual QueuedInteractionmanipulationComplete (TransformManipulator &manipulator, QUndoStack &undoStack, DataExecution::Workspace &rootWorkspace, const QString &sceneIdPath) const
 
virtual QueuedInteractionmanipulatorActivated (TransformManipulator *manipulator, const Mesh::Vector3d &dragStartNear, const Mesh::Vector3d &dragStartFar, const Mesh::Vector3d &dragEndNear, const Mesh::Vector3d &dragEndFar) const
 

Static Public Member Functions

static ManipulatorInteractionsFactorygetInstance ()
 

Member Function Documentation

◆ getInstance()

ManipulatorInteractionsFactory & getInstance ( )
static
Returns

◆ manipulationComplete()

QueuedInteraction * manipulationComplete ( TransformManipulator manipulator,
QUndoStack &  undoStack,
DataExecution::Workspace rootWorkspace,
const QString &  sceneIdPath 
) const
virtual

◆ manipulatorActivated()

QueuedInteraction * manipulatorActivated ( TransformManipulator manipulator,
const Mesh::Vector3d dragStartNear,
const Mesh::Vector3d dragStartFar,
const Mesh::Vector3d dragEndNear,
const Mesh::Vector3d dragEndFar 
) const
virtual
Parameters
manipulatorThe manipulator object being used
dragStartNearThe starting mouse position in world coords (near plane)
dragStartFarThe starting mouse position in world coords (far plane)
dragEndNearThe end mouse position in world coords (near plane)
dragEndFarThe end mouse position in world coords (far plane)
Returns
An interaction object which can be applied safely when a Scene / Camera are ready to be used.