visad
Class ShadowTupleType
- java.lang.Object
-
- visad.ShadowType
-
- visad.ShadowTupleType
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ShadowRealTupleType
public class ShadowTupleType extends ShadowType
The ShadowTupleType 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 ShadowTupleType(MathType t, DataDisplayLink link, ShadowType parent, ShadowType[] tcs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intcheckIndices(int[] indices, int[] display_indices, int[] value_indices, boolean[] isTransform, int levelOfDifficulty)scans ShadowType tree to determine display feasibility and precompute useful information for Data transform; indices & display_indices are counts (at leaves) of numbers of occurrences of RealTypes and DisplayRealTypes; isTransform flags for (Animation, Range, Value) re-transform; levelOfDifficulty passed down and up call chainbooleandoTransform(java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer, ShadowType shadow_api)transform data into a (Java3D or Java2D) scene graph; add generated scene graph components as children of group; group is Group (Java3D) or VisADGroup (Java2D); value_array are inherited valueArray values; default_values are defaults for each display.DisplayRealTypeVector; return true if need post-processShadowTypegetComponent(int i)intgetDimension()get number of componentsint[]getInheritedValues()ShadowRealType[]getRealComponents()booleanisFlat()-
Methods inherited from class visad.ShadowType
addLabelsToGroup, addSwitch, addTextToGroup, addToDetachableGroup, addToGroup, addToGroup, addToSwitch, adjustFlowToEarth, adjustFlowToEarth, adjustFlowToEarth, adjustZ, allowConstantColorSurfaces, allowCurvedTexture, allowLinearContour, assembleColor, assembleFlow, assembleSelect, assembleShape, assembleSpatial, byteToFloat, floatToByte, getAdaptedShadowType, getAdjustProjectionSeam, getAnyContour, getAnyFlow, getAnyShape, getAnyText, getComponentIndex, getComponents, getComponentWithRef, getCurvedTexture, getData, getDefaultColorIndex, getDisplay, getDisplayIndices, getFlowInfo, getIsLinearContour3D, getIsTerminal, getIsTexture3D, getIsTextureMap, getLevelOfDifficulty, getLink, getMappedDisplayScalar, getMultipleDisplayScalar, getMultipleSpatialDisplayScalar, getParentText, getParentTextControl, getRefToComponent, getTextMaps, getType, getValueIndices, makeBranch, makeContour, makeFlow, makePointGeometry, makePointGeometry, makeSpatialSet, makeStreamline, makeSwitch, makeText, makeTrajColor, makeTrajFlow, mapValues, mapValues, mapValues, recurseComponent, recurseRange, setTex3DCoords, setTexCoords, setTexStackCoords, setText, terminalTupleOrScalar, texture3DToGroup, textureDepth, textureHeight, textureStackToGroup, textureToGroup, textureWidth, toString, wantIndexed
-
-
-
-
Constructor Detail
-
ShadowTupleType
public ShadowTupleType(MathType t, DataDisplayLink link, ShadowType parent, ShadowType[] tcs) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
Method Detail
-
getRealComponents
public ShadowRealType[] getRealComponents()
-
checkIndices
public int checkIndices(int[] indices, int[] display_indices, int[] value_indices, boolean[] isTransform, int levelOfDifficulty) throws VisADException, java.rmi.RemoteExceptionDescription copied from class:ShadowTypescans ShadowType tree to determine display feasibility and precompute useful information for Data transform; indices & display_indices are counts (at leaves) of numbers of occurrences of RealTypes and DisplayRealTypes; isTransform flags for (Animation, Range, Value) re-transform; levelOfDifficulty passed down and up call chain- Overrides:
checkIndicesin classShadowType- Throws:
VisADExceptionjava.rmi.RemoteException
-
getInheritedValues
public int[] getInheritedValues()
-
getDimension
public int getDimension()
get number of components
-
getComponent
public ShadowType getComponent(int i)
-
doTransform
public boolean doTransform(java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer, ShadowType shadow_api) throws VisADException, java.rmi.RemoteExceptiontransform data into a (Java3D or Java2D) scene graph; add generated scene graph components as children of group; group is Group (Java3D) or VisADGroup (Java2D); value_array are inherited valueArray values; default_values are defaults for each display.DisplayRealTypeVector; return true if need post-process- Throws:
VisADExceptionjava.rmi.RemoteException
-
isFlat
public boolean isFlat()
-
-
DMelt 3.0 © DataMelt by jWork.ORG