JavaView© v3.95.000

jv.project
Interface PvPickListenerIf

All Known Implementing Classes:
MathPickListener, PjProject, PnCellOperator, PwGeodesic, PwMarkWithSphere, PwSingleIntegralLine, PwUnfold

public interface PvPickListenerIf

Interface for a listener to receive pick events from display.

See Also:
PvPickEvent, PjProject, PvDisplay

Method Summary
 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)
          Currently not supported by display.
 void unmarkVertices(PvPickEvent pos)
          Unmark a set of vertices of a geometry within a given bounding box.
 

Method Detail

getName

public java.lang.String getName()
The name of a listeners allows the display to issue verbal debug messages.


selectGeometry

public void selectGeometry(PgGeometryIf geom)
Currently not supported by display.


pickDisplay

public void pickDisplay(PvPickEvent pos)
Get a location in the display with 2d display and 3d world coordinates. Point may be independent of any geometry.

Parameters:
pos - Pick event issued by the display
See Also:
PvPickListenerIf

dragDisplay

public void dragDisplay(PvPickEvent pos)
Drag a location in the display with 2d display and 3d world coordinates. Point may be independent of any geometry.

Parameters:
pos - Pick event issued by the display
See Also:
PvPickListenerIf

pickInitial

public void pickInitial(PvPickEvent pos)
Pick an arbitrary point on a geometry, point may lie inside an element.

Parameters:
pos - Pick event issued by the display
See Also:
PvPickListenerIf

dragInitial

public void dragInitial(PvPickEvent pos)
Drag an arbitrary point along a geometry, point may lie inside an element.

Parameters:
pos - Pick event issued by the display
See Also:
PvPickListenerIf

pickVertex

public void pickVertex(PgGeometryIf geom,
                       int index,
                       PdVector vertex)
Get a picked vertex of a geometry.

Parameters:
geom - Picked geometry on which vertex lies
index - Index of vertex in vertex array of geometry
vertex - 3d coordinates of vertex position
See Also:
PvPickListenerIf

dragVertex

public void dragVertex(PgGeometryIf geom,
                       int index,
                       PdVector vertex)
Drag a picked vertex of a geometry.

Parameters:
geom - Picked geometry on which vertex lies
index - Index of vertex in vertex array of geometry
vertex - 3d coordinates of vertex position

markVertices

public void markVertices(PvPickEvent pos)
Mark a set of vertices of a geometry within a given bounding box.

Parameters:
pos - contains two points on the bounding box.

unmarkVertices

public void unmarkVertices(PvPickEvent pos)
Unmark a set of vertices of a geometry within a given bounding box.

Parameters:
pos - contains two points on the bounding box.

JavaView© v3.95.000

The software JavaView© is copyright protected. All Rights Reserved.