public class WindowTableDataSet extends java.lang.Object implements TableDataSet
PROPERTY_CACHE_TAG, PROPERTY_FORMATTER, PROPERTY_OPERATION, PROPERTY_PLANE_PEAKS, PROPERTY_PLANE_WEIGHTS, PROPERTY_RENDERER, PROPERTY_SIZE_BYTES, PROPERTY_SOURCE, PROPERTY_SUMMARY, PROPERTY_TITLE, PROPERTY_X_CACHE_RES, PROPERTY_X_CACHE_RNG, PROPERTY_X_FORMAT, PROPERTY_X_LABEL, PROPERTY_X_MONOTONIC, PROPERTY_X_RANGE, PROPERTY_X_SUMMARY, PROPERTY_X_TAG_WIDTH, PROPERTY_X_VALID_MAX, PROPERTY_X_VALID_MIN, PROPERTY_Y_CACHE_RES, PROPERTY_Y_CACHE_RNG, PROPERTY_Y_FILL, PROPERTY_Y_FORMAT, PROPERTY_Y_LABEL, PROPERTY_Y_MONOTONIC, PROPERTY_Y_RANGE, PROPERTY_Y_SCALETYPE, PROPERTY_Y_SUMMARY, PROPERTY_Y_TAG_WIDTH, PROPERTY_Y_VALID_MAX, PROPERTY_Y_VALID_MIN, PROPERTY_Z_FILL, PROPERTY_Z_FORMAT, PROPERTY_Z_LABEL, PROPERTY_Z_RANGE, PROPERTY_Z_SCALETYPE, PROPERTY_Z_SUMMARY, PROPERTY_Z_VALID_MAX, PROPERTY_Z_VALID_MIN| Constructor and Description |
|---|
WindowTableDataSet(VectorDataSet source,
int windowSize)
Creates a new instance of WindowTableDataSet
|
| Modifier and Type | Method and Description |
|---|---|
Datum |
getDatum(int i,
int j)
Returns the Z value for the given indices into the x and y tags as a
Datum. |
double |
getDouble(int i,
int j,
Units units)
Returns the Z value for the given indices into the x and y tags as a
double with the given units. |
double[] |
getDoubleScan(int i,
Units units) |
int |
getInt(int i,
int j,
Units units)
Returns the Z value for the given indices into the x and y tags as a
int with the given units. |
DataSet |
getPlanarView(java.lang.String planeID)
Returns a
DataSet with the specified view as the primary
view. |
java.lang.String[] |
getPlaneIds()
Returns a list of auxiliary planes (e.g.
|
java.util.Map |
getProperties()
Returns all dataset properties in a Map.
|
java.lang.Object |
getProperty(int table,
java.lang.String name)
Return the property value attached to the table.
|
java.lang.Object |
getProperty(java.lang.String name)
Returns the property value associated with the string
name |
DatumVector |
getScan(int i) |
int |
getXLength()
Returns the number of x tags in this data set.
|
VectorDataSet |
getXSlice(int i)
Returns a slice view of this data set for a specific x value
|
Datum |
getXTagDatum(int i)
Returns the value of the x tag at the given index i as a
Datum. |
double |
getXTagDouble(int i,
Units units)
Returns the value of the x tag at the given index i as a
double in the given units. |
int |
getXTagInt(int i,
Units units)
Returns the value of the x tag at the given index i as an
int in the given units. |
Units |
getXUnits()
Returns the Units object representing the unit type of the x tags
for this data set.
|
int |
getYLength(int table)
Returns the number of y tags in the specified table for this data set.
|
VectorDataSet |
getYSlice(int j,
int table)
Returns a slice view of this data set for a specific y value
|
Datum |
getYTagDatum(int table,
int j)
Returns the value of the y tag at the given index j as a
Datum. |
double |
getYTagDouble(int table,
int j,
Units units)
Returns the value of the y tag at the given index j as a
double in the given units. |
int |
getYTagInt(int table,
int j,
Units units)
Returns the value of the y tag at the given index j as an
int in the given units. |
DatumVector |
getYTags(int table)
Returns the yTags for this data set as a
DatumVector |
Units |
getYUnits()
Returns the Units object representing the unit type of the y tags
or y values for this data set.
|
Units |
getZUnits()
Returns the Units object representing the unit type of the y values for
this data set.
|
int |
tableCount()
Returns the number of tables in this data set
|
int |
tableEnd(int table)
Returns the index after the last x tag index of the specified table
|
int |
tableOfIndex(int i)
Returns the table number that the specified index is in.
|
int |
tableStart(int table)
Returns the first x tag index of the specified table.
|
public WindowTableDataSet(VectorDataSet source, int windowSize)
public Datum getDatum(int i, int j)
TableDataSetDatum.getDatum in interface TableDataSeti - index of the x tag for the requested value.j - index of the y tag for the requested value.Datumpublic double getDouble(int i,
int j,
Units units)
TableDataSetdouble with the given units.getDouble in interface TableDataSeti - index of the y tag for the requested value.j - index of the x tag for the requested value.units - the units the returned value should be converted to.double.public int getInt(int i,
int j,
Units units)
TableDataSetint with the given units.getInt in interface TableDataSeti - index of the x tag for the requested value.j - index of the y tag for the requested value.units - the units the returned value should be converted to.int.public DataSet getPlanarView(java.lang.String planeID)
DataSetDataSet with the specified view as the primary
view.getPlanarView in interface DataSetplaneID - the String id of the requested plane.DataSetpublic java.lang.Object getProperty(java.lang.String name)
DataSetnamegetProperty in interface DataSetname - the name of the property requestedname or nullpublic java.lang.Object getProperty(int table,
java.lang.String name)
TableDataSetgetProperty in interface TableDataSetpublic int getXLength()
DataSetgetXLength in interface DataSetpublic VectorDataSet getXSlice(int i)
TableDataSetgetXSlice in interface TableDataSetpublic Datum getXTagDatum(int i)
DataSetDatum.getXTagDatum in interface DataSeti - the index of the requested x tagDatum.public double getXTagDouble(int i,
Units units)
DataSetdouble in the given units. XTags must be
monotonically increasing with i.getXTagDouble in interface DataSeti - the index of the requested x tagunits - the units of the returned valuedouble.public int getXTagInt(int i,
Units units)
DataSetint in the given units. XTags must be
monotonically increasing with i.getXTagInt in interface DataSeti - the index of the requested x tagunits - the units of the returned value.int.public Units getXUnits()
DataSetpublic int getYLength(int table)
TableDataSetgetYLength in interface TableDataSettable - index of the tablepublic VectorDataSet getYSlice(int j, int table)
TableDataSetgetYSlice in interface TableDataSetpublic Datum getYTagDatum(int table, int j)
TableDataSetDatum.getYTagDatum in interface TableDataSettable - the table numberj - the index of the requested y tagDatum.public DatumVector getYTags(int table)
TableDataSetDatumVectorgetYTags in interface TableDataSettable - the table numberDatumVectorpublic double getYTagDouble(int table,
int j,
Units units)
TableDataSetdouble in the given units. YTags must be
monotonically increasing with j.getYTagDouble in interface TableDataSettable - the table numberj - the index of the requested y tagunits - the units of the returned valuedouble.public int getYTagInt(int table,
int j,
Units units)
TableDataSetint in the given units. YTags must be
monotonically increasing with j.getYTagInt in interface TableDataSetj - the index of the requested y tagunits - the units of the returned valueint.public Units getYUnits()
DataSetpublic Units getZUnits()
TableDataSetgetZUnits in interface TableDataSetpublic int tableCount()
TableDataSettableCount in interface TableDataSetpublic int tableEnd(int table)
TableDataSettableEnd in interface TableDataSettable - the index of the tablepublic int tableOfIndex(int i)
TableDataSettableOfIndex in interface TableDataSeti - x tag indexpublic int tableStart(int table)
TableDataSettableStart in interface TableDataSettable - the index of the table.public double[] getDoubleScan(int i,
Units units)
getDoubleScan in interface TableDataSetpublic DatumVector getScan(int i)
getScan in interface TableDataSetpublic java.lang.String[] getPlaneIds()
DataSetgetPlaneIds in interface DataSetpublic java.util.Map getProperties()
DataSetgetProperties in interface DataSet