TX
- The type of the X-DataTY
- The type of the Y-DataTZ
- The type of the Z-Datapublic abstract class BaseGridDataSeries3D<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>> extends DataSeries3D<TX,TY,TZ> implements IGridDataSeries3DValues<TX,TY,TZ>
Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected int |
xSize |
protected GridData<TY> |
yValues |
protected int |
zSize |
lock, OPERATION_NOT_SUPPORTED_MESSAGE, xMath, xType, yMath, yType, zMath, zType
Modifier | Constructor and Description |
---|---|
protected |
BaseGridDataSeries3D(java.lang.Class<TX> xType,
java.lang.Class<TY> yType,
java.lang.Class<TZ> zType,
int xSize,
int zSize)
Creates a new
BaseGridDataSeries3D instance |
Modifier and Type | Method and Description |
---|---|
void |
clear(boolean retainCapacity) |
void |
copyFrom(com.scichart.core.model.IValues<TY> values)
Copies values to this instance
|
int |
getCount() |
IndexCalculator |
getIndexCalculator()
Gets the
IndexCalculator used to map indices |
int |
getXSize()
Gets the size of 3D grid in X direction
|
TY |
getYValueAt(int xIndex,
int zIndex)
Gets the Y value for specified xIndex and zIndex
|
com.scichart.data.model.IDoubleValuesProvider |
getYValues()
Gets the Y Values of this series
|
int |
getZSize()
Gets the size of 3D grid in Z direction
|
void |
pushRow(com.scichart.core.model.IValues<TY> row)
Pushes a row into the data series, which discards one old row in a First In First Out fashion.
|
void |
pushRow(TY[] row)
Pushes a row into the data series, which discards one old row in a First In First Out fashion.
|
void |
setRowAt(int index,
com.scichart.core.model.IValues<TY> row)
Sets the row at the specified Z index
|
void |
setRowAt(int index,
TY[] row)
Sets the row at the specified Z index
|
void |
updateYAt(int xIndex,
int zIndex,
TY value)
Updates Y values at specified position
|
protected void |
updateYRange(com.scichart.data.model.IRange<TY> yRange)
Sets the total extents of the
IDataSeries3D in the Y direction. |
getLock, getXMath, getXRange, getYMath, getYRange, getZMath, getZRange, updateXRange, updateZRange
addObserver, clear, getHasValues, getSeriesName, onDataSeriesChanged, removeObserver, setSeriesName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getXValueAt, getXValues, getZValueAt, getZValues
protected final int xSize
protected final int zSize
protected final int count
protected BaseGridDataSeries3D(java.lang.Class<TX> xType, java.lang.Class<TY> yType, java.lang.Class<TZ> zType, int xSize, int zSize)
BaseGridDataSeries3D
instancexType
- The type of X-DatayType
- The type of Y-DatazType
- The type of Z-DataxSize
- The size of the XzSize
- The size of the Zpublic final IndexCalculator getIndexCalculator()
IndexCalculator
used to map indicesIndexCalculator
associated with this data seriespublic final com.scichart.data.model.IDoubleValuesProvider getYValues()
getYValues
in interface IGridDataSeries3DValues<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
public final int getXSize()
public final int getZSize()
protected void updateYRange(com.scichart.data.model.IRange<TY> yRange)
IDataSeries3D
in the Y direction.updateYRange
in class DataSeries3D<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
yRange
- The range to setpublic final int getCount()
getCount
in interface com.scichart.charting.model.dataSeries.IDataSeriesCore
public void clear(boolean retainCapacity)
clear
in interface com.scichart.charting.model.dataSeries.IDataSeriesCore
public final TY getYValueAt(int xIndex, int zIndex)
getYValueAt
in interface IGridDataSeries3DValues<TX extends java.lang.Comparable<TX>,TY extends java.lang.Comparable<TY>,TZ extends java.lang.Comparable<TZ>>
xIndex
- The xIndex to get Y value forzIndex
- The zIndex to get Y value forpublic void updateYAt(int xIndex, int zIndex, TY value)
xIndex
- The xIndex of point to updatezIndex
- The zIndex of point to updatevalue
- The new yValuepublic final void pushRow(TY[] row)
row
- The row with new valuespublic void pushRow(com.scichart.core.model.IValues<TY> row)
row
- The row with new valuespublic void setRowAt(int index, TY[] row)
index
- The z-index to userow
- The row with new valuespublic void setRowAt(int index, com.scichart.core.model.IValues<TY> row)
index
- The z-index to userow
- The row with new valuespublic void copyFrom(com.scichart.core.model.IValues<TY> values)
values
- Values to copy from