public abstract class MouseConstrained
extends java.lang.Object
Constructor and Description |
---|
MouseConstrained(Matrix44 localToPixel)
Constructs a constrained mouse.
|
Modifier and Type | Method and Description |
---|---|
protected Segment |
getMouseSegment(java.awt.event.MouseEvent event)
Gets a line segment in local coordinates for the specified event.
|
abstract Point3 |
getPoint(java.awt.event.MouseEvent event)
Gets the point in local coordinates corresponding to the specified event.
|
public MouseConstrained(Matrix44 localToPixel)
localToPixel
- the transform from local to pixel coordinates.public abstract Point3 getPoint(java.awt.event.MouseEvent event)
event
- the mouse event.protected Segment getMouseSegment(java.awt.event.MouseEvent event)
event
- the mouse event.