visad.cluster
Class ShadowNodeFunctionTypeJ3D
java.lang.Object
visad.ShadowType
visad.java3d.ShadowTypeJ3D
visad.java3d.ShadowFunctionOrSetTypeJ3D
visad.java3d.ShadowFunctionTypeJ3D
visad.cluster.ShadowNodeFunctionTypeJ3D
- All Implemented Interfaces:
- Serializable
public class ShadowNodeFunctionTypeJ3D
- extends ShadowFunctionTypeJ3D
The ShadowNodeFunctionTypeJ3D class shadows the FunctionType class for
NodeRendererJ3D, 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 |
addSwitch(Object group,
Object swit,
Control control,
Set domain_set,
DataRenderer renderer)
|
void |
addToGroup(Object group,
Object branch)
|
boolean |
addToGroup(Object group,
VisADGeometryArray array,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color)
Add the GeometryArray to the group |
void |
addToSwitch(Object swit,
Object branch)
|
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 |
Object |
makeBranch()
|
Object |
makeSwitch()
|
static boolean |
staticAddToGroup(Object group,
VisADGeometryArray array,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color)
|
void |
texture3DToGroup(Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
BufferedImage[] images,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height,
int texture_depth,
DataRenderer renderer)
|
void |
textureStackToGroup(Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
BufferedImage[] imagesX,
BufferedImage[] imagesY,
BufferedImage[] imagesZ,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height,
int texture_depth,
DataRenderer renderer)
client must process the VisADSwitch this makes in order to insert
in a Java3D scene graph |
void |
textureToGroup(Object group,
VisADGeometryArray array,
BufferedImage image,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height)
|
boolean |
wantIndexed()
|
Methods inherited from class visad.java3d.ShadowFunctionOrSetTypeJ3D |
adjustZ, getDomain, getImageComponentType, getRange, getTextMaps, getTextureType, makeGeometrys, makeSwitch, makeVisADGeometrys, postProcess, preProcess, recurseRange, setTex3DCoords, setTexCoords, setTexCoords, setTexStackCoords, textureDepth, textureHeight, textureToGroup, textureToGroup, textureWidth |
Methods inherited from class visad.java3d.ShadowTypeJ3D |
addLabelsToGroup, addTextToGroup, 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 |
ShadowNodeFunctionTypeJ3D
public ShadowNodeFunctionTypeJ3D(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,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height)
throws VisADException
- Overrides:
textureToGroup
in class ShadowFunctionOrSetTypeJ3D
- Throws:
VisADException
texture3DToGroup
public void texture3DToGroup(Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
BufferedImage[] images,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height,
int texture_depth,
DataRenderer renderer)
throws VisADException
- Overrides:
texture3DToGroup
in class ShadowFunctionOrSetTypeJ3D
- Throws:
VisADException
textureStackToGroup
public void textureStackToGroup(Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
BufferedImage[] imagesX,
BufferedImage[] imagesY,
BufferedImage[] imagesZ,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height,
int texture_depth,
DataRenderer renderer)
throws VisADException
- client must process the VisADSwitch this makes in order to insert
in a Java3D scene graph
- Overrides:
textureStackToGroup
in class ShadowFunctionOrSetTypeJ3D
- Throws:
VisADException
makeSwitch
public Object makeSwitch()
- Overrides:
makeSwitch
in class ShadowFunctionOrSetTypeJ3D
makeBranch
public Object makeBranch()
- Overrides:
makeBranch
in class ShadowFunctionOrSetTypeJ3D
addToGroup
public void addToGroup(Object group,
Object branch)
throws VisADException
- Overrides:
addToGroup
in class ShadowFunctionOrSetTypeJ3D
- Throws:
VisADException
addToSwitch
public void addToSwitch(Object swit,
Object branch)
throws VisADException
- Overrides:
addToSwitch
in class ShadowFunctionOrSetTypeJ3D
- Throws:
VisADException
addSwitch
public void addSwitch(Object group,
Object swit,
Control control,
Set domain_set,
DataRenderer renderer)
throws VisADException
- Overrides:
addSwitch
in class ShadowFunctionOrSetTypeJ3D
- Throws:
VisADException
wantIndexed
public boolean wantIndexed()
- Overrides:
wantIndexed
in class ShadowFunctionOrSetTypeJ3D
addToGroup
public boolean addToGroup(Object group,
VisADGeometryArray array,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color)
throws VisADException
- Description copied from class:
ShadowTypeJ3D
- Add the GeometryArray to the group
- Overrides:
addToGroup
in class ShadowTypeJ3D
- Parameters:
group
- Grouparray
- array to addmode
- GraphicsModeControlconstant_alpha
- constant alpha valueconstant_color
- constant color value
- Returns:
- true if successful
- Throws:
VisADException
- unable to add the array to the group
staticAddToGroup
public static boolean staticAddToGroup(Object group,
VisADGeometryArray array,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color)
throws VisADException
- Throws:
VisADException