public class VirtualField extends VirtualData
Modifier | Constructor and Description |
---|---|
protected |
VirtualField(FunctionType funcType,
SampledSet domainSet,
VirtualTuple rangeTuple)
Constructs from a function type, domain set, and range tuple.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getData, toString
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.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
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.