|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.ShadowType
visad.ShadowFunctionOrSetType
The ShadowFunctionOrSetType class is an abstract parent for classes that implement ShadowFunctionType or ShadowSetType.
| Field Summary | |
(package private) ShadowRealTupleType |
Domain
|
(package private) ShadowRealType[] |
DomainComponents
|
(package private) ShadowRealType[] |
DomainReferenceComponents
|
(package private) boolean |
Flat
true if range is ShadowRealType or Flat ShadowTupleType not the same as FunctionType.Flat; also true for ShadowSetType |
(package private) int[] |
inherited_values
value_indices from parent |
(package private) ShadowType |
Range
|
(package private) ShadowRealType[] |
RangeComponents
RangeComponents is an array of ShadowRealType-s that are ShadowRealType components of Range or ShadowRealType components of ShadowRealTupleType components of Range; a non-ShadowRealType and non-ShadowTupleType Range is marked by null; components of a ShadowTupleType Range that are neither ShadowRealType nor ShadowRealTupleType are ignored |
| Constructor Summary | |
ShadowFunctionOrSetType(MathType t,
DataDisplayLink link,
ShadowType parent,
ShadowRealTupleType domain,
ShadowType range)
this constructor is a bit of a kludge to get around single inheritance problems |
|
| Method Summary | |
int |
checkIndices(int[] indices,
int[] display_indices,
int[] value_indices,
boolean[] isTransform,
int levelOfDifficulty)
checkIndices: check for rendering difficulty, etc |
BufferedImage |
createImage(int data_width,
int data_height,
int texture_width,
int texture_height,
byte[][] color_values)
|
BufferedImage |
createImage(int data_width,
int data_height,
int texture_width,
int texture_height,
byte[][] color_values,
boolean byRef)
|
BufferedImage[] |
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,
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-process |
ShadowRealTupleType |
getDomain()
|
ShadowRealType[] |
getDomainComponents()
|
ShadowRealType[] |
getDomainReferenceComponents()
|
boolean |
getFlat()
|
int[] |
getInheritedValues()
|
ShadowType |
getRange()
|
ShadowRealType[] |
getRangeComponents()
|
(package private) int[] |
getRangeDisplayIndices()
used by FlatField.computeRanges |
(package private) void |
markTransform(boolean[] isTransform)
mark Control-s as needing re-Transform |
VisADQuadArray |
reverse(VisADQuadArray array)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
ShadowRealTupleType Domain
ShadowType Range
ShadowRealType[] RangeComponents
ShadowRealType[] DomainComponents
ShadowRealType[] DomainReferenceComponents
boolean Flat
int[] inherited_values
| Constructor Detail |
public ShadowFunctionOrSetType(MathType t,
DataDisplayLink link,
ShadowType parent,
ShadowRealTupleType domain,
ShadowType range)
throws VisADException,
RemoteException
| Method Detail |
public boolean getFlat()
public ShadowRealType[] getRangeComponents()
public ShadowRealType[] getDomainComponents()
public ShadowRealType[] getDomainReferenceComponents()
int[] getRangeDisplayIndices()
throws VisADException
VisADExceptionpublic int[] getInheritedValues()
public int checkIndices(int[] indices,
int[] display_indices,
int[] value_indices,
boolean[] isTransform,
int levelOfDifficulty)
throws VisADException,
RemoteException
checkIndices in class ShadowTypeVisADException
RemoteExceptionpublic ShadowRealTupleType getDomain()
public ShadowType getRange()
void markTransform(boolean[] isTransform)
markTransform in class ShadowType
public boolean doTransform(Object group,
Data data,
float[] value_array,
float[] default_values,
DataRenderer renderer,
ShadowType shadow_api)
throws VisADException,
RemoteException
VisADException
RemoteException
public BufferedImage createImage(int data_width,
int data_height,
int texture_width,
int texture_height,
byte[][] color_values)
throws VisADException
VisADException
public BufferedImage createImage(int data_width,
int data_height,
int texture_width,
int texture_height,
byte[][] color_values,
boolean byRef)
throws VisADException
VisADException
public BufferedImage[] 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
VisADExceptionpublic VisADQuadArray reverse(VisADQuadArray array)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||