visad.java2d
Class ShadowTupleTypeJ2D
- java.lang.Object
-
- visad.ShadowType
-
- visad.java2d.ShadowTypeJ2D
-
- visad.java2d.ShadowTupleTypeJ2D
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ShadowBarbTupleTypeJ2D, ShadowRealTupleTypeJ2D
public class ShadowTupleTypeJ2D extends ShadowTypeJ2D
The ShadowTupleTypeJ2D class shadows the TupleType class, within a DataDisplayLink.- 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 ShadowTupleTypeJ2D(MathType t, DataDisplayLink link, ShadowType parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleandoTransform(VisADGroup group, Data data, float[] value_array, float[] default_values, DataRenderer renderer)transform data into a VisADSceneGraphObject; return true if need post-processShadowTypegetComponent(int i)intgetDimension()get number of componentsvoidpostProcess(VisADGroup group)render accumulated Vector of value_array-s to and add to group; then clear AccumulationVectorvoidpreProcess()clear AccumulationVectorbooleanrecurseComponent(int i, java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer)-
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
addSwitch, addTextToGroup, addToDetachableGroup, addToGroup, addToSwitch, 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, getTextMaps, makeBranch, makePointGeometry, makeSpatialSet, makeSwitch, makeTrajColor, makeTrajFlow, recurseRange, setTex3DCoords, setTexCoords, setTexStackCoords, terminalTupleOrScalar, texture3DToGroup, textureDepth, textureHeight, textureStackToGroup, textureToGroup, textureWidth, wantIndexed
-
-
-
-
Constructor Detail
-
ShadowTupleTypeJ2D
public ShadowTupleTypeJ2D(MathType t, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
Method Detail
-
getDimension
public int getDimension()
get number of components
-
getComponent
public ShadowType getComponent(int i)
-
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; return true if need post-process- Throws:
VisADExceptionjava.rmi.RemoteException
-
recurseComponent
public boolean recurseComponent(int i, java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer) throws VisADException, java.rmi.RemoteException- Overrides:
recurseComponentin classShadowType- Throws:
VisADExceptionjava.rmi.RemoteException
-
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