public class ContourTreeDrawing
extends usf.saav.common.mvc.ViewComponent.Default
implements usf.saav.common.mvc.ViewComponent
Constructor and Description |
---|
ContourTreeDrawing(usf.saav.common.monitor.MonitoredInteger z)
Instantiates a new contour tree drawing.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(usf.saav.common.mvc.swing.TGraphics g) |
void |
drawLegend(usf.saav.common.mvc.swing.TGraphics g) |
java.util.Set<java.lang.Integer> |
getSelected()
Gets the selected.
|
void |
setCoordinateSystem(CoordinateSystem csc)
Sets the coordinate system.
|
void |
setField(ScalarFieldND sf,
PersistenceSet ct,
Mesh cl,
usf.saav.common.range.IntRange1D zr)
Sets the field.
|
void |
setRegion(usf.saav.common.range.IntRange1D[] sel)
Sets the region.
|
void |
setRegion(usf.saav.common.range.IntRange1D rx,
usf.saav.common.range.IntRange1D ry)
Sets the region.
|
void |
setSelected(java.util.Set<java.lang.Integer> sel)
Sets the selected.
|
getHeight, getPosition, getU0, getV0, getWidth, inRange, setPosition, setPosition
disable, enable, isEnabled, setEnabled, setup, update
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ContourTreeDrawing(usf.saav.common.monitor.MonitoredInteger z)
z
- the zpublic void setRegion(usf.saav.common.range.IntRange1D rx, usf.saav.common.range.IntRange1D ry)
rx
- the rxry
- the rypublic void setRegion(usf.saav.common.range.IntRange1D[] sel)
sel
- the new regionpublic void setField(ScalarFieldND sf, PersistenceSet ct, Mesh cl, usf.saav.common.range.IntRange1D zr)
sf
- the sfct
- the ctcl
- the clzr
- the zrpublic void setSelected(java.util.Set<java.lang.Integer> sel)
sel
- the new selectedpublic java.util.Set<java.lang.Integer> getSelected()
public void setCoordinateSystem(CoordinateSystem csc)
csc
- the new coordinate systempublic void draw(usf.saav.common.mvc.swing.TGraphics g)
draw
in interface usf.saav.common.mvc.ViewComponent
draw
in class usf.saav.common.mvc.ViewComponent.Default
public void drawLegend(usf.saav.common.mvc.swing.TGraphics g)
drawLegend
in interface usf.saav.common.mvc.ViewComponent
drawLegend
in class usf.saav.common.mvc.ViewComponent.Default