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
-
-
Field Summary
-
Fields inherited from class visad.java3d.ShadowTypeJ3D
appearanceCnt, shape3DCnt
-
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, trajectory1, trajectory2, yUp
-
-
Constructor Summary
Constructors Constructor and Description ShadowNodeFunctionTypeJ3D(MathType t, DataDisplayLink link, ShadowType parent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddSwitch(java.lang.Object group, java.lang.Object swit, Control control, Set domain_set, DataRenderer renderer)voidaddToGroup(java.lang.Object group, java.lang.Object branch)booleanaddToGroup(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color)Add the GeometryArray to the groupvoidaddToSwitch(java.lang.Object swit, java.lang.Object branch)booleandoTransform(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-processjava.lang.ObjectmakeBranch()java.lang.ObjectmakeSwitch()static booleanstaticAddToGroup(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color)voidtexture3DToGroup(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)voidtextureStackToGroup(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 graphvoidtextureToGroup(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)booleanwantIndexed()-
Methods inherited from class visad.java3d.ShadowFunctionOrSetTypeJ3D
adjustZ, getDomain, getImageComponentType, getRange, getTextMaps, getTextureType, makeGeometrys, makeSwitch, makeVisADGeometrys, postProcess, postProcessTraj, preProcess, recurseRange, setTex3DCoords, setTexCoords, setTexCoords, setTexStackCoords, textureDepth, textureHeight, textureToGroup, textureToGroup, textureWidth
-
Methods inherited from class visad.java3d.ShadowTypeJ3D
addLabelsToGroup, addTextToGroup, addToDetachableGroup, 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, 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, terminalTupleOrScalar
-
-
-
-
Constructor Detail
-
ShadowNodeFunctionTypeJ3D
public ShadowNodeFunctionTypeJ3D(MathType t, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
Method Detail
-
doTransform
public boolean doTransform(java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer) throws VisADException, java.rmi.RemoteExceptionDescription copied from class:ShadowFunctionOrSetTypeJ3Dtransform 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:
doTransformin classShadowFunctionOrSetTypeJ3D- Parameters:
group- group to add todata- the data to transformvalue_array- the valuesdefault_values- the default valuesrenderer- the renderer- Returns:
- false
- Throws:
VisADExceptionjava.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:
textureToGroupin classShadowFunctionOrSetTypeJ3D- 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:
texture3DToGroupin classShadowFunctionOrSetTypeJ3D- 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 VisADExceptionclient must process the VisADSwitch this makes in order to insert in a Java3D scene graph- Overrides:
textureStackToGroupin classShadowFunctionOrSetTypeJ3D- Throws:
VisADException
-
makeSwitch
public java.lang.Object makeSwitch()
- Overrides:
makeSwitchin classShadowFunctionOrSetTypeJ3D
-
makeBranch
public java.lang.Object makeBranch()
- Overrides:
makeBranchin classShadowFunctionOrSetTypeJ3D
-
addToGroup
public void addToGroup(java.lang.Object group, java.lang.Object branch) throws VisADException- Overrides:
addToGroupin classShadowFunctionOrSetTypeJ3D- Throws:
VisADException
-
addToSwitch
public void addToSwitch(java.lang.Object swit, java.lang.Object branch) throws VisADException- Overrides:
addToSwitchin classShadowFunctionOrSetTypeJ3D- Throws:
VisADException
-
addSwitch
public void addSwitch(java.lang.Object group, java.lang.Object swit, Control control, Set domain_set, DataRenderer renderer) throws VisADException- Overrides:
addSwitchin classShadowFunctionOrSetTypeJ3D- Throws:
VisADException
-
wantIndexed
public boolean wantIndexed()
- Overrides:
wantIndexedin classShadowFunctionOrSetTypeJ3D
-
addToGroup
public boolean addToGroup(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color) throws VisADExceptionDescription copied from class:ShadowTypeJ3DAdd the GeometryArray to the group- Overrides:
addToGroupin classShadowTypeJ3D- 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(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color) throws VisADException- Throws:
VisADException
-
-
DMelt 3.0 © DataMelt by jWork.ORG