visad
Class ShadowFunctionOrSetType
- java.lang.Object
-
- visad.ShadowType
-
- visad.ShadowFunctionOrSetType
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ShadowFunctionType, ShadowSetType
public abstract class ShadowFunctionOrSetType extends ShadowType
The ShadowFunctionOrSetType class is an abstract parent for classes that implement ShadowFunctionType or ShadowSetType.- 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 ShadowFunctionOrSetType(MathType t, DataDisplayLink link, ShadowType parent, ShadowRealTupleType domain, ShadowType range)this constructor is a bit of a kludge to get around single inheritance problems
-
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)checkIndices: check for rendering difficulty, etcjava.awt.image.BufferedImagecreateImage(int data_width, int data_height, int texture_width, int texture_height, byte[][] color_values)java.awt.image.BufferedImagecreateImage(int data_width, int data_height, int texture_width, int texture_height, byte[][] color_values, boolean byRef)java.awt.image.BufferedImage[]createImages(int axis, int data_width_in, int data_height_in, int data_depth_in, int texture_width_in, int texture_height_in, int texture_depth_in, byte[][] color_values)booleandoTransform(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-processShadowRealTupleTypegetDomain()ShadowRealType[]getDomainComponents()ShadowRealType[]getDomainReferenceComponents()booleangetFlat()int[]getInheritedValues()ShadowTypegetRange()ShadowRealType[]getRangeComponents()VisADQuadArrayreverse(VisADQuadArray array)-
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
-
ShadowFunctionOrSetType
public ShadowFunctionOrSetType(MathType t, DataDisplayLink link, ShadowType parent, ShadowRealTupleType domain, ShadowType range) throws VisADException, java.rmi.RemoteException
this constructor is a bit of a kludge to get around single inheritance problems- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
Method Detail
-
getFlat
public boolean getFlat()
-
getRangeComponents
public ShadowRealType[] getRangeComponents()
-
getDomainComponents
public ShadowRealType[] getDomainComponents()
-
getDomainReferenceComponents
public ShadowRealType[] getDomainReferenceComponents()
-
getInheritedValues
public int[] getInheritedValues()
-
checkIndices
public int checkIndices(int[] indices, int[] display_indices, int[] value_indices, boolean[] isTransform, int levelOfDifficulty) throws VisADException, java.rmi.RemoteExceptioncheckIndices: check for rendering difficulty, etc- Overrides:
checkIndicesin classShadowType- Throws:
VisADExceptionjava.rmi.RemoteException
-
getDomain
public ShadowRealTupleType getDomain()
-
getRange
public ShadowType getRange()
-
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
-
createImage
public java.awt.image.BufferedImage createImage(int data_width, int data_height, int texture_width, int texture_height, byte[][] color_values) throws VisADException- Throws:
VisADException
-
createImage
public java.awt.image.BufferedImage createImage(int data_width, int data_height, int texture_width, int texture_height, byte[][] color_values, boolean byRef) throws VisADException- Throws:
VisADException
-
createImages
public java.awt.image.BufferedImage[] createImages(int axis, int data_width_in, int data_height_in, int data_depth_in, int texture_width_in, int texture_height_in, int texture_depth_in, byte[][] color_values) throws VisADException- Throws:
VisADException
-
reverse
public VisADQuadArray reverse(VisADQuadArray array)
-
-
DMelt 3.0 © DataMelt by jWork.ORG