|
||||||||||
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.VirtualField
public class VirtualField
Provides support for a virtual VisAD Field.
Constructor Summary | |
---|---|
protected |
VirtualField(FunctionType funcType,
SampledSet domainSet,
VirtualTuple rangeTuple)
Constructs from a function type, domain set, and range tuple. |
Method Summary | |
---|---|
Object |
clone()
Clones this instance. |
DataImpl |
getData(Context context)
Gets the VisAD data object corresponding to this virtual, data object. |
DataFactory |
getDataFactory()
Returns the factory used to create VisAD data objects. |
SampledSet |
getDomainSet()
Gets the domain sampling set of this virtual field. |
FunctionType |
getFunctionType()
Gets the FunctionType of this virtual Field. |
VirtualTuple |
getRangeTuple()
Gets the range tuple of this virtual field. |
MathType |
getType()
Gets the MathType of this virtual Field. |
static VirtualField |
newVirtualField(FunctionType funcType,
SampledSet domainSet,
VirtualTuple rangeTuple)
Factory method for creating a new instance. |
static VirtualField |
newVirtualField(SampledSet domainSet,
VirtualTuple rangeTuple)
Factory method for creating a new instance. |
void |
setDataFactory(DataFactory factory)
Sets the factory used to create VisAD data objects. |
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 |
---|
protected VirtualField(FunctionType funcType, SampledSet domainSet, VirtualTuple rangeTuple)
funcType
- The VisAD FunctionType of the field.domainSet
- The domain sampling set of the field.rangeTuple
- The range of the field.Method Detail |
---|
public static VirtualField newVirtualField(SampledSet domainSet, VirtualTuple rangeTuple) throws VisADException
domainSet
- The domain sampling set of the field.rangeTuple
- The range of the field.
VisADException
- Couldn't created necessary VisAD object.public static VirtualField newVirtualField(FunctionType funcType, SampledSet domainSet, VirtualTuple rangeTuple)
funcType
- The VisAD FunctionType of the field.domainSet
- The domain sampling set of the field.rangeTuple
- The range of the field.
public FunctionType getFunctionType()
public MathType getType()
getType
in class VirtualData
public SampledSet getDomainSet()
public VirtualTuple getRangeTuple()
public DataImpl getData(Context context) throws VisADException, RemoteException, IOException
getData
in class VirtualData
context
- The context in which the data is to be
retrieved.
VisADException
- Couldn't created necessary VisAD object.
RemoteException
- Remote access failure.
IOException
- I/O failure.public Object clone()
clone
in class VirtualData
public void setDataFactory(DataFactory factory)
setDataFactory
in class VirtualData
factory
- The factory for creating VisAD data objects.public DataFactory getDataFactory()
getDataFactory
in class VirtualData
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |