public class MathPickListener extends MathListener implements PvPickListenerIf
PvPickEvent,
PvPickListenerIf| Constructor and Description |
|---|
MathPickListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
dragDisplay(PvPickEvent pos)
Drag a location in the display with 2d display and 3d world coordinates.
|
void |
dragInitial(PvPickEvent pos)
Drag an arbitrary point along a geometry, point may lie inside an element.
|
void |
dragVertex(PgGeometryIf geom,
int index,
PdVector vertex)
Drag a picked vertex of a geometry.
|
void |
markVertices(PvPickEvent pos)
Mark a set of vertices of a geometry within a given bounding box.
|
void |
pickDisplay(PvPickEvent pos)
Get a location in the display with 2d display and 3d world coordinates.
|
void |
pickInitial(PvPickEvent pos)
Pick an arbitrary point on a geometry, point may lie inside an element.
|
void |
pickVertex(PgGeometryIf geom,
int index,
PdVector vertex)
Get a picked vertex of a geometry.
|
void |
selectGeometry(PgGeometryIf geom)
Currently not supported by display.
|
void |
unmarkVertices(PvPickEvent pos)
Unmark a set of vertices of a geometry within a given bounding box.
|
getHandler, getName, setHandler, setNameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic void selectGeometry(PgGeometryIf geom)
selectGeometry in interface PvPickListenerIfgeom - Now selected geometry of display.public void pickDisplay(PvPickEvent pos)
pickDisplay in interface PvPickListenerIfpos - Pick event issued by the displayPvPickListenerIfpublic void dragDisplay(PvPickEvent pos)
dragDisplay in interface PvPickListenerIfpos - Pick event issued by the displayPvPickListenerIfpublic void pickInitial(PvPickEvent pos)
pickInitial in interface PvPickListenerIfpos - Pick event issued by the displayPvPickListenerIfpublic void dragInitial(PvPickEvent pos)
dragInitial in interface PvPickListenerIfpos - Pick event issued by the displayPvPickListenerIfpublic void pickVertex(PgGeometryIf geom, int index, PdVector vertex)
pickVertex in interface PvPickListenerIfgeom - Picked geometry on which vertex liesindex - Index of vertex in vertex array of geometryvertex - 3d coordinates of vertex positionPvPickListenerIfpublic void dragVertex(PgGeometryIf geom, int index, PdVector vertex)
dragVertex in interface PvPickListenerIfgeom - Picked geometry on which vertex liesindex - Index of vertex in vertex array of geometryvertex - 3d coordinates of vertex positionpublic void markVertices(PvPickEvent pos)
markVertices in interface PvPickListenerIfpos - Contains mark box.public void unmarkVertices(PvPickEvent pos)
unmarkVertices in interface PvPickListenerIfpos - Contains mark box."