|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TupleIface
TupleIface is the VisAD data interface for vectors.
Field Summary |
---|
Fields inherited from interface visad.Data |
---|
ABS, ACOS, ACOS_DEGREES, ADD, ASIN, ASIN_DEGREES, ATAN, ATAN_DEGREES, ATAN2, ATAN2_DEGREES, CEIL, COS, COS_DEGREES, DEGREES_TO_RADIANS, DEPENDENT, DIVIDE, EXP, FLOOR, INDEPENDENT, INV_ATAN2, INV_ATAN2_DEGREES, INV_DIVIDE, INV_POW, INV_REMAINDER, INV_SUBTRACT, LOG, MAX, MIN, MULTIPLY, NEAREST_NEIGHBOR, NEGATE, NO_ERRORS, NOP, POW, RADIANS_TO_DEGREES, REMAINDER, RINT, ROUND, SIN, SIN_DEGREES, SQRT, SUBTRACT, TAN, TAN_DEGREES, WEIGHTED_AVERAGE |
Method Summary | |
---|---|
Data |
adjustSamplingError(Data error,
int error_mode)
return a Tuple that clones this, except its ErrorEstimate-s are adjusted for sampling errors in error |
Data |
binary(Data data,
int op,
MathType new_type,
int sampling_mode,
int error_mode)
Pointwise binary operation between this and data. |
DataShadow |
computeRanges(ShadowType type,
DataShadow shadow)
Recursive version of computeRanges(), called down through Data object tree. |
Data |
getComponent(int i)
return component for i between 0 and getDimension() - 1 |
int |
getDimension()
return number of components |
Real[] |
getRealComponents()
|
boolean |
isMissing()
|
String |
longString(String pre)
|
Data |
unary(int op,
MathType new_type,
int sampling_mode,
int error_mode)
Pointwise unary operation applied to this. |
Methods inherited from interface visad.Data |
---|
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary |
Methods inherited from interface visad.Thing |
---|
addReference, removeReference |
Method Detail |
---|
Real[] getRealComponents() throws VisADException, RemoteException
VisADException
RemoteException
int getDimension() throws RemoteException
RemoteException
Data getComponent(int i) throws VisADException, RemoteException
VisADException
RemoteException
boolean isMissing() throws RemoteException
isMissing
in interface Data
RemoteException
- an RMI error occurredData binary(Data data, int op, MathType new_type, int sampling_mode, int error_mode) throws VisADException, RemoteException
Data
binary
in interface Data
data
- other Data operand for binary operationop
- may be Data.ADD, Data.SUBTRACT, etc; these include all
binary operations defined for Java primitive data typesnew_type
- MathType of the resultsampling_mode
- may be Data.NEAREST_NEIGHBOR or
Data.WEIGHTED_AVERAGEerror_mode
- may be Data.INDEPENDENT, Data.DEPENDENT or
Data.NO_ERRORS;
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredData unary(int op, MathType new_type, int sampling_mode, int error_mode) throws VisADException, RemoteException
Data
unary
in interface Data
op
- may be Data.ABS, Data.ACOS, etc; these include all
unary operations defined for Java primitive data typesnew_type
- MathType of the resultsampling_mode
- may be Data.NEAREST_NEIGHBOR or
Data.WEIGHTED_AVERAGEerror_mode
- may be Data.INDEPENDENT, Data.DEPENDENT or
Data.NO_ERRORS;
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredDataShadow computeRanges(ShadowType type, DataShadow shadow) throws VisADException, RemoteException
Data
computeRanges
in interface Data
type
- ShadowType generated for MathType of thisshadow
- DataShadow instance whose contained double[][]
array and animation sampling Set are modified
according to RealType values in this, and used
as return value
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredData adjustSamplingError(Data error, int error_mode) throws VisADException, RemoteException
adjustSamplingError
in interface Data
error_mode
- may be Data.INDEPENDENT, Data.DEPENDENT or
Data.NO_ERRORS;
VisADException
- a VisAD error occurred
RemoteException
- an RMI error occurredString longString(String pre) throws VisADException, RemoteException
longString
in interface Data
pre
- String added to start of each line
VisADException
RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |