public class DualRes extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
DEBUG
Debugging flag.
|
protected DataReferenceImpl |
hi_ref
High-resolution data reference.
|
protected DataReferenceImpl |
lo_ref
Low-resolution data reference.
|
| Constructor and Description |
|---|
DualRes(DataReferenceImpl ref)
Constructs an object to maintain both high- and low-resolution
representations for the referenced data.
|
| Modifier and Type | Method and Description |
|---|---|
DataReferenceImpl |
getHighResReference()
Gets the DataReference corresponding to the full-resolution data.
|
DataReferenceImpl |
getLowResReference()
Gets the DataReference corresponding to the scaled-down data.
|
double |
getResolutionScale()
Gets the factor by which the low-resolution representation is
scaled down from the high-resolution one.
|
static FieldImpl |
rescale(FieldImpl field,
double scale)
Rescales a field by the given scale factor.
|
static FieldImpl |
rescale(FieldImpl field,
int[] lengths)
Rescales a field by the given scale factor.
|
void |
setResolutionScale(double scale)
Sets the factor by which the low-resolution representation is
scaled down from the high-resolution one.
|
public static boolean DEBUG
protected DataReferenceImpl hi_ref
protected DataReferenceImpl lo_ref
public DualRes(DataReferenceImpl ref) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic static FieldImpl rescale(FieldImpl field, double scale) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic static FieldImpl rescale(FieldImpl field, int[] lengths) throws VisADException, RemoteException
VisADExceptionRemoteExceptionpublic void setResolutionScale(double scale)
throws VisADException
VisADExceptionpublic double getResolutionScale()
public DataReferenceImpl getHighResReference()
public DataReferenceImpl getLowResReference()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.