Class QTranslateMouseOwner

java.lang.Object
java.awt.event.MouseAdapter
com.j3d.engine.interact.input.mouse.MouseOwner
com.j3d.engine.interact.cmd.commands.transform.qtrans.QTranslateMouseOwner
All Implemented Interfaces:
EventEmitterInterface, MouseListener, MouseMotionListener, MouseWheelListener, EventListener

public class QTranslateMouseOwner extends MouseOwner
A MouseOwner responsible for handling "quick translate" functionality. This class allows for displacing a group of selected GPoints by a mouse movement delta, projecting the 2D mouse movement onto a 3D plane for intuitive translation.

It calculates the center of the selected points, establishes a projection plane based on the camera's view, and translates the points in 3D space according to the mouse's 2D movement.

Author:
Lehlogonolo Poole
See Also: