visad
Class ShadowType
- java.lang.Object
-
- visad.ShadowType
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- ShadowFunctionOrSetType, ShadowScalarType, ShadowTupleType, ShadowTypeJ2D, ShadowTypeJ3D
public abstract class ShadowType extends java.lang.Object implements java.io.SerializableThe ShadowType hierarchy shadows the MathType hierarchy, within a DataDisplayLink.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static booleanbyReferencestatic intLEGALstatic floatMETERS_PER_DEGREEstatic intNESTEDstatic intNOTHING_MAPPEDpossible values for LevelOfDifficultystatic java.lang.StringPROP_CONTOURFILL_SINGLE_VALUE_AS_TEXTUREProperty to create a texture for a single value color filled contourstatic java.lang.StringPROP_IMAGE_BY_REFImage ByReference flagsstatic intSIMPLE_ANIMATE_FIELDstatic intSIMPLE_FIELDstatic intSIMPLE_TUPLEbooleantrajectory1trajectory flagsbooleantrajectory2static booleanyUp
-
Constructor Summary
Constructors Constructor and Description ShadowType(MathType type, DataDisplayLink link, ShadowType parent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidaddLabelsToGroup(java.lang.Object group, VisADGeometryArray[] arrays, GraphicsModeControl mode, ContourControl control, ProjectionControl p_cntrl, int[] cnt, float constant_alpha, float[] contstant_color)voidaddSwitch(java.lang.Object group, java.lang.Object swit, Control control, Set domain_set, DataRenderer renderer)booleanaddTextToGroup(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color)java.lang.ObjectaddToDetachableGroup(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color)voidaddToGroup(java.lang.Object group, java.lang.Object branch)booleanaddToGroup(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color)voidaddToSwitch(java.lang.Object swit, java.lang.Object branch)static float[][]adjustFlowToEarth(int which, float[][] flow_values, float[][] spatial_values, float flowScale, DataRenderer renderer)static float[][]adjustFlowToEarth(int which, float[][] flow_values, float[][] spatial_values, float flowScale, DataRenderer renderer, boolean force)static float[][]adjustFlowToEarth(int which, float[][] flow_values, float[][] spatial_values, float flowScale, DataRenderer renderer, boolean force, boolean isTraj, float timeStep)voidadjustZ(float[] coordinates)booleanallowConstantColorSurfaces()booleanallowCurvedTexture()booleanallowLinearContour()byte[][]assembleColor(float[][] display_values, int valueArrayLength, int[] valueToScalar, DisplayImpl display, float[] default_values, boolean[][] range_select, boolean[] single_missing, ShadowType shadow_api)composite and transform color and Alpha DisplayRealType values from display_values, and return as (Red, Green, Blue, Alpha)voidassembleFlow(float[][] flow1_values, float[][] flow2_values, float[] flowScale, float[] arrowScale, float[][] display_values, int valueArrayLength, int[] valueToScalar, DisplayImpl display, float[] default_values, boolean[][] range_select, DataRenderer renderer, ShadowType shadow_api)assemble Flow components; Flow components are 'single', so no compositing is requiredboolean[][]assembleSelect(float[][] display_values, int domain_length, int valueArrayLength, int[] valueToScalar, DisplayImpl display, ShadowType shadow_api)return a composite of SelectRange DisplayRealType values from display_values, as 0.0 for select and Double.Nan for no select (these values can be added to other DisplayRealType values)VisADGeometryArray[]assembleShape(float[][] display_values, int valueArrayLength, int[] valueToMap, java.util.Vector MapVector, int[] valueToScalar, DisplayImpl display, float[] default_values, int[] inherited_values, float[][] spatial_values, byte[][] color_values, boolean[][] range_select, int index, ShadowType shadow_api)collect and transform Shape DisplayRealType values from display_values; offset by spatial_values, colored by color_values and selected by range_selectSetassembleSpatial(float[][] spatial_values, float[][] display_values, int valueArrayLength, int[] valueToScalar, DisplayImpl display, float[] default_values, int[] inherited_values, Set domain_set, boolean allSpatial, boolean set_for_shape, int[] spatialDimensions, boolean[][] range_select, float[][] flow1_values, float[][] flow2_values, float[] flowScale, boolean[] swap, DataRenderer renderer, ShadowType shadow_api)collect and transform spatial DisplayRealType values from display_values; add spatial offset DisplayRealType values; adjust flow1_values and flow2_values for any coordinate transform; if needed, return a spatial Set from spatial_values, with the same topology as domain_set (or an appropriate Irregular topology); domain_set = null and allSpatial = false if not called from ShadowFunctionTypestatic floatbyteToFloat(byte b)intcheckIndices(int[] indices, int[] display_indices, int[] value_indices, boolean[] isTransform, int levelOfDifficulty)scans ShadowType tree to determine display feasibility and precompute useful information for Data transform; indices & display_indices are counts (at leaves) of numbers of occurrences of RealTypes and DisplayRealTypes; isTransform flags for (Animation, Range, Value) re-transform; levelOfDifficulty passed down and up call chainstatic bytefloatToByte(float f)ShadowTypegetAdaptedShadowType()booleangetAdjustProjectionSeam()booleangetAnyContour()booleangetAnyFlow()booleangetAnyShape()booleangetAnyText()int[]getComponentIndex()ShadowRealType[]getComponents(ShadowType type, boolean doRef)ShadowRealTupleType[]getComponentWithRef()booleangetCurvedTexture()DatagetData()static intgetDefaultColorIndex(DisplayImpl display, int index)DisplayImplgetDisplay()int[]getDisplayIndices()java.util.ArrayList<FlowInfo>getFlowInfo()booleangetIsLinearContour3D()booleangetIsTerminal()booleangetIsTexture3D()booleangetIsTextureMap()intgetLevelOfDifficulty()DataDisplayLinkgetLink()booleangetMappedDisplayScalar()booleangetMultipleDisplayScalar()booleangetMultipleSpatialDisplayScalar()java.lang.StringgetParentText()TextControlgetParentTextControl()int[]getRefToComponent()java.util.VectorgetTextMaps(int i, int[] textIndices)MathTypegetType()int[]getValueIndices()java.lang.ObjectmakeBranch()booleanmakeContour(int valueArrayLength, int[] valueToScalar, float[][] display_values, int[] inherited_values, java.util.Vector MapVector, int[] valueToMap, int domain_length, boolean[][] range_select, int spatialManifoldDimension, Set spatial_set, byte[][] color_values, boolean indexed, java.lang.Object group, GraphicsModeControl mode, boolean[] swap, float constant_alpha, float[] constant_color, ShadowType shadow_api, ShadowRealTupleType Domain, ShadowRealType[] DomainReferenceComponents, Set domain_set, Unit[] domain_units, CoordinateSystem dataCoordinateSystem)VisADGeometryArray[]makeFlow(int which, float[][] flow_values, float flowScale, float arrowScale, float[][] spatial_values, byte[][] color_values, boolean[][] range_select)which = 0 for Flow1 and which = 1 for Flow2static VisADGeometryArraymakePointGeometry(float[][] spatial_values, byte[][] color_values)static VisADGeometryArraymakePointGeometry(float[][] spatial_values, byte[][] color_values, boolean compress)SetmakeSpatialSet(Set domain_set, SetType type, float[][] spatial_values)VisADGeometryArray[]makeStreamline(int which, float[][] flow_values, float flowScale, float[][] spatial_values, Set spatial_set, int spatialManifoldDimension, byte[][] color_values, boolean[][] range_select, int valueArrayLength, int[] valueToMap, java.util.Vector MapVector)java.lang.ObjectmakeSwitch()VisADGeometryArraymakeText(java.lang.String[] text_values, TextControl text_control, float[][] spatial_values, byte[][] color_values, boolean[][] range_select)byte[][]makeTrajColor(float[][] rangeValues, int valueArrayLength, int[] valueToMap, java.util.Vector MapVector)voidmakeTrajFlow(int which, float[][] flow_values, Data data, float flowScale, float[][] spatial_values, Set spatial_set, int spatialManifoldDimension, byte[][] color_values, boolean[][] range_select, GraphicsModeControl mode, float constant_alpha, float[] constant_color, int valueArrayLength, int[] valueToMap, java.util.Vector MapVector, java.util.ArrayList flowInfoList)static voidmapValues(float[][] display_values, double[][] values, ShadowRealType[] reals)map values to display_values according to ScalarMap-s in realsstatic voidmapValues(float[][] display_values, float[][] values, ShadowRealType[] reals)map values into display_values according to ScalarMap-s in realsstatic voidmapValues(float[][] display_values, float[][] values, ShadowRealType[] reals, boolean copy)Map values into display_values according to ScalarMap-s in realsbooleanrecurseComponent(int i, java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer)booleanrecurseRange(java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer)float[]setTex3DCoords(int length, int axis, float ratiow, float ratioh, float ratiod)voidsetTexCoords(float[] texCoords, float ratiow, float ratioh)float[]setTexStackCoords(int length, int axis, float ratiow, float ratioh, float ratiod)voidsetText(java.lang.String text, TextControl control)booleanterminalTupleOrScalar(java.lang.Object group, float[][] display_values, java.lang.String text_value, TextControl text_control, int valueArrayLength, int[] valueToScalar, float[] default_values, int[] inherited_values, DataRenderer renderer, ShadowType shadow_api)transform data into a (Java3D or Java2D) scene graph; add generated scene graph components as children of group; group is Group (Java3D) or VisADGroup (Java2D); value_array are inherited valueArray values; default_values are defaults for each display.DisplayRealTypeVector; return true if need post-processvoidtexture3DToGroup(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)inttextureDepth(int data_depth)inttextureHeight(int data_height)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)voidtextureToGroup(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)inttextureWidth(int data_width)java.lang.StringtoString()booleanwantIndexed()
-
-
-
Field Detail
-
NOTHING_MAPPED
public static final int NOTHING_MAPPED
possible values for LevelOfDifficulty- See Also:
- Constant Field Values
-
SIMPLE_TUPLE
public static final int SIMPLE_TUPLE
- See Also:
- Constant Field Values
-
SIMPLE_ANIMATE_FIELD
public static final int SIMPLE_ANIMATE_FIELD
- See Also:
- Constant Field Values
-
SIMPLE_FIELD
public static final int SIMPLE_FIELD
- See Also:
- Constant Field Values
-
NESTED
public static final int NESTED
- See Also:
- Constant Field Values
-
LEGAL
public static final int LEGAL
- See Also:
- Constant Field Values
-
PROP_IMAGE_BY_REF
public static final java.lang.String PROP_IMAGE_BY_REF
Image ByReference flags- See Also:
- Constant Field Values
-
PROP_CONTOURFILL_SINGLE_VALUE_AS_TEXTURE
public static final java.lang.String PROP_CONTOURFILL_SINGLE_VALUE_AS_TEXTURE
Property to create a texture for a single value color filled contour- See Also:
- Constant Field Values
-
byReference
public static final boolean byReference
-
yUp
public static final boolean yUp
-
trajectory1
public boolean trajectory1
trajectory flags
-
trajectory2
public boolean trajectory2
-
METERS_PER_DEGREE
public static final float METERS_PER_DEGREE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ShadowType
public ShadowType(MathType type, DataDisplayLink link, ShadowType parent) throws VisADException, java.rmi.RemoteException
- Throws:
VisADExceptionjava.rmi.RemoteException
-
-
Method Detail
-
getLink
public DataDisplayLink getLink()
-
getLevelOfDifficulty
public int getLevelOfDifficulty()
-
getIsTerminal
public boolean getIsTerminal()
-
getIsTextureMap
public boolean getIsTextureMap()
-
getCurvedTexture
public boolean getCurvedTexture()
-
getIsTexture3D
public boolean getIsTexture3D()
-
getIsLinearContour3D
public boolean getIsLinearContour3D()
-
getRefToComponent
public int[] getRefToComponent()
-
getComponentWithRef
public ShadowRealTupleType[] getComponentWithRef()
-
getComponentIndex
public int[] getComponentIndex()
-
getAdjustProjectionSeam
public boolean getAdjustProjectionSeam()
-
getComponents
public ShadowRealType[] getComponents(ShadowType type, boolean doRef) throws VisADException
- Throws:
VisADException
-
getData
public Data getData()
-
getAdaptedShadowType
public ShadowType getAdaptedShadowType()
-
getAnyContour
public boolean getAnyContour()
-
getAnyFlow
public boolean getAnyFlow()
-
getAnyShape
public boolean getAnyShape()
-
getAnyText
public boolean getAnyText()
-
checkIndices
public int checkIndices(int[] indices, int[] display_indices, int[] value_indices, boolean[] isTransform, int levelOfDifficulty) throws VisADException, java.rmi.RemoteExceptionscans ShadowType tree to determine display feasibility and precompute useful information for Data transform; indices & display_indices are counts (at leaves) of numbers of occurrences of RealTypes and DisplayRealTypes; isTransform flags for (Animation, Range, Value) re-transform; levelOfDifficulty passed down and up call chain- Throws:
VisADExceptionjava.rmi.RemoteException
-
getDisplay
public DisplayImpl getDisplay()
-
getType
public MathType getType()
-
getMultipleDisplayScalar
public boolean getMultipleDisplayScalar()
-
getMultipleSpatialDisplayScalar
public boolean getMultipleSpatialDisplayScalar()
-
getMappedDisplayScalar
public boolean getMappedDisplayScalar()
-
getDisplayIndices
public int[] getDisplayIndices()
-
getValueIndices
public int[] getValueIndices()
-
getFlowInfo
public java.util.ArrayList<FlowInfo> getFlowInfo()
-
mapValues
public static void mapValues(float[][] display_values, double[][] values, ShadowRealType[] reals) throws VisADExceptionmap values to display_values according to ScalarMap-s in reals- Throws:
VisADException
-
mapValues
public static void mapValues(float[][] display_values, float[][] values, ShadowRealType[] reals) throws VisADExceptionmap values into display_values according to ScalarMap-s in reals- Throws:
VisADException
-
mapValues
public static void mapValues(float[][] display_values, float[][] values, ShadowRealType[] reals, boolean copy) throws VisADExceptionMap values into display_values according to ScalarMap-s in reals- Parameters:
display_values- return display valuesvalues- data valuesreals- the ShadowRealTypes corresponding to the Scalar in mapscopy- if false, scale values in place if reals[index] has only one mapping. Use true if values represent a getSamples(false) or getFloats(false)- Throws:
VisADException
-
makePointGeometry
public static VisADGeometryArray makePointGeometry(float[][] spatial_values, byte[][] color_values) throws VisADException
- Throws:
VisADException
-
makePointGeometry
public static VisADGeometryArray makePointGeometry(float[][] spatial_values, byte[][] color_values, boolean compress) throws VisADException
- Throws:
VisADException
-
assembleShape
public VisADGeometryArray[] assembleShape(float[][] display_values, int valueArrayLength, int[] valueToMap, java.util.Vector MapVector, int[] valueToScalar, DisplayImpl display, float[] default_values, int[] inherited_values, float[][] spatial_values, byte[][] color_values, boolean[][] range_select, int index, ShadowType shadow_api) throws VisADException, java.rmi.RemoteException
collect and transform Shape DisplayRealType values from display_values; offset by spatial_values, colored by color_values and selected by range_select- Throws:
VisADExceptionjava.rmi.RemoteException
-
assembleSpatial
public Set assembleSpatial(float[][] spatial_values, float[][] display_values, int valueArrayLength, int[] valueToScalar, DisplayImpl display, float[] default_values, int[] inherited_values, Set domain_set, boolean allSpatial, boolean set_for_shape, int[] spatialDimensions, boolean[][] range_select, float[][] flow1_values, float[][] flow2_values, float[] flowScale, boolean[] swap, DataRenderer renderer, ShadowType shadow_api) throws VisADException, java.rmi.RemoteException
collect and transform spatial DisplayRealType values from display_values; add spatial offset DisplayRealType values; adjust flow1_values and flow2_values for any coordinate transform; if needed, return a spatial Set from spatial_values, with the same topology as domain_set (or an appropriate Irregular topology); domain_set = null and allSpatial = false if not called from ShadowFunctionType- Throws:
VisADExceptionjava.rmi.RemoteException
-
makeSpatialSet
public Set makeSpatialSet(Set domain_set, SetType type, float[][] spatial_values) throws VisADException
- Throws:
VisADException
-
assembleFlow
public void assembleFlow(float[][] flow1_values, float[][] flow2_values, float[] flowScale, float[] arrowScale, float[][] display_values, int valueArrayLength, int[] valueToScalar, DisplayImpl display, float[] default_values, boolean[][] range_select, DataRenderer renderer, ShadowType shadow_api) throws VisADException, java.rmi.RemoteExceptionassemble Flow components; Flow components are 'single', so no compositing is required- Throws:
VisADExceptionjava.rmi.RemoteException
-
adjustFlowToEarth
public static float[][] adjustFlowToEarth(int which, float[][] flow_values, float[][] spatial_values, float flowScale, DataRenderer renderer) throws VisADException- Throws:
VisADException
-
adjustFlowToEarth
public static float[][] adjustFlowToEarth(int which, float[][] flow_values, float[][] spatial_values, float flowScale, DataRenderer renderer, boolean force) throws VisADException- Throws:
VisADException
-
adjustFlowToEarth
public static float[][] adjustFlowToEarth(int which, float[][] flow_values, float[][] spatial_values, float flowScale, DataRenderer renderer, boolean force, boolean isTraj, float timeStep) throws VisADException- Throws:
VisADException
-
makeStreamline
public VisADGeometryArray[] makeStreamline(int which, float[][] flow_values, float flowScale, float[][] spatial_values, Set spatial_set, int spatialManifoldDimension, byte[][] color_values, boolean[][] range_select, int valueArrayLength, int[] valueToMap, java.util.Vector MapVector) throws VisADException
- Throws:
VisADException
-
makeTrajFlow
public void makeTrajFlow(int which, float[][] flow_values, Data data, float flowScale, float[][] spatial_values, Set spatial_set, int spatialManifoldDimension, byte[][] color_values, boolean[][] range_select, GraphicsModeControl mode, float constant_alpha, float[] constant_color, int valueArrayLength, int[] valueToMap, java.util.Vector MapVector, java.util.ArrayList flowInfoList) throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
makeTrajColor
public byte[][] makeTrajColor(float[][] rangeValues, int valueArrayLength, int[] valueToMap, java.util.Vector MapVector) throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
makeFlow
public VisADGeometryArray[] makeFlow(int which, float[][] flow_values, float flowScale, float arrowScale, float[][] spatial_values, byte[][] color_values, boolean[][] range_select) throws VisADException
which = 0 for Flow1 and which = 1 for Flow2- Throws:
VisADException
-
makeText
public VisADGeometryArray makeText(java.lang.String[] text_values, TextControl text_control, float[][] spatial_values, byte[][] color_values, boolean[][] range_select) throws VisADException
- Throws:
VisADException
-
assembleColor
public byte[][] assembleColor(float[][] display_values, int valueArrayLength, int[] valueToScalar, DisplayImpl display, float[] default_values, boolean[][] range_select, boolean[] single_missing, ShadowType shadow_api) throws VisADException, java.rmi.RemoteExceptioncomposite and transform color and Alpha DisplayRealType values from display_values, and return as (Red, Green, Blue, Alpha)- Throws:
VisADExceptionjava.rmi.RemoteException
-
byteToFloat
public static final float byteToFloat(byte b)
-
floatToByte
public static final byte floatToByte(float f)
-
getDefaultColorIndex
public static int getDefaultColorIndex(DisplayImpl display, int index)
-
assembleSelect
public boolean[][] assembleSelect(float[][] display_values, int domain_length, int valueArrayLength, int[] valueToScalar, DisplayImpl display, ShadowType shadow_api) throws VisADExceptionreturn a composite of SelectRange DisplayRealType values from display_values, as 0.0 for select and Double.Nan for no select (these values can be added to other DisplayRealType values)- Throws:
VisADException
-
terminalTupleOrScalar
public boolean terminalTupleOrScalar(java.lang.Object group, float[][] display_values, java.lang.String text_value, TextControl text_control, int valueArrayLength, int[] valueToScalar, float[] default_values, int[] inherited_values, DataRenderer renderer, ShadowType shadow_api) throws VisADException, java.rmi.RemoteExceptiontransform data into a (Java3D or Java2D) scene graph; add generated scene graph components as children of group; group is Group (Java3D) or VisADGroup (Java2D); value_array are inherited valueArray values; default_values are defaults for each display.DisplayRealTypeVector; return true if need post-process- Throws:
VisADExceptionjava.rmi.RemoteException
-
makeContour
public boolean makeContour(int valueArrayLength, int[] valueToScalar, float[][] display_values, int[] inherited_values, java.util.Vector MapVector, int[] valueToMap, int domain_length, boolean[][] range_select, int spatialManifoldDimension, Set spatial_set, byte[][] color_values, boolean indexed, java.lang.Object group, GraphicsModeControl mode, boolean[] swap, float constant_alpha, float[] constant_color, ShadowType shadow_api, ShadowRealTupleType Domain, ShadowRealType[] DomainReferenceComponents, Set domain_set, Unit[] domain_units, CoordinateSystem dataCoordinateSystem) throws VisADException- Throws:
VisADException
-
textureWidth
public int textureWidth(int data_width)
-
textureHeight
public int textureHeight(int data_height)
-
textureDepth
public int textureDepth(int data_depth)
-
adjustZ
public void adjustZ(float[] coordinates)
-
setTexCoords
public void setTexCoords(float[] texCoords, float ratiow, float ratioh)
-
setTex3DCoords
public float[] setTex3DCoords(int length, int axis, float ratiow, float ratioh, float ratiod)
-
setTexStackCoords
public float[] setTexStackCoords(int length, int axis, float ratiow, float ratioh, float ratiod)
-
getTextMaps
public java.util.Vector getTextMaps(int i, int[] textIndices)
-
addToGroup
public boolean addToGroup(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color) throws VisADException- Throws:
VisADException
-
addToDetachableGroup
public java.lang.Object addToDetachableGroup(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color) throws VisADException- Throws:
VisADException
-
addLabelsToGroup
public void addLabelsToGroup(java.lang.Object group, VisADGeometryArray[] arrays, GraphicsModeControl mode, ContourControl control, ProjectionControl p_cntrl, int[] cnt, float constant_alpha, float[] contstant_color) throws VisADException- Throws:
VisADException
-
addTextToGroup
public boolean addTextToGroup(java.lang.Object group, VisADGeometryArray array, GraphicsModeControl mode, float constant_alpha, float[] constant_color) throws VisADException- Throws:
VisADException
-
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- 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- 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- Throws:
VisADException
-
makeSwitch
public java.lang.Object makeSwitch()
-
makeBranch
public java.lang.Object makeBranch()
-
addToGroup
public void addToGroup(java.lang.Object group, java.lang.Object branch) throws VisADException- Throws:
VisADException
-
addToSwitch
public void addToSwitch(java.lang.Object swit, java.lang.Object branch) throws VisADException- Throws:
VisADException
-
addSwitch
public void addSwitch(java.lang.Object group, java.lang.Object swit, Control control, Set domain_set, DataRenderer renderer) throws VisADException- Throws:
VisADException
-
recurseRange
public boolean recurseRange(java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer) throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
recurseComponent
public boolean recurseComponent(int i, java.lang.Object group, Data data, float[] value_array, float[] default_values, DataRenderer renderer) throws VisADException, java.rmi.RemoteException- Throws:
VisADExceptionjava.rmi.RemoteException
-
wantIndexed
public boolean wantIndexed()
-
getParentTextControl
public TextControl getParentTextControl()
-
getParentText
public java.lang.String getParentText()
-
setText
public void setText(java.lang.String text, TextControl control)
-
allowCurvedTexture
public boolean allowCurvedTexture()
-
allowConstantColorSurfaces
public boolean allowConstantColorSurfaces()
-
allowLinearContour
public boolean allowLinearContour()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG