|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvisad.DataRenderer
visad.java3d.RendererJ3D
visad.java3d.DirectManipulationRendererJ3D
visad.bom.BarbManipulationRendererJ3D
public class BarbManipulationRendererJ3D
BarbManipulationRendererJ3D is the VisAD class for direct manipulation rendering of wind barbs under Java3D
Field Summary |
---|
Fields inherited from class visad.DataRenderer |
---|
enabled, pickCrawlToCursor |
Constructor Summary | |
---|---|
BarbManipulationRendererJ3D()
this DataRenderer supports direct manipulation for Tuple representations of wind barbs; two of the Tuple's Real components must be mapped to Flow1X and Flow1Y, or Flow2X and Flow2Y |
Method Summary | |
---|---|
void |
addPoint(float[] x)
|
float |
checkClose(double[] origin,
double[] direction)
find minimum distance from ray to barb tail |
void |
checkDirect()
set isDirectManipulation = true if this DataRenderer supports direct manipulation for its linked Data |
java.lang.Object |
clone()
|
void |
drag_direct(VisADRay ray,
boolean first,
int mouseModifiers)
|
boolean |
getKnotsConvert()
|
java.lang.String |
getWhyNotDirect()
|
static void |
main(java.lang.String[] args)
test BarbManipulationRendererJ3D |
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)
|
void |
release_direct()
mouse button released, ending direct manipulation |
void |
setKnotsConvert(boolean enable)
|
void |
setSpatialValues(float[][] spatial_values)
set spatialValues from ShadowType.doTransform |
void |
setVectorSpatialValues(float[] mbarb,
int which)
|
void |
stop_direct()
discontinue dragging this DataRenderer; this method is not a general disable |
Methods inherited from class visad.java3d.DirectManipulationRendererJ3D |
---|
doTransform, isLegalTextureMap, setBranch, setLinks |
Methods inherited from class visad.java3d.RendererJ3D |
---|
clearBranch, clearScene, doAction, flush, getBranch, makeShadowTextType, setBranchEarly, toggle |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BarbManipulationRendererJ3D()
Method Detail |
---|
public ShadowType makeShadowFunctionType(FunctionType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowFunctionType
in class RendererJ3D
VisADException
java.rmi.RemoteException
public ShadowType makeShadowRealTupleType(RealTupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowRealTupleType
in class RendererJ3D
VisADException
java.rmi.RemoteException
public ShadowType makeShadowRealType(RealType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowRealType
in class RendererJ3D
VisADException
java.rmi.RemoteException
public ShadowType makeShadowSetType(SetType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowSetType
in class RendererJ3D
VisADException
java.rmi.RemoteException
public ShadowType makeShadowTupleType(TupleType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
DataRenderer
makeShadowTupleType
in class RendererJ3D
VisADException
java.rmi.RemoteException
public void setKnotsConvert(boolean enable)
setKnotsConvert
in interface BarbRenderer
public boolean getKnotsConvert()
getKnotsConvert
in interface BarbRenderer
public java.lang.String getWhyNotDirect()
getWhyNotDirect
in class DataRenderer
public void checkDirect() throws VisADException, java.rmi.RemoteException
DataRenderer
checkDirect
in class DirectManipulationRendererJ3D
VisADException
java.rmi.RemoteException
public void addPoint(float[] x) throws VisADException
addPoint
in class DirectManipulationRendererJ3D
VisADException
public void setVectorSpatialValues(float[] mbarb, int which)
public void setSpatialValues(float[][] spatial_values)
setSpatialValues
in class DataRenderer
public float checkClose(double[] origin, double[] direction)
checkClose
in class DataRenderer
public void release_direct()
release_direct
in class DataRenderer
public void stop_direct()
DataRenderer
stop_direct
in class DataRenderer
public void drag_direct(VisADRay ray, boolean first, int mouseModifiers)
drag_direct
in class DataRenderer
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 java.lang.Object clone()
clone
in class DirectManipulationRendererJ3D
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 |