visad.bom
Class ShadowImageByRefFunctionTypeJ3D
java.lang.Object
visad.ShadowType
visad.java3d.ShadowTypeJ3D
visad.java3d.ShadowFunctionOrSetTypeJ3D
visad.java3d.ShadowFunctionTypeJ3D
visad.bom.ShadowImageByRefFunctionTypeJ3D
- All Implemented Interfaces:
- Serializable
public class ShadowImageByRefFunctionTypeJ3D
- extends ShadowFunctionTypeJ3D
The ShadowImageFunctionTypeJ3D class shadows the FunctionType class for
ImageRendererJ3D, 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 |
void |
buildCurvedTexture(Object group,
Set domain_set,
Unit[] dataUnits,
Unit[] domain_units,
float[] default_values,
ShadowRealType[] DomainComponents,
int valueArrayLength,
int[] inherited_values,
int[] valueToScalar,
GraphicsModeControl mode,
float constant_alpha,
float[] value_array,
float[] constant_color,
DisplayImpl display,
int curved_size,
ShadowRealTupleType Domain,
CoordinateSystem dataCoordinateSystem,
DataRenderer renderer,
ShadowFunctionOrSetType adaptedShadowType,
int[] start,
int lenX,
int lenY,
int bigX,
int bigY,
VisADImageTile tile)
|
void |
buildLinearTexture(Object group,
Set domain_set,
Unit[] dataUnits,
Unit[] domain_units,
float[] default_values,
ShadowRealType[] DomainComponents,
int valueArrayLength,
int[] inherited_values,
int[] valueToScalar,
GraphicsModeControl mode,
float constant_alpha,
float[] value_array,
float[] constant_color,
DisplayImpl display,
VisADImageTile tile)
|
BufferedImage |
createImageByRef(int texture_width,
int texture_height,
int imageType)
|
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 |
static float[][] |
getBounds(Set domain_set,
float data_width,
float data_height,
float scaleX,
float offsetX,
float scaleY,
float offsetY)
|
void |
makeColorBytes(Data data,
ScalarMap cmap,
ScalarMap[] cmaps,
float constant_alpha,
ShadowRealType[] RangeComponents,
int color_length,
int domain_length,
int[] permute,
byte[] byteData,
int data_width,
int data_height,
int tile_width,
int tile_height,
int xStart,
int yStart,
int texture_width,
int texture_height)
|
void |
makeColorBytesDriver(Data imgFlatField,
ScalarMap cmap,
ScalarMap[] cmaps,
float constant_alpha,
ShadowRealType[] RangeComponents,
int color_length,
int domain_length,
int[] permute,
int data_width,
int data_height,
int imageType,
VisADImageTile tile,
int image_index)
|
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 |
ShadowImageByRefFunctionTypeJ3D
public ShadowImageByRefFunctionTypeJ3D(MathType t,
DataDisplayLink link,
ShadowType parent)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
ShadowImageByRefFunctionTypeJ3D
public ShadowImageByRefFunctionTypeJ3D(MathType t,
DataDisplayLink link,
ShadowType parent,
int[] inherited_values,
ShadowFunctionOrSetType adaptedShadowType,
int levelOfDifficulty)
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
makeColorBytesDriver
public void makeColorBytesDriver(Data imgFlatField,
ScalarMap cmap,
ScalarMap[] cmaps,
float constant_alpha,
ShadowRealType[] RangeComponents,
int color_length,
int domain_length,
int[] permute,
int data_width,
int data_height,
int imageType,
VisADImageTile tile,
int image_index)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
makeColorBytes
public void makeColorBytes(Data data,
ScalarMap cmap,
ScalarMap[] cmaps,
float constant_alpha,
ShadowRealType[] RangeComponents,
int color_length,
int domain_length,
int[] permute,
byte[] byteData,
int data_width,
int data_height,
int tile_width,
int tile_height,
int xStart,
int yStart,
int texture_width,
int texture_height)
throws VisADException,
RemoteException
- Throws:
VisADException
RemoteException
buildCurvedTexture
public void buildCurvedTexture(Object group,
Set domain_set,
Unit[] dataUnits,
Unit[] domain_units,
float[] default_values,
ShadowRealType[] DomainComponents,
int valueArrayLength,
int[] inherited_values,
int[] valueToScalar,
GraphicsModeControl mode,
float constant_alpha,
float[] value_array,
float[] constant_color,
DisplayImpl display,
int curved_size,
ShadowRealTupleType Domain,
CoordinateSystem dataCoordinateSystem,
DataRenderer renderer,
ShadowFunctionOrSetType adaptedShadowType,
int[] start,
int lenX,
int lenY,
int bigX,
int bigY,
VisADImageTile tile)
throws VisADException,
DisplayException
- Throws:
VisADException
DisplayException
buildLinearTexture
public void buildLinearTexture(Object group,
Set domain_set,
Unit[] dataUnits,
Unit[] domain_units,
float[] default_values,
ShadowRealType[] DomainComponents,
int valueArrayLength,
int[] inherited_values,
int[] valueToScalar,
GraphicsModeControl mode,
float constant_alpha,
float[] value_array,
float[] constant_color,
DisplayImpl display,
VisADImageTile tile)
throws VisADException,
DisplayException
- Throws:
VisADException
DisplayException
createImageByRef
public BufferedImage createImageByRef(int texture_width,
int texture_height,
int imageType)
getBounds
public static float[][] getBounds(Set domain_set,
float data_width,
float data_height,
float scaleX,
float offsetX,
float scaleY,
float offsetY)
throws VisADException
- Throws:
VisADException