public class VectorAccessor extends FileAccessor
FileFlatField.
Instances are immutable.
| Constructor and Description |
|---|
VectorAccessor(FunctionType funcType,
VectorAdapter vectorAdapter,
SampledSet domain,
dods.dap.PrimitiveVector vector)
Constructs from a function-type, a vector adapter, a domain and a DODS
primitive vector.
|
| Modifier and Type | Method and Description |
|---|---|
FlatField |
getFlatField()
Returns a VisAD
FlatField corresponding to this instance. |
FunctionType |
getFunctionType() |
double[][] |
readFlatField(FlatField template,
int[] fileLocation)
Throws a VisADError.
|
void |
writeFile(int[] fileLocation,
Data range)
Throws a VisADError.
|
void |
writeFlatField(double[][] values,
FlatField template,
int[] fileLocation)
Throws a VisADError.
|
public VectorAccessor(FunctionType funcType, VectorAdapter vectorAdapter, SampledSet domain, dods.dap.PrimitiveVector vector)
funcType - The function-type for the FlatField.vectorAdapter - The vector adapter corresponding to the DODS
primitive vector.domain - The domain for the FileFlatField.vector - The DODS primitive vector.public FunctionType getFunctionType()
getFunctionType in class FileAccessorpublic FlatField getFlatField() throws VisADException, RemoteException
FlatField corresponding to this instance.getFlatField in class FileAccessorVisADException - VisAD failure.RemoteException - Java RMI failure.public void writeFlatField(double[][] values,
FlatField template,
int[] fileLocation)
writeFlatField in class FileAccessorvalues - Some values.template - A template FlatField.fileLocation - An array of positional parameters.VisADError - This method does nothing and should not
have been invoked. Always thrown.public double[][] readFlatField(FlatField template, int[] fileLocation)
readFlatField in class FileAccessortemplate - A template FlatField.fileLocation - An array of positional parameters.null.VisADError - This method does nothing and should not
have been invoked. Always thrown.public void writeFile(int[] fileLocation,
Data range)
writeFile in class FileAccessorfileLocation - An array of positional parameters.range - The range of a FlatField.VisADError - This method does nothing and should not
have been invoked. Always thrown.Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.