|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.netcdf.in.VirtualData visad.data.netcdf.in.VirtualScalar visad.data.netcdf.in.VirtualReal
public class VirtualReal
Provides support for a virtual VisAD Real.
Constructor Summary | |
---|---|
VirtualReal(RealType type,
ucar.netcdf.Variable var,
SimpleSet rangeSet,
Unit unit,
visad.data.netcdf.in.Vetter vetter)
Constructs from a scalar type, a 1-D netCDF variable, a range set, a unit, and a value vetter. |
Method Summary | |
---|---|
Object |
clone()
Clones this instance. |
double[] |
getDoubles(Context context)
Gets the double values corresponding to this virtual, data object at a given context. |
SimpleSet |
getRangeSet()
Gets the range set of this scalar. |
protected Scalar |
getScalar(Context context)
Gets the Scalar object corresponding to this virtual, data object. |
Unit |
getUnit()
Gets the unit of the value. |
visad.data.netcdf.in.Vetter |
getVetter()
Gets the value vetter. |
boolean |
isReal()
Determines if this is a VirtualReal or not. |
Methods inherited from class visad.data.netcdf.in.VirtualScalar |
---|
getData, getDataFactory, getScalarType, getType, getVariable, setDataFactory |
Methods inherited from class visad.data.netcdf.in.VirtualData |
---|
getData, toString |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public VirtualReal(RealType type, ucar.netcdf.Variable var, SimpleSet rangeSet, Unit unit, visad.data.netcdf.in.Vetter vetter)
type
- The type of the nested scalar.var
- The 1-D netCDF variable.rangeSet
- The range set of the values.unit
- The unit of the values.vetter
- The value vetter.Method Detail |
---|
public SimpleSet getRangeSet()
getRangeSet
in class VirtualScalar
public Unit getUnit()
getUnit
in class VirtualScalar
public visad.data.netcdf.in.Vetter getVetter()
getVetter
in class VirtualScalar
protected Scalar getScalar(Context context) throws VisADException, InvalidContextException, IOException
getScalar
in class VirtualScalar
InvalidContextException
- if the indicial context is invalid.
VisADException
- Couldn't create necessary VisAD object.
RemoteException
- if a Java RMI failure occurs.
IOException
- I/O failure.public double[] getDoubles(Context context) throws IOException, VisADException
getDoubles
in class VirtualScalar
IOException
- I/O failure.
VisADException
- Couldn't create necessary VisAD object.public boolean isReal()
isReal
in class VirtualScalar
public Object clone()
clone
in class VirtualData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |