public class ShadowFunctionOrSetTypeJ3D extends ShadowTypeJ3D
appearanceCnt, shape3DCntbyReference, flowInfoList, 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 and Description |
|---|
ShadowFunctionOrSetTypeJ3D(MathType t,
DataDisplayLink link,
ShadowType parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSwitch(Object group,
Object swit,
Control control,
Set domain_set,
DataRenderer renderer) |
void |
addToGroup(Object group,
Object branch) |
void |
addToSwitch(Object swit,
Object branch) |
void |
adjustZ(float[] coordinates) |
Object |
createImage(int data_width,
int data_height,
int texture_width,
int texture_height,
byte[][] color_values) |
Object[] |
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) |
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
|
ShadowRealTupleTypeJ3D |
getDomain() |
int |
getImageComponentType(int buffImgType) |
ShadowTypeJ3D |
getRange() |
Vector |
getTextMaps(int i,
int[] textIndices) |
int |
getTextureType(int buffImgType) |
Object |
makeBranch() |
GeometryArray[] |
makeGeometrys(VisADGeometryArray array) |
Object |
makeSwitch() |
Object |
makeSwitch(int length) |
VisADGeometryArray[] |
makeVisADGeometrys(VisADGeometryArray array) |
void |
postProcess(Object group)
render accumulated Vector of value_array-s to
and add to group; then clear AccumulationVector
|
void |
postProcessTraj() |
void |
preProcess()
clear AccumulationVector
|
boolean |
recurseRange(Object group,
Data data,
float[] value_array,
float[] default_values,
DataRenderer renderer) |
float[] |
setTex3DCoords(int length,
int axis,
float ratiow,
float ratioh,
float ratiod) |
void |
setTexCoords(float[] texCoords,
float ratiow,
float ratioh) |
void |
setTexCoords(float[] texCoords,
float ratiow,
float ratioh,
boolean yUp) |
float[] |
setTexStackCoords(int length,
int axis,
float ratiow,
float ratioh,
float ratiod) |
void |
texture3DToGroup(Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
Object[] images,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height,
int texture_depth,
DataRenderer renderer) |
int |
textureDepth(int data_depth)
Get the possibly adjusted texture depth.
|
int |
textureHeight(int data_height)
Get the possibly adjusted texture height.
|
void |
textureStackToGroup(Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
Object[] imagesX,
Object[] imagesY,
Object[] imagesZ,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height,
int texture_depth,
DataRenderer renderer) |
void |
textureToGroup(Object group,
VisADGeometryArray array,
Object image,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height) |
void |
textureToGroup(Object group,
VisADGeometryArray array,
Object image,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height,
boolean byReference,
boolean yUp,
VisADImageTile tile) |
void |
textureToGroup(Object group,
VisADGeometryArray array,
Object img,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height,
boolean byReference,
boolean yUp,
VisADImageTile tile,
boolean smoothen) |
int |
textureWidth(int data_width)
Get the possibly adjusted texture width.
|
boolean |
wantIndexed() |
addLabelsToGroup, addTextToGroup, addToDetachableGroup, 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, toStringadjustFlowToEarth, adjustFlowToEarth, adjustFlowToEarth, allowCurvedTexture, allowLinearContour, byteToFloat, floatToByte, getAdjustProjectionSeam, getAnyContour, getAnyFlow, getAnyShape, getAnyText, getComponentIndex, getComponentWithRef, getCurvedTexture, getDefaultColorIndex, getFlowInfo, getIsLinearContour3D, getIsTerminal, getIsTexture3D, getIsTextureMap, getLink, getMultipleSpatialDisplayScalar, getRefToComponent, makePointGeometry, makeSpatialSet, makeTrajColor, makeTrajFlow, recurseComponent, terminalTupleOrScalarpublic ShadowFunctionOrSetTypeJ3D(MathType t, DataDisplayLink link, ShadowType parent) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic ShadowRealTupleTypeJ3D getDomain()
public ShadowTypeJ3D getRange()
public void preProcess()
throws VisADException
preProcess in class ShadowTypeJ3DVisADExceptionpublic boolean doTransform(Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer) throws VisADException, RemoteException
doTransform in class ShadowTypeJ3Dgroup - group to add todata - the data to transformvalue_array - the valuesdefault_values - the default valuesrenderer - the rendererVisADExceptionRemoteExceptionpublic int textureWidth(int data_width)
textureWidth in class ShadowTypedata_width - The initial texture width.DisplayImplJ3D.TEXTURE_NPOT then return
data_width, otherwise return the minimum power of two greater
than data_width.DisplayImplJ3D.TEXTURE_NPOTpublic int textureHeight(int data_height)
textureHeight in class ShadowTypedata_height - The initial texture height.DisplayImplJ3D.TEXTURE_NPOT then return
data_height, otherwise return the minimum power of two greater
than data_height.DisplayImplJ3D.TEXTURE_NPOTpublic int textureDepth(int data_depth)
textureDepth in class ShadowTypedata_depth - The initial texture depth.DisplayImplJ3D.TEXTURE_NPOT then return
data_depth, otherwise return the minimum power of two greater
than data_depth.DisplayImplJ3D.TEXTURE_NPOTpublic void adjustZ(float[] coordinates)
adjustZ in class ShadowTypepublic int getImageComponentType(int buffImgType)
public int getTextureType(int buffImgType)
public void setTexCoords(float[] texCoords,
float ratiow,
float ratioh)
setTexCoords in class ShadowTypepublic void setTexCoords(float[] texCoords,
float ratiow,
float ratioh,
boolean yUp)
public float[] setTex3DCoords(int length,
int axis,
float ratiow,
float ratioh,
float ratiod)
setTex3DCoords in class ShadowTypepublic float[] setTexStackCoords(int length,
int axis,
float ratiow,
float ratioh,
float ratiod)
setTexStackCoords in class ShadowTypepublic Vector getTextMaps(int i, int[] textIndices)
getTextMaps in class ShadowTypepublic Object createImage(int data_width, int data_height, int texture_width, int texture_height, byte[][] color_values) throws VisADException
createImage in class ShadowTypeVisADExceptionpublic void textureToGroup(Object group, VisADGeometryArray array, Object image, GraphicsModeControl mode, float constant_alpha, float[] constant_color, int texture_width, int texture_height, boolean byReference, boolean yUp, VisADImageTile tile) throws VisADException
VisADExceptionpublic void textureToGroup(Object group, VisADGeometryArray array, Object image, GraphicsModeControl mode, float constant_alpha, float[] constant_color, int texture_width, int texture_height) throws VisADException
textureToGroup in class ShadowTypeVisADExceptionpublic void textureToGroup(Object group, VisADGeometryArray array, Object img, GraphicsModeControl mode, float constant_alpha, float[] constant_color, int texture_width, int texture_height, boolean byReference, boolean yUp, VisADImageTile tile, boolean smoothen) throws VisADException
VisADExceptionpublic Object[] 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
createImages in class ShadowTypeVisADExceptionpublic void texture3DToGroup(Object group, VisADGeometryArray arrayX, VisADGeometryArray arrayY, VisADGeometryArray arrayZ, VisADGeometryArray arrayXrev, VisADGeometryArray arrayYrev, VisADGeometryArray arrayZrev, Object[] images, GraphicsModeControl mode, float constant_alpha, float[] constant_color, int texture_width, int texture_height, int texture_depth, DataRenderer renderer) throws VisADException
texture3DToGroup in class ShadowTypeVisADExceptionpublic void textureStackToGroup(Object group, VisADGeometryArray arrayX, VisADGeometryArray arrayY, VisADGeometryArray arrayZ, VisADGeometryArray arrayXrev, VisADGeometryArray arrayYrev, VisADGeometryArray arrayZrev, Object[] imagesX, Object[] imagesY, Object[] imagesZ, GraphicsModeControl mode, float constant_alpha, float[] constant_color, int texture_width, int texture_height, int texture_depth, DataRenderer renderer) throws VisADException
textureStackToGroup in class ShadowTypeVisADExceptionpublic GeometryArray[] makeGeometrys(VisADGeometryArray array) throws VisADException
VisADExceptionpublic VisADGeometryArray[] makeVisADGeometrys(VisADGeometryArray array) throws VisADException
VisADExceptionpublic Object makeSwitch()
makeSwitch in class ShadowTypepublic Object makeSwitch(int length) throws VisADException
VisADExceptionpublic Object makeBranch()
makeBranch in class ShadowTypepublic void addToGroup(Object group, Object branch) throws VisADException
addToGroup in class ShadowTypeVisADExceptionpublic void addToSwitch(Object swit, Object branch) throws VisADException
addToSwitch in class ShadowTypeVisADExceptionpublic void addSwitch(Object group, Object swit, Control control, Set domain_set, DataRenderer renderer) throws VisADException
addSwitch in class ShadowTypeVisADExceptionpublic boolean recurseRange(Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer) throws VisADException, RemoteException
recurseRange in class ShadowTypeVisADExceptionRemoteExceptionpublic boolean wantIndexed()
wantIndexed in class ShadowTypepublic void postProcessTraj()
throws VisADException
VisADExceptionpublic void postProcess(Object group) throws VisADException
postProcess in class ShadowTypeJ3DVisADExceptionCopyright © 1996–2023 The SSEC Visualization Project. All rights reserved.