|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.DataRenderer
visad.java2d.RendererJ2D
visad.java2d.DefaultRendererJ2D
visad.bom.BarbRendererJ2D
public class BarbRendererJ2D
BarbRendererJ2D is the VisAD class for rendering of wind barbs under Java2D - otherwise it behaves just like DefaultRendererJ2D
Field Summary |
---|
Fields inherited from class visad.DataRenderer |
---|
enabled, pickCrawlToCursor |
Constructor Summary | |
---|---|
BarbRendererJ2D()
this DataRenderer supports direct manipulation for RealTuple representations of wind barbs; four of the RealTuple's Real components must be mapped to XAxis, YAxis, Flow1X and Flow1Y |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
getKnotsConvert()
|
static void |
main(java.lang.String[] args)
run 'java visad.bom.BarbRendererJ2D middle_latitude' to test with Cartesian winds run 'java visad.bom.BarbRendererJ2D middle_latitude x' to test with polar winds adjust middle_latitude for south or north barbs |
ShadowType |
makeShadowFunctionType(FunctionType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowFunctionType; these factories are invoked by the buildShadowType methods of the MathType subclasses, which are invoked by DataDisplayLink.prepareData, which is invoked by DataRenderer.prepareAction |
ShadowType |
makeShadowRealTupleType(RealTupleType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowRealTupleType |
ShadowType |
makeShadowRealType(RealType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowRealType |
ShadowType |
makeShadowSetType(SetType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowSetType |
ShadowType |
makeShadowTupleType(TupleType type,
DataDisplayLink link,
ShadowType parent)
factory for constructing a subclass of ShadowType appropriate for the graphics API, that also adapts ShadowTupleType |
float[] |
makeVector(boolean south,
float x,
float y,
float z,
float scale,
float pt_size,
float f0,
float f1,
float[] vx,
float[] vy,
float[] vz,
int[] numv,
float[] tx,
float[] ty,
float[] tz,
int[] numt)
dummy for BarbRenderer |
void |
setKnotsConvert(boolean enable)
|
Methods inherited from class visad.java2d.DefaultRendererJ2D |
---|
doTransform, getLink, setLinks |
Methods inherited from class visad.java2d.RendererJ2D |
---|
clearBranch, clearScene, doAction, makeShadowTextType, toggle |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BarbRendererJ2D()
Method Detail |
---|
public ShadowType makeShadowFunctionType(FunctionType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowFunctionType
in class RendererJ2D
VisADException
java.rmi.RemoteException
public ShadowType makeShadowRealTupleType(RealTupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowRealTupleType
in class RendererJ2D
VisADException
java.rmi.RemoteException
public ShadowType makeShadowRealType(RealType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowRealType
in class RendererJ2D
VisADException
java.rmi.RemoteException
public ShadowType makeShadowSetType(SetType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowSetType
in class RendererJ2D
VisADException
java.rmi.RemoteException
public ShadowType makeShadowTupleType(TupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowTupleType
in class RendererJ2D
VisADException
java.rmi.RemoteException
public float[] makeVector(boolean south, float x, float y, float z, float scale, float pt_size, float f0, float f1, float[] vx, float[] vy, float[] vz, int[] numv, float[] tx, float[] ty, float[] tz, int[] numt)
makeVector
in interface BarbRenderer
public void setKnotsConvert(boolean enable)
setKnotsConvert
in interface BarbRenderer
public boolean getKnotsConvert()
getKnotsConvert
in interface BarbRenderer
public java.lang.Object clone()
clone
in class DefaultRendererJ2D
public static void main(java.lang.String[] args) throws VisADException, java.rmi.RemoteException
VisADException
java.rmi.RemoteException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |