public final class ProfileCombinerCell extends ComputeCell
Constructor and Description |
---|
ProfileCombinerCell(visad.DataReference pro1Ref,
visad.DataReference pro2Ref,
visad.RealType rangeType)
Constructs from data references.
|
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the combined profile of two input profiles.
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public ProfileCombinerCell(visad.DataReference pro1Ref, visad.DataReference pro2Ref, visad.RealType rangeType) throws visad.VisADException, java.rmi.RemoteException
pro1Ref
- The input first profile reference.pro2Ref
- The input second profile reference.rangeType
- The type of the range of the output profile.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.protected visad.Data compute(visad.Data[] datums) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
compute
in class ComputeCell
datums
- The input data in the same order as during
construction: datums[0]
is the
first profile and datums[1]
is
the second profile.java.lang.ClassCastException
- if an input data reference has the wrong
type of data object.visad.TypeException
- if a VisAD data object has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.