public interface IMeshVizCanvas extends IVizCanvas
Modifier and Type | Method and Description |
---|---|
boolean |
AxisAreVisible()
Checks whether the axis are visible
|
void |
deleteSelection()
Delete all selected objects.
|
boolean |
HUDIsVisible()
Checks whether the HUD is currently visible.
|
void |
setEditMode(boolean edit)
Set the canvas's mode of user interaction between creating new objects
and editing those already present.
|
void |
setSelection(java.lang.Object[] selection)
Set the canvas's selection to be the set of objects in the input.
|
void |
setVisibleAxis(boolean on)
Set the canvas's display of the axis.
|
void |
setVisibleHUD(boolean on)
Set the canvas's display of relevant coordinates on or off.
|
draw, getDataSource, getNumberOfAxes, getProperties, getRenderElementHolder, getSourceHost, isSourceRemote, redraw, setProperties
void setEditMode(boolean edit)
edit
- Whether the canvas should be set to edit mode. If false, the
canvas will register clicks as commands to create new vertices
and combine them into polygons. If true, the canvas will allow
the user to select pre-existing vertices/edges/polygons by
clicking on them.void setVisibleHUD(boolean on)
on
- Whether or not to render the heads up display. If true, the
canvas will display the coordinates for the locations of the
mouse pointer and center of the camera's view. If false, it
will not display them.boolean HUDIsVisible()
void setVisibleAxis(boolean on)
on
- Whether or not the canvas will render the x, y, and z axis.boolean AxisAreVisible()
void deleteSelection()
void setSelection(java.lang.Object[] selection)
selection
- The set of objects which should comprise the canvas's new
selection