Class BaseGridDataSeries3D<TX,TY,TZ>
Defines a base class for 3D GridDataSeries
Implements
Inherited Members
Namespace:
Assembly: .dll
Syntax
public abstract class BaseGridDataSeries3D<TX,TY,TZ> extends dataSeries.DataSeries3D<TX,TY,TZ> implements dataSeriesIGridDataSeries3DValues<TX,TY,TZ>
Type Parameters
Name | Description |
---|---|
TX | |
TY | |
TZ |
Constructors
BaseGridDataSeries3D(Class<TX> xType, Class<TY> yType, Class<TZ> zType, int xSize, int zSize)
Creates a new BaseGridDataSeries3D instance
Declaration
protected BaseGridDataSeries3D(Class<TX> xType, Class<TY> yType, Class<TZ> zType, int xSize, int zSize)
Parameters
Type | Name | Description |
---|---|---|
Class<TX> | xType | The type of X-Data |
Class<TY> | yType | The type of Y-Data |
Class<TZ> | zType | The type of Z-Data |
int | xSize | The size of the X |
int | zSize | The size of the Z |
Fields
count
Declaration
protected final int count
Field Value
Type | Description |
---|---|
int |
xSize
Declaration
protected final int xSize
Field Value
Type | Description |
---|---|
int |
yValues
Declaration
protected final dataSeries.GridData<TY> yValues
Field Value
Type | Description |
---|---|
GridData<TY> |
zSize
Declaration
protected final int zSize
Field Value
Type | Description |
---|---|
int |
Methods
clear(boolean retainCapacity)
Declaration
public void clear(boolean retainCapacity)
Parameters
Type | Name | Description |
---|---|---|
boolean | retainCapacity |
copyFrom(IValues<TY> values)
Copies values to this instance
Declaration
public void copyFrom(IValues<TY> values)
Parameters
Type | Name | Description |
---|---|---|
IValues<TY> | values | Values to copy from |
getCount()
Declaration
public final int getCount()
Returns
Type | Description |
---|---|
int |
getIndexCalculator()
Gets the IndexCalculator used to map indices
Declaration
public final dataSeries.IndexCalculator getIndexCalculator()
Returns
Type | Description |
---|---|
dataSeries.IndexCalculator | The IndexCalculator associated with this data series |
getXSize()
Gets the size of 3D grid in X direction
Declaration
public final int getXSize()
Returns
Type | Description |
---|---|
int |
getYValueAt(int xIndex, int zIndex)
Gets the Y value for specified xIndex and zIndex
Declaration
public final TY getYValueAt(int xIndex, int zIndex)
Parameters
Type | Name | Description |
---|---|---|
int | xIndex | |
int | zIndex |
Returns
Type | Description |
---|---|
TY |
getYValues()
Gets the Y Values of this series
Declaration
public final IDoubleValuesProvider getYValues()
Returns
Type | Description |
---|---|
IDoubleValuesProvider |
getZSize()
Gets the size of 3D grid in Z direction
Declaration
public final int getZSize()
Returns
Type | Description |
---|---|
int |
pushRow(TY[] row)
Pushes a row into the data series, which discards one old row in a First In First Out fashion. use this method to scroll the GridData in the Z-direction
Declaration
public final void pushRow(TY[] row)
Parameters
Type | Name | Description |
---|---|---|
TY[] | row | The row with new values |
pushRow(IValues<TY> row)
Pushes a row into the data series, which discards one old row in a First In First Out fashion. use this method to scroll the GridData in the Z-direction
Declaration
public void pushRow(IValues<TY> row)
Parameters
Type | Name | Description |
---|---|---|
IValues<TY> | row | The row with new values |
setRowAt(int index, TY[] row)
Sets the row at the specified Z index
Declaration
public void setRowAt(int index, TY[] row)
Parameters
Type | Name | Description |
---|---|---|
int | index | The z-index to use |
TY[] | row | The row with new values |
setRowAt(int index, IValues<TY> row)
Sets the row at the specified Z index
Declaration
public void setRowAt(int index, IValues<TY> row)
Parameters
Type | Name | Description |
---|---|---|
int | index | The z-index to use |
IValues<TY> | row | The row with new values |
updateYAt(int xIndex, int zIndex, TY value)
Updates Y values at specified position
Declaration
public void updateYAt(int xIndex, int zIndex, TY value)
Parameters
Type | Name | Description |
---|---|---|
int | xIndex | The xIndex of point to update |
int | zIndex | The zIndex of point to update |
TY | value | The new yValue |
updateYRange(IRange<TY> yRange)
Sets the total extents of the IDataSeries3D in the Y direction.
Declaration
protected void updateYRange(IRange<TY> yRange)
Parameters
Type | Name | Description |
---|---|---|
IRange<TY> | yRange |