visad.bom
Class ShadowTextureFillSetTypeJ3D
java.lang.Object
visad.ShadowType
visad.java3d.ShadowTypeJ3D
visad.java3d.ShadowFunctionOrSetTypeJ3D
visad.java3d.ShadowSetTypeJ3D
visad.bom.ShadowTextureFillSetTypeJ3D
- All Implemented Interfaces:
- Serializable
public class ShadowTextureFillSetTypeJ3D
- extends ShadowSetTypeJ3D
The ShadowTextureFillSetTypeJ3D class shadows the FunctionType class for
TextureFillRendererJ3D, within a DataDisplayLink, under Java3D.
- See Also:
- Serialized Form
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, yUp |
Method Summary |
BufferedImage |
createImage(int data_width,
int data_height,
int texture_width,
int texture_height,
int[] color_ints)
|
boolean |
doTransform(Object group,
Data data,
float[] value_array,
float[] default_values,
DataRenderer renderer)
transform data into a Java3D scene graph;
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 |
void |
textureToGroup(Object group,
VisADGeometryArray array,
BufferedImage image,
GraphicsModeControl mode,
int texture_width,
int texture_height,
DataRenderer renderer)
|
Methods inherited from class visad.java3d.ShadowFunctionOrSetTypeJ3D |
addSwitch, addToGroup, addToSwitch, adjustZ, getDomain, getImageComponentType, getRange, getTextMaps, getTextureType, makeBranch, makeGeometrys, makeSwitch, makeSwitch, makeVisADGeometrys, postProcess, preProcess, recurseRange, setTex3DCoords, setTexCoords, setTexCoords, setTexStackCoords, texture3DToGroup, textureDepth, textureHeight, textureStackToGroup, textureToGroup, textureToGroup, textureToGroup, textureWidth, wantIndexed |
Methods inherited from class visad.java3d.ShadowTypeJ3D |
addLabelsToGroup, addTextToGroup, addToGroup, allowConstantColorSurfaces, assembleColor, assembleFlow, assembleSelect, assembleShape, assembleSpatial, checkIndices, ensureNotEmpty, ensureNotEmpty, getAdaptedParent, getAdaptedShadowType, getComponents, getData, getDisplay, getDisplayIndices, getLevelOfDifficulty, getMappedDisplayScalar, getMultipleDisplayScalar, getParentText, getParentTextControl, getType, getValueIndices, makeAppearance, makeContour, makeFlow, makePointGeometry, makeStreamline, makeText, mapValues, mapValues, mapValues, setText, staticMakeAppearance, terminalTupleOrScalar, toString |
Methods inherited from class visad.ShadowType |
adjustFlowToEarth, adjustFlowToEarth, allowCurvedTexture, allowLinearContour, byteToFloat, floatToByte, getAdjustProjectionSeam, getAnyContour, getAnyFlow, getAnyShape, getAnyText, getComponentIndex, getComponentWithRef, getCurvedTexture, getDefaultColorIndex, getIsLinearContour3D, getIsTerminal, getIsTexture3D, getIsTextureMap, getLink, getMultipleSpatialDisplayScalar, getRefToComponent, makePointGeometry, makeSpatialSet, recurseComponent, terminalTupleOrScalar |
ShadowTextureFillSetTypeJ3D
public ShadowTextureFillSetTypeJ3D(MathType t,
DataDisplayLink link,
ShadowType parent)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
doTransform
public boolean doTransform(Object group,
Data data,
float[] value_array,
float[] default_values,
DataRenderer renderer)
throws VisADException,
RemoteException
- Description copied from class:
ShadowFunctionOrSetTypeJ3D
- transform data into a Java3D scene graph;
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
- Overrides:
doTransform
in class ShadowFunctionOrSetTypeJ3D
- Parameters:
group
- group to add todata
- the data to transformvalue_array
- the valuesdefault_values
- the default valuesrenderer
- the renderer
- Returns:
- false
- Throws:
VisADException
RemoteException
textureToGroup
public void textureToGroup(Object group,
VisADGeometryArray array,
BufferedImage image,
GraphicsModeControl mode,
int texture_width,
int texture_height,
DataRenderer renderer)
throws VisADException
- Throws:
VisADException
createImage
public BufferedImage createImage(int data_width,
int data_height,
int texture_width,
int texture_height,
int[] color_ints)