public class InteractiveTF1D extends HistogramDrawing implements usf.saav.common.mvc.ControllerComponent, usf.saav.common.mvc.ViewComponent, TransferFunction1D
usf.saav.common.mvc.ControllerComponent.Default, usf.saav.common.mvc.ControllerComponent.Subcontrollerusf.saav.common.mvc.ViewComponent.Default, usf.saav.common.mvc.ViewComponent.SubviewTransferFunction1D.Default| Constructor and Description |
|---|
InteractiveTF1D()
Instantiates a new interactive TF 1 D.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(usf.saav.common.mvc.swing.TGraphics g) |
void |
drawLegend(usf.saav.common.mvc.swing.TGraphics g) |
usf.saav.common.types.Float4 |
get(int idx) |
float |
getOffset() |
float |
getScale() |
boolean |
keyPressed(char key) |
boolean |
mouseDoubleClick(int mouseX,
int mouseY) |
boolean |
mouseDragged(int mouseX,
int mouseY) |
boolean |
mouseMoved(int mouseX,
int mouseY) |
boolean |
mousePressed(int mouseX,
int mouseY) |
boolean |
mouseReleased() |
boolean |
mouseWheel(int mouseX,
int mouseY,
float count) |
int |
size() |
void |
update() |
setData, setData, setData, setData, setLinearScale, setLogScalegetHeight, getPosition, getU0, getV0, getWidth, inRange, setPosition, setPositiondisable, enable, isEnabled, setEnabled, setupequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic int size()
size in interface TransferFunction1Dpublic usf.saav.common.types.Float4 get(int idx)
get in interface TransferFunction1Dpublic float getOffset()
getOffset in interface TransferFunction1Dpublic float getScale()
getScale in interface TransferFunction1Dpublic void update()
update in interface usf.saav.common.mvc.BasicComponentupdate in class usf.saav.common.mvc.BasicComponent.Defaultpublic void draw(usf.saav.common.mvc.swing.TGraphics g)
draw in interface usf.saav.common.mvc.ViewComponentdraw in class HistogramDrawingpublic void drawLegend(usf.saav.common.mvc.swing.TGraphics g)
drawLegend in interface usf.saav.common.mvc.ViewComponentdrawLegend in class usf.saav.common.mvc.ViewComponent.Defaultpublic boolean mouseDragged(int mouseX,
int mouseY)
mouseDragged in interface usf.saav.common.mvc.ControllerComponentpublic boolean mousePressed(int mouseX,
int mouseY)
mousePressed in interface usf.saav.common.mvc.ControllerComponentpublic boolean mouseDoubleClick(int mouseX,
int mouseY)
mouseDoubleClick in interface usf.saav.common.mvc.ControllerComponentpublic boolean mouseReleased()
mouseReleased in interface usf.saav.common.mvc.ControllerComponentpublic boolean keyPressed(char key)
keyPressed in interface usf.saav.common.mvc.ControllerComponentpublic boolean mouseMoved(int mouseX,
int mouseY)
mouseMoved in interface usf.saav.common.mvc.ControllerComponentpublic boolean mouseWheel(int mouseX,
int mouseY,
float count)
mouseWheel in interface usf.saav.common.mvc.ControllerComponent