|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.Control
visad.FlowControl
public abstract class FlowControl
FlowControl is the VisAD abstract super-class for controlling Flow display scalars.
Field Summary | |
---|---|
static int |
NH_ORIENTATION
Northern Hemisphere orientation for wind barbs |
static int |
SH_ORIENTATION
Southern Hemisphere orientation for wind barbs |
Constructor Summary | |
---|---|
FlowControl(DisplayImpl d)
|
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
enableStreamlines(boolean flag)
|
boolean |
equals(java.lang.Object o)
|
float |
getArrowScale()
|
int |
getBarbOrientation()
Get barb orientation for wind barbs |
float |
getFlowScale()
get scale length for flow vectors |
java.lang.String |
getSaveString()
get a string that can be used to reconstruct this control later |
float |
getStepFactor()
|
float |
getStreamlineDensity()
|
void |
setArrowScale(float arrowScale)
|
void |
setBarbOrientation(int orientation)
set barb orientation for wind barbs (default is southern hemisphere) |
void |
setFlowScale(float scale)
set scale length for flow vectors (default is 0.02f) |
void |
setSaveString(java.lang.String save)
reconstruct this control using the specified save string |
void |
setStepFactor(float stepFactor)
|
void |
setStreamlineDensity(float density)
|
boolean |
streamlinesEnabled()
|
void |
syncControl(Control rmt)
copy the state of a remote control to this control |
Methods inherited from class visad.Control |
---|
addControlListener, animation_string, changeControl, checkTicks, getDisplay, getDisplayRenderer, getInstanceNumber, incTick, nullControl, peekTicks, removeControlListener, resetTicks, setTicks, subCheckTicks, subPeekTicks, subResetTicks, subSetTicks, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int NH_ORIENTATION
public static final int SH_ORIENTATION
Constructor Detail |
---|
public FlowControl(DisplayImpl d)
Method Detail |
---|
public void setFlowScale(float scale) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public float getFlowScale()
public void setBarbOrientation(int orientation) throws VisADException, java.rmi.RemoteException
orientation
- wind barb orientation
(NH_ORIENTATION or SH_ORIENTATION);
VisADException
java.rmi.RemoteException
public int getBarbOrientation()
public void enableStreamlines(boolean flag) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public void setStreamlineDensity(float density) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public void setArrowScale(float arrowScale) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public void setStepFactor(float stepFactor) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
public boolean streamlinesEnabled()
public float getStreamlineDensity()
public float getArrowScale()
public float getStepFactor()
public java.lang.String getSaveString()
getSaveString
in class Control
public void setSaveString(java.lang.String save) throws VisADException, java.rmi.RemoteException
setSaveString
in class Control
VisADException
java.rmi.RemoteException
public void syncControl(Control rmt) throws VisADException
syncControl
in class Control
VisADException
public boolean equals(java.lang.Object o)
equals
in class Control
public java.lang.Object clone()
clone
in class Control
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |