|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvisad.ShadowType
visad.ShadowTupleType
The ShadowTupleType class shadows the TupleType class, within a DataDisplayLink.
| Field Summary | |
(package private) ShadowType[] |
tupleComponents
|
| Constructor Summary | |
ShadowTupleType(MathType t,
DataDisplayLink link,
ShadowType parent,
ShadowType[] tcs)
|
|
| Method Summary | |
int |
checkIndices(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 chain |
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 |
ShadowType |
getComponent(int i)
|
int |
getDimension()
get number of components |
int[] |
getInheritedValues()
|
ShadowRealType[] |
getRealComponents()
|
boolean |
isFlat()
|
(package private) void |
markTransform(boolean[] isTransform)
mark Control-s as needing re-Transform |
(package private) int[] |
sumDisplayIndices(int[] display_indices)
add DisplayIndices (from each ShadowScalarType and ShadowRealTupleType component) |
(package private) int[] |
sumIndices(int[] indices)
|
(package private) int[] |
sumValueIndices(int[] value_indices)
add ValueIndices (from each ShadowScalarType and ShadowRealTupleType component) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
ShadowType[] tupleComponents
| Constructor Detail |
public ShadowTupleType(MathType t,
DataDisplayLink link,
ShadowType parent,
ShadowType[] tcs)
throws VisADException,
RemoteException
| Method Detail |
public ShadowRealType[] getRealComponents()
int[] sumIndices(int[] indices)
int[] sumDisplayIndices(int[] display_indices)
throws VisADException
VisADException
int[] sumValueIndices(int[] value_indices)
throws VisADException
VisADException
public int checkIndices(int[] indices,
int[] display_indices,
int[] value_indices,
boolean[] isTransform,
int levelOfDifficulty)
throws VisADException,
RemoteException
ShadowType
checkIndices in class ShadowTypeVisADException
RemoteExceptionpublic int[] getInheritedValues()
public int getDimension()
public ShadowType getComponent(int i)
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
RemoteExceptionpublic boolean isFlat()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||