visad.cluster
Class ShadowNodeFunctionTypeJ3D
java.lang.Object
visad.ShadowType
visad.java3d.ShadowTypeJ3D
visad.java3d.ShadowFunctionOrSetTypeJ3D
visad.java3d.ShadowFunctionTypeJ3D
visad.cluster.ShadowNodeFunctionTypeJ3D
- All Implemented Interfaces:
- java.io.Serializable
public class ShadowNodeFunctionTypeJ3D
- extends ShadowFunctionTypeJ3D
The ShadowNodeFunctionTypeJ3D class shadows the FunctionType class for
NodeRendererJ3D, within a DataDisplayLink, under Java3D.
- See Also:
- Serialized Form
Method Summary |
void |
addSwitch(java.lang.Object group,
java.lang.Object swit,
Control control,
Set domain_set,
DataRenderer renderer)
|
void |
addToGroup(java.lang.Object group,
java.lang.Object branch)
|
boolean |
addToGroup(java.lang.Object group,
VisADGeometryArray array,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color)
|
void |
addToSwitch(java.lang.Object swit,
java.lang.Object branch)
|
boolean |
doTransform(java.lang.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 |
java.lang.Object |
makeBranch()
|
java.lang.Object |
makeSwitch()
|
static boolean |
staticAddToGroup(java.lang.Object group,
VisADGeometryArray array,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color)
|
void |
texture3DToGroup(java.lang.Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
java.awt.image.BufferedImage[] images,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color,
int texture_width,
int texture_height,
int texture_depth,
DataRenderer renderer)
|
void |
textureStackToGroup(java.lang.Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
java.awt.image.BufferedImage[] imagesX,
java.awt.image.BufferedImage[] imagesY,
java.awt.image.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(java.lang.Object group,
VisADGeometryArray array,
java.awt.image.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, getRange, getTextMaps, makeGeometrys, makeVisADGeometrys, postProcess, preProcess, recurseRange, setTex3DCoords, setTexCoords, setTexStackCoords, textureDepth, textureHeight, textureWidth |
Methods inherited from class visad.java3d.ShadowTypeJ3D |
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, setText, terminalTupleOrScalar, toString |
Methods inherited from class visad.ShadowType |
adjustFlowToEarth, allowCurvedTexture, allowLinearContour, byteToFloat, floatToByte, getAnyContour, getAnyFlow, getAnyShape, getAnyText, getComponentIndex, getComponentWithRef, getCurvedTexture, getDefaultColorIndex, getIsLinearContour3D, getIsTerminal, getIsTexture3D, getIsTextureMap, getLink, getMultipleSpatialDisplayScalar, getRefToComponent, makePointGeometry, makeSpatialSet, recurseComponent, terminalTupleOrScalar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ShadowNodeFunctionTypeJ3D
public ShadowNodeFunctionTypeJ3D(MathType t,
DataDisplayLink link,
ShadowType parent)
throws VisADException,
java.rmi.RemoteException
- Throws:
VisADException
java.rmi.RemoteException
doTransform
public boolean doTransform(java.lang.Object group,
Data data,
float[] value_array,
float[] default_values,
DataRenderer renderer)
throws VisADException,
java.rmi.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
- Throws:
VisADException
java.rmi.RemoteException
textureToGroup
public void textureToGroup(java.lang.Object group,
VisADGeometryArray array,
java.awt.image.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(java.lang.Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
java.awt.image.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(java.lang.Object group,
VisADGeometryArray arrayX,
VisADGeometryArray arrayY,
VisADGeometryArray arrayZ,
VisADGeometryArray arrayXrev,
VisADGeometryArray arrayYrev,
VisADGeometryArray arrayZrev,
java.awt.image.BufferedImage[] imagesX,
java.awt.image.BufferedImage[] imagesY,
java.awt.image.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 java.lang.Object makeSwitch()
- Overrides:
makeSwitch
in class ShadowFunctionOrSetTypeJ3D
makeBranch
public java.lang.Object makeBranch()
- Overrides:
makeBranch
in class ShadowFunctionOrSetTypeJ3D
addToGroup
public void addToGroup(java.lang.Object group,
java.lang.Object branch)
throws VisADException
- Overrides:
addToGroup
in class ShadowFunctionOrSetTypeJ3D
- Throws:
VisADException
addToSwitch
public void addToSwitch(java.lang.Object swit,
java.lang.Object branch)
throws VisADException
- Overrides:
addToSwitch
in class ShadowFunctionOrSetTypeJ3D
- Throws:
VisADException
addSwitch
public void addSwitch(java.lang.Object group,
java.lang.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(java.lang.Object group,
VisADGeometryArray array,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color)
throws VisADException
- Overrides:
addToGroup
in class ShadowTypeJ3D
- Throws:
VisADException
staticAddToGroup
public static boolean staticAddToGroup(java.lang.Object group,
VisADGeometryArray array,
GraphicsModeControl mode,
float constant_alpha,
float[] constant_color)
throws VisADException
- Throws:
VisADException