visad.java2d
Class ShadowFunctionOrSetTypeJ2D
- java.lang.Object
-
- visad.ShadowType
-
- visad.java2d.ShadowTypeJ2D
-
- visad.java2d.ShadowFunctionOrSetTypeJ2D
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ShadowFunctionTypeJ2D, ShadowSetTypeJ2D
public class ShadowFunctionOrSetTypeJ2D extends ShadowTypeJ2D
The ShadowFunctionOrSetTypeJ2D is an abstract parent for ShadowFunctionTypeJ2D and ShadowSetTypeJ2D.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class visad.ShadowType
byReference, LEGAL, METERS_PER_DEGREE, NESTED, NOTHING_MAPPED, PROP_CONTOURFILL_SINGLE_VALUE_AS_TEXTURE, PROP_IMAGE_BY_REF, SIMPLE_ANIMATE_FIELD, SIMPLE_FIELD, SIMPLE_TUPLE, trajectory1, trajectory2, yUp
-
-
Constructor Summary
Constructors Constructor and Description ShadowFunctionOrSetTypeJ2D(MathType t, DataDisplayLink link, ShadowType parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddSwitch(java.lang.Object group, java.lang.Object swit, Control control, Set domain_set, DataRenderer renderer)voidaddToGroup(java.lang.Object group, java.lang.Object branch)voidaddToSwitch(java.lang.Object swit, java.lang.Object branch)booleandoTransform(VisADGroup group, Data data, float[] value_array, float[] default_values, DataRenderer renderer)transform data into a VisADSceneGraphObject; add generated scene graph components as children of group; value_array are inherited valueArray values; default_values are defaults for each display.DisplayRealTypeVector; return true if need post-processShadowRealTupleTypeJ2DgetDomain()ShadowTypeJ2DgetRange()java.util.VectorgetTextMaps(int i, int[] textIndices)java.lang.ObjectmakeBranch()java.lang.ObjectmakeSwitch()voidpostProcess(VisADGroup group)render accumulated Vector of value_array-s to and add to group; then clear AccumulationVectorvoidpreProcess()clear AccumulationVectorbooleanrecurseRange(java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer)voidsetTexCoords(float[] texCoords, float ratiow, float ratioh)voidtextureToGroup(java.lang.Object group, VisADGeometryArray array, java.awt.image.BufferedImage image, GraphicsModeControl mode, float constant_alpha, float[] constant_color, int texture_width, int texture_height)booleanwantIndexed()-
Methods inherited from class visad.java2d.ShadowTypeJ2D
addLabelsToGroup, addToGroup, allowCurvedTexture, assembleColor, assembleFlow, assembleSelect, assembleShape, assembleSpatial, checkIndices, getAdaptedParent, getAdaptedShadowType, getComponents, getData, getDisplay, getDisplayIndices, getLevelOfDifficulty, getMappedDisplayScalar, getMultipleDisplayScalar, getParentText, getParentTextControl, getType, getValueIndices, makeContour, makeFlow, makePointGeometry, makeStreamline, makeText, mapValues, mapValues, mapValues, setText, terminalTupleOrScalar, toString
-
Methods inherited from class visad.ShadowType
addTextToGroup, addToDetachableGroup, adjustFlowToEarth, adjustFlowToEarth, adjustFlowToEarth, adjustZ, allowConstantColorSurfaces, allowLinearContour, byteToFloat, floatToByte, getAdjustProjectionSeam, getAnyContour, getAnyFlow, getAnyShape, getAnyText, getComponentIndex, getComponentWithRef, getCurvedTexture, getDefaultColorIndex, getFlowInfo, getIsLinearContour3D, getIsTerminal, getIsTexture3D, getIsTextureMap, getLink, getMultipleSpatialDisplayScalar, getRefToComponent, makePointGeometry, makeSpatialSet, makeTrajColor, makeTrajFlow, recurseComponent, setTex3DCoords, setTexStackCoords, terminalTupleOrScalar, texture3DToGroup, textureDepth, textureHeight, textureStackToGroup, textureWidth
-
-
-
-
Constructor Detail
-
ShadowFunctionOrSetTypeJ2D
public ShadowFunctionOrSetTypeJ2D(MathType t, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
Method Detail
-
getDomain
public ShadowRealTupleTypeJ2D getDomain()
-
getRange
public ShadowTypeJ2D getRange()
-
preProcess
public void preProcess() throws VisADExceptionclear AccumulationVector- Throws:
VisADException
-
doTransform
public boolean doTransform(VisADGroup group, Data data, float[] value_array, float[] default_values, DataRenderer renderer) throws VisADException, java.rmi.RemoteException
transform data into a VisADSceneGraphObject; add generated scene graph components as children of group; value_array are inherited valueArray values; default_values are defaults for each display.DisplayRealTypeVector; return true if need post-process- Throws:
VisADExceptionjava.rmi.RemoteException
-
setTexCoords
public void setTexCoords(float[] texCoords, float ratiow, float ratioh)- Overrides:
setTexCoordsin classShadowType
-
getTextMaps
public java.util.Vector getTextMaps(int i, int[] textIndices)- Overrides:
getTextMapsin classShadowType
-
textureToGroup
public void textureToGroup(java.lang.Object group, VisADGeometryArray array, java.awt.image.BufferedImage image, GraphicsModeControl mode, float constant_alpha, float[] constant_color, int texture_width, int texture_height) throws VisADException- Overrides:
textureToGroupin classShadowType- Throws:
VisADException
-
makeSwitch
public java.lang.Object makeSwitch()
- Overrides:
makeSwitchin classShadowType
-
makeBranch
public java.lang.Object makeBranch()
- Overrides:
makeBranchin classShadowType
-
addToGroup
public void addToGroup(java.lang.Object group, java.lang.Object branch) throws VisADException- Overrides:
addToGroupin classShadowType- Throws:
VisADException
-
addToSwitch
public void addToSwitch(java.lang.Object swit, java.lang.Object branch) throws VisADException- Overrides:
addToSwitchin classShadowType- Throws:
VisADException
-
addSwitch
public void addSwitch(java.lang.Object group, java.lang.Object swit, Control control, Set domain_set, DataRenderer renderer) throws VisADException- Overrides:
addSwitchin classShadowType- Throws:
VisADException
-
recurseRange
public boolean recurseRange(java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer) throws VisADException, java.rmi.RemoteException- Overrides:
recurseRangein classShadowType- Throws:
VisADExceptionjava.rmi.RemoteException
-
wantIndexed
public boolean wantIndexed()
- Overrides:
wantIndexedin classShadowType
-
postProcess
public void postProcess(VisADGroup group) throws VisADException
render accumulated Vector of value_array-s to and add to group; then clear AccumulationVector- Throws:
VisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG