public interface PvPickListenerIf
PvPickEvent
,
PjProject
,
PvDisplay
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.
|
java.lang.String |
getName()
The name of a listeners allows the display to issue verbal debug messages.
|
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)
Inform pick listener when selected geometry is changing.
|
void |
unmarkVertices(PvPickEvent pos)
Unmark a set of vertices of a geometry within a given bounding box.
|
java.lang.String getName()
void selectGeometry(PgGeometryIf geom)
geom
- Now selected geometry of display.void pickDisplay(PvPickEvent pos)
pos
- Pick event issued by the displayPvPickListenerIf
void dragDisplay(PvPickEvent pos)
pos
- Pick event issued by the displayPvPickListenerIf
void pickInitial(PvPickEvent pos)
pos
- Pick event issued by the displayPvPickListenerIf
void dragInitial(PvPickEvent pos)
pos
- Pick event issued by the displayPvPickListenerIf
void pickVertex(PgGeometryIf geom, int index, PdVector vertex)
geom
- Picked geometry on which vertex liesindex
- Index of vertex in vertex array of geometryvertex
- 3d coordinates of vertex positionPvPickListenerIf
void dragVertex(PgGeometryIf geom, int index, PdVector vertex)
geom
- Picked geometry on which vertex liesindex
- Index of vertex in vertex array of geometryvertex
- 3d coordinates of vertex positionvoid markVertices(PvPickEvent pos)
pos
- contains two points on the bounding box.void unmarkVertices(PvPickEvent pos)
pos
- contains two points on the bounding box."